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.
This commit is contained in:
Loic d'Anterroches 2008-08-13 22:11:08 +02:00
parent 0ee7dc5a89
commit 02e00054f6
4 changed files with 17 additions and 16 deletions

View File

@ -1110,11 +1110,11 @@ msgstr "Tickets ouverts"
#: IDF/gettexttemplates/issues/my-issues.html.php:3 #: IDF/gettexttemplates/issues/my-issues.html.php:3
#: IDF/gettexttemplates/issues/search.html.php:3 #: IDF/gettexttemplates/issues/search.html.php:3
msgid "New Issue" msgid "New Issue"
msgstr "Nouveau Ticket" msgstr "Nouveau ticket"
#: IDF/gettexttemplates/issues/base.html.php:5 #: IDF/gettexttemplates/issues/base.html.php:5
msgid "My Issues" msgid "My Issues"
msgstr "Mes Tickets" msgstr "Mes tickets"
#: IDF/gettexttemplates/issues/view.html.php:3 #: IDF/gettexttemplates/issues/view.html.php:3
#, php-format #, 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:13
#: IDF/gettexttemplates/issues/view.html.php:14 #: IDF/gettexttemplates/issues/view.html.php:14
msgid "Submit Changes" msgid "Submit Changes"
msgstr "Soumettre les Changements" msgstr "Soumettre les changements"
#: IDF/gettexttemplates/issues/view.html.php:15 #: IDF/gettexttemplates/issues/view.html.php:15
#: IDF/gettexttemplates/issues/view.html.php:16 #: 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 #: IDF/gettexttemplates/issues/create.html.php:11
msgid "Submit Issue" msgid "Submit Issue"
msgstr "Soumettre le Ticket" msgstr "Soumettre le ticket"
#: IDF/gettexttemplates/issues/index.html.php:3 #: IDF/gettexttemplates/issues/index.html.php:3
#, php-format #, php-format

View File

@ -2,8 +2,8 @@
{block tabissues} class="active"{/block} {block tabissues} class="active"{/block}
{block subtabs} {block subtabs}
<div id="sub-tabs"> <div id="sub-tabs">
<a href="{url 'IDF_Views_Issue::index', array($project.shortname)}">{trans 'Open issues'}</a> <a {if $inOpenIssues}class="active" {/if}href="{url 'IDF_Views_Issue::index', array($project.shortname)}">{trans 'Open issues'}</a>
{if !$user.isAnonymous()} | <a href="{url 'IDF_Views_Issue::create', array($project.shortname)}">{trans 'New Issue'}</a> | <a href="{url 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}">{trans 'My Issues'}</a>{/if} | {if !$user.isAnonymous()} | <a {if $inCreate}class="active" {/if}href="{url 'IDF_Views_Issue::create', array($project.shortname)}">{trans 'New Issue'}</a> | <a {if $inMyIssues}class="active" {/if}href="{url 'IDF_Views_Issue::myIssues', array($project.shortname, 'submit')}">{trans 'My Issues'}</a>{/if} |
<form class="star" action="{url 'IDF_Views_Issue::search', array($project.shortname)}" method="get"> <form class="star" action="{url 'IDF_Views_Issue::search', array($project.shortname)}" method="get">
<input accesskey="4" type="text" value="{$q}" name="q" size="20" /> <input accesskey="4" type="text" value="{$q}" name="q" size="20" />
<input type="submit" name="s" value="{trans 'Search'}" /> <input type="submit" name="s" value="{trans 'Search'}" />

View File

@ -1,4 +1,5 @@
{extends "issues/base.html"} {extends "issues/base.html"}
{block docclass}yui-t3{assign $inCreate = true}{/block}
{block body} {block body}
{if $form.errors} {if $form.errors}
<div class="px-message-error"> <div class="px-message-error">

View File

@ -1,5 +1,5 @@
{extends "issues/base.html"} {extends "issues/base.html"}
{block docclass}yui-t2{/block} {block docclass}yui-t2{assign $inMyIssues = true}{/block}
{block body} {block body}
{$issues.render} {$issues.render}
{if !$user.isAnonymous()} {if !$user.isAnonymous()}