From f0501e6c6ad84036c46ff292ea059ad967583bbc Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 28 Jun 2024 18:58:10 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20refactor:=20improve=20last=5Fupd?= =?UTF-8?q?ated=5Fon=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/ar.toml | 2 +- i18n/ca.toml | 2 +- i18n/de.toml | 2 +- i18n/en.toml | 2 +- i18n/es.toml | 2 +- i18n/fa.toml | 2 +- i18n/fr.toml | 2 +- i18n/hi.toml | 2 +- i18n/it.toml | 2 +- i18n/ja.toml | 2 +- i18n/ko.toml | 2 +- i18n/nl.toml | 2 +- i18n/pt-PT.toml | 2 +- i18n/ru.toml | 2 +- i18n/uk.toml | 2 +- i18n/zh-Hans.toml | 2 +- i18n/zh-Hant.toml | 2 +- templates/page.html | 5 ++++- 18 files changed, 21 insertions(+), 18 deletions(-) diff --git a/i18n/ar.toml b/i18n/ar.toml index 250526e1d..ccc36a972 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -70,7 +70,7 @@ two_words = "كلمتين" # Two words. few_words = "$NUMBER كلمات" # 3 to 10 words. many_words = "$NUMBER كلمة" # 11 or more words. -last_updated_on = "آخر تحديث كان في" +last_updated_on = "تم التحديث في $DATE" see_changes = "الإطلاع على التغييرات" # Post body. diff --git a/i18n/ca.toml b/i18n/ca.toml index 15325740c..2c8ccfa84 100644 --- a/i18n/ca.toml +++ b/i18n/ca.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER mins de lectura" zero_words = "Cap paraula" one_words = "$NUMBER paraula" many_words = "$NUMBER paraules" -last_updated_on = "Última actualizació el" +last_updated_on = "Actualitzat el $DATE" see_changes = "Veure canvis" # Post body. diff --git a/i18n/de.toml b/i18n/de.toml index a633b68d0..3671fd046 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -59,7 +59,7 @@ many_min_read = "$NUMBER Min. Lesezeit" zero_words = "Keine Wörter" one_words = "$NUMBER Wort" many_words = "$NUMBER Wörter" -last_updated_on = "Zuletzt aktualisiert am" +last_updated_on = "Aktualisiert am $DATE" see_changes = "Änderungen anzeigen" # Post body. diff --git a/i18n/en.toml b/i18n/en.toml index ae5f02e77..d081e9cb2 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER min read" zero_words = "No words" one_words = "$NUMBER word" many_words = "$NUMBER words" -last_updated_on = "Last updated on" +last_updated_on = "Updated on $DATE" see_changes = "See changes" # Post body. diff --git a/i18n/es.toml b/i18n/es.toml index 7e0fe0ce2..fb40061f4 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER mins de lectura" zero_words = "Cero palabras" one_words = "$NUMBER palabra" many_words = "$NUMBER palabras" -last_updated_on = "Última actualización el" +last_updated_on = "Actualizado el $DATE" see_changes = "Ver cambios" # Post body. diff --git a/i18n/fa.toml b/i18n/fa.toml index 9f1a55311..5b76e7cc2 100644 --- a/i18n/fa.toml +++ b/i18n/fa.toml @@ -56,7 +56,7 @@ many_min_read = "خواندن $NUMBER دقیقه" zero_words = "هیچ کلمه‌ای" one_words = "$NUMBER کلمه" many_words = "$NUMBER کلمه" -last_updated_on = "آخرین به‌روزرسانی در" +last_updated_on = "آخرین به‌روزرسانی در $DATE" see_changes = "مشاهده تغییرات" # Post body. diff --git a/i18n/fr.toml b/i18n/fr.toml index f5b7963e5..d27b1eeea 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER min de lecture" zero_words = "aucun mot" one_words = "$NUMBER mot" many_words = "$NUMBER mots" -last_updated_on = "Dernière mise à jour le" +last_updated_on = "Mis à jour le $DATE" see_changes = "Voir les modifications" # Post body. diff --git a/i18n/hi.toml b/i18n/hi.toml index ab00aa77e..6de5c006d 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -57,7 +57,7 @@ many_min_read = "$NUMBER मिनट पठन समय" zero_words = "कोई शब्द नहीं" one_words = "$NUMBER शब्द" many_words = "$NUMBER शब्द" -last_updated_on = "आखिरी अपडेट" +last_updated_on = "$DATE को अपडेट किया गया" see_changes = "बदलाव देखें" # Post body. diff --git a/i18n/it.toml b/i18n/it.toml index 54b55d254..5e7fd6662 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER min di lettura" zero_words = "Nessuna parola" one_words = "$NUMBER parola" many_words = "$NUMBER parole" -last_updated_on = "Ultimo aggiornamento il" +last_updated_on = "Aggiornato il $DATE" see_changes = "Vedi modifiche" # Post body. diff --git a/i18n/ja.toml b/i18n/ja.toml index 424191416..a28ca5362 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -59,7 +59,7 @@ many_min_read = "$NUMBER 分の読了時間" zero_words = "単語数ゼロ" one_words = "$NUMBER 単語" many_words = "$NUMBER 単語" -last_updated_on = "最終更新日" +last_updated_on = "$DATE に更新" see_changes = "変更を見る" # Post body. diff --git a/i18n/ko.toml b/i18n/ko.toml index 1e3097dc6..945d7b517 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -59,7 +59,7 @@ many_min_read = "$NUMBER 분 읽기" zero_words = "단어 없음" one_words = "$NUMBER 단어" many_words = "$NUMBER 단어" -last_updated_on = "최근 업데이트" +last_updated_on = "$DATE에 업데이트됨" see_changes = "변경사항 보기" # Post body. diff --git a/i18n/nl.toml b/i18n/nl.toml index 5446b6c71..9471c3777 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER minuten lezen" zero_words = "Geen woorden" one_words = "$NUMBER woord" many_words = "$NUMBER woorden" -last_updated_on = "Laatst geupdate op" +last_updated_on = "Bijgewerkt op $DATE" see_changes = "Zie wijzigingen" # Post body. diff --git a/i18n/pt-PT.toml b/i18n/pt-PT.toml index d1044270a..a05e99a95 100644 --- a/i18n/pt-PT.toml +++ b/i18n/pt-PT.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER mins de leitura" zero_words = "Nenhuma palavra" one_words = "$NUMBER palavra" many_words = "$NUMBER palavras" -last_updated_on = "Última atualização em" +last_updated_on = "Atualizado em $DATE" see_changes = "Ver alterações" # Post body. diff --git a/i18n/ru.toml b/i18n/ru.toml index 12c94dbc1..aad5d630f 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -64,7 +64,7 @@ zero_words = "Нет слов" one_words = "$NUMBER слово" few_words = "$NUMBER слова" # 2, 3, 4 but not 12-14 many_words = "$NUMBER слов" # 5-9, 0, 11-14, and others -last_updated_on = "Последнее обновление" +last_updated_on = "Обновлено $DATE" see_changes = "Смотреть изменения" # Post body. diff --git a/i18n/uk.toml b/i18n/uk.toml index 7b1519d57..95a0f51c6 100644 --- a/i18n/uk.toml +++ b/i18n/uk.toml @@ -68,7 +68,7 @@ zero_words = "Без слів" one_words = "$NUMBER слово" few_words = "$NUMBER слова" # 2, 3, 4 but not 12-14 many_words = "$NUMBER слів" # 5-9, 0, 11-14, and others -last_updated_on = "Останнє оновлення" +last_updated_on = "Оновлено $DATE" see_changes = "Переглянути зміни" # Post body. diff --git a/i18n/zh-Hans.toml b/i18n/zh-Hans.toml index 96f8b080c..c44557fcc 100644 --- a/i18n/zh-Hans.toml +++ b/i18n/zh-Hans.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER 分钟阅读" zero_words = "没有字" one_words = "$NUMBER 字" many_words = "$NUMBER 字" -last_updated_on = "最后更新于" +last_updated_on = "更新于 $DATE" see_changes = "修改纪录" # Post body. diff --git a/i18n/zh-Hant.toml b/i18n/zh-Hant.toml index 36769bcbe..14866c513 100644 --- a/i18n/zh-Hant.toml +++ b/i18n/zh-Hant.toml @@ -55,7 +55,7 @@ many_min_read = "$NUMBER 分鐘閱讀" zero_words = "沒有字" one_words = "$NUMBER 字" many_words = "$NUMBER 字" -last_updated_on = "最後更新於" +last_updated_on = "更新於 $DATE" see_changes = "修改紀錄" # Post body. diff --git a/templates/page.html b/templates/page.html index eed6f52bc..f03a119ad 100644 --- a/templates/page.html +++ b/templates/page.html @@ -121,7 +121,10 @@

{#- Last updated on -#} {% if page.updated %} -