summaryrefslogtreecommitdiff
path: root/tests/i18n/sampleproject
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-7/+7
|
* Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen2019-12-182-10/+9
|
* Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen2019-12-181-4/+5
|
* Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."Tim Graham2017-03-072-2/+2
| | | | This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
* Fixed #27878, refs #23919 -- Used python3 shebangs.Chris Lamb2017-02-232-2/+2
|
* Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck2015-08-127-0/+136
Refactored tests to use a sample project. Updated extraction: * Removed special handling of single percent signs. * When extracting messages from template text, doubled all percent signs so they are not interpreted by gettext as string format flags. All strings extracted by gettext, if containing a percent sign, will now be labeled "#, python-format". Updated translation: * Used "%%" for "%" in template text before calling gettext. * Updated {% trans %} rendering to restore "%" from "%%".