Bug 34437 - Internationalization: Mark string not to be translated
Summary: Internationalization: Mark string not to be translated
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 15395
Blocks:
  Show dependency treegraph
 
Reported: 2023-07-27 17:52 UTC by Owen Leonard
Modified: 2023-07-28 06:04 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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' %] ?