[Bug 42401] New: Problem with translation of "More"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42401 Bug ID: 42401 Summary: Problem with translation of "More" Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com On a Swedish site we noticed that the word "More" (class="nav-link-text") in the main menu in the staff client was not translated. It comes from this code in the template (koha-tmpl/intranet-tmpl/prog/en/includes/header.inc): [% tp("More menu options", "More") | html %] It looks like the problem is that the single word "More" only occurs once in the translated files: $ sudo grep '"More"' /usr/share/koha/misc/translator/po/sv-SE* /usr/share/koha/misc/translator/po/sv-SE-staff-prog.po:msgid "More" If I add this to /usr/share/koha/misc/translator/po/sv-SE-messages.po, update the translation and restart plack it fixes the "More" in the main menu: #: koha-tmpl/intranet-tmpl/prog/en/includes/header.inc:47 msgctxt "More menu options" msgid "More" msgstr "Mer" This: $ sudo grep -rn '"More"' /usr/share/koha/intranet/htdocs/ shows there is at least one more use of "More", with a different context: [% tp("Show more information", "More") | html %] -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42401 Anneli Österman <anneli.osterman@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anneli.osterman@koha-suomi. | |fi --- Comment #1 from Anneli Österman <anneli.osterman@koha-suomi.fi> --- This sounds like the same problem I filed earlier: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40510 It should be fixed because it works with Finnish translations now. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42401 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Main |25.05 --- Comment #2 from Magnus Enger <magnus@libriotech.no> --- (In reply to Anneli Österman from comment #1)
This sounds like the same problem I filed earlier: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40510
It should be fixed because it works with Finnish translations now.
Great! I can confirm it is fixed when I look at main in KTD. But we are still seeing the problem on 25.05.06. The code from bug 40510 is in place there, but it looks like the .po files have not been updated to take advantage of the changes to the code. Not sure how that can be fixed. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42401 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=40510 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org