Added support for mkdocs-git-revision-date-localized-plugin (#1373)

* #1350 update base template to include git revision date

* #1350 add localized revision date

* #1350 support for v0.3 of mkdocs-git-revision-date-localized-plugin

* #1350 add translations for source.revision.date
This commit is contained in:
Tim Vink
2019-12-11 10:46:03 +01:00
committed by Martin Donath
parent 633bcace14
commit f08f2fbf65
76 changed files with 175 additions and 35 deletions

View File

@@ -180,6 +180,15 @@
</a>
{% endif %}
{% endblock %}
{% if page.meta.git_revision_date_localized %}
<small>
{{ lang.t('last.update') }}: {{ page.meta.git_revision_date_localized }}
</small>
{% elif page.meta.revision_date %}
<small>
{{ lang.t('last.update') }}: {{ page.meta.revision_date }}
</small>
{% endif %}
{% endblock %}
{% block disqus %}
{% include "partials/integrations/disqus.html" %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# ooreenstemmende dokumente",
"skip.link.title": "Slaan oor na inhoud",
"source.link.title": "Slaan oor na inhoud",
"toc.title": "Inhoudsopgawe"
"toc.title": "Inhoudsopgawe",
"last.update": "Laaste opdatering"
}[key] }}{% endmacro %}

View File

@@ -21,5 +21,6 @@
"search.result.other": "نتائج البحث # مستندات",
"skip.link.title": "انتقل إلى المحتوى",
"source.link.title": "اذهب إلى المصدر",
"toc.title": "جدول المحتويات"
"toc.title": "جدول المحتويات",
"last.update": "اخر تحديث"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# documents coincidents",
"skip.link.title": "Salta el contingut",
"source.link.title": "Ves al repositori",
"toc.title": "Taula de continguts"
"toc.title": "Taula de continguts",
"last.update": "Darrera actualització"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "Nalezené dokumenty: #",
"skip.link.title": "Přeskočit obsah",
"source.link.title": "Přejít do repozitáře",
"toc.title": "Obsah"
"toc.title": "Obsah",
"last.update": "Poslední aktualizace"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# resultater",
"skip.link.title": "Gå til indholdet",
"source.link.title": "Åbn arkiv",
"toc.title": "Indholdsfortegnelse"
"toc.title": "Indholdsfortegnelse",
"last.update": "Sidste ændring"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# Suchergebnisse",
"skip.link.title": "Zum Inhalt",
"source.link.title": "Quellcode",
"toc.title": "Inhaltsverzeichnis"
"toc.title": "Inhaltsverzeichnis",
"last.update": "Letztes Update"
}[key] }}{% endmacro %}

View File

@@ -22,5 +22,6 @@
"search.tokenizer": "[\s\-]+",
"skip.link.title": "Skip to content",
"source.link.title": "Go to repository",
"toc.title": "Table of contents"
"toc.title": "Table of contents",
"last.update": "Last update"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# documentos encontrados",
"skip.link.title": "Saltar a contenido",
"source.link.title": "Ir al repositorio",
"toc.title": "Tabla de contenidos"
"toc.title": "Tabla de contenidos",
"last.update": "Última actualización"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "Leiti # tulemust",
"skip.link.title": "Keri sisuni",
"source.link.title": "Ava repositooriumis",
"toc.title": "Sisukord"
"toc.title": "Sisukord",
"last.update": "Viimane uuendus"
}[key] }}{% endmacro %}

View File

@@ -21,5 +21,6 @@
"search.result.other": "# سند یافت شد",
"skip.link.title": "پرش به محتویات",
"source.link.title": "رفتن به مخزن",
"toc.title": "فهرست موضوعات"
"toc.title": "فهرست موضوعات",
"last.update": "اخرین بروزرسانی"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# täsmäävää dokumenttia",
"skip.link.title": "Hyppää sisältöön",
"source.link.title": "Mene repositoryyn",
"toc.title": "Sisällysluettelo"
"toc.title": "Sisällysluettelo",
"last.update": "Viimeisin päivitys"
}[key] }}{% endmacro %}

View File

@@ -17,5 +17,6 @@
"search.result.one": "1 document trouvé",
"search.result.other": "# documents trouvés",
"source.link.title": "Aller au dépôt",
"toc.title": "Table des matières"
"toc.title": "Table des matières",
"last.update": "Dernière mise à jour"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# resultados atopados",
"skip.link.title": "Ir ao contido",
"source.link.title": "Ir ao repositorio",
"toc.title": "Táboa de contidos"
"toc.title": "Táboa de contidos",
"last.update": "Última actualización"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "# αντίστοιχα αρχεία",
"skip.link.title": "Μετάβαση στο περιεχόμενο",
"source.link.title": "Μετάβαση στο αποθετήριο",
"toc.title": "Πίνακας περιεχομένων"
"toc.title": "Πίνακας περιεχομένων",
"last.update": "τελευταία ενημέρωση"
}[key] }}{% endmacro %}

View File

