mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
Normalize i18n notice translation (#1930)
* move i18n notice for crowdin translation * move i18n notice to general.yaml * add fallback notice string * generate dynamic i18n notice link
This commit is contained in:
@@ -6,3 +6,7 @@ community-caveat-alert: "This information refers to third-party sites, products,
|
||||
warning: 'Warning'
|
||||
note: 'Note'
|
||||
caution: 'Caution'
|
||||
|
||||
i18n_notice: "This document might be outdated relative to the documentation in English. For the latest updates, please refer to the"
|
||||
i18n_notice_link_text: "documentation in english"
|
||||
|
||||
@@ -1,2 +1,10 @@
|
||||
<p>{% include notice/notice-{{ page.lang }}.md %}</p>
|
||||
<div id="close-i18n-notice-box" title="Close">✖</div>
|
||||
{% assign notice = site.data[page.lang].general.i18n_notice %}
|
||||
{% assign lang_path = '/' | append: page.lang | append: '/' %}
|
||||
{% if notice %}
|
||||
{% assign notice_link_text = site.data[page.lang].general.i18n_notice_link_text %}
|
||||
{% else %}
|
||||
{% assign notice = site.data.en.general.i18n_notice %}
|
||||
{% assign notice_link_text = site.data.en.general.i18n_notice_link_text %}
|
||||
{% endif %}
|
||||
<p>{{ notice }} <a href="{{ page.url | replace: lang_path, '/en/' }}">{{ notice_link_text}}</a>.</p>
|
||||
<div id="close-i18n-notice-box" title="Close">✖</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Diese Übersetzung zur Verfügung gestellt von StrongLoop / IBM.</p>
|
||||
|
||||
Dieses Dokument kann im Vergleich zur englischen Dokumentation veraltet sein. Aktuelle Updates finden Sie in der <a href='{{ page.url | replace: "/de/", "/en/" }}'>englischen Dokumentation</a>.
|
||||
@@ -1 +0,0 @@
|
||||
This document might be outdated relative to the documentation in English. For the latest updates, please refer to the <a href='{{ page.url | replace: "/en/", "/en/" }}'>documentation in English</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Esta traducción proporcionada por StrongLoop / IBM.</p>
|
||||
|
||||
Este documento puede estar desfasado respecto a la documentación en inglés. Para ver las últimas actualizaciones, consulte la <a href='{{ page.url | replace: "/es/", "/en/" }}'>documentación en inglés</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Cette traduction fournie par StrongLoop / IBM.</p>
|
||||
|
||||
Il se peut que ce document soit obsolète par rapport à la documentation en anglais. Pour connaître les mises à jour les plus récentes, reportez-vous à la <a href='{{ page.url | replace: "/fr/", "/en/" }}'>documentation en anglais</a>.
|
||||
@@ -1 +0,0 @@
|
||||
Dokumen ini mungkin sudah ketinggalan zaman jika dibandingkan dengan dokumentasi dalam bahasa Inggris. Untuk informasi terkini, lihat <a href='{{ page.url | replace: "/id/", "/en/" }}'>dokumentasi dalam bahasa Inggris</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Questa traduzione fornita da StrongLoop / IBM.</p>
|
||||
|
||||
È possibile che questo documento non sia aggiornato poiché la documentazione è in inglese. Per gli ultimi aggiornamenti, fare riferimento alla <a href='{{ page.url | replace: "/it/", "/en/" }}'>documentazione in inglese</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>StrongLoop / IBMによって提供されるこの翻訳.</p>
|
||||
|
||||
本書は、英語の資料と比較すると古くなっている可能性があります。最新の更新については、<a href='{{ page.url | replace: "/ja/", "/en/" }}'>英語版の資料</a>を参照してください。
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>StrongLoop / IBM에 의해 제공이 번역.</p>
|
||||
|
||||
이 문서는 영문판 문서에 비해 더 오래된 버전일 수도 있습니다. 최신 업데이트를 확인하려면 <a href='{{ page.url | replace: "/ko/", "/en/" }}'>영문판 문서</a>를 참조하십시오.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Esta tradução fornecida pelo StrongLoop / IBM.</p>
|
||||
|
||||
Este documento pode estar desatualizado em relação à documentação em Inglês. Para obter as atualizações mais recentes, consulte a <a href='{{ page.url | replace: "/pt-br/", "/en/" }}'>documentação em Inglês</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>Этот перевод обеспечивается StrongLoop / IBM.</p>
|
||||
|
||||
Этот документ может быть устаревшим по отношению к документации на английском языке. Последние обновления содержатся в <a href='{{ page.url | replace: "/ru/", "/en/" }}'>документации на английском языке</a>.
|
||||
@@ -1 +0,0 @@
|
||||
Tento dokument môže byť v porovnaní s dokumentáciou v angličtine zastaralý. Aktuálne informácie nájdete v <a href='{{ page.url | replace: "/sk/", "/en/" }}'>dokumentácii v angličtine</a>.
|
||||
@@ -1 +0,0 @@
|
||||
ในเอกสารนี้อาจจะเก่าไปแล้วที่เกี่ยวเนื่องกับรุ่นของเอกสารในภาษาอังกฤษ สำหรับรุ่นล่าสุดโปรดอ้างอิงจาก <a href='{{ page.url | replace: "/th/", "/en/" }}'>เอกสารในภาษาอังกฤษ</a>.
|
||||
@@ -1 +0,0 @@
|
||||
Bu doküman ingilizce dokümana göre eski olabilir. Son güncellemeler için lütfen <a href='{{ page.url | replace: "/tr/", "/en/" }}'>İngilizce Dokümanı</a>. ziyaret edin
|
||||
@@ -1 +0,0 @@
|
||||
Цей документ може бути застарілим, в порівнянні з оригінальною <a href='{{ page.url | replace: "/uk/", "/en/" }}'>англійською версією документації</a>.
|
||||
@@ -1 +0,0 @@
|
||||
This document might be outdated relative to the documentation in English. For the latest updates, please refer to the <a href='{{ page.url | replace: "/uz/", "/en/" }}'>documentation in English</a>.
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>这个翻译StrongLoop / IBM提供.</p>
|
||||
|
||||
相对于英文版的文档,本文档可能已过时。要了解最近的更新,请参阅<a href='{{ page.url | replace: "/zh-cn/", "/en/" }}'>英文版文档</a>。
|
||||
@@ -1,3 +0,0 @@
|
||||
<p>這個翻譯StrongLoop / IBM提供.</p>
|
||||
|
||||
相對於英文版說明文件,本文件可能已不合時宜。如需最新的更新,請參閱<a href='{{ page.url | replace: "/zh-tw/", "/en/" }}'>英文版說明文件</a>。
|
||||
Reference in New Issue
Block a user