From 02e00054f64139265f6a7a73ad09ff76db7c280f Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Wed, 13 Aug 2008 22:11:08 +0200 Subject: [PATCH] Added cosmetic improvements. Updated the French translations to use the French title conventions (No Uppercase For The First Letter of Each Word but only for the first word). Activated some of the menu links in the issue pages depending on the context. --- src/IDF/locale/fr/idf.po | 26 ++++++++++++------------- src/IDF/templates/issues/base.html | 4 ++-- src/IDF/templates/issues/create.html | 1 + src/IDF/templates/issues/my-issues.html | 2 +- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/IDF/locale/fr/idf.po b/src/IDF/locale/fr/idf.po index 39dff0c..fc447a4 100644 --- a/src/IDF/locale/fr/idf.po +++ b/src/IDF/locale/fr/idf.po @@ -667,31 +667,31 @@ msgstr "Si vous êtes dans un projet, vous disposez des raccourcis suivants :" #: IDF/gettexttemplates/faq.html.php:13 msgid "Shift+h: Project home." -msgstr "Shift+h: Page d'accueil du projet." +msgstr "Shift+h : Page d'accueil du projet." #: IDF/gettexttemplates/faq.html.php:14 msgid "Shift+d: Downloads." -msgstr "Shift+d: Téléchargements." +msgstr "Shift+d : Téléchargements." #: IDF/gettexttemplates/faq.html.php:15 msgid "Shift+s: Source." -msgstr "Shift+s: Source." +msgstr "Shift+s : Source." #: IDF/gettexttemplates/faq.html.php:16 msgid "Shift+a: Create a new issue." -msgstr "Shift+a: Créer un nouveau ticket." +msgstr "Shift+a : Créer un nouveau ticket." #: IDF/gettexttemplates/faq.html.php:17 msgid "Shift+i: List of open issues." -msgstr "Shift+i: Liste des tickets ouverts." +msgstr "Shift+i : Liste des tickets ouverts." #: IDF/gettexttemplates/faq.html.php:18 msgid "Shift+m: The issues you submitted." -msgstr "Shift+m: Les tickets que vous avez soumis." +msgstr "Shift+m : Les tickets que vous avez soumis." #: IDF/gettexttemplates/faq.html.php:19 msgid "Shift+w: The issues assigned to you." -msgstr "Shift+w: Les tickets qui vous sont assignés." +msgstr "Shift+w : Les tickets qui vous sont assignés." #: IDF/gettexttemplates/faq.html.php:21 #: IDF/gettexttemplates/faq.html.php:25 @@ -1110,11 +1110,11 @@ msgstr "Tickets ouverts" #: IDF/gettexttemplates/issues/my-issues.html.php:3 #: IDF/gettexttemplates/issues/search.html.php:3 msgid "New Issue" -msgstr "Nouveau Ticket" +msgstr "Nouveau ticket" #: IDF/gettexttemplates/issues/base.html.php:5 msgid "My Issues" -msgstr "Mes Tickets" +msgstr "Mes tickets" #: IDF/gettexttemplates/issues/view.html.php:3 #, php-format @@ -1139,7 +1139,7 @@ msgstr "Le formulaire contient des erreurs. Merci de les corriger pour mettre à #: IDF/gettexttemplates/issues/view.html.php:13 #: IDF/gettexttemplates/issues/view.html.php:14 msgid "Submit Changes" -msgstr "Soumettre les Changements" +msgstr "Soumettre les changements" #: IDF/gettexttemplates/issues/view.html.php:15 #: IDF/gettexttemplates/issues/view.html.php:16 @@ -1191,7 +1191,7 @@ msgstr "Le formulaire contient des erreurs. Corrigez s'il vous plaît ces erreur #: IDF/gettexttemplates/issues/create.html.php:11 msgid "Submit Issue" -msgstr "Soumettre le Ticket" +msgstr "Soumettre le ticket" #: IDF/gettexttemplates/issues/index.html.php:3 #, php-format @@ -1486,7 +1486,7 @@ msgstr "Vous avez aussi les touches d'accès standard :" #: IDF/gettexttemplates/faq.html.php:21 msgid "Alt+1: Home." -msgstr "Alt+1: Accueil." +msgstr "Alt+1 : Accueil." #: IDF/gettexttemplates/faq.html.php:22 msgid "Alt+2: Skip the menus." @@ -1494,7 +1494,7 @@ msgstr "Alt+2 : Allez au contenu." #: IDF/gettexttemplates/faq.html.php:23 msgid "Alt+4: Search (when available)." -msgstr "Alt+4: Chercher (si disponible)." +msgstr "Alt+4 : Chercher (si disponible)." #: IDF/gettexttemplates/user/myaccount.html.php:5 msgid "Update Your Account" diff --git a/src/IDF/templates/issues/base.html b/src/IDF/templates/issues/base.html index 6582386..a124c5c 100644 --- a/src/IDF/templates/issues/base.html +++ b/src/IDF/templates/issues/base.html @@ -2,8 +2,8 @@ {block tabissues} class="active"{/block} {block subtabs}
-{trans 'Open issues'} -{if !$user.isAnonymous()} | {trans 'New Issue'} | {trans 'My Issues'}{/if} | +{trans 'Open issues'} +{if !$user.isAnonymous()} | {trans 'New Issue'} | {trans 'My Issues'}{/if} |
diff --git a/src/IDF/templates/issues/create.html b/src/IDF/templates/issues/create.html index 8ce603c..5357a89 100644 --- a/src/IDF/templates/issues/create.html +++ b/src/IDF/templates/issues/create.html @@ -1,4 +1,5 @@ {extends "issues/base.html"} +{block docclass}yui-t3{assign $inCreate = true}{/block} {block body} {if $form.errors}
diff --git a/src/IDF/templates/issues/my-issues.html b/src/IDF/templates/issues/my-issues.html index bd021e8..c936e7c 100644 --- a/src/IDF/templates/issues/my-issues.html +++ b/src/IDF/templates/issues/my-issues.html @@ -1,5 +1,5 @@ {extends "issues/base.html"} -{block docclass}yui-t2{/block} +{block docclass}yui-t2{assign $inMyIssues = true}{/block} {block body} {$issues.render} {if !$user.isAnonymous()}