mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Add a banner for outdated translations to invite new translators
This commit is contained in:
parent
e3987cced8
commit
c97143d394
4 changed files with 28 additions and 15 deletions
|
@ -16,10 +16,16 @@
|
|||
<body>
|
||||
<div id="detectmobile" class="detectmobile"></div>
|
||||
{% if site.ALERT %}
|
||||
<div class="alert-message">
|
||||
<div class="banner-message alert">
|
||||
<div><div>{{ site.ALERT }}</div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% case page.lang %}
|
||||
{% when 'fa' or 'pl' or 'tr' or 'zh_TW' %}
|
||||
<div class="banner-message info">
|
||||
<div><div>{% translate banner-translate layout %}</div></div>
|
||||
</div>
|
||||
{% endcase %}
|
||||
<div class="head"><div>
|
||||
<select id="langselect" class="langselect" onchange="window.location=this.value;">
|
||||
{% for lang in site.langsorder %}{% assign active = ''%}{% if lang == page.lang %}{% assign active = ' selected="selected"'%}{% endif %}
|
||||
|
|
|
@ -229,10 +229,10 @@ body{
|
|||
display:inline;
|
||||
}
|
||||
|
||||
.alert-message a:hover,
|
||||
.alert-message a:hover:link,
|
||||
.alert-message a:hover:active,
|
||||
.alert-message a:hover:visited{
|
||||
.banner-message a:hover,
|
||||
.banner-message a:hover:link,
|
||||
.banner-message a:hover:active,
|
||||
.banner-message a:hover:visited{
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
|
|
|
@ -137,24 +137,27 @@ table td,table th{
|
|||
font-style:italic;
|
||||
}
|
||||
|
||||
.alert-message div{
|
||||
background-color:#c5251f;
|
||||
}
|
||||
.alert-message div div{
|
||||
.banner-message div div{
|
||||
margin:auto;
|
||||
width:850px;
|
||||
padding:10px;
|
||||
}
|
||||
.alert-message,
|
||||
.alert-message a,
|
||||
.alert-message a:link,
|
||||
.alert-message a:active,
|
||||
.alert-message a:visited{
|
||||
.banner-message,
|
||||
.banner-message a,
|
||||
.banner-message a:link,
|
||||
.banner-message a:active,
|
||||
.banner-message a:visited{
|
||||
color:#fff;
|
||||
}
|
||||
.alert-message a:hover{
|
||||
.banner-message a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
.banner-message.alert div{
|
||||
background-color:#c5251f;
|
||||
}
|
||||
.banner-message.info div{
|
||||
background-color:#0d579b;
|
||||
}
|
||||
|
||||
.foundation-banner{
|
||||
text-align:center;
|
||||
|
@ -1973,6 +1976,9 @@ h2 .rssicon{
|
|||
h1{
|
||||
text-align:left;
|
||||
}
|
||||
.banner-message div div{
|
||||
width:auto;
|
||||
}
|
||||
.summary{
|
||||
text-align:left;
|
||||
}
|
||||
|
|
|
@ -606,6 +606,7 @@ en:
|
|||
menu-support-bitcoin: Participate
|
||||
menu-vocabulary: Vocabulary
|
||||
menu-you-need-to-know: "You need to know"
|
||||
banner-translate: "Translations for this language are outdated. <a href=\"https://github.com/bitcoin/bitcoin.org#translation\">Click here to help translate bitcoin.org in your language</a>."
|
||||
footer: "Released under the <a href=\"http://opensource.org/licenses/mit-license.php\" target=\"_blank\">MIT license</a>"
|
||||
sponsor: "A community website sponsored by"
|
||||
getstarted: "Get started with Bitcoin"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue