mirror of https://gitea.com/gitea/theme.git
add warning message about stable translation
looks less contributors are work on translating docs. It's better to add a warning message on the top about this fact. Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
37ba1245dd
commit
d833b3ab07
|
@ -15,3 +15,9 @@
|
|||
|
||||
- id: edit_this_page
|
||||
translation: "Edit this page"
|
||||
|
||||
- id: lang
|
||||
translation: "en"
|
||||
|
||||
- id: translation_warning
|
||||
translation: "We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation."
|
||||
|
|
|
@ -15,3 +15,9 @@
|
|||
|
||||
- id: edit_this_page
|
||||
translation: "Bewerk deze pagina"
|
||||
|
||||
- id: lang
|
||||
translation: "nl-NL"
|
||||
|
||||
- id: translation_warning
|
||||
translation: "We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation."
|
||||
|
|
|
@ -15,3 +15,9 @@
|
|||
|
||||
- id: edit_this_page
|
||||
translation: "Edite essa página"
|
||||
|
||||
- id: lang
|
||||
translation: "pt-BR"
|
||||
|
||||
- id: translation_warning
|
||||
translation: "We publish frequent updates to our documentation, and translation of this page may still be in progress. For the most current information, please visit the English documentation."
|
||||
|
|
|
@ -15,3 +15,9 @@
|
|||
|
||||
- id: edit_this_page
|
||||
translation: "编辑此页面"
|
||||
|
||||
- id: lang
|
||||
translation: "zh-CN"
|
||||
|
||||
- id: translation_warning
|
||||
translation: "我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。"
|
||||
|
|
|
@ -15,3 +15,9 @@
|
|||
|
||||
- id: edit_this_page
|
||||
translation: "編輯此頁面"
|
||||
|
||||
- id: lang
|
||||
translation: "zh-TW"
|
||||
|
||||
- id: translation_warning
|
||||
translation: "我們經常發佈文檔更新,此頁面的翻譯可能仍在進行中。有關最新資訊,請訪問英文文檔。"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<html lang="{{ i18n "lang" }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
|
|
@ -23,4 +23,10 @@
|
|||
</div>
|
||||
<div class="navbar-background" id="navbar-background"></div>
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
|
||||
{{ if not (eq (i18n "lang") "en") }}
|
||||
<div class="section translation-warning">
|
||||
{{ i18n "translation_warning" }}
|
||||
</div>
|
||||
{{end}}
|
||||
|
|
|
@ -277,3 +277,10 @@ code {
|
|||
border-color: #528321;
|
||||
color: #528321;
|
||||
}
|
||||
|
||||
.section.translation-warning {
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
background-color: yellow;
|
||||
position: relative;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue