]> git.koha-community.org Git - koha.git/commit
Bug 29588: (bug 29478 follow-up) Make strings translatable
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 30 Nov 2021 11:07:02 +0000 (12:07 +0100)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 7 Jan 2022 11:13:18 +0000 (06:13 -0500)
commit79c702a45dd471ad84c9aeeab0caeb4d8ab977d3
treeb269788814d2ac3bb8e6cf59a64a5d31a41300ee
parent9ae252946da274ef50435a23e3e08cb8cb024f74
Bug 29588: (bug 29478 follow-up) Make strings translatable

"or", "Yesterday", "Today" and "Tomorrow" are not translatable, we are
using __ when _ should be used (__ is for .js files only).

Test plan:
0. Apply the patch
1. cd misc/translator && perl translate update fr-FR
2. Edit misc/translator/po/fr-FR-staff-prog.po
Search for "or", "Yesterday", "Today" and "Tomorrow" and translate them
3. cd misc/translator && perl translate install fr-FR
4. Enable fr-FR (syspref 'language')
5. Edit a patron and an item and confirm that the flatpickr widget has
the strings correctly translated

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: ThibaudGLT <thibaud.guillot@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc