forked from GitHub/dbot
Add translations; toggle lowercase; remove testCSS
This commit is contained in:
parent
ad3e597ad2
commit
151d0e6fcb
@ -86,7 +86,13 @@ var pages = function(dbot) {
|
|||||||
}),
|
}),
|
||||||
"git": dbot.t("git"),
|
"git": dbot.t("git"),
|
||||||
"milestonehead": dbot.t("milestones"),
|
"milestonehead": dbot.t("milestones"),
|
||||||
"propaganda": dbot.t("propaganda")
|
"propaganda": dbot.t("propaganda"),
|
||||||
|
"languagecurr": dbot.t(dbot.config.language),
|
||||||
|
"languagenati": dbot.t("langhead-native"),
|
||||||
|
"languageeng": dbot.t("en"),
|
||||||
|
"languageprog": dbot.t("langhead-progress"),
|
||||||
|
"languagetrans": dbot.t("langhead-translations"),
|
||||||
|
"languagetranshead": dbot.t("translations")
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -174,5 +174,20 @@
|
|||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
"en": "version control"
|
"en": "version control"
|
||||||
|
},
|
||||||
|
"langhead-current": {
|
||||||
|
"en": "Current"
|
||||||
|
},
|
||||||
|
"langhead-translations": {
|
||||||
|
"en": "Completion"
|
||||||
|
},
|
||||||
|
"translations": {
|
||||||
|
"en": "Translations"
|
||||||
|
},
|
||||||
|
"langhead-progress": {
|
||||||
|
"en": "Translation Progress"
|
||||||
|
},
|
||||||
|
"langhead-native": {
|
||||||
|
"en": "Native"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,10 @@ pre#gitdiff {
|
|||||||
text-align:left;
|
text-align:left;
|
||||||
width:80;
|
width:80;
|
||||||
margin:auto;
|
margin:auto;
|
||||||
|
text-transform:none;
|
||||||
}
|
}
|
||||||
div#main {
|
div#main {
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
}
|
|
||||||
h2,h3,h4,h5,h6,.center {
|
|
||||||
text-transform:lowercase;
|
text-transform:lowercase;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
@ -48,10 +47,6 @@ div.progress-inner.closed {
|
|||||||
background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f);
|
background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f);
|
||||||
}
|
}
|
||||||
|
|
||||||
#config {
|
|
||||||
text-transform:lowercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
margin-bottom:5px;
|
margin-bottom:5px;
|
||||||
@ -68,28 +63,3 @@ li {
|
|||||||
#footer {
|
#footer {
|
||||||
font-size:80%;
|
font-size:80%;
|
||||||
}
|
}
|
||||||
/* testing stuff */
|
|
||||||
.en {
|
|
||||||
background-color:red;
|
|
||||||
background-image:none;
|
|
||||||
}
|
|
||||||
.fr {
|
|
||||||
background-color:blue;
|
|
||||||
background-image:none;
|
|
||||||
}
|
|
||||||
.de {
|
|
||||||
background-color:yellow;
|
|
||||||
background-image:none;
|
|
||||||
}
|
|
||||||
.nl {
|
|
||||||
background-color:darkorange;
|
|
||||||
background-image:none;
|
|
||||||
}
|
|
||||||
.cy {
|
|
||||||
background-image:palevioletred;
|
|
||||||
background-image:none;
|
|
||||||
}
|
|
||||||
.es {
|
|
||||||
background-image:none;
|
|
||||||
background-color:orchid;
|
|
||||||
}
|
|
||||||
|
@ -19,8 +19,6 @@ html(lang='#{curr839}')
|
|||||||
div#page
|
div#page
|
||||||
div#title #{pagetitle}
|
div#title #{pagetitle}
|
||||||
div.container#main
|
div.container#main
|
||||||
p.intro
|
|
||||||
|
|
||||||
p.intro
|
p.intro
|
||||||
#{dquote}
|
#{dquote}
|
||||||
section#git
|
section#git
|
||||||
@ -51,14 +49,14 @@ html(lang='#{curr839}')
|
|||||||
|
|
||||||
td #{milestone.open_issues}
|
td #{milestone.open_issues}
|
||||||
td #{milestone.closed_issues}
|
td #{milestone.closed_issues}
|
||||||
h4 Translations
|
h4 #{languagetranshead}
|
||||||
table
|
table
|
||||||
tr
|
tr
|
||||||
th Current
|
th #{languagecurr}
|
||||||
th Native
|
th #{languagenati}
|
||||||
th English
|
th #{languageeng}
|
||||||
th Progress
|
th #{languageprog}
|
||||||
th Translations
|
th #{languagetrans}
|
||||||
each language in translation
|
each language in translation
|
||||||
- var w = ((language.count/translation.en.count)*100)
|
- var w = ((language.count/translation.en.count)*100)
|
||||||
tr
|
tr
|
||||||
@ -66,13 +64,14 @@ html(lang='#{curr839}')
|
|||||||
td #{language.own}
|
td #{language.own}
|
||||||
td #{language.english}
|
td #{language.english}
|
||||||
td.prog
|
td.prog
|
||||||
div.progress(class="open")
|
unless (language.iso == curr839)
|
||||||
unless (language.iso == curr839)
|
div.progress(class="open")
|
||||||
div.progress-inner(style="width:"+w+"%")(class="open")
|
div.progress-inner(style="width:"+w+"%")(class="open")
|
||||||
|
|
||||||
else
|
else
|
||||||
div.progress-inner(style="width:"+w+"%")(class="closed")
|
div.progress(class="closed")
|
||||||
|
div.progress-inner(style="width:"+w+"%")(class="closed")
|
||||||
|
|
||||||
td #{language.count} / #{translation.en.count}
|
td #{language.count} / #{translation.en.count}
|
||||||
h4 #{credits}
|
h4 #{credits}
|
||||||
#{thanks}
|
#{thanks}
|
||||||
|
Loading…
Reference in New Issue
Block a user