mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 16:27:13 +03:00
Translations: Correct example of a non-translated {WORD}
The code needs to perform the replacement *after* translation phrase look up.
This commit is contained in:
parent
da790826e9
commit
5c8b5b9914
@ -13,7 +13,7 @@ If you add any new strings that appear in the application UI, e.g. new configura
|
||||
|
||||
If you need to specify something in the text that shouldn't be translated then use the form:
|
||||
|
||||
_('Some text with a {WORD} not translated'.format(WORD='word'))
|
||||
_('Some text with a {WORD} not translated').format(WORD='word')
|
||||
This way 'word' will always be used literally.
|
||||
|
||||
Next you will need to edit `L10n/en.template` to add the phrase:
|
||||
|
Loading…
x
Reference in New Issue
Block a user