datetime: add gettext context to abbreviated months (#15369)
Fixes https://github.com/koreader/koreader/issues/15368
This commit is contained in:
1 parent
606597fd2e
commit
c812812b8e
1 file changed
+12
-12
+12
-12
@@ -12,18 +12,18 @@ local datetime = {}
|
||||
datetime.weekDays = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" } -- in Lua wday order
|
||||
|
||||
datetime.shortMonthTranslation = {
|
||||
["Jan"] = _("Jan"),
|
||||
["Feb"] = _("Feb"),
|
||||
["Mar"] = _("Mar"),
|
||||
["Apr"] = _("Apr"),
|
||||
["May"] = _("May"),
|
||||
["Jun"] = _("Jun"),
|
||||
["Jul"] = _("Jul"),
|
||||
["Aug"] = _("Aug"),
|
||||
["Sep"] = _("Sep"),
|
||||
["Oct"] = _("Oct"),
|
||||
["Nov"] = _("Nov"),
|
||||
["Dec"] = _("Dec"),
|
||||
["Jan"] = C_("Abbreviated month", "Jan"),
|
||||
["Feb"] = C_("Abbreviated month", "Feb"),
|
||||
["Mar"] = C_("Abbreviated month", "Mar"),
|
||||
["Apr"] = C_("Abbreviated month", "Apr"),
|
||||
["May"] = C_("Abbreviated month", "May"),
|
||||
["Jun"] = C_("Abbreviated month", "Jun"),
|
||||
["Jul"] = C_("Abbreviated month", "Jul"),
|
||||
["Aug"] = C_("Abbreviated month", "Aug"),
|
||||
["Sep"] = C_("Abbreviated month", "Sep"),
|
||||
["Oct"] = C_("Abbreviated month", "Oct"),
|
||||
["Nov"] = C_("Abbreviated month", "Nov"),
|
||||
["Dec"] = C_("Abbreviated month", "Dec"),
|
||||
}
|
||||
|
||||
datetime.longMonthTranslation = {
|
||||
|
||||
Reference in new issue
Block a user