3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

Translations, progress bar fallback, lowercasing

+ Added translations into English for ``cy``, ``es`` and ``na'vi``,
  to ensure that all possible current languages are catered for.
+ Added ``background-color`` rule to progress bars on ``project`` to
  ensure that they are always visible.
+ Forced lowercase for more of the ``project`` page 'cos it looks nice
  (although that's an opinion).
- Removed redundant text shadow rule.
This commit is contained in:
Douglas Gardner 2013-04-18 18:20:58 +00:00
parent ec431bd257
commit c1693a768f
2 changed files with 28 additions and 6 deletions

View File

@ -18,7 +18,8 @@
"en": "English",
"fr": "anglais",
"de": "Englisch",
"it": "inglese"
"it": "inglese",
"cy": "saesneg"
},
"fr": {
"en": "French",
@ -35,9 +36,28 @@
"it": {
"en": "Italian",
"fr": "italien",
"de": "Italienier",
"de": "Italiener",
"it": "italiano"
},
"cy": {
"en": "Welsh",
"fr": "gallois",
"de": "Walisisch",
"it": "gallese",
"cy": "cymraeg"
},
"na'vi": {
"en": "Na'vi",
"fr": "na'vi",
"de": "Na'vi",
"it": "Na'vi"
},
"es": {
"en": "Spanish",
"fr": "espagnole",
"de": "Spanisch",
"it": "spagnolo"
},
"revnum": {
"en": "{name} is at revision {rev}",
"fr": "{name} est à révision {rev}",

View File

@ -9,6 +9,7 @@ div#main {
}
h2,h3,h4,h5,h6,.center {
text-align:center;
text-transform:lowercase;
}
table#milestones {
margin:auto;
@ -24,6 +25,7 @@ p.intro {
border-radius:4px;
}
div.progress.open {
background-color: #f4fff4;
background-image: linear-gradient(to bottom,#f4fff4,#f9fff9);
}
div.progress {
@ -32,18 +34,22 @@ div.progress {
}
div.progress-inner.open {
width:20%;
background-color: #3fff3f;
background-image: linear-gradient(to bottom,#3fff3f,#7fff7f);
}
div.progress.closed {
background-color: #fff5f5;
background-image: linear-gradient(to bottom,#fff5f5,#fff9f9);
}
div.progress-inner.closed {
background-color: #ff3f3f;
background-image: linear-gradient(to bottom,#ff3f3f,#ff7f7f);
width:20%;
}
#config {
text-align:center;
text-transform:lowercase;
}
li {
@ -54,10 +60,6 @@ li {
display:inline-block;
}
* {
text-shadow:none;
}
#footer {
font-size:80%;
}