From c1693a768f59168d8d39b054d8d4d79333e70409 Mon Sep 17 00:00:00 2001 From: Douglas Gardner Date: Thu, 18 Apr 2013 18:20:58 +0000 Subject: [PATCH] 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. --- modules/project/strings.json | 24 ++++++++++++++++++++++-- public/project.css | 10 ++++++---- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/modules/project/strings.json b/modules/project/strings.json index a78ac7d..5afa320 100644 --- a/modules/project/strings.json +++ b/modules/project/strings.json @@ -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}", diff --git a/public/project.css b/public/project.css index 7f769ef..7d382b2 100644 --- a/public/project.css +++ b/public/project.css @@ -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%; }