Problem when displaying Czech (or another language?) strings in TPAC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.9 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Evergreen 2.6.2 I have discovered some problems with displaying Czech strings in TPAC which I guess have something to do with translation file cs-CZ.po (or possibly with translation files for another languages too).
1) If "has local copy alert" is set to "true" In the Library settings editor when user places a hold and there is a local copy available in the library then usually the message appears, that the "hold was not successfully placed" and the action must be canceled or overridden.
When the OPAC language is set to English, this message is displayed :
"Problem: There is already copy available at you local library" - see http://
But if the Czech is on in the OPAC, instead of the "tanslated" message "There is already copy available at you local library" looks like this:
"Project-
(see http://
I guess the problem has something to do with the language template file "cs-CZ.po" in /openils/
2) When some characters are required in Launchpad translation (like space or line break
(e.g. https:/
it is imported to the language file cs-CZ.po (/openils/
#: ../../Open-
#, fuzzy
msgid "To ensure your necessary receipt information is not lost, enter your email address above and a receipt will be emailed to you. Otherwise, make certain you have a printed receipt in hand before closing the payment receipt screen."
msgstr ""
"Abyste se ujistili, že nedojde ke ztrátě informací \n"
" na potvrzení, vložte svou e-mailovou adresu výše \n"
" a potvrzení vám bude zasláno e-mailem. Nebo,\n"
" než zavřete okno s potvrzením platby,\n"
" ujistěte se, že jste potvrzení vytiskli."
The problem is, that if the message string is divided into more than one lines (each enclosed with " "), the string is not displayed in TPAC when the language is set to Czech and instead of it the English string (message ID) is used.
summary: |
- Problem when displayin Czech (or another languge?) strings in TPAC + Problem when displaying Czech (or another language?) strings in TPAC |
Changed in evergreen: | |
milestone: | 2.10.4 → 2.10.5 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
The problem described in point 1) still occurs in 2.10 (tested in 2.10.1 on Czech locale)see attachment.