You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a template .pot including smalltalk-format flag:
#. (list.name,domain)#:default/mail_tt2/listmaster_notification.tt2:345#,smalltalk-formatmsgid"Listmaster: list %1@%2 at 100 percents error"msgstr""...
Add it into a project on Pootle, and make that project use "l20n" Quality Checks.
On Pootle GUI, add a translation including escaped "%" character:
...
msgstr"Listmaster : la liste %1@%2 est à 100%% d'erreur"
Results (Expected/Actual):
Expected result
A smalltalk format string "starts with ‘%’ and is followed by ‘%’ or a nonzero digit (‘1’ to ‘9’)". [ref]
So if smalltalk-format flag exists, the "%%" in the translation should be treated as a single "%" sign and shouldn't be treated as an error.
Steps to reproduce:
Create a template
.pot
includingsmalltalk-format
flag:Add it into a project on Pootle, and make that project use "l20n" Quality Checks.
On Pootle GUI, add a translation including escaped "
%
" character:Results (Expected/Actual):
Expected result
A smalltalk format string "starts with ‘%’ and is followed by ‘%’ or a nonzero digit (‘1’ to ‘9’)". [ref]
So if
smalltalk-format
flag exists, the "%%
" in the translation should be treated as a single "%
" sign and shouldn't be treated as an error.Actual result
The "
%%
" is treated as a critical error:Environment (i.e. 'pootle --version', DB, OS, Browser):
The text was updated successfully, but these errors were encountered: