Bug 15275 - "To" has multiple meanings, making it impossible to translate
Summary: "To" has multiple meanings, making it impossible to translate
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 07:33 UTC by paxed
Modified: 2017-06-14 22:10 UTC (History)
2 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 paxed 2015-12-02 07:33:13 UTC
msgid "To" is used in the following places:

intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
 meaning "transfer to this branch"

intranet-tmpl/prog/en/modules/members/members-update.tt
 meaning "field was changed to this value"

intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
intranet-tmpl/prog/en/modules/reports/issues_stats.tt
intranet-tmpl/prog/en/modules/reports/reserves_stats.tt
intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt
intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt
 meaning "up to this date"


Three completely different meanings, so translating this is practically impossible for some languages. Translating this as a plain dash (" - ") is good enough for the date ranges, but not for the "transfer to this branch" or "changed to this value" meanings.
Comment 1 Marc Véron 2015-12-02 19:26:56 UTC
Regarding intranet-tmpl/prog/en/modules/circ/branchtransfers.tt

Line 113:

<li>You cannot transfer items of [% errmsgloo.codeType %] <b>[% errmsgloo.code %]</b> to <b>[% errmsgloo.tbr %]</b></li>

Here it would help to remove the <b> tags. Pootle would then display a string as follows:
You cannot transfer items from %s to %s
Comment 2 Marc Véron 2015-12-02 19:34:52 UTC
For koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt line 97  we could do:

<th>Field</th>
<th>Old value</th>
<th>New value</th>
Comment 3 Marc Véron 2015-12-02 20:14:25 UTC
We have some "To:" as well (meaning the end of a date range):

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
Comment 4 Katrin Fischer 2015-12-02 23:01:43 UTC
(In reply to Marc Véron from comment #2)
> For koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt line
> 97  we could do:
> 
> <th>Field</th>
> <th>Old value</th>
> <th>New value</th>

That would work for me and fix a really annoying translation issue :)
Comment 5 Marc Véron 2015-12-03 21:36:30 UTC
intranet-tmpl/prog/en/modules/circ/branchtransfers.tt
 meaning "transfer to this branch"
-> Fixed in Bug 15301 (with some more streamlining)

intranet-tmpl/prog/en/modules/members/members-update.tt
 meaning "field was changed to this value"
-> Fixed in Bug 15300

The remaining files we found seem all to be related to date 
ranges and 'From[:]' and 'To[:]' can be translated as appropriate 
(e.g. in German as 'Von' / 'Bis'):

intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt
intranet-tmpl/prog/en/modules/reports/issues_stats.tt
intranet-tmpl/prog/en/modules/reports/reserves_stats.tt
intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt
intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt
 
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt
koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
Comment 6 Katrin Fischer 2016-08-14 19:11:41 UTC
Looking at Mark's last comment, this appears to be fixed.