aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/upload.tpl
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
committernikrou <nikrou@piwigo.org>2010-03-02 14:54:22 +0000
commit2e890e9597da29346a1fbe0db45f48e4a2be86e7 (patch)
treef189c8320f38340bc3d7a94d799e05e0587d95cb /template/yoga/upload.tpl
parent35694a636ef34dba5384e1a530b837208b9e55f9 (diff)
Feature 1451 : localization with gettext
Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/upload.tpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl
index ba0c36e2b..00f17be89 100644
--- a/template/yoga/upload.tpl
+++ b/template/yoga/upload.tpl
@@ -8,9 +8,9 @@
<div class="titrePage">
<ul class="categoryActions">
- <li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"></a></li>
+ <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li>
</ul>
- <h2>{'upload_title'|@translate}</h2>
+ <h2>{'Upload a picture'|@translate}</h2>
</div>
{if !empty($errors)}
@@ -60,21 +60,21 @@
</tr>
<!-- mail address -->
<tr>
- <td>{'mail_address'|@translate} <span style="color:red;">*</span></td>
+ <td>{'E-mail address'|@translate} <span style="color:red;">*</span></td>
<td>
<input name="mail_address" type="text" value="{$EMAIL}">
</td>
</tr>
<!-- name of the picture -->
<tr>
- <td>{'upload_name'|@translate}</td>
+ <td>{'Name of the picture'|@translate}</td>
<td>
<input name="name" type="text" value="{$NAME_IMG}">
</td>
</tr>
<!-- author -->
<tr>
- <td>{'upload_author'|@translate}</td>
+ <td>{'Author'|@translate}</td>
<td>
<input name="author" type="text" value="{$AUTHOR_IMG}">
</td>
@@ -88,7 +88,7 @@
</tr>
<!-- comment -->
<tr>
- <td>{'comment'|@translate}</td>
+ <td>{'Comment'|@translate}</td>
<td>
<textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
</td>
@@ -102,13 +102,13 @@
</table>
</form>
{else}
- {'upload_successful'|@translate}<br>
+ {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br>
<div style="text-align:center;">
- <a href="{$U_RETURN}">[ {'home'|@translate} ]</a>
+ <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a>
</div>
{/if}
{if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
- <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'mandatory'|@translate}</div>
+ <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'obligatory'|@translate}</div>
{/if}
</div> <!-- content -->