Summary: | Serials: Values in subscription length pull down are not translatable when defining numbering patterns | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | I18N/L10N | Assignee: | Ava <liav> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | andrew, caroline.cyr-la-rose, f.demians, fridolin.somers, jamespfk, jonathan.druart, liav, martin.renvoize, victor |
Version: | Main | Keywords: | Academy |
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14022 | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.05.00,20.11.03,20.05.09
|
|
Circulation function: | |||
Attachments: |
Bug 27398: Made values in number patterns subscription length translatable
Bug 27398: Made values in number patterns subscription length translatable Bug 27398: Made values in number patterns subscription length translatable |
Description
Katrin Fischer
2021-01-11 21:39:41 UTC
The following change should work @ koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt:182 @ <li> <label for="sublength">Subscription length:</label> <select id="subtype"> - [% FOREACH subtype IN subtypes_loop %] - <option value="[% subtype.value | html %]">[% subtype.value | html %]</option> - [% END %] + <option value="issues">issues</option> + <option value="weeks">weeks</option> + <option value="months">months</option> (I missed the Academy keyword!) Created attachment 115475 [details] [review] Bug 27398: Made values in number patterns subscription length translatable TEST PLAN: Check that the subscription length options when editing or adding a numbering pattern in the serials module are translatable. check that the hard coded values are gone. Created attachment 115631 [details] [review] Bug 27398: Made values in number patterns subscription length translatable TEST PLAN: Check that the subscription length options when editing or adding a numbering pattern in the serials module are translatable. check that the hard coded values are gone. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Thx, fixing issues with translations always makes me happy! Previous comment was for another bug! Created attachment 116196 [details] [review] Bug 27398: Made values in number patterns subscription length translatable TEST PLAN: Check that the subscription length options when editing or adding a numbering pattern in the serials module are translatable. check that the hard coded values are gone. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Nice work, this is a great little improvement. Passing QA Pushed to master for 21.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.03 Pushed to 20.05.x for 20.05.09 Not backported to oldoldstable (19.11.x). Feel free to ask if it's needed. |