Bug 16669 - Options in pref.po should be expressed in %s to allow translatability
Summary: Options in pref.po should be expressed in %s to allow translatability
Status: RESOLVED DUPLICATE of bug 16687
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-06 10:04 UTC by jetkiwi
Modified: 2016-06-08 15:14 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jetkiwi 2016-06-06 10:04:29 UTC
misc/translator/po/*-pref.po lacks translatability because the position of options are fixed.

For example, admin.pref#casAuthentication consists of three entries.
# CAS for login authentication.
# Don't use
# Use
It is used to construct the following sentence with a drop-down list.
 "[Don't use/Use] CAS for login authentication."
The Japanese translation of this would look like the following.
"CASをログイン認証に使用[しない/する]"
However, it is impossible to use this translation because the position of the drop-down list is fixed.
This could be solved by expressing options as %s and allow the translator to modify the position. The following is an example.
# %s CAS for login authentication.
Comment 1 Marc Véron 2016-06-07 08:50:37 UTC
See Bug 16679 - Translatability problems in system preferences
Comment 2 Marc Véron 2016-06-07 15:47:12 UTC
Hi jetkiwi, could you please have a look at Bug 16687? - Would that fix your problem?

感謝, Marc
(I hope I took the correct translation for "thanks" :)
Comment 3 jetkiwi 2016-06-08 14:38:19 UTC
I've just checked Bug 16687 and it does fix the problem cleanly.
Thank you so much.

(感謝 does convey that meaning :)
Comment 4 Marc Véron 2016-06-08 15:14:54 UTC
(In reply to jetkiwi from comment #3)
> I've just checked Bug 16687 and it does fix the problem cleanly.
> Thank you so much.
> 
> ( does convey that meaning :)

Thank you for testing.

Do you know how to sing-off patches? - If yes, it would be great if you could sign-off Bug 16687

Otherwise, please write a comment in Bug 16687 as well to encourage other sign-offers :)

感謝 again :)

PS: I mark this Bug as a duplicate of 16687 and cc you on 16687

*** This bug has been marked as a duplicate of bug 16687 ***