Bug 34437

Summary: Internationalization: Mark string not to be translated
Product: Koha Reporter: Owen Leonard <oleonard>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, f.demians, julian.maurice, testopia
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 15395    
Bug Blocks:    

Description Owen Leonard 2023-07-27 17:52:02 UTC
We can now mark a string like [% t("String") %] to ensure that the translation tool will pick it up. Looking at the .po files I think it would be useful to have the opposite: A way to mark a string as not meant for translation.

Examples:

#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt:179
#, c-format
msgid "ILLDefaultStaffEmail"
msgstr "ILLDefaultStaffEmail"

#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt:63
#, c-format
msgid "IM_notification.ogg"
msgstr "IM_notification.ogg"

#: koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt:385
#, c-format
msgid "INSTID:12345,LANG:fr"
msgstr "INSTID:12345,LANG:fr"

#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt:136
#, c-format
msgid "INTERMARC"
msgstr "INTERMARC"

#: koha-tmpl/intranet-tmpl/prog/en/modules/about.tt:902
#, c-format
msgid "Irma Birchall"
msgstr "Irma Birchall"
Comment 1 Julian Maurice 2023-07-28 06:04:09 UTC
Have you tried: [% 'ILLDefaultStaffEmail' %] ?