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
This appears to be due to the common issue where string substitution is applied to a string prior to passing it to the translation function, which means that the string content is not constant, and translation lookup will fail.
Description
The initial headings in the print/export dialog are not translatable, even though translations exist in Weblate
Steps to Reproduce
pt_PT
andzh_Hans
as supported languages #1531 usingLANG=pt_PT securedrop-client
or similar.Expected Behavior
Entire dialog is translated
Actual Behavior
Only parts of dialog are translated:
Comments
This appears to be due to the common issue where string substitution is applied to a string prior to passing it to the translation function, which means that the string content is not constant, and translation lookup will fail.
securedrop-client/securedrop_client/gui/conversation/export/print_dialog.py
Lines 35 to 39 in 65d3541
The text was updated successfully, but these errors were encountered: