[Koha-bugs] [Bug 27789] New: Missing translate text replacement in admin-home.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 25 10:16:39 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27789

            Bug ID: 27789
           Summary: Missing translate text replacement in admin-home.tt
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lukas.kraic at gmail.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

koha version: 20.11.03.000

missing translate text replacement in admin-home.tt
on administrator home page, is missing translate of all descriptions (exclude
Patrons and circulation)

tested on sk_SK and cs_CZ
missing translate of descriptions, are translated in sk-SK-staff-prog.po and
cs-CS-staff-prog.po 

what i do (for sk_SK), same in cs_CZ:
1, install language
koha-translate --install sk-SK
2, set slovak language in admin settings
in administrator home page, is missing translate of all descriptions (exclude
Patrons and circulation)

maybe wrong generated translate admin-home.tt

(for exmaple) check translate

3,translate exists

/usr/share/koha/misc/translator/po/sk-SK-staff-prog.po
...
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt:145
#, fuzzy, c-format
msgid ""
"Create and manage Bibliographic frameworks that define the characteristics "
"of your MARC Records (field and subfield definitions) as well as templates "
"for the MARC editor"
msgstr ""
"Vytvorte a spracujte bibliografické šablóny, ktoré definujú charakteristiku "
"vašich MARC záznamov (definície polí a podpolí) ako aj šablóny pre MARC "
"editor."

4, missing translate in tmpl file
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/sk-SK/modules/admin/admin-home.tt
....
 [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
 <dt><a href="/cgi-bin/koha/admin/biblio_framework.pl">Bibliografická MARC
šablóna</a></dt>
 <dd>Create and manage Bibliographic frameworks that define the characteristics
of your MARC Records (field and subfield definitions) as well as templates for
the MARC editor</dd>
 <dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Priradenie Koha k
MARC</a></dt>
 <dd>Define the mapping between the Koha transactional database (SQL) and the
MARC Bibliographic records</dd>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list