3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +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"),
"languageprog": dbot.t("langhead-progress"),
"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", {
"username": dbot.config.dent.username
}));
}
if(_.has(dbot.config.dent.dentQuotes)) {
list.push(dbot.t("dent-push"));
if(_.has(dbot.config.dent.dentQuotes)) {
list.push(dbot.t("dent-push"));
}
}
if(_.has(dbot.modules,'link')){
if(dbot.config.link.autoTitle){

View File

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