[Koha-bugs] [Bug 29588] Yesterday and tomorrow in datepicker don't translate

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 29 21:14:47 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29588

Andrew Nugged <nugged at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nugged at gmail.com

--- Comment #1 from Andrew Nugged <nugged at gmail.com> ---
> I tried updating the po files locally, but the strings didn't show up.

It's JS runtime translations, so it goes from ln-LN-messages-js.po to
locale_data.js, but it's not detected by the parser (or we should do some
magic?)... Let's call for JD for help :), we bumped a lot before release.

I did the update for .po manually and it worked (in ITEM EDIT page for
example):


*** fi-FI-messages-js.po.orig
--- fi-FI-messages-js.po
***************
*** 1305,1314 ****
--- 1305,1323 ----
  msgid "Thursday"
  msgstr "Torstai"

+ #: koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc:92
+ msgid "Yesterday"
+ msgstr "Eilen"
+
+ #: koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc:95
  #: koha-tmpl/intranet-tmpl/prog/js/calendar.js:111
  msgid "Today"
  msgstr "Tänään"

+ #: koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc:98
+ msgid "Tomorrow"
+ msgstr "Huomenna"
+
  #: koha-tmpl/intranet-tmpl/prog/js/checkouts.js:291
  #: koha-tmpl/intranet-tmpl/prog/js/checkouts.js:658
  msgid "Today's checkouts"

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list