From a32cd0a98cfd62d67961ad349d5bcb758421fae5 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 19 Jul 2022 11:01:24 +0100 Subject: [PATCH 1/3] fix time formats --- package.json | 2 +- src/components/timeago/timeago.vue | 2 +- src/i18n/ca.json | 62 ++++++++++++------------ src/i18n/cs.json | 62 ++++++++++++------------ src/i18n/de.json | 60 ++++++++++++----------- src/i18n/eo.json | 58 +++++++++++----------- src/i18n/es.json | 62 ++++++++++++------------ src/i18n/eu.json | 62 ++++++++++++------------ src/i18n/fi.json | 62 ++++++++++++------------ src/i18n/fr.json | 58 +++++++++++----------- src/i18n/ga.json | 62 ++++++++++++------------ src/i18n/id.json | 63 ++++++++++++------------ src/i18n/it.json | 58 +++++++++++----------- src/i18n/ja_easy.json | 62 ++++++++++++------------ src/i18n/ja_pedantic.json | 72 +++++++++++++++------------- src/i18n/ko.json | 58 +++++++++++----------- src/i18n/nb.json | 62 ++++++++++++------------ src/i18n/nl.json | 58 +++++++++++----------- src/i18n/oc.json | 62 ++++++++++++------------ src/i18n/pl.json | 62 ++++++++++++------------ src/i18n/pt.json | 58 +++++++++++----------- src/i18n/ru.json | 34 ++++++------- src/i18n/sk.json | 62 ++++++++++++------------ src/i18n/uk.json | 60 ++++++++++++----------- src/i18n/vi.json | 62 ++++++++++++------------ src/i18n/zh.json | 58 +++++++++++----------- src/i18n/zh_Hant.json | 60 ++++++++++++----------- yarn.lock | 77 +++++++++++++++++------------- 28 files changed, 825 insertions(+), 755 deletions(-) diff --git a/package.json b/package.json index 09ba18ac..e93692eb 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "qrcode": "1", "ruffle-mirror": "2021.12.31", "vue": "^3.2.31", - "vue-i18n": "^9.2.0-beta.34", + "vue-i18n": "^9.2.0-beta.39", "vue-router": "4.0.14", "vue-template-compiler": "2.6.11", "vuex": "4.0.2" diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue index 2b487dfd..437ffb86 100644 --- a/src/components/timeago/timeago.vue +++ b/src/components/timeago/timeago.vue @@ -40,7 +40,7 @@ export default { this.relativeTime = this.longFormat ? DateUtils.relativeTime(this.time, nowThreshold) : DateUtils.relativeTimeShort(this.time, nowThreshold) - + console.log({ ...this.relativeTime }) if (this.autoUpdate) { this.interval = setTimeout( this.refreshRelativeTimeObject, diff --git a/src/i18n/ca.json b/src/i18n/ca.json index 5f2795a8..e3f5d1a0 100644 --- a/src/i18n/ca.json +++ b/src/i18n/ca.json @@ -548,38 +548,40 @@ "post_status_content_type": "Format de publicació" }, "time": { - "day": "{0} dia", - "days": "{0} dies", - "day_short": "{0} dia", - "days_short": "{0} dies", - "hour": "{0} hora", - "hours": "{0} hores", - "hour_short": "{0}h", - "hours_short": "{0}h", - "in_future": "in {0}", - "in_past": "fa {0}", - "minute": "{0} minute", - "minutes": "{0} minutes", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} mes", - "months": "{0} mesos", - "month_short": "{0} mes", - "months_short": "{0} mesos", "now": "ara mateix", "now_short": "ara mateix", - "second": "{0} segon", - "seconds": "{0} segons", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} setmana", - "weeks": "{0} setmanes", - "week_short": "{0} setm.", - "weeks_short": "{0} setm.", - "year": "{0} any", - "years": "{0} anys", - "year_short": "{0} any", - "years_short": "{0} anys" + "in_future": "in {0}", + "in_past": "fa {0}", + "unit": { + "day": "{0} dia", + "days": "{0} dies", + "day_short": "{0} dia", + "days_short": "{0} dies", + "hour": "{0} hora", + "hours": "{0} hores", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minute", + "minutes": "{0} minutes", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} mes", + "months": "{0} mesos", + "month_short": "{0} mes", + "months_short": "{0} mesos", + "second": "{0} segon", + "seconds": "{0} segons", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} setmana", + "weeks": "{0} setmanes", + "week_short": "{0} setm.", + "weeks_short": "{0} setm.", + "year": "{0} any", + "years": "{0} anys", + "year_short": "{0} any", + "years_short": "{0} anys" + } }, "timeline": { "collapse": "Replega", diff --git a/src/i18n/cs.json b/src/i18n/cs.json index ca87214e..ee20efdf 100644 --- a/src/i18n/cs.json +++ b/src/i18n/cs.json @@ -349,38 +349,40 @@ } }, "time": { - "day": "{0} day", - "days": "{0} days", - "day_short": "{0}d", - "days_short": "{0}d", - "hour": "{0} hour", - "hours": "{0} hours", - "hour_short": "{0}h", - "hours_short": "{0}h", - "in_future": "in {0}", - "in_past": "{0} ago", - "minute": "{0} minute", - "minutes": "{0} minutes", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} měs", - "months": "{0} měs", - "month_short": "{0} měs", - "months_short": "{0} měs", "now": "teď", "now_short": "teď", - "second": "{0} second", - "seconds": "{0} seconds", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} týd", - "weeks": "{0} týd", - "week_short": "{0} týd", - "weeks_short": "{0} týd", - "year": "{0} r", - "years": "{0} l", - "year_short": "{0}r", - "years_short": "{0}l" + "in_future": "in {0}", + "in_past": "{0} ago", + "unit": { + "day": "{0} day", + "days": "{0} days", + "day_short": "{0}d", + "days_short": "{0}d", + "hour": "{0} hour", + "hours": "{0} hours", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minute", + "minutes": "{0} minutes", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} měs", + "months": "{0} měs", + "month_short": "{0} měs", + "months_short": "{0} měs", + "second": "{0} second", + "seconds": "{0} seconds", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} týd", + "weeks": "{0} týd", + "week_short": "{0} týd", + "weeks_short": "{0} týd", + "year": "{0} r", + "years": "{0} l", + "year_short": "{0}r", + "years_short": "{0}l" + } }, "timeline": { "collapse": "Zabalit", diff --git a/src/i18n/de.json b/src/i18n/de.json index 4bf897ef..54e70ab3 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -828,38 +828,40 @@ "thread_muted_and_words": ", enthält folgende Wörter:" }, "time": { - "seconds_short": "{0}s", - "second_short": "{0}s", - "seconds": "{0} Sekunden", - "second": "{0} Sekunde", - "now_short": "jetzt", - "years_short": "{0}Jhr", - "year_short": "{0}Jhr", - "years": "{0} Jahren", - "year": "{0} Jahr", - "weeks_short": "{0}W", - "week_short": "{0}W", - "weeks": "{0} Wochen", - "week": "{0} Woche", "now": "gerade eben", - "months_short": "{0}Mo", - "month_short": "{0}Mo", - "months": "{0} Monaten", - "month": "{0} Monat", - "minutes_short": "{0}Min", - "minute_short": "{0}Min", - "minutes": "{0} Minuten", - "minute": "{0} Minute", + "now_short": "jetzt", "in_past": "vor {0}", "in_future": "in {0}", - "hours_short": "{0}Std", - "hour_short": "{0}Std", - "hours": "{0} Stunden", - "hour": "{0} Stunde", - "days_short": "{0}T", - "day_short": "{0}T", - "days": "{0} Tage", - "day": "{0} Tag" + "unit": { + "seconds_short": "{0}s", + "second_short": "{0}s", + "seconds": "{0} Sekunden", + "second": "{0} Sekunde", + "years_short": "{0}Jhr", + "year_short": "{0}Jhr", + "years": "{0} Jahren", + "year": "{0} Jahr", + "weeks_short": "{0}W", + "week_short": "{0}W", + "weeks": "{0} Wochen", + "week": "{0} Woche", + "months_short": "{0}Mo", + "month_short": "{0}Mo", + "months": "{0} Monaten", + "month": "{0} Monat", + "minutes_short": "{0}Min", + "minute_short": "{0}Min", + "minutes": "{0} Minuten", + "minute": "{0} Minute", + "hours_short": "{0}Std", + "hour_short": "{0}Std", + "hours": "{0} Stunden", + "hour": "{0} Stunde", + "days_short": "{0}T", + "day_short": "{0}T", + "days": "{0} Tage", + "day": "{0} Tag" + } }, "display_date": { "today": "Heute" diff --git a/src/i18n/eo.json b/src/i18n/eo.json index 3c401b30..57bdef87 100644 --- a/src/i18n/eo.json +++ b/src/i18n/eo.json @@ -791,38 +791,40 @@ "plus_more": "+{number} pli" }, "time": { - "years_short": "{0}j", - "year_short": "{0}j", - "years": "{0} jaroj", - "year": "{0} jaro", - "weeks_short": "{0}s", - "week_short": "{0}s", - "weeks": "{0} semajnoj", - "week": "{0} semajno", - "seconds_short": "{0}sek", - "second_short": "{0}sek", - "seconds": "{0} sekundoj", - "second": "{0} sekundo", "now_short": "nun", "now": "ĵus", - "months_short": "{0}m", - "month_short": "{0}m", - "months": "{0} monatoj", - "month": "{0} monato", - "minutes_short": "{0}min", - "minute_short": "{0}min", - "minutes": "{0} minutoj", - "minute": "{0} minuto", "in_past": "antaŭ {0}", "in_future": "post {0}", - "hours_short": "{0}hor", - "hour_short": "{0}hor", - "hours": "{0} horoj", - "hour": "{0} horo", - "days_short": "{0}t", - "day_short": "{0}t", - "days": "{0} tagoj", - "day": "{0} tago" + "unit": { + "years_short": "{0}j", + "year_short": "{0}j", + "years": "{0} jaroj", + "year": "{0} jaro", + "weeks_short": "{0}s", + "week_short": "{0}s", + "weeks": "{0} semajnoj", + "week": "{0} semajno", + "seconds_short": "{0}sek", + "second_short": "{0}sek", + "seconds": "{0} sekundoj", + "second": "{0} sekundo", + "months_short": "{0}m", + "month_short": "{0}m", + "months": "{0} monatoj", + "month": "{0} monato", + "minutes_short": "{0}min", + "minute_short": "{0}min", + "minutes": "{0} minutoj", + "minute": "{0} minuto", + "hours_short": "{0}hor", + "hour_short": "{0}hor", + "hours": "{0} horoj", + "hour": "{0} horo", + "days_short": "{0}t", + "day_short": "{0}t", + "days": "{0} tagoj", + "day": "{0} tago" + } }, "search": { "people": "Personoj", diff --git a/src/i18n/es.json b/src/i18n/es.json index 9887f007..d21632cb 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -605,38 +605,40 @@ "mentions_new_place": "Situa las menciones en una línea separada" }, "time": { - "day": "{0} día", - "days": "{0} días", - "day_short": "{0}d", - "days_short": "{0}d", - "hour": "{0} hora", - "hours": "{0} horas", - "hour_short": "{0}h", - "hours_short": "{0}h", - "in_future": "en {0}", - "in_past": "hace {0}", - "minute": "{0} minuto", - "minutes": "{0} minutos", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} mes", - "months": "{0} meses", - "month_short": "{0}m", - "months_short": "{0}m", "now": "justo ahora", "now_short": "ahora", - "second": "{0} segundo", - "seconds": "{0} segundos", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} semana", - "weeks": "{0} semanas", - "week_short": "{0}sem", - "weeks_short": "{0}sem", - "year": "{0} año", - "years": "{0} años", - "year_short": "{0}a", - "years_short": "{0}a" + "in_future": "en {0}", + "in_past": "hace {0}", + "unit": { + "day": "{0} día", + "days": "{0} días", + "day_short": "{0}d", + "days_short": "{0}d", + "hour": "{0} hora", + "hours": "{0} horas", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minuto", + "minutes": "{0} minutos", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} mes", + "months": "{0} meses", + "month_short": "{0}m", + "months_short": "{0}m", + "second": "{0} segundo", + "seconds": "{0} segundos", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} semana", + "weeks": "{0} semanas", + "week_short": "{0}sem", + "weeks_short": "{0}sem", + "year": "{0} año", + "years": "{0} años", + "year_short": "{0}a", + "years_short": "{0}a" + } }, "timeline": { "collapse": "Colapsar", diff --git a/src/i18n/eu.json b/src/i18n/eu.json index 4e6ea550..7bd8ff08 100644 --- a/src/i18n/eu.json +++ b/src/i18n/eu.json @@ -502,38 +502,40 @@ "new_email": "E-posta berria" }, "time": { - "day": "{0} egun", - "days": "{0} egun", - "day_short": "{0}e", - "days_short": "{0}e", - "hour": "{0} ordu", - "hours": "{0} ordu", - "hour_short": "{0}o", - "hours_short": "{0}o", - "in_future": "{0} barru", - "in_past": "duela {0}", - "minute": "{0} minutu", - "minutes": "{0} minutu", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} hilabete", - "months": "{0} hilabete", - "month_short": "{0}h", - "months_short": "{0}h", "now": "oraintxe bertan", "now_short": "orain", - "second": "{0} segundu", - "seconds": "{0} segundu", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} aste", - "weeks": "{0} aste", - "week_short": "{0}a", - "weeks_short": "{0}a", - "year": "{0} urte", - "years": "{0} urte", - "year_short": "{0}u", - "years_short": "{0}u" + "in_future": "{0} barru", + "in_past": "duela {0}", + "unit": { + "day": "{0} egun", + "days": "{0} egun", + "day_short": "{0}e", + "days_short": "{0}e", + "hour": "{0} ordu", + "hours": "{0} ordu", + "hour_short": "{0}o", + "hours_short": "{0}o", + "minute": "{0} minutu", + "minutes": "{0} minutu", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} hilabete", + "months": "{0} hilabete", + "month_short": "{0}h", + "months_short": "{0}h", + "second": "{0} segundu", + "seconds": "{0} segundu", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} aste", + "weeks": "{0} aste", + "week_short": "{0}a", + "weeks_short": "{0}a", + "year": "{0} urte", + "years": "{0} urte", + "year_short": "{0}u", + "years_short": "{0}u" + } }, "timeline": { "collapse": "Bildu", diff --git a/src/i18n/fi.json b/src/i18n/fi.json index f8c3b4ae..dac47e85 100644 --- a/src/i18n/fi.json +++ b/src/i18n/fi.json @@ -511,38 +511,40 @@ "reset_banner_confirm": "Haluatko todella nollata profiilin taustan?" }, "time": { - "day": "{0} päivä", - "days": "{0} päivää", - "day_short": "{0}pv", - "days_short": "{0}pv", - "hour": "{0} tunti", - "hours": "{0} tuntia", - "hour_short": "{0}t", - "hours_short": "{0}t", - "in_future": "{0} tulevaisuudessa", - "in_past": "{0} sitten", - "minute": "{0} minuutti", - "minutes": "{0} minuuttia", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} kuukausi", - "months": "{0} kuukautta", - "month_short": "{0}kk", - "months_short": "{0}kk", "now": "juuri nyt", "now_short": "nyt", - "second": "{0} sekunti", - "seconds": "{0} sekuntia", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} viikko", - "weeks": "{0} viikkoa", - "week_short": "{0}vk", - "weeks_short": "{0}vk", - "year": "{0} vuosi", - "years": "{0} vuotta", - "year_short": "{0}v", - "years_short": "{0}v" + "in_future": "{0} tulevaisuudessa", + "in_past": "{0} sitten", + "unit": { + "day": "{0} päivä", + "days": "{0} päivää", + "day_short": "{0}pv", + "days_short": "{0}pv", + "hour": "{0} tunti", + "hours": "{0} tuntia", + "hour_short": "{0}t", + "hours_short": "{0}t", + "minute": "{0} minuutti", + "minutes": "{0} minuuttia", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} kuukausi", + "months": "{0} kuukautta", + "month_short": "{0}kk", + "months_short": "{0}kk", + "second": "{0} sekunti", + "seconds": "{0} sekuntia", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} viikko", + "weeks": "{0} viikkoa", + "week_short": "{0}vk", + "weeks_short": "{0}vk", + "year": "{0} vuosi", + "years": "{0} vuotta", + "year_short": "{0}v", + "years_short": "{0}v" + } }, "timeline": { "collapse": "Sulje", diff --git a/src/i18n/fr.json b/src/i18n/fr.json index fae7c7a2..9175df93 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -794,38 +794,40 @@ "remote_user_resolver": "Résolution de compte distant" }, "time": { - "minutes_short": "{0}min", - "second_short": "{0}s", - "day": "{0} jour", - "days": "{0} jours", - "months": "{0} mois", - "month_short": "{0}m", - "months_short": "{0}m", "now": "tout de suite", "now_short": "maintenant", - "second": "{0} seconde", - "seconds": "{0} secondes", - "seconds_short": "{0}s", - "day_short": "{0}j", - "days_short": "{0}j", - "hour": "{0} heure", - "hours": "{0} heures", - "hour_short": "{0}h", - "hours_short": "{0}h", "in_future": "dans {0}", "in_past": "il y a {0}", - "minute": "{0} minute", - "minutes": "{0} minutes", - "minute_short": "{0}min", - "month": "{0} mois", - "week": "{0} semaine", - "weeks": "{0} semaines", - "week_short": "{0}s", - "weeks_short": "{0}s", - "year": "{0} année", - "years": "{0} années", - "year_short": "{0}a", - "years_short": "{0}a" + "unit": { + "minutes_short": "{0}min", + "second_short": "{0}s", + "day": "{0} jour", + "days": "{0} jours", + "months": "{0} mois", + "month_short": "{0}m", + "months_short": "{0}m", + "second": "{0} seconde", + "seconds": "{0} secondes", + "seconds_short": "{0}s", + "day_short": "{0}j", + "days_short": "{0}j", + "hour": "{0} heure", + "hours": "{0} heures", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minute", + "minutes": "{0} minutes", + "minute_short": "{0}min", + "month": "{0} mois", + "week": "{0} semaine", + "weeks": "{0} semaines", + "week_short": "{0}s", + "weeks_short": "{0}s", + "year": "{0} année", + "years": "{0} années", + "year_short": "{0}a", + "years_short": "{0}a" + } }, "search": { "people": "Comptes", diff --git a/src/i18n/ga.json b/src/i18n/ga.json index 3ec5d86b..858f8a55 100644 --- a/src/i18n/ga.json +++ b/src/i18n/ga.json @@ -169,38 +169,40 @@ } }, "time": { - "day": "{0} lá", - "days": "{0} lá", - "day_short": "{0}l", - "days_short": "{0}l", - "hour": "{0} uair", - "hours": "{0} uair", - "hour_short": "{0}u", - "hours_short": "{0}u", - "in_future": "in {0}", - "in_past": "{0} ago", - "minute": "{0} nóimeád", - "minutes": "{0} nóimeád", - "minute_short": "{0}n", - "minutes_short": "{0}n", - "month": "{0} mí", - "months": "{0} mí", - "month_short": "{0}m", - "months_short": "{0}m", "now": "Anois", "now_short": "Anois", - "second": "{0} s", - "seconds": "{0} s", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} seachtain", - "weeks": "{0} seachtaine", - "week_short": "{0}se", - "weeks_short": "{0}se", - "year": "{0} bliainta", - "years": "{0} bliainta", - "year_short": "{0}b", - "years_short": "{0}b" + "in_future": "in {0}", + "in_past": "{0} ago", + "unit": { + "day": "{0} lá", + "days": "{0} lá", + "day_short": "{0}l", + "days_short": "{0}l", + "hour": "{0} uair", + "hours": "{0} uair", + "hour_short": "{0}u", + "hours_short": "{0}u", + "minute": "{0} nóimeád", + "minutes": "{0} nóimeád", + "minute_short": "{0}n", + "minutes_short": "{0}n", + "month": "{0} mí", + "months": "{0} mí", + "month_short": "{0}m", + "months_short": "{0}m", + "second": "{0} s", + "seconds": "{0} s", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} seachtain", + "weeks": "{0} seachtaine", + "week_short": "{0}se", + "weeks_short": "{0}se", + "year": "{0} bliainta", + "years": "{0} bliainta", + "year_short": "{0}b", + "years_short": "{0}b" + } }, "timeline": { "collapse": "Folaigh", diff --git a/src/i18n/id.json b/src/i18n/id.json index 73cc2a71..d97c8abb 100644 --- a/src/i18n/id.json +++ b/src/i18n/id.json @@ -238,38 +238,41 @@ "staff": "Staf" }, "time": { - "day": "{0} hari", - "days": "{0} hari", - "day_short": "{0}h", - "days_short": "{0}h", - "hour": "{0} jam", - "hours": "{0} jam", - "hour_short": "{0}j", - "hours_short": "{0}j", - "in_future": "dalam {0}", - "in_past": "{0} yang lalu", - "minute": "{0} menit", - "minutes": "{0} menit", - "minute_short": "{0}m", - "minutes_short": "{0}m", - "month": "{0} bulan", - "months": "{0} bulan", - "month_short": "{0}b", - "months_short": "{0}b", "now": "baru saja", "now_short": "sekarang", - "second": "{0} detik", - "seconds": "{0} detik", - "second_short": "{0}d", - "seconds_short": "{0}d", - "week": "{0} pekan", - "weeks": "{0} pekan", - "week_short": "{0}p", - "weeks_short": "{0}p", - "year": "{0} tahun", - "years": "{0} tahun", - "year_short": "{0}t", - "years_short": "{0}t" + "in_future": "dalam {0}", + "in_past": "{0} yang lalu", + "unit": { + "day": "{0} hari", + "days": "{0} hari", + "day_short": "{0}h", + "days_short": "{0}h", + "hour": "{0} jam", + "hours": "{0} jam", + "hour_short": "{0}j", + "hours_short": "{0}j", + + "minute": "{0} menit", + "minutes": "{0} menit", + "minute_short": "{0}m", + "minutes_short": "{0}m", + "month": "{0} bulan", + "months": "{0} bulan", + "month_short": "{0}b", + "months_short": "{0}b", + "second": "{0} detik", + "seconds": "{0} detik", + "second_short": "{0}d", + "seconds_short": "{0}d", + "week": "{0} pekan", + "weeks": "{0} pekan", + "week_short": "{0}p", + "weeks_short": "{0}p", + "year": "{0} tahun", + "years": "{0} tahun", + "year_short": "{0}t", + "years_short": "{0}t" + } }, "timeline": { "conversation": "Percakapan", diff --git a/src/i18n/it.json b/src/i18n/it.json index c8c74b70..084477ba 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -765,38 +765,40 @@ "plus_more": "+{number} altri" }, "time": { - "years_short": "{0} a", - "year_short": "{0} a", - "years": "{0} anni", - "year": "{0} anno", - "weeks_short": "{0} stm", - "week_short": "{0} stm", - "seconds_short": "{0} sec", - "second_short": "{0} sec", - "weeks": "{0} settimane", - "week": "{0} settimana", - "seconds": "{0} secondi", - "second": "{0} secondo", "now_short": "adesso", "now": "adesso", - "months_short": "{0} mes", - "month_short": "{0} mes", - "months": "{0} mesi", - "month": "{0} mese", - "minutes_short": "{0} min", - "minute_short": "{0} min", - "minutes": "{0} minuti", - "minute": "{0} minuto", "in_past": "{0} fa", "in_future": "fra {0}", - "hours_short": "{0} h", - "days_short": "{0} g", - "hour_short": "{0} h", - "hours": "{0} ore", - "hour": "{0} ora", - "day_short": "{0} g", - "days": "{0} giorni", - "day": "{0} giorno" + "unit": { + "years_short": "{0} a", + "year_short": "{0} a", + "years": "{0} anni", + "year": "{0} anno", + "weeks_short": "{0} stm", + "week_short": "{0} stm", + "seconds_short": "{0} sec", + "second_short": "{0} sec", + "weeks": "{0} settimane", + "week": "{0} settimana", + "seconds": "{0} secondi", + "second": "{0} secondo", + "months_short": "{0} mes", + "month_short": "{0} mes", + "months": "{0} mesi", + "month": "{0} mese", + "minutes_short": "{0} min", + "minute_short": "{0} min", + "minutes": "{0} minuti", + "minute": "{0} minuto", + "hours_short": "{0} h", + "days_short": "{0} g", + "hour_short": "{0} h", + "hours": "{0} ore", + "hour": "{0} ora", + "day_short": "{0} g", + "days": "{0} giorni", + "day": "{0} giorno" + } }, "user_reporting": { "title": "Segnalo {0}", diff --git a/src/i18n/ja_easy.json b/src/i18n/ja_easy.json index abca262b..407a8481 100644 --- a/src/i18n/ja_easy.json +++ b/src/i18n/ja_easy.json @@ -500,38 +500,40 @@ } }, "time": { - "day": "{0}日", - "days": "{0}日", - "day_short": "{0}日", - "days_short": "{0}日", - "hour": "{0}時間", - "hours": "{0}時間", - "hour_short": "{0}時間", - "hours_short": "{0}時間", - "in_future": "{0}で", - "in_past": "{0}前", - "minute": "{0}分", - "minutes": "{0}分", - "minute_short": "{0}分", - "minutes_short": "{0}分", - "month": "{0}ヶ月前", - "months": "{0}ヶ月前", - "month_short": "{0}ヶ月前", - "months_short": "{0}ヶ月前", "now": "たった今", "now_short": "たった今", - "second": "{0}秒", - "seconds": "{0}秒", - "second_short": "{0}秒", - "seconds_short": "{0}秒", - "week": "{0}週間", - "weeks": "{0}週間", - "week_short": "{0}週間", - "weeks_short": "{0}週間", - "year": "{0}年", - "years": "{0}年", - "year_short": "{0}年", - "years_short": "{0}年" + "in_future": "{0}で", + "in_past": "{0}前", + "unit": { + "day": "{0}日", + "days": "{0}日", + "day_short": "{0}日", + "days_short": "{0}日", + "hour": "{0}時間", + "hours": "{0}時間", + "hour_short": "{0}時間", + "hours_short": "{0}時間", + "minute": "{0}分", + "minutes": "{0}分", + "minute_short": "{0}分", + "minutes_short": "{0}分", + "month": "{0}ヶ月前", + "months": "{0}ヶ月前", + "month_short": "{0}ヶ月前", + "months_short": "{0}ヶ月前", + "second": "{0}秒", + "seconds": "{0}秒", + "second_short": "{0}秒", + "seconds_short": "{0}秒", + "week": "{0}週間", + "weeks": "{0}週間", + "week_short": "{0}週間", + "weeks_short": "{0}週間", + "year": "{0}年", + "years": "{0}年", + "year_short": "{0}年", + "years_short": "{0}年" + } }, "timeline": { "collapse": "たたむ", diff --git a/src/i18n/ja_pedantic.json b/src/i18n/ja_pedantic.json index 77b270c9..c07176bc 100644 --- a/src/i18n/ja_pedantic.json +++ b/src/i18n/ja_pedantic.json @@ -91,6 +91,7 @@ "dms": "ダイレクトメッセージ", "public_tl": "公開タイムライン", "timeline": "タイムライン", + "lists": "リスト", "twkn": "すべてのネットワーク", "user_search": "ユーザーを探す", "search": "検索", @@ -100,7 +101,8 @@ "bookmarks": "ブックマーク", "timelines": "タイムライン", "chats": "チャット", - "home_timeline": "ホームタイムライン" + "home_timeline": "ホームタイムライン", + "announcements": "お知らせ" }, "notifications": { "broken_favorite": "ステータスが見つかりません。探しています…", @@ -178,7 +180,8 @@ "direct": "ダイレクト: メンションされたユーザーのみに届きます", "private": "フォロワー限定: フォロワーのみに届きます", "public": "パブリック: 公開タイムラインに届きます", - "unlisted": "アンリステッド: 公開タイムラインに届きません" + "unlisted": "アンリステッド: 公開タイムラインに届きません", + "local": "ローカル: 連合に送信しません" }, "media_description_error": "メディアのアップロードに失敗しました。もう一度お試しください", "empty_status_error": "投稿内容を入力してください", @@ -218,6 +221,7 @@ "app_name": "アプリの名称", "security": "セキュリティ", "enter_current_password_to_confirm": "あなたのアイデンティティを証明するため、現在のパスワードを入力してください", + "expert_mode": "詳細設定を表示", "mfa": { "otp": "OTP", "setup_otp": "OTPのセットアップ", @@ -289,6 +293,8 @@ "hide_attachments_in_convo": "スレッドのファイルを隠す", "hide_attachments_in_tl": "タイムラインのファイルを隠す", "hide_muted_posts": "ミュートしているユーザーの投稿を隠す", + "hide_muted_threads": "ミュートしているスレを隠す", + "hide_wordfiltered_statuses": "単語フィルタに一致する投稿を隠す", "max_thumbnails": "投稿に含まれるサムネイルの最大数", "hide_isp": "インスタンス固有パネルを隠す", "preload_images": "画像を先読みする", @@ -605,38 +611,40 @@ "right_sidebar": "サイドバーを右に表示" }, "time": { - "day": "{0}日", - "days": "{0}日", - "day_short": "{0}日", - "days_short": "{0}日", - "hour": "{0}時間", - "hours": "{0}時間", - "hour_short": "{0}時間", - "hours_short": "{0}時間", - "in_future": "{0}で", - "in_past": "{0}前", - "minute": "{0}分", - "minutes": "{0}分", - "minute_short": "{0}分", - "minutes_short": "{0}分", - "month": "{0}ヶ月前", - "months": "{0}ヶ月前", - "month_short": "{0}ヶ月前", - "months_short": "{0}ヶ月前", "now": "たった今", "now_short": "たった今", - "second": "{0}秒", - "seconds": "{0}秒", - "second_short": "{0}秒", - "seconds_short": "{0}秒", - "week": "{0}週間", - "weeks": "{0}週間", - "week_short": "{0}週間", - "weeks_short": "{0}週間", - "year": "{0}年", - "years": "{0}年", - "year_short": "{0}年", - "years_short": "{0}年" + "in_future": "{0}で", + "in_past": "{0}前", + "unit": { + "day": "{0}日", + "days": "{0}日", + "day_short": "{0}日", + "days_short": "{0}日", + "hour": "{0}時間", + "hours": "{0}時間", + "hour_short": "{0}時間", + "hours_short": "{0}時間", + "minute": "{0}分", + "minutes": "{0}分", + "minute_short": "{0}分", + "minutes_short": "{0}分", + "month": "{0}ヶ月前", + "months": "{0}ヶ月前", + "month_short": "{0}ヶ月前", + "months_short": "{0}ヶ月前", + "second": "{0}秒", + "seconds": "{0}秒", + "second_short": "{0}秒", + "seconds_short": "{0}秒", + "week": "{0}週間", + "weeks": "{0}週間", + "week_short": "{0}週間", + "weeks_short": "{0}週間", + "year": "{0}年", + "years": "{0}年", + "year_short": "{0}年", + "years_short": "{0}年" + } }, "timeline": { "collapse": "たたむ", diff --git a/src/i18n/ko.json b/src/i18n/ko.json index cd0cb992..13550259 100644 --- a/src/i18n/ko.json +++ b/src/i18n/ko.json @@ -553,37 +553,39 @@ "title": "Shoutbox" }, "time": { - "years_short": "{0} 년", - "year_short": "{0} 년", - "years": "{0} 년", - "year": "{0} 년", - "weeks_short": "{0} 주일", - "week_short": "{0} 주일", - "weeks": "{0} 주일", - "week": "{0} 주일", - "seconds_short": "{0} 초", - "second_short": "{0} 초", - "seconds": "{0} 초", - "second": "{0} 초", "now_short": "방금", "now": "방끔", - "months_short": "{0} 달 전", - "month_short": "{0} 달 전", - "months": "{0} 달 전", - "month": "{0} 달 전", - "minutes_short": "{0} 분", - "minute_short": "{0} 분", - "minutes": "{0} 분", - "minute": "{0} 분", "in_past": "{0} 전", - "hours_short": "{0} 시간", - "hour_short": "{0} 시간", - "hours": "{0} 시간", - "hour": "{0} 시간", - "days_short": "{0} 일", - "day_short": "{0} 일", - "days": "{0} 일", - "day": "{0} 일" + "unit": { + "years_short": "{0} 년", + "year_short": "{0} 년", + "years": "{0} 년", + "year": "{0} 년", + "weeks_short": "{0} 주일", + "week_short": "{0} 주일", + "weeks": "{0} 주일", + "week": "{0} 주일", + "seconds_short": "{0} 초", + "second_short": "{0} 초", + "seconds": "{0} 초", + "second": "{0} 초", + "months_short": "{0} 달 전", + "month_short": "{0} 달 전", + "months": "{0} 달 전", + "month": "{0} 달 전", + "minutes_short": "{0} 분", + "minute_short": "{0} 분", + "minutes": "{0} 분", + "minute": "{0} 분", + "hours_short": "{0} 시간", + "hour_short": "{0} 시간", + "hours": "{0} 시간", + "hour": "{0} 시간", + "days_short": "{0} 일", + "day_short": "{0} 일", + "days": "{0} 일", + "day": "{0} 일" + } }, "remote_user_resolver": { "error": "찾을 수 없습니다.", diff --git a/src/i18n/nb.json b/src/i18n/nb.json index 1c160afb..2b4d59f6 100644 --- a/src/i18n/nb.json +++ b/src/i18n/nb.json @@ -451,38 +451,40 @@ "hide_wallpaper": "Skjul instansens bakgrunnsbilde" }, "time": { - "day": "{0} dag", - "days": "{0} dager", - "day_short": "{0}d", - "days_short": "{0}d", - "hour": "{0} time", - "hours": "{0} timer", - "hour_short": "{0}t", - "hours_short": "{0}t", - "in_future": "om {0}", - "in_past": "{0} siden", - "minute": "{0} minutt", - "minutes": "{0} minutter", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} måned", - "months": "{0} måneder", - "month_short": "{0}md.", - "months_short": "{0}md.", "now": "akkurat nå", "now_short": "nå", - "second": "{0} sekund", - "seconds": "{0} sekunder", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} uke", - "weeks": "{0} uker", - "week_short": "{0}u", - "weeks_short": "{0}u", - "year": "{0} år", - "years": "{0} år", - "year_short": "{0}år", - "years_short": "{0}år" + "in_future": "om {0}", + "in_past": "{0} siden", + "unit": { + "day": "{0} dag", + "days": "{0} dager", + "day_short": "{0}d", + "days_short": "{0}d", + "hour": "{0} time", + "hours": "{0} timer", + "hour_short": "{0}t", + "hours_short": "{0}t", + "minute": "{0} minutt", + "minutes": "{0} minutter", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} måned", + "months": "{0} måneder", + "month_short": "{0}md.", + "months_short": "{0}md.", + "second": "{0} sekund", + "seconds": "{0} sekunder", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} uke", + "weeks": "{0} uker", + "week_short": "{0}u", + "weeks_short": "{0}u", + "year": "{0} år", + "years": "{0} år", + "year_short": "{0}år", + "years_short": "{0}år" + } }, "timeline": { "collapse": "Sammenfold", diff --git a/src/i18n/nl.json b/src/i18n/nl.json index 5c00efc4..0a04f0a4 100644 --- a/src/i18n/nl.json +++ b/src/i18n/nl.json @@ -810,38 +810,40 @@ "bookmark": "Bladwijzer toevoegen" }, "time": { - "years_short": "{0}j", - "year_short": "{0}j", - "years": "{0} jaren", - "year": "{0} jaar", - "weeks_short": "{0}w", - "week_short": "{0}w", - "weeks": "{0} weken", - "week": "{0} week", - "seconds_short": "{0}s", - "second_short": "{0}s", - "seconds": "{0} seconden", - "second": "{0} seconde", "now_short": "nu", "now": "zojuist", - "months_short": "{0}ma", - "month_short": "{0}ma", - "months": "{0} maanden", - "month": "{0} maand", - "minutes_short": "{0}min", - "minute_short": "{0}min", - "minutes": "{0} minuten", - "minute": "{0} minuut", "in_past": "{0} geleden", "in_future": "over {0}", - "hours_short": "{0}u", - "hour_short": "{0}u", - "hours": "{0} uren", - "hour": "{0} uur", - "days_short": "{0}d", - "day_short": "{0}d", - "days": "{0} dagen", - "day": "{0} dag" + "unit": { + "years_short": "{0}j", + "year_short": "{0}j", + "years": "{0} jaren", + "year": "{0} jaar", + "weeks_short": "{0}w", + "week_short": "{0}w", + "weeks": "{0} weken", + "week": "{0} week", + "seconds_short": "{0}s", + "second_short": "{0}s", + "seconds": "{0} seconden", + "second": "{0} seconde", + "months_short": "{0}ma", + "month_short": "{0}ma", + "months": "{0} maanden", + "month": "{0} maand", + "minutes_short": "{0}min", + "minute_short": "{0}min", + "minutes": "{0} minuten", + "minute": "{0} minuut", + "hours_short": "{0}u", + "hour_short": "{0}u", + "hours": "{0} uren", + "hour": "{0} uur", + "days_short": "{0}d", + "day_short": "{0}d", + "days": "{0} dagen", + "day": "{0} dag" + } }, "shoutbox": { "title": "Shoutbox" diff --git a/src/i18n/oc.json b/src/i18n/oc.json index 556b3d0b..3eb05049 100644 --- a/src/i18n/oc.json +++ b/src/i18n/oc.json @@ -405,38 +405,40 @@ } }, "time": { - "day": "{0} jorn", - "days": "{0} jorns", - "day_short": "{0} jorn", - "days_short": "{0} jorns", - "hour": "{0} ora", - "hours": "{0} oras", - "hour_short": "{0}h", - "hours_short": "{0}h", - "in_future": "d’aquí {0}", - "in_past": "fa {0}", - "minute": "{0} minuta", - "minutes": "{0} minutas", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} mes", - "months": "{0} meses", - "month_short": "{0} mes", - "months_short": "{0} meses", "now": "ara meteis", "now_short": "ara meteis", - "second": "{0} segonda", - "seconds": "{0} segondas", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} setmana.", - "weeks": "{0} setmanas.", - "week_short": "{0} setm.", - "weeks_short": "{0} setm.", - "year": "{0} an", - "years": "{0} ans", - "year_short": "{0} an", - "years_short": "{0} ans" + "in_future": "d’aquí {0}", + "in_past": "fa {0}", + "unit": { + "day": "{0} jorn", + "days": "{0} jorns", + "day_short": "{0} jorn", + "days_short": "{0} jorns", + "hour": "{0} ora", + "hours": "{0} oras", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minuta", + "minutes": "{0} minutas", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} mes", + "months": "{0} meses", + "month_short": "{0} mes", + "months_short": "{0} meses", + "second": "{0} segonda", + "seconds": "{0} segondas", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} setmana.", + "weeks": "{0} setmanas.", + "week_short": "{0} setm.", + "weeks_short": "{0} setm.", + "year": "{0} an", + "years": "{0} ans", + "year_short": "{0} an", + "years_short": "{0} ans" + } }, "timeline": { "collapse": "Tampar", diff --git a/src/i18n/pl.json b/src/i18n/pl.json index efebcc83..7fe1051a 100644 --- a/src/i18n/pl.json +++ b/src/i18n/pl.json @@ -636,38 +636,40 @@ "hide_shoutbox": "Ukryj shoutbox instancji" }, "time": { - "day": "{0} dzień", - "days": "{0} dni", - "day_short": "{0} d", - "days_short": "{0} d", - "hour": "{0} godzina", - "hours": "{0} godzin", - "hour_short": "{0} godz.", - "hours_short": "{0} godz.", - "in_future": "za {0}", - "in_past": "{0} temu", - "minute": "{0} minuta", - "minutes": "{0} minut", - "minute_short": "{0} min", - "minutes_short": "{0} min", - "month": "{0} miesiąc", - "months": "{0} miesięcy", - "month_short": "{0} mies.", - "months_short": "{0} mies.", "now": "teraz", "now_short": "teraz", - "second": "{0} sekunda", - "seconds": "{0} sekund", - "second_short": "{0} s", - "seconds_short": "{0} s", - "week": "{0} tydzień", - "weeks": "{0} tygodni", - "week_short": "{0} tydz.", - "weeks_short": "{0} tyg.", - "year": "{0} rok", - "years": "{0} lata", - "year_short": "{0} r.", - "years_short": "{0} lata" + "in_future": "za {0}", + "in_past": "{0} temu", + "unit": { + "day": "{0} dzień", + "days": "{0} dni", + "day_short": "{0} d", + "days_short": "{0} d", + "hour": "{0} godzina", + "hours": "{0} godzin", + "hour_short": "{0} godz.", + "hours_short": "{0} godz.", + "minute": "{0} minuta", + "minutes": "{0} minut", + "minute_short": "{0} min", + "minutes_short": "{0} min", + "month": "{0} miesiąc", + "months": "{0} miesięcy", + "month_short": "{0} mies.", + "months_short": "{0} mies.", + "second": "{0} sekunda", + "seconds": "{0} sekund", + "second_short": "{0} s", + "seconds_short": "{0} s", + "week": "{0} tydzień", + "weeks": "{0} tygodni", + "week_short": "{0} tydz.", + "weeks_short": "{0} tyg.", + "year": "{0} rok", + "years": "{0} lata", + "year_short": "{0} r.", + "years_short": "{0} lata" + } }, "timeline": { "collapse": "Zwiń", diff --git a/src/i18n/pt.json b/src/i18n/pt.json index b997701c..9988f2df 100644 --- a/src/i18n/pt.json +++ b/src/i18n/pt.json @@ -796,37 +796,39 @@ "title": "Denunciar {0}" }, "time": { - "years_short": "{0}a", - "year_short": "{0}a", - "years": "{0} anos", - "year": "{0} ano", - "weeks_short": "{0}sem", - "week_short": "{0}sem", - "weeks": "{0} semanas", - "week": "{0} semana", - "seconds_short": "{0}s", - "second_short": "{0}s", - "seconds": "{0} segundos", - "second": "{0} segundo", "now": "agora mesmo", "now_short": "agora", - "months_short": "{0}m", - "month_short": "{0}m", - "months": "{0} meses", - "month": "{0} mês", - "minutes_short": "{0}min", - "minute_short": "{0}min", - "minutes": "{0} minutos", - "minute": "{0} minuto", "in_past": "há {0}", "in_future": "em {0}", - "hours_short": "{0}h", - "hour_short": "{0}h", - "hours": "{0} horas", - "hour": "{0} hora", - "days_short": "{0}d", - "day_short": "{0}d", - "days": "{0} dias", - "day": "{0} dia" + "unit": { + "years_short": "{0}a", + "year_short": "{0}a", + "years": "{0} anos", + "year": "{0} ano", + "weeks_short": "{0}sem", + "week_short": "{0}sem", + "weeks": "{0} semanas", + "week": "{0} semana", + "seconds_short": "{0}s", + "second_short": "{0}s", + "seconds": "{0} segundos", + "second": "{0} segundo", + "months_short": "{0}m", + "month_short": "{0}m", + "months": "{0} meses", + "month": "{0} mês", + "minutes_short": "{0}min", + "minute_short": "{0}min", + "minutes": "{0} minutos", + "minute": "{0} minuto", + "hours_short": "{0}h", + "hour_short": "{0}h", + "hours": "{0} horas", + "hour": "{0} hora", + "days_short": "{0}d", + "day_short": "{0}d", + "days": "{0} dias", + "day": "{0} dia" + } } } diff --git a/src/i18n/ru.json b/src/i18n/ru.json index 7e6ff3f5..62d68052 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -720,26 +720,28 @@ "title": "Болтовня" }, "time": { - "days_short": "{0}дн", - "years_short": "{0}г", - "year_short": "{0}г", - "weeks_short": "{0}нед", - "week_short": "{0}нед", - "seconds_short": "{0}сек", - "second_short": "{0}с", "now_short": "только что", "now": "только что", - "months_short": "{0}мес", - "month_short": "{0}мес", - "minutes_short": "{0}мин", - "minute_short": "{0}мин", "in_past": "{0} назад", "in_future": "через {0}", - "hours_short": "{0}ч", - "hour_short": "{0}ч", - "hour": "{0} час", - "day_short": "{0}д", - "days": "{0} дней" + "unit": { + "days_short": "{0}дн", + "years_short": "{0}г", + "year_short": "{0}г", + "weeks_short": "{0}нед", + "week_short": "{0}нед", + "seconds_short": "{0}сек", + "second_short": "{0}с", + "months_short": "{0}мес", + "month_short": "{0}мес", + "minutes_short": "{0}мин", + "minute_short": "{0}мин", + "hours_short": "{0}ч", + "hour_short": "{0}ч", + "hour": "{0} час", + "day_short": "{0}д", + "days": "{0} дней" + } }, "chats": { "empty_chat_list_placeholder": "У вас пока нет бесед. Начните одну!", diff --git a/src/i18n/sk.json b/src/i18n/sk.json index cee76f5e..09526c77 100644 --- a/src/i18n/sk.json +++ b/src/i18n/sk.json @@ -265,38 +265,40 @@ "select_all": "Vybrať všetko" }, "time": { - "day": "{0} deň", - "days": "{0} dní", - "day_short": "{0}d", - "days_short": "{0}d", - "hour": "{0} hodina", - "hours": "{0} hodín", - "hour_short": "{0}h", - "hours_short": "{0}h", - "in_future": "za {0}", - "in_past": "pred {0}", - "minute": "{0} minúta", - "minutes": "{0} minút", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} mesiac", - "months": "{0} mesiacov", - "month_short": "{0}mes", - "months_short": "{0}mes", "now": "práve teraz", "now_short": "teraz", - "second": "{0} sekunda", - "seconds": "{0} sekúnd", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} týždeň", - "weeks": "{0} týždňov", - "week_short": "{0}t", - "weeks_short": "{0}t", - "year": "{0} rok", - "years": "{0} rokov", - "year_short": "{0}r", - "years_short": "{0}r" + "in_future": "za {0}", + "in_past": "pred {0}", + "unit": { + "day": "{0} deň", + "days": "{0} dní", + "day_short": "{0}d", + "days_short": "{0}d", + "hour": "{0} hodina", + "hours": "{0} hodín", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} minúta", + "minutes": "{0} minút", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} mesiac", + "months": "{0} mesiacov", + "month_short": "{0}mes", + "months_short": "{0}mes", + "second": "{0} sekunda", + "seconds": "{0} sekúnd", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} týždeň", + "weeks": "{0} týždňov", + "week_short": "{0}t", + "weeks_short": "{0}t", + "year": "{0} rok", + "years": "{0} rokov", + "year_short": "{0}r", + "years_short": "{0}r" + } }, "timeline": { "collapse": "Zbaliť", diff --git a/src/i18n/uk.json b/src/i18n/uk.json index 4e62b4a9..b130a861 100644 --- a/src/i18n/uk.json +++ b/src/i18n/uk.json @@ -703,38 +703,40 @@ } }, "time": { - "weeks_short": "{0}тижд.", - "week_short": "{0}тижд.", - "years_short": "{0}р", - "year_short": "{0}р", - "years": "{0} роки", - "year": "{0} рік", - "weeks": "{0} тижнів", - "week": "{0} тиждень", - "second_short": "{0}с", - "second": "{0} секунда", "now_short": "щойно", "now": "щойно", - "months_short": "{0}міс.", - "month_short": "{0}міс.", - "months": "{0} місяці", - "month": "{0} місяць", - "minutes_short": "{0}хв", - "hours_short": "{0}год", - "hour_short": "{0}год", - "day_short": "{0}д", - "minute_short": "{0}хв", - "minutes": "{0} хвилини", - "minute": "{0} хвилина", + "in_future": "через {0}", "in_past": "{0} тому", - "hours": "{0} години", - "hour": "{0} година", - "days_short": "{0}д", - "days": "{0} дні", - "day": "{0} день", - "seconds_short": "{0}с", - "seconds": "{0} секунди", - "in_future": "через {0}" + "unit": { + "weeks_short": "{0}тижд.", + "week_short": "{0}тижд.", + "years_short": "{0}р", + "year_short": "{0}р", + "years": "{0} роки", + "year": "{0} рік", + "weeks": "{0} тижнів", + "week": "{0} тиждень", + "second_short": "{0}с", + "second": "{0} секунда", + "months_short": "{0}міс.", + "month_short": "{0}міс.", + "months": "{0} місяці", + "month": "{0} місяць", + "minutes_short": "{0}хв", + "hours_short": "{0}год", + "hour_short": "{0}год", + "day_short": "{0}д", + "minute_short": "{0}хв", + "minutes": "{0} хвилини", + "minute": "{0} хвилина", + "hours": "{0} години", + "hour": "{0} година", + "days_short": "{0}д", + "days": "{0} дні", + "day": "{0} день", + "seconds_short": "{0}с", + "seconds": "{0} секунди" + } }, "search": { "no_results": "Немає результатів", diff --git a/src/i18n/vi.json b/src/i18n/vi.json index fd7ae25c..2457bc90 100644 --- a/src/i18n/vi.json +++ b/src/i18n/vi.json @@ -642,38 +642,40 @@ "storage_unavailable": "Pleroma không thể truy cập lưu trữ trình duyệt. Thông tin đăng nhập và những thiết lập tạm thời sẽ bị mất. Hãy cho phép cookies." }, "time": { - "day": "{0} ngày", - "days": "{0} ngày", - "day_short": "{0} ngày", - "days_short": "{0} ngày", - "hour": "{0} giờ", - "hours": "{0} giờ", - "hour_short": "{0} giờ", - "hours_short": "{0} giờ", + "now": "vừa xong", + "now_short": "vừa xong", "in_future": "lúc {0}", "in_past": "{0} trước", - "minute": "{0} phút", - "minutes": "{0} phút", - "minute_short": "{0} phút", - "minutes_short": "{0} phút", - "month": "{0} tháng", - "months": "{0} tháng", - "month_short": "{0} tháng", - "months_short": "{0} tháng", - "now": "vừa xong", - "second": "{0} giây", - "seconds": "{0} giây", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} tuần", - "weeks": "{0} tuần", - "week_short": "{0} tuần", - "weeks_short": "{0} tuần", - "year": "{0} năm", - "years": "{0} năm", - "year_short": "{0} năm", - "years_short": "{0} năm", - "now_short": "vừa xong" + "unit": { + "day": "{0} ngày", + "days": "{0} ngày", + "day_short": "{0} ngày", + "days_short": "{0} ngày", + "hour": "{0} giờ", + "hours": "{0} giờ", + "hour_short": "{0} giờ", + "hours_short": "{0} giờ", + "minute": "{0} phút", + "minutes": "{0} phút", + "minute_short": "{0} phút", + "minutes_short": "{0} phút", + "month": "{0} tháng", + "months": "{0} tháng", + "month_short": "{0} tháng", + "months_short": "{0} tháng", + "second": "{0} giây", + "seconds": "{0} giây", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} tuần", + "weeks": "{0} tuần", + "week_short": "{0} tuần", + "weeks_short": "{0} tuần", + "year": "{0} năm", + "years": "{0} năm", + "year_short": "{0} năm", + "years_short": "{0} năm" + } }, "timeline": { "collapse": "Thu gọn", diff --git a/src/i18n/zh.json b/src/i18n/zh.json index dd0e6827..20b6350b 100644 --- a/src/i18n/zh.json +++ b/src/i18n/zh.json @@ -592,38 +592,40 @@ "hide_shoutbox": "隐藏实例留言板" }, "time": { - "day": "{0} 天", - "days": "{0} 天", - "day_short": "{0}d", - "days_short": "{0}d", - "hour": "{0} 小时", - "hours": "{0} 小时", - "hour_short": "{0}h", - "hours_short": "{0}h", "in_future": "还有 {0}", "in_past": "{0} 之前", - "minute": "{0} 分钟", - "minutes": "{0} 分钟", - "minute_short": "{0}min", - "minutes_short": "{0}min", - "month": "{0} 月", - "months": "{0} 月", - "month_short": "{0}mo", - "months_short": "{0}mo", "now": "刚刚", "now_short": "刚刚", - "second": "{0} 秒", - "seconds": "{0} 秒", - "second_short": "{0}s", - "seconds_short": "{0}s", - "week": "{0} 周", - "weeks": "{0} 周", - "week_short": "{0}w", - "weeks_short": "{0}w", - "year": "{0} 年", - "years": "{0} 年", - "year_short": "{0}y", - "years_short": "{0}y" + "unit": { + "day": "{0} 天", + "days": "{0} 天", + "day_short": "{0}d", + "days_short": "{0}d", + "hour": "{0} 小时", + "hours": "{0} 小时", + "hour_short": "{0}h", + "hours_short": "{0}h", + "minute": "{0} 分钟", + "minutes": "{0} 分钟", + "minute_short": "{0}min", + "minutes_short": "{0}min", + "month": "{0} 月", + "months": "{0} 月", + "month_short": "{0}mo", + "months_short": "{0}mo", + "second": "{0} 秒", + "seconds": "{0} 秒", + "second_short": "{0}s", + "seconds_short": "{0}s", + "week": "{0} 周", + "weeks": "{0} 周", + "week_short": "{0}w", + "weeks_short": "{0}w", + "year": "{0} 年", + "years": "{0} 年", + "year_short": "{0}y", + "years_short": "{0}y" + } }, "timeline": { "collapse": "折叠", diff --git a/src/i18n/zh_Hant.json b/src/i18n/zh_Hant.json index 6f0f63b5..09c9b36c 100644 --- a/src/i18n/zh_Hant.json +++ b/src/i18n/zh_Hant.json @@ -613,38 +613,40 @@ "nsfw": "工作不安全" }, "time": { - "hours": "{0} 時", - "days_short": "{0}天", - "day_short": "{0}天", - "days": "{0} 天", - "hour": "{0} 時", - "hour_short": "{0}時", - "hours_short": "{0}時", - "years_short": "{0} y", - "now": "剛剛", - "day": "{0} 天", "in_future": "還有 {0}", "in_past": "{0} 之前", - "minute": "{0} 分鐘", - "minute_short": "{0} 分", - "minutes_short": "{0} 分", - "minutes": "{0} 分鐘", - "month": "{0} 月", - "months": "{0} 月", - "month_short": "{0} 月", - "months_short": "{0} 月", + "now": "剛剛", "now_short": "剛剛", - "second": "{0} 秒", - "seconds": "{0} 秒", - "second_short": "{0} 秒", - "seconds_short": "{0} 秒", - "week": "{0}周", - "weeks": "{0}周", - "week_short": "{0}周", - "weeks_short": "{0}周", - "year": "{0} 年", - "years": "{0} 年", - "year_short": "{0}年" + "unit": { + "hours": "{0} 時", + "days_short": "{0}天", + "day_short": "{0}天", + "days": "{0} 天", + "hour": "{0} 時", + "hour_short": "{0}時", + "hours_short": "{0}時", + "years_short": "{0} y", + "day": "{0} 天", + "minute": "{0} 分鐘", + "minute_short": "{0} 分", + "minutes_short": "{0} 分", + "minutes": "{0} 分鐘", + "month": "{0} 月", + "months": "{0} 月", + "month_short": "{0} 月", + "months_short": "{0} 月", + "second": "{0} 秒", + "seconds": "{0} 秒", + "second_short": "{0} 秒", + "seconds_short": "{0} 秒", + "week": "{0}周", + "weeks": "{0}周", + "week_short": "{0}周", + "weeks_short": "{0}周", + "year": "{0} 年", + "years": "{0} 年", + "year_short": "{0}年" + } }, "post_status": { "media_description_error": "無法更新媒體,請重試", diff --git a/yarn.lock b/yarn.lock index ba45ceaf..6f5f927a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1162,24 +1162,32 @@ source-map "0.6.1" yaml-eslint-parser "^0.3.2" -"@intlify/core-base@9.2.0-beta.34": - version "9.2.0-beta.34" - resolved "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.2.0-beta.34.tgz" - integrity sha512-MwWvL7GMpFeYBfFOU2fDj8V+kodtoGv3ZjK0qxnQtJ6oWtmv2ldqRuIu1NxPSmykYYg4iljrG174EzZnQkIcqA== +"@intlify/core-base@9.2.0-beta.39": + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/@intlify/core-base/-/core-base-9.2.0-beta.39.tgz#a4e312ab6222059e2b615d3f3d3984a3a09b84a8" + integrity sha512-DqPzEIySetW7+m01w9dj0NT6YOsNL+O/qC8QL6rdUPVwCzOhFoILuANruu81qL645TMNi1bClLAIkC5DUKqJJg== dependencies: - "@intlify/devtools-if" "9.2.0-beta.34" - "@intlify/message-compiler" "9.2.0-beta.34" - "@intlify/shared" "9.2.0-beta.34" - "@intlify/vue-devtools" "9.2.0-beta.34" + "@intlify/devtools-if" "9.2.0-beta.39" + "@intlify/message-compiler" "9.2.0-beta.39" + "@intlify/shared" "9.2.0-beta.39" + "@intlify/vue-devtools" "9.2.0-beta.39" -"@intlify/devtools-if@9.2.0-beta.34": - version "9.2.0-beta.34" - resolved "https://registry.npmjs.org/@intlify/devtools-if/-/devtools-if-9.2.0-beta.34.tgz" - integrity sha512-Q/MNzslMLKpVygLJDE2poOwzQFed3KTpAn6hPsN10pgBPNHwJGVi6LgBYsO/6TVszN0w4GA1cv+6nT3iIyW7+A== +"@intlify/devtools-if@9.2.0-beta.39": + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/@intlify/devtools-if/-/devtools-if-9.2.0-beta.39.tgz#68694d82b2f15658b7327b7293d1d52e69eb5603" + integrity sha512-Xc72sohlnI18ZbV1JdCi2uSHMD9njva2+2tat4cdGAczz6WZOQmGaCsH7hkUwljMWLseTOiPFDEIguQDkdvROg== dependencies: - "@intlify/shared" "9.2.0-beta.34" + "@intlify/shared" "9.2.0-beta.39" -"@intlify/message-compiler@9.2.0-beta.34", "@intlify/message-compiler@next": +"@intlify/message-compiler@9.2.0-beta.39": + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/@intlify/message-compiler/-/message-compiler-9.2.0-beta.39.tgz#047e63ef54c32002e531218097fd1568aff4467b" + integrity sha512-wHb3zzk/H3Wfx9U/SaXVenQ/qq2suqJMl/ppu+IdyGGMZxqC57zFqkgwWxEpqP4DzGeisjHe2myjLZQyV1haEQ== + dependencies: + "@intlify/shared" "9.2.0-beta.39" + source-map "0.6.1" + +"@intlify/message-compiler@next": version "9.2.0-beta.34" resolved "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.2.0-beta.34.tgz" integrity sha512-l7JjkXJBW2l6cFZqPvI6oWU6QZn/i70agU6QB02W1O+6quFCFNpsiPswgYyQrmfHt4F4qYhLJUMZltIW/cqcbw== @@ -1192,13 +1200,18 @@ resolved "https://registry.npmjs.org/@intlify/shared/-/shared-9.2.0-beta.34.tgz" integrity sha512-hbUKcVbTOkLVpnlSeZE1OPgEI7FpvhuZF/gb84xECTjXEImIa3u0fIcJKUUffv3dlAx8fMOE5xKgDzngidm0tw== -"@intlify/vue-devtools@9.2.0-beta.34": - version "9.2.0-beta.34" - resolved "https://registry.npmjs.org/@intlify/vue-devtools/-/vue-devtools-9.2.0-beta.34.tgz" - integrity sha512-0fEUqxZ2XibWNpWr1OTQrz0hBgqiWdXOvg5D6NjYBYIrSlJ13cPFfkfPBlnKUkrfBdw7RG6l+SlcUwIPj0ViGA== +"@intlify/shared@9.2.0-beta.39": + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/@intlify/shared/-/shared-9.2.0-beta.39.tgz#20b6212f29881f164fe863a63c56b490ee9af8e5" + integrity sha512-FqzpkZVk/cTsywWc4mVbI2/fDQwYm8oXVwi7yuassiLps3yJK7P0s6grZaaXIX8gMODNLjJtJPd2KEOSj1lUyw== + +"@intlify/vue-devtools@9.2.0-beta.39": + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/@intlify/vue-devtools/-/vue-devtools-9.2.0-beta.39.tgz#bbfa52d96092825e04d8c36f4060e8fe55214252" + integrity sha512-ZS+feG3k+0IR12qkNCdSoM+iAR2xBW/H1neRPlOCrHUT0cejSHrNMrPrZYFHHXVwqxzeXZVlrv8lzCJP3VFkjQ== dependencies: - "@intlify/core-base" "9.2.0-beta.34" - "@intlify/shared" "9.2.0-beta.34" + "@intlify/core-base" "9.2.0-beta.39" + "@intlify/shared" "9.2.0-beta.39" "@intlify/vue-i18n-loader@^5.0.0": version "5.0.0" @@ -1845,10 +1858,10 @@ resolved "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.1.3.tgz" integrity sha512-79InfO2xHv+WHIrH1bHXQUiQD/wMls9qBk6WVwGCbdwP7/3zINtvqPNMtmSHXsIKjvUAHc8L0ouOj6ZQQRmcXg== -"@vue/devtools-api@^6.0.0-beta.13": - version "6.1.4" - resolved "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.1.4.tgz" - integrity sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ== +"@vue/devtools-api@^6.2.1": + version "6.2.1" + resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.2.1.tgz#6f2948ff002ec46df01420dfeff91de16c5b4092" + integrity sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ== "@vue/reactivity-transform@3.2.31": version "3.2.31" @@ -11125,15 +11138,15 @@ vue-eslint-parser@^5.0.0: esquery "^1.0.1" lodash "^4.17.11" -vue-i18n@^9.2.0-beta.34: - version "9.2.0-beta.34" - resolved "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.2.0-beta.34.tgz" - integrity sha512-AKzOMn91OKBKHTPVWrDF+kBSbYYNGfBeeBhuihkxW2ZTXd1l8vp7WBqA6weV9kb9EDv7HO61Qhctqcr79TmHVw== +vue-i18n@^9.2.0-beta.39: + version "9.2.0-beta.39" + resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.2.0-beta.39.tgz#f502349c3483e6c2c9d0a379ff847ee21e99b482" + integrity sha512-J6dTGXY3WOj5BOwRY17/8NwSOOkI2dasGCwUxCT3LPUPnR4oQy7DocWmKT9XqeiJVnilP9XSi7EdScg/WiKZDA== dependencies: - "@intlify/core-base" "9.2.0-beta.34" - "@intlify/shared" "9.2.0-beta.34" - "@intlify/vue-devtools" "9.2.0-beta.34" - "@vue/devtools-api" "^6.0.0-beta.13" + "@intlify/core-base" "9.2.0-beta.39" + "@intlify/shared" "9.2.0-beta.39" + "@intlify/vue-devtools" "9.2.0-beta.39" + "@vue/devtools-api" "^6.2.1" vue-loader@^16.0.0: version "16.8.3" From eb47bb89737f57c463c52b0c3c780a5226487c6d Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 19 Jul 2022 11:02:08 +0100 Subject: [PATCH 2/3] remove debug log --- src/components/timeago/timeago.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue index 437ffb86..ddbce59b 100644 --- a/src/components/timeago/timeago.vue +++ b/src/components/timeago/timeago.vue @@ -40,7 +40,7 @@ export default { this.relativeTime = this.longFormat ? DateUtils.relativeTime(this.time, nowThreshold) : DateUtils.relativeTimeShort(this.time, nowThreshold) - console.log({ ...this.relativeTime }) + if (this.autoUpdate) { this.interval = setTimeout( this.refreshRelativeTimeObject, From 606e850aad7ec08e46aed42beab76e2a4659a927 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Tue, 19 Jul 2022 11:02:49 +0100 Subject: [PATCH 3/3] lint --- src/components/timeago/timeago.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/timeago/timeago.vue b/src/components/timeago/timeago.vue index ddbce59b..86229349 100644 --- a/src/components/timeago/timeago.vue +++ b/src/components/timeago/timeago.vue @@ -40,7 +40,6 @@ export default { this.relativeTime = this.longFormat ? DateUtils.relativeTime(this.time, nowThreshold) : DateUtils.relativeTimeShort(this.time, nowThreshold) - if (this.autoUpdate) { this.interval = setTimeout( this.refreshRelativeTimeObject,