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"),
|
||||
"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": {
|
||||
"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;
|
||||
width:80;
|
||||
margin:auto;
|
||||
text-transform:none;
|
||||
}
|
||||
div#main {
|
||||
font-size:18px;
|
||||
}
|
||||
h2,h3,h4,h5,h6,.center {
|
||||
text-transform:lowercase;
|
||||
}
|
||||
table {
|
||||
@ -48,10 +47,6 @@ div.progress-inner.closed {
|
||||
background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f);
|
||||
}
|
||||
|
||||
#config {
|
||||
text-transform:lowercase;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-left:0;
|
||||
margin-bottom:5px;
|
||||
@ -68,28 +63,3 @@ li {
|
||||
#footer {
|
||||
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#title #{pagetitle}
|
||||
div.container#main
|
||||
p.intro
|
||||
|
||||
p.intro
|
||||
#{dquote}
|
||||
section#git
|
||||
@ -51,14 +49,14 @@ html(lang='#{curr839}')
|
||||
|
||||
td #{milestone.open_issues}
|
||||
td #{milestone.closed_issues}
|
||||
h4 Translations
|
||||
h4 #{languagetranshead}
|
||||
table
|
||||
tr
|
||||
th Current
|
||||
th Native
|
||||
th English
|
||||
th Progress
|
||||
th Translations
|
||||
th #{languagecurr}
|
||||
th #{languagenati}
|
||||
th #{languageeng}
|
||||
th #{languageprog}
|
||||
th #{languagetrans}
|
||||
each language in translation
|
||||
- var w = ((language.count/translation.en.count)*100)
|
||||
tr
|
||||
@ -66,11 +64,12 @@ html(lang='#{curr839}')
|
||||
td #{language.own}
|
||||
td #{language.english}
|
||||
td.prog
|
||||
div.progress(class="open")
|
||||
unless (language.iso == curr839)
|
||||
div.progress(class="open")
|
||||
div.progress-inner(style="width:"+w+"%")(class="open")
|
||||
|
||||
else
|
||||
div.progress(class="closed")
|
||||
div.progress-inner(style="width:"+w+"%")(class="closed")
|
||||
|
||||
td #{language.count} / #{translation.en.count}
|
||||
|
Loading…
Reference in New Issue
Block a user