1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

vue ui i18n: made All-time localized

This commit is contained in:
Ivan Velev 2022-02-07 17:46:27 -08:00
parent ea2e3d7120
commit f6f1adae7a
3 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,7 @@ html, body
oct_short: "{{ _Q('Oct') }}",
nov_short: "{{ _Q('Nov') }}",
dec_short: "{{ _Q('Dec') }}",
"All-time": "{{ _Q('All-time') }}",
"Loading...": "{{ _Q('Loading...') }}",
"Current Capture": "{{ _Q('Current Capture') }}",
"capture": "{{ _Q('capture') }}",

View File

@ -44,6 +44,7 @@
oct_short: "{{ _Q('Oct') }}",
nov_short: "{{ _Q('Nov') }}",
dec_short: "{{ _Q('Dec') }}",
"All-time": "{{ _Q('All-time') }}",
"Loading...": "{{ _Q('Loading...') }}",
"Current Capture": "{{ _Q('Current Capture') }}",
"capture": "{{ _Q('capture') }}",

View File

@ -483,7 +483,7 @@ PywbPeriod.prototype.getFullReadableId = function(hasDayCardinalSuffix) {
PywbPeriod.prototype.getReadableId = function(hasDayCardinalSuffix) {
switch (this.type) {
case PywbPeriod.Type.all:
return "All-time";
return PywbI18N.instance._("All-time");
case PywbPeriod.Type.year:
return this.id;
case PywbPeriod.Type.month: