[Bug 36841] New: Don't separate KTD and maintainer in about-team.inc
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36841 Bug ID: 36841 Summary: Don't separate KTD and maintainer in about-team.inc Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: I18N/L10N Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: f.demians@tamil.fr, jonathan.druart@gmail.com In about-team.inc, there are these strings <li><strong><a href="https://gitlab.com/koha-community/koha-testing-docker">KTD</a> maintainer:</strong> <li><strong><a href="https://gitlab.com/koha-community/koha-testing-docker">KTD</a> maintainers:</strong> In the translation tool, this comes out as - KTD - maintainer: - maintainers: However, in French the sentence structure needs to be inverted (becoming "maintainer of KTD"). This is currently impossible to translate with the strings separated as they are. -- 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=36841 --- Comment #1 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- I tried putting <span> around the strings, but it doesn't change the staff-prog.po file... Maybe I'm not putting them in the right place? [% IF t.ktd %] [% IF t.ktd.size == 1 %] <li><span><strong><a href="https://gitlab.com/koha-community/koha-testing-docker">KTD</a> maintainer:</strong></span> [% INCLUDE person p=t.ktd.0 %] </li> [% ELSE %] <li><span><strong><a href="https://gitlab.com/koha-community/koha-testing-docker">KTD</a> maintainers:</strong></span> <ul> [% FOREACH j IN t.ktd %] <li>[% INCLUDE person p=j %] [% END %] </ul> </li> [% END %] [% END %] After `gulp po:update --lang fr-CA`, the fr-CA-staff-prog.po file still has the three strings separated. #: koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc:214 #: koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc:218 #, c-format msgid "KTD" msgstr "" #: koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc:214 #, c-format msgid "maintainer:" msgstr "" #: koha-tmpl/intranet-tmpl/prog/en/includes/about-team.inc:218 #, c-format msgid "maintainers:" msgstr "" -- 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=36841 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #2 from Julian Maurice <julian.maurice@biblibre.com> --- You can try using '18n.inc' macros. For instance: [% tx("{ktd} maintainers", ktd = '<a href="...">KTD</a>') %] That way you can translate it to "mainteneurs de {ktd}" -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org