diff --git a/.github/ISSUE_TEMPLATE/translate.md b/.github/ISSUE_TEMPLATE/translate.md index 5c4854995..4baabdbac 100644 --- a/.github/ISSUE_TEMPLATE/translate.md +++ b/.github/ISSUE_TEMPLATE/translate.md @@ -38,8 +38,8 @@ assignees: '' "search.result.more.other": "# more on this page", "skip.link.title": "Skip to content", "source.link.title": "Go to repository", - "source.revision.date": "Last update", - "source.revision.date_created": "Created", + "source.file.date.updated": "Last update", + "source.file.date.created": "Created", "tabs.title": "Tabs", "toc.title": "Table of contents" }[key] }}{% endmacro %} diff --git a/docs/setup/adding-a-git-repository.md b/docs/setup/adding-a-git-repository.md index 5bc2a2bed..4e1f06919 100644 --- a/docs/setup/adding-a-git-repository.md +++ b/docs/setup/adding-a-git-repository.md @@ -146,8 +146,8 @@ Use them at your own risk._ [:octicons-cpu-24: Plugin][12] Similarly, the [git-revision-date-localized][12] plugin adds support for adding -a localized _last updated_ date at the bottom of each page. It can be installed -with `pip`: +a localized _updated at_ and _created at_ date at the bottom of each page. It +can be installed with `pip`: ``` pip install mkdocs-git-revision-date-localized-plugin @@ -164,8 +164,9 @@ The following options are supported: `type`{ #type } -: :octicons-milestone-24: Default: `date` – The format of the date to be displayed. - Valid values are `date`, `datetime`, `iso_date`, `iso_datetime` and `timeago`: +: :octicons-milestone-24: Default: `date` – The format of the date to be + displayed. Valid values are `date`, `datetime`, `iso_date`, `iso_datetime` + and `timeago`: ``` yaml plugins: @@ -177,7 +178,7 @@ The following options are supported: : :octicons-milestone-24: Default: `false` – Enables falling back to the time when `mkdocs build` was executed. Can be used as a fallback when - the git repository is not available: + the build is performed outside of the git repository: ``` yaml plugins: @@ -187,7 +188,9 @@ The following options are supported: `enable_creation_date`{ #enable_creation_date } -: :octicons-milestone-24: Default: `false` – Enables adding a *Created* date at the bottom of each page. +: :octicons-milestone-24: Default: `false` – Enables the display of the + _created at_ date of the file associated with the page next to the + _updated at_ date at the bottom of the page: ``` yaml plugins: diff --git a/material/partials/languages/af.html b/material/partials/languages/af.html index a625cd4b7..978548530 100644 --- a/material/partials/languages/af.html +++ b/material/partials/languages/af.html @@ -18,6 +18,8 @@ "search.result.other": "# ooreenstemmende dokumente", "skip.link.title": "Slaan oor na inhoud", "source.link.title": "Slaan oor na inhoud", - "source.revision.date": "Laaste opdatering", + "source.revision.date": "Laaste opdatering", + "source.file.date.updated": "Laaste opdatering", + "source.file.date.created": "Geskep", "toc.title": "Inhoudsopgawe" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ar.html b/material/partials/languages/ar.html index ed0c9189e..f84fc37a3 100644 --- a/material/partials/languages/ar.html +++ b/material/partials/languages/ar.html @@ -20,5 +20,7 @@ "skip.link.title": "انتقل إلى المحتوى", "source.link.title": "اذهب إلى المصدر", "source.revision.date": "اخر تحديث", + "source.file.date.updated": "اخر تحديث", + "source.file.date.created": "خلقت", "toc.title": "جدول المحتويات" }[key] }}{% endmacro %} diff --git a/material/partials/languages/bg.html b/material/partials/languages/bg.html index c1ad7ba90..99b0854b1 100644 --- a/material/partials/languages/bg.html +++ b/material/partials/languages/bg.html @@ -25,6 +25,8 @@ "skip.link.title": "Към съдържанието", "source.link.title": "Към хранилището", "source.revision.date": "Последна промяна", + "source.file.date.updated": "Последна промяна", + "source.file.date.created": "Създаден", "tabs.title": "Табове", "toc.title": "Съдържание" }[key] }}{% endmacro %} diff --git a/material/partials/languages/bn.html b/material/partials/languages/bn.html index 47e18755a..02c2eec88 100644 --- a/material/partials/languages/bn.html +++ b/material/partials/languages/bn.html @@ -23,6 +23,8 @@ "skip.link.title": "কনটেন্টে যান", "source.link.title": "রিপোজিটরিতে যান", "source.revision.date": "শেষ আপডেট", + "source.file.date.updated": "শেষ আপডেট", + "source.file.date.created": "তৈরি হয়েছে", "tabs.title": "ট্যাব", "toc.title": "টেবিল অফ কনটেন্ট" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ca.html b/material/partials/languages/ca.html index d0ed166e6..59f0809c5 100644 --- a/material/partials/languages/ca.html +++ b/material/partials/languages/ca.html @@ -18,5 +18,7 @@ "skip.link.title": "Salta el contingut", "source.link.title": "Ves al repositori", "source.revision.date": "Darrera actualització", + "source.file.date.updated": "Darrera actualització", + "source.file.date.created": "Creada", "toc.title": "Taula de continguts" }[key] }}{% endmacro %} diff --git a/material/partials/languages/cs.html b/material/partials/languages/cs.html index 5aaaa16ea..5533b4575 100644 --- a/material/partials/languages/cs.html +++ b/material/partials/languages/cs.html @@ -18,5 +18,7 @@ "skip.link.title": "Přeskočit obsah", "source.link.title": "Přejít do repozitáře", "source.revision.date": "Poslední aktualizace", + "source.file.date.updated": "Poslední aktualizace", + "source.file.date.created": "Vytvořeno", "toc.title": "Obsah" }[key] }}{% endmacro %} diff --git a/material/partials/languages/da.html b/material/partials/languages/da.html index d98ff5530..4aa62a255 100644 --- a/material/partials/languages/da.html +++ b/material/partials/languages/da.html @@ -19,5 +19,7 @@ "skip.link.title": "Gå til indholdet", "source.link.title": "Åbn arkiv", "source.revision.date": "Sidste ændring", + "source.file.date.updated": "Sidste ændring", + "source.file.date.created": "Oprettet", "toc.title": "Indholdsfortegnelse" }[key] }}{% endmacro %} diff --git a/material/partials/languages/de.html b/material/partials/languages/de.html index c2292af9f..3a9ec1a64 100644 --- a/material/partials/languages/de.html +++ b/material/partials/languages/de.html @@ -23,5 +23,7 @@ "skip.link.title": "Zum Inhalt", "source.link.title": "Quellcode", "source.revision.date": "Letztes Update", + "source.file.date.updated": "Letztes Update", + "source.file.date.created": "Erstellt", "toc.title": "Inhaltsverzeichnis" }[key] }}{% endmacro %} diff --git a/material/partials/languages/en.html b/material/partials/languages/en.html index ac9382a37..1eb770050 100644 --- a/material/partials/languages/en.html +++ b/material/partials/languages/en.html @@ -30,6 +30,8 @@ "skip.link.title": "Skip to content", "source.link.title": "Go to repository", "source.revision.date": "Last update", + "source.file.date.updated": "Last update", + "source.file.date.created": "Created", "tabs.title": "Tabs", "toc.title": "Table of contents" }[key] }}{% endmacro %} diff --git a/material/partials/languages/eo.html b/material/partials/languages/eo.html index a0ffa3757..1d7e4c134 100644 --- a/material/partials/languages/eo.html +++ b/material/partials/languages/eo.html @@ -23,6 +23,8 @@ "skip.link.title": "Saltu al enhavo", "source.link.title": "Iru al deponejo", "source.revision.date": "Lasta ĝisdatigo", + "source.file.date.updated": "Lasta ĝisdatigo", + "source.file.date.created": "Kreita", "tabs.title": "Langetoj", "toc.title": "Enhavtabelo" }[key] }}{% endmacro %} diff --git a/material/partials/languages/es.html b/material/partials/languages/es.html index ff1f3dff7..1aa141fb8 100644 --- a/material/partials/languages/es.html +++ b/material/partials/languages/es.html @@ -27,6 +27,8 @@ "skip.link.title": "Saltar a contenido", "source.link.title": "Ir al repositorio", "source.revision.date": "Última actualización", + "source.file.date.updated": "Última actualización", + "source.file.date.created": "Created", "tabs.title": "Pestañas", "toc.title": "Tabla de contenidos" }[key] }}{% endmacro %} diff --git a/material/partials/languages/et.html b/material/partials/languages/et.html index 4e15b0268..33891d09c 100644 --- a/material/partials/languages/et.html +++ b/material/partials/languages/et.html @@ -18,5 +18,7 @@ "skip.link.title": "Keri sisuni", "source.link.title": "Ava repositooriumis", "source.revision.date": "Viimane uuendus", + "source.file.date.updated": "Viimane uuendus", + "source.file.date.created": "Loodud", "toc.title": "Sisukord" }[key] }}{% endmacro %} diff --git a/material/partials/languages/fa.html b/material/partials/languages/fa.html index cbdb771d9..fab7d711a 100644 --- a/material/partials/languages/fa.html +++ b/material/partials/languages/fa.html @@ -20,5 +20,7 @@ "skip.link.title": "پرش به محتویات", "source.link.title": "رفتن به مخزن", "source.revision.date": "اخرین بروزرسانی", + "source.file.date.updated": "اخرین بروزرسانی", + "source.file.date.created": "ایجاد شده", "toc.title": "فهرست موضوعات" }[key] }}{% endmacro %} diff --git a/material/partials/languages/fi.html b/material/partials/languages/fi.html index b2b93e223..fe07694f8 100644 --- a/material/partials/languages/fi.html +++ b/material/partials/languages/fi.html @@ -19,5 +19,7 @@ "skip.link.title": "Hyppää sisältöön", "source.link.title": "Mene repositoryyn", "source.revision.date": "Viimeisin päivitys", + "source.file.date.updated": "Viimeisin päivitys", + "source.file.date.created": "Luotu", "toc.title": "Sisällysluettelo" }[key] }}{% endmacro %} diff --git a/material/partials/languages/fr.html b/material/partials/languages/fr.html index 221cad969..0d90e06a1 100644 --- a/material/partials/languages/fr.html +++ b/material/partials/languages/fr.html @@ -19,5 +19,7 @@ "skip.link.title": "Aller au contenu", "source.link.title": "Aller au dépôt", "source.revision.date": "Dernière mise à jour", + "source.file.date.updated": "Dernière mise à jour", + "source.file.date.created": "Créé", "toc.title": "Table des matières" }[key] }}{% endmacro %} diff --git a/material/partials/languages/gl.html b/material/partials/languages/gl.html index 2c3c0d6a4..31f1f5bbc 100644 --- a/material/partials/languages/gl.html +++ b/material/partials/languages/gl.html @@ -19,5 +19,7 @@ "skip.link.title": "Ir ao contido", "source.link.title": "Ir ao repositorio", "source.revision.date": "Última actualización", + "source.file.date.updated": "Última actualización", + "source.file.date.created": "Creada", "toc.title": "Táboa de contidos" }[key] }}{% endmacro %} diff --git a/material/partials/languages/gr.html b/material/partials/languages/gr.html index db2dd4a88..a917563b9 100644 --- a/material/partials/languages/gr.html +++ b/material/partials/languages/gr.html @@ -19,5 +19,7 @@ "skip.link.title": "Μετάβαση στο περιεχόμενο", "source.link.title": "Μετάβαση στο αποθετήριο", "source.revision.date": "τελευταία ενημέρωση", + "source.file.date.updated": "τελευταία ενημέρωση", + "source.file.date.created": "Δημιουργήθηκε", "toc.title": "Πίνακας περιεχομένων" }[key] }}{% endmacro %} diff --git a/material/partials/languages/he.html b/material/partials/languages/he.html index bf6fa7e9e..3657a09cb 100644 --- a/material/partials/languages/he.html +++ b/material/partials/languages/he.html @@ -20,5 +20,7 @@ "skip.link.title": "דלג לתוכן", "source.link.title": "עבור אל מאגר", "source.revision.date": "העדכון אחרון", + "source.file.date.updated": "העדכון אחרון", + "source.file.date.created": "נוצר", "toc.title": "תוכן העניינים" }[key] }}{% endmacro %} diff --git a/material/partials/languages/hi.html b/material/partials/languages/hi.html index 08cdfa306..5bf38cd3c 100644 --- a/material/partials/languages/hi.html +++ b/material/partials/languages/hi.html @@ -19,5 +19,7 @@ "skip.link.title": "विषय पर बढ़ें", "source.link.title": "रिपॉजिटरी पर जाएं", "source.revision.date": "आखिरी अपडेट", + "source.file.date.updated": "आखिरी अपडेट", + "source.file.date.created": "बनाया था", "toc.title": "विषय - सूची" }[key] }}{% endmacro %} diff --git a/material/partials/languages/hr.html b/material/partials/languages/hr.html index e6bdbb423..c83a66d6d 100644 --- a/material/partials/languages/hr.html +++ b/material/partials/languages/hr.html @@ -18,5 +18,7 @@ "skip.link.title": "Preskočite na sadržaj", "source.link.title": "Idite u repozitorij", "source.revision.date": "Zadnje ažuriranje", + "source.file.date.updated": "Zadnje ažuriranje", + "source.file.date.created": "Stvoreno", "toc.title": "Sadržaj" }[key] }}{% endmacro %} diff --git a/material/partials/languages/hu.html b/material/partials/languages/hu.html index fd92913c8..b07d0057b 100644 --- a/material/partials/languages/hu.html +++ b/material/partials/languages/hu.html @@ -27,6 +27,8 @@ "skip.link.title": "Kihagyás", "source.link.title": "Főoldalra ugrás", "source.revision.date": "Utolsó frissítés", + "source.file.date.updated": "Utolsó frissítés", + "source.file.date.created": "Létrehozva", "tabs.title": "Lapok", "toc.title": "Tartalomjegyzék" }[key] }}{% endmacro %} diff --git a/material/partials/languages/id.html b/material/partials/languages/id.html index 3464e3927..c0152ac81 100644 --- a/material/partials/languages/id.html +++ b/material/partials/languages/id.html @@ -19,5 +19,7 @@ "skip.link.title": "Lewati ke isi", "source.link.title": "Menuju repositori", "source.revision.date": "Pembaharuan Terakhir", + "source.revision.date": "Pembaharuan Terakhir", + "source.file.date.created": "Dibuat", "toc.title": "Daftar isi" }[key] }}{% endmacro %} diff --git a/material/partials/languages/is.html b/material/partials/languages/is.html index fdea9f99b..455f0f59e 100644 --- a/material/partials/languages/is.html +++ b/material/partials/languages/is.html @@ -24,6 +24,8 @@ "skip.link.title": "Hoppa yfir í efni", "source.link.title": "Fara í gagnahirslu (e. repository)", "source.revision.date": "Síðasta uppfærsla", + "source.file.date.updated": "Síðasta uppfærsla", + "source.file.date.created": "Búið til", "tabs.title": "Flipar", "toc.title": "Efnisyfirlit" }[key] }}{% endmacro %} diff --git a/material/partials/languages/it.html b/material/partials/languages/it.html index 3aa0730c5..08fc9689e 100644 --- a/material/partials/languages/it.html +++ b/material/partials/languages/it.html @@ -19,5 +19,7 @@ "skip.link.title": "Vai al contenuto", "source.link.title": "Apri repository", "source.revision.date": "Ultimo aggiornamento", + "source.file.date.updated": "Ultimo aggiornamento", + "source.file.date.created": "Creata", "toc.title": "Indice" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ja.html b/material/partials/languages/ja.html index 203b10800..9b0173b38 100644 --- a/material/partials/languages/ja.html +++ b/material/partials/languages/ja.html @@ -29,6 +29,8 @@ "skip.link.title": "コンテンツにスキップ", "source.link.title": "リポジトリへ", "source.revision.date": "最終更新日", + "source.file.date.updated": "最終更新日", + "source.file.date.created": "作成した", "tabs.title": "タブ", "toc.title": "目次" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ka.html b/material/partials/languages/ka.html index 0364a6e3c..a86380b0a 100644 --- a/material/partials/languages/ka.html +++ b/material/partials/languages/ka.html @@ -23,6 +23,8 @@ "skip.link.title": "კონტენტზე გადასვლა", "source.link.title": "საცავში გადასვლა", "source.revision.date": "ბოლო განახლება", + "source.file.date.updated": "ბოლო განახლება", + "source.file.date.created": "შეიქმნა", "tabs.title": "ტაბები", "toc.title": "სარჩევი" }[key] }}{% endmacro %} diff --git a/material/partials/languages/kr.html b/material/partials/languages/kr.html index fdb39ec2d..dbd64d3c3 100644 --- a/material/partials/languages/kr.html +++ b/material/partials/languages/kr.html @@ -18,5 +18,7 @@ "search.result.other": "#개의 일치하는 문서", "source.link.title": "저장소로 이동", "source.revision.date": "마지막 업데이트", + "source.file.date.updated": "마지막 업데이트", + "source.file.date.created": "만들어진", "toc.title": "목차" }[key] }}{% endmacro %} diff --git a/material/partials/languages/my.html b/material/partials/languages/my.html index b217222ac..161ced2f6 100644 --- a/material/partials/languages/my.html +++ b/material/partials/languages/my.html @@ -23,6 +23,8 @@ "skip.link.title": "မာတိကာ သို့ သွားရန်", "source.link.title": "repository သို့ သွားရန်", "source.revision.date": "နောက်ဆုံး ထုတ်ပြန်ချက်", + "source.file.date.updated": "နောက်ဆုံး ထုတ်ပြန်ချက်", + "source.file.date.created": "နေပြည်တော်", "tabs.title": "တက်များ", "toc.title": "ပါဝင်အကြောင်းအရာများ" }[key] }}{% endmacro %} diff --git a/material/partials/languages/nl.html b/material/partials/languages/nl.html index 1f28d8f70..b1d9ce71d 100644 --- a/material/partials/languages/nl.html +++ b/material/partials/languages/nl.html @@ -18,6 +18,8 @@ "search.result.other": "# overeenkomende documenten", "skip.link.title": "Ga naar inhoud", "source.link.title": "Ga naar repository", - "source.revision.date": "Laatst geüpdatet op", + "source.revision.date": "Laatst geüpdatet", + "source.file.date.updated": "Laatst geüpdatet", + "source.file.date.created": "Gecreëerd", "toc.title": "Inhoudsopgave" }[key] }}{% endmacro %} diff --git a/material/partials/languages/nn.html b/material/partials/languages/nn.html index a961724f8..74d3dd860 100644 --- a/material/partials/languages/nn.html +++ b/material/partials/languages/nn.html @@ -19,5 +19,7 @@ "skip.link.title": "Gå til innhald", "source.link.title": "Gå til kjelde", "source.revision.date": "Siste oppdatering", + "source.file.date.updated": "Siste oppdatering", + "source.file.date.created": "Laget", "toc.title": "Innhaldsliste" }[key] }}{% endmacro %} diff --git a/material/partials/languages/no.html b/material/partials/languages/no.html index 2a5ed6e8e..8a6bd6106 100644 --- a/material/partials/languages/no.html +++ b/material/partials/languages/no.html @@ -19,5 +19,7 @@ "skip.link.title": "Gå til innhold", "source.link.title": "Gå til kilde", "source.revision.date": "Siste oppdatering", + "source.file.date.updated": "Siste oppdatering", + "source.file.date.created": "Created", "toc.title": "Innholdsfortegnelse" }[key] }}{% endmacro %} diff --git a/material/partials/languages/pl.html b/material/partials/languages/pl.html index 54996cc55..3bc2cdc4b 100644 --- a/material/partials/languages/pl.html +++ b/material/partials/languages/pl.html @@ -27,6 +27,8 @@ "skip.link.title": "Przejdź do treści", "source.link.title": "Idź do repozytorium", "source.revision.date": "Ostatnia aktualizacja", + "source.file.date.updated": "Ostatnia aktualizacja", + "source.file.date.created": "Utworzony", "tabs.title": "Zakładki", "toc.title": "Spis treści" }[key] }}{% endmacro %} diff --git a/material/partials/languages/pt.html b/material/partials/languages/pt.html index 061ac210c..128550c72 100644 --- a/material/partials/languages/pt.html +++ b/material/partials/languages/pt.html @@ -19,5 +19,7 @@ "skip.link.title": "Ir para o conteúdo", "source.link.title": "Ir ao repositório", "source.revision.date": "Última atualização", + "source.file.date.updated": "Última atualização", + "source.file.date.created": "Criada", "toc.title": "Índice" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ro.html b/material/partials/languages/ro.html index 5891c7913..56cccb857 100644 --- a/material/partials/languages/ro.html +++ b/material/partials/languages/ro.html @@ -19,5 +19,7 @@ "skip.link.title": "Sari la conținut", "source.link.title": "Accesează repository-ul", "source.revision.date": "Ultima actualizare", + "source.file.date.updated": "Ultima actualizare", + "source.file.date.created": "Creată", "toc.title": "Cuprins" }[key] }}{% endmacro %} diff --git a/material/partials/languages/ru.html b/material/partials/languages/ru.html index 84d204820..17dcbd73d 100644 --- a/material/partials/languages/ru.html +++ b/material/partials/languages/ru.html @@ -19,5 +19,7 @@ "skip.link.title": "Перейти к содержанию", "source.link.title": "Перейти к репозиторию", "source.revision.date": "Последнее обновление", + "source.file.date.updated": "Последнее обновление", + "source.file.date.created": "Созданный", "toc.title": "Содержание" }[key] }}{% endmacro %} diff --git a/material/partials/languages/sh.html b/material/partials/languages/sh.html index 308cd4fcc..7af3c7663 100644 --- a/material/partials/languages/sh.html +++ b/material/partials/languages/sh.html @@ -17,5 +17,7 @@ "search.result.other": "# rezultata pretrage", "skip.link.title": "Idi na tekst", "source.link.title": "Idi u repozitorijum", + "source.file.date.updated": "Ажуриран", + "source.file.date.created": "Створено", "toc.title": "Sadržaj" }[key] }}{% endmacro %} diff --git a/material/partials/languages/si.html b/material/partials/languages/si.html index aa3daf8e0..a064e2ec8 100644 --- a/material/partials/languages/si.html +++ b/material/partials/languages/si.html @@ -25,6 +25,8 @@ "skip.link.title": "අන්තර්ගතය වෙත යන්න", "source.link.title": "රිපොසිටරියට යන්න", "source.revision.date": "අවසන් යාවත්කාලීන වීම", + "source.file.date.updated": "අවසන් යාවත්කාලීන වීම", + "source.file.date.created": "ٺاھيو ويو", "tabs.title": "ටැබ්ස්", "toc.title": "පටුන" }[key] }}{% endmacro %} diff --git a/material/partials/languages/sk.html b/material/partials/languages/sk.html index 66bd7dcf4..855d7fabb 100644 --- a/material/partials/languages/sk.html +++ b/material/partials/languages/sk.html @@ -18,5 +18,7 @@ "skip.link.title": "Preskočiť na obsah", "source.link.title": "Zobraziť repozitár", "source.revision.date": "Posledná aktualizácia", + "source.file.date.updated": "Posledná aktualizácia", + "source.file.date.created": "Vytvorené", "toc.title": "Obsah" }[key] }}{% endmacro %} diff --git a/material/partials/languages/sl.html b/material/partials/languages/sl.html index b786ce261..d03933a4f 100644 --- a/material/partials/languages/sl.html +++ b/material/partials/languages/sl.html @@ -18,5 +18,7 @@ "skip.link.title": "Skoči na vsebino", "source.link.title": "Pojdi na repozitorij", "source.revision.date": "Zadnja posodobitev", + "source.file.date.updated": "Zadnja posodobitev", + "source.file.date.created": "Ustvarjeno", "toc.title": "Kazalo" }[key] }}{% endmacro %} diff --git a/material/partials/languages/sr.html b/material/partials/languages/sr.html index 15ac3356a..c0b2b58c9 100644 --- a/material/partials/languages/sr.html +++ b/material/partials/languages/sr.html @@ -19,5 +19,7 @@ "skip.link.title": "Иди на текст", "source.link.title": "Иди у репозиторијум", "source.revision.date": "Последња исправка", + "source.file.date.updated": "Последња исправка", + "source.file.date.created": "Створено", "toc.title": "Садржај" }[key] }}{% endmacro %} diff --git a/material/partials/languages/sv.html b/material/partials/languages/sv.html index 896889b44..c85b37b5e 100644 --- a/material/partials/languages/sv.html +++ b/material/partials/languages/sv.html @@ -27,6 +27,8 @@ "skip.link.title": "Gå till innehållet", "source.link.title": "Gå till datakatalog", "source.revision.date": "Senaste uppdateringen", + "source.file.date.updated": "Senaste uppdateringen", + "source.file.date.created": "Skapad", "tabs.title": "Flikar", "toc.title": "Innehållsförteckning" }[key] }}{% endmacro %} diff --git a/material/partials/languages/th.html b/material/partials/languages/th.html index faacef722..6cdb24bd0 100644 --- a/material/partials/languages/th.html +++ b/material/partials/languages/th.html @@ -18,5 +18,8 @@ "search.result.other": "พบ # เอกสารที่ตรงกัน", "skip.link.title": "ข้ามไปที่เนื้อหา", "source.link.title": "ไปที่ Repository", + "source.revision.date": "สร้าง", + "source.file.date.updated": "สร้าง", + "source.file.date.created": "สร้าง", "toc.title": "สารบัญ" }[key] }}{% endmacro %} diff --git a/material/partials/languages/tr.html b/material/partials/languages/tr.html index b34f99d22..59297aa30 100644 --- a/material/partials/languages/tr.html +++ b/material/partials/languages/tr.html @@ -19,5 +19,7 @@ "skip.link.title": "Ana içeriğe geç", "source.link.title": "Depoya git", "source.revision.date": "Son Güncelleme", + "source.file.date.updated": "Son Güncelleme", + "source.file.date.created": "Oluşturuldu", "toc.title": "İçindekiler" }[key] }}{% endmacro %} diff --git a/material/partials/languages/uk.html b/material/partials/languages/uk.html index 39a17c5ef..58d0573fc 100644 --- a/material/partials/languages/uk.html +++ b/material/partials/languages/uk.html @@ -19,5 +19,7 @@ "skip.link.title": "Перейти до змісту", "source.link.title": "Перейти до репозиторію", "source.revision.date": "Останнє оновлення", + "source.file.date.updated": "Останнє оновлення", + "source.file.date.created": "Створено", "toc.title": "Зміст" }[key] }}{% endmacro %} diff --git a/material/partials/languages/vi.html b/material/partials/languages/vi.html index a618510da..a52ef2c84 100644 --- a/material/partials/languages/vi.html +++ b/material/partials/languages/vi.html @@ -19,5 +19,7 @@ "skip.link.title": "Vào thẳng nội dung", "source.link.title": "Đến kho lưu trữ mã nguồn", "source.revision.date": "Cập nhật cuối cùng", + "source.file.date.updated": "Cập nhật cuối cùng", + "source.file.date.created": "Tạo", "toc.title": "Mục lục" }[key] }}{% endmacro %} diff --git a/material/partials/languages/zh-Hant.html b/material/partials/languages/zh-Hant.html index cc921618e..e7d50dc3f 100644 --- a/material/partials/languages/zh-Hant.html +++ b/material/partials/languages/zh-Hant.html @@ -22,5 +22,7 @@ "skip.link.title": "跳轉至", "source.link.title": "前往 GitHub 倉庫", "source.revision.date": "最後更新", + "source.file.date.updated": "最後更新", + "source.file.date.created": "已建立", "toc.title": "目錄" }[key] }}{% endmacro %} diff --git a/material/partials/languages/zh-TW.html b/material/partials/languages/zh-TW.html index 3c7b65170..7253f4e8e 100644 --- a/material/partials/languages/zh-TW.html +++ b/material/partials/languages/zh-TW.html @@ -22,5 +22,7 @@ "skip.link.title": "跳轉到", "source.link.title": "前往倉庫", "source.revision.date": "最後更新", + "source.file.date.updated": "最後更新", + "source.file.date.created": "สร้าง", "toc.title": "目錄" }[key] }}{% endmacro %} diff --git a/material/partials/languages/zh.html b/material/partials/languages/zh.html index bd2f9847c..90124dee4 100644 --- a/material/partials/languages/zh.html +++ b/material/partials/languages/zh.html @@ -22,5 +22,7 @@ "skip.link.title": "跳转至", "source.link.title": "前往 GitHub 仓库", "source.revision.date": "最后更新", + "source.file.date.updated": "最后更新", + "source.file.date.created": "已建立", "toc.title": "目录" }[key] }}{% endmacro %} diff --git a/material/partials/source-date.html b/material/partials/source-date.html index 9c72b8bc8..af4bee448 100644 --- a/material/partials/source-date.html +++ b/material/partials/source-date.html @@ -1,15 +1,4 @@ {#- This file was automatically generated - do not edit -#} -{% import "partials/language.html" as lang with context %} -{% set label = lang.t("source.revision.date") %} -
-
- - {% if page.meta.git_revision_date_localized %} - {{ label }}: {{ page.meta.git_revision_date_localized }} - {% elif page.meta.revision_date %} - {{ label }}: {{ page.meta.revision_date }} - {% endif %} - -
+{% include "source-file.html" %} \ No newline at end of file diff --git a/material/partials/source-file.html b/material/partials/source-file.html new file mode 100644 index 000000000..39bbd2c2c --- /dev/null +++ b/material/partials/source-file.html @@ -0,0 +1,18 @@ +{#- + This file was automatically generated - do not edit +-#} +{% import "partials/language.html" as lang with context %} +{% set label = lang.t("source.file.date.updated") %} +
+
+ + {% if page.meta.git_revision_date_localized %} + {{ label }}: {{ page.meta.git_revision_date_localized }} + {% if page.meta.git_creation_date_localized %} +
{{ lang.t("source.file.date.created") }}: {{ page.meta.git_creation_date_localized }} + {% endif %} + {% elif page.meta.revision_date %} + {{ label }}: {{ page.meta.revision_date }} + {% endif %} +
+