@@ -21,5 +21,6 @@
"search.result.other": "# מסמך תואם",
"skip.link.title": "דלג לתוכן",
"source.link.title": "עבור אל מאגר",
"toc.title": "תוכן העניינים"
"toc.title": "תוכן העניינים",
"last.update": "העדכון אחרון"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "# मिलान डाक्यूमेंट्स",
"skip.link.title": "विषय पर बढ़ें",
"source.link.title": "रिपॉजिटरी पर जाएं",
"toc.title": "विषय - सूची"
"toc.title": "विषय - सूची",
"last.update": "आखिरी अपडेट"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "# rezultata pretraživanja",
"skip.link.title": "Preskočite na sadržaj",
"source.link.title": "Idite u repozitorij",
"toc.title": "Sadržaj"
"toc.title": "Sadržaj",
"last.update": "Zadnje ažuriranje"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# egyező dokumentum",
"skip.link.title": "Kihagyás",
"source.link.title": "Főoldalra ugrás",
"toc.title": "Tartalomjegyzék"
"toc.title": "Tartalomjegyzék",
"last.update": "Utolsó frissítés"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "# dokumen ditemukan",
"skip.link.title": "Lewati ke isi",
"source.link.title": "Menuju repositori",
"toc.title": "Daftar isi"
"toc.title": "Daftar isi",
"last.update": "Pembaharuan Terakhir"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# documenti trovati",
"skip.link.title": "Vai al contenuto",
"source.link.title": "Apri repository",
"toc.title": "Indice"
"toc.title": "Indice",
"last.update": "Ultimo aggiornamento"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "#件見つかりました",
"search.tokenizer": "[\s\- 、。,.]+",
"source.link.title": "リポジトリへ",
"toc.title": "目次"
"toc.title": "目次",
"last.update": "最後の更新"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# overeenkomende documenten",
"skip.link.title": "Ga naar inhoud",
"source.link.title": "Ga naar repository",
"toc.title": "Inhoudsopgave"
"toc.title": "Inhoudsopgave",
"last.update": "Laatst geüpdatet op"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# treff",
"skip.link.title": "Gå til innhald",
"source.link.title": "Gå til kjelde",
"toc.title": "Innhaldsliste"
"toc.title": "Innhaldsliste",
"last.update": "Siste oppdatering"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# treff",
"skip.link.title": "Gå til innhold",
"source.link.title": "Gå til kilde",
"toc.title": "Innholdsfortegnelse"
"toc.title": "Innholdsfortegnelse",
"last.update": "Siste oppdatering"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "Wyniki wyszukiwania: #",
"skip.link.title": "Przejdź do treści",
"source.link.title": "Idź do repozytorium",
"toc.title": "Spis treści"
"toc.title": "Spis treści",
"last.update": "Ostatnia aktualizacja"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# resultados encontrados",
"skip.link.title": "Ir para o conteúdo",
"source.link.title": "Ir ao repositório",
"toc.title": "Índice"
"toc.title": "Índice",
"last.update": "Última atualização"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "Найдено # совпадений",
"skip.link.title": "Перейти к содержанию",
"source.link.title": "Перейти к репозиторию",
"toc.title": "Содержание"
"toc.title": "Содержание",
"last.update": "Последнее обновление"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "Vyhovujúce dokumenty: #",
"skip.link.title": "Preskočiť na obsah",
"source.link.title": "Zobraziť repozitár",
"toc.title": "Obsah"
"toc.title": "Obsah",
"last.update": "Posledná aktualizácia"
}[key] }}{% endmacro %}

View File

@@ -20,5 +20,6 @@
"search.result.other": "# резултата претраге",
"skip.link.title": "Иди на текст",
"source.link.title": "Иди у репозиторијум",
"toc.title": "Садржај"
"toc.title": "Садржај",
"last.update": "Последња исправка"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "# sökresultat",
"skip.link.title": "Gå till innehållet",
"source.link.title": "Gå till datakatalog",
"toc.title": "Innehållsförteckning"
"toc.title": "Innehållsförteckning",
"last.update": "Senaste uppdateringen"
}[key] }}{% endmacro %}

View File

@@ -17,5 +17,6 @@
"search.result.one": "1 doküman bulundu",
"search.result.other": "# doküman bulundu",
"source.link.title": "Depoya git",
"toc.title": "İçindekiler"
"toc.title": "İçindekiler",
"last.update": "Son Güncelleme"
}[key] }}{% endmacro %}

View File

@@ -18,5 +18,6 @@
"search.result.other": "Знайдено # збігів",
"skip.link.title": "Перейти до змісту",
"source.link.title": "Перейти до репозиторію",
"toc.title": "Зміст"
"toc.title": "Зміст",
"last.update": "Останнє оновлення"
}[key] }}{% endmacro %}

View File

@@ -17,5 +17,6 @@
"search.result.other": "# tài liệu liên quan",
"skip.link.title": "Vào thẳng nội dung",
"source.link.title": "Đến kho lưu trữ mã nguồn",
"toc.title": "Mục lục"
"toc.title": "Mục lục",
"last.update": "Cập nhật cuối cùng"
}[key] }}{% endmacro %}

View File

@@ -19,5 +19,6 @@
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉至",
"source.link.title": "前往 Github 倉庫",
"toc.title": "目錄"
"toc.title": "目錄",
"last.update": "最後更新"
}[key] }}{% endmacro %}

View File

@@ -19,5 +19,6 @@
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳转至",
"source.link.title": "前往 Github 仓库",
"toc.title": "目录"
"toc.title": "目录",
"last.update": "最后更新"
}[key] }}{% endmacro %}