summaryrefslogtreecommitdiff
path: root/tests/i18n/commands/templates/test.html
AgeCommit message (Collapse)Author
2021-06-07Fixed typos in test comments.luzpaz
2019-12-18Refs #30585 -- Updated project templates and tests to use (block)translate tags.Mike Hansen
2019-12-18Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.Mike Hansen
2016-05-02Fixed #26341 (again) -- Addressed multiple occurrences per line use caseClaude Paroz
2016-04-30Fixed #26341 -- Fixed makemessages breaking location comments for HTML filesClaude Paroz
Thanks Sylvain Garancher for the report and Veranika Sabiashchanskaya for the initial patch.
2016-01-23Fixed #26093 -- Allowed escape sequences extraction by gettext on Python 3Claude Paroz
Thanks Sylvain Fankhauser for the report and Tim Graham for the review.
2015-09-04Fixed #25297 -- Allowed makemessages to work with {% trans %} tags that use ↵Alexandre Pocquet
template filters.
2015-08-28Fixed #17375 -- Changed makemessages to use xgettext with --files-fromSergey Kolosov
Changed the way makemessages invokes xgettext from one call per translatable file to one call per locale directory (using --files-from). This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and, as a positive side effect, speeds up localization build.
2015-08-12Fixed #24257 -- Corrected i18n handling of percent signs.Doug Beck
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 "%%".
2013-12-04Fixed 21406 -- Made blocktrans 'trimmed' option preserve line numbers.Bouke Haarsma
Thanks Bouke Haarsma for report, fix and initial patch.
2013-11-08Fixed #5849 -- Strip whitespace from blocktransBouke Haarsma
Add the trimmed option to the blocktrans tag to trim any newlines and whitespace from its content. This allows the developer to indent the blocktrans tag without adding new lines and whitespace to the msgid in the PO file. Thanks to mpessas for the initial patch and Dmitri Fedortchenko for the report.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner