3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

Merge pull request #406 from zuzak/translation

bought project module back up to speed
This commit is contained in:
reality 2013-04-21 09:41:02 -07:00
commit c3d6a52413
4 changed files with 33 additions and 18 deletions

View File

@ -92,7 +92,7 @@ var pages = function(dbot) {
"languageeng": dbot.t("en"), "languageeng": dbot.t("en"),
"languageprog": dbot.t("langhead-progress"), "languageprog": dbot.t("langhead-progress"),
"languagetrans": dbot.t("langhead-translations"), "languagetrans": dbot.t("langhead-translations"),
"languagetranshead": dbot.t("translations") "languagetranshead": dbot.t("translations"),
}); });
}, },
}; };

View File

@ -16,9 +16,9 @@ var project = function(dbot) {
list.push(dbot.t("dent-account", { list.push(dbot.t("dent-account", {
"username": dbot.config.dent.username "username": dbot.config.dent.username
})); }));
} if(_.has(dbot.config.dent.dentQuotes)) {
if(_.has(dbot.config.dent.dentQuotes)) { list.push(dbot.t("dent-push"));
list.push(dbot.t("dent-push")); }
} }
if(_.has(dbot.modules,'link')){ if(_.has(dbot.modules,'link')){
if(dbot.config.link.autoTitle){ if(dbot.config.link.autoTitle){

View File

@ -63,3 +63,14 @@ li {
#footer { #footer {
font-size:80%; font-size:80%;
} }
h2 {
margin-top:40px;
margin-bottom:30px;
}
h3 {
margin-top:30px;
margin-bottom:20px;
}
#translations td {
text-transform:none;
}

View File

@ -22,12 +22,12 @@ html(lang='#{curr839}')
p.intro p.intro
#{dquote} #{dquote}
section#git section#git
h3 #{development} h2 #{development}
p.center p.center
#{revnum} #{revnum}
pre#gitdiff pre#gitdiff
#{diff} #{diff}
h4 #{milestoneprog} h3 #{milestonehead}
table#milestones.center table#milestones.center
tr tr
th #{milestonename} th #{milestonename}
@ -38,7 +38,7 @@ html(lang='#{curr839}')
- var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100) - var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100)
tr(id=mstone+milestone.number) tr(id=mstone+milestone.number)
td td
a(href=milestone.url) a(href="https://github.com/"+repo+"/issues?milestone="+milestone.number)
#{milestone.title} #{milestone.title}
td td
div.progress(class=milestone.state) div.progress(class=milestone.state)
@ -47,8 +47,10 @@ html(lang='#{curr839}')
print #{Math.round(wdth)+"%"} print #{Math.round(wdth)+"%"}
td #{milestone.open_issues} td #{milestone.open_issues}
td #{milestone.closed_issues} td #{milestone.closed_issues}
h4 #{languagetranshead} a(#href="https://github.com/"+repo+"/")
table #{propaganda}
h3 #{languagetranshead}
table#translations
tr tr
th #{languagecurr} th #{languagecurr}
th #{languagenati} th #{languagenati}
@ -75,21 +77,23 @@ html(lang='#{curr839}')
   
print #{Math.round(w)+"%"} print #{Math.round(w)+"%"}
td #{language.count} / #{translation.en.count} td #{language.count} / #{translation.en.count}
h4 #{credits} h3 #{credits}
#{thanks} #{thanks}
ul ul
each author in authors each author in authors
li li
#{author} #{author}
section#config section#config
h3 #{config} h2 #{config}
ul ul
li #{currlang} li #{currlang}
li #{debugmode} li #{debugmode}
h4 #{loadmod} each config in configList
ul#modules li #{config}
each module in modules h3 #{loadmod}
li #{module} ul#modules
each module in modules
li #{module}
section#footer section#footer
p p
#{currver} #{currver}