diff options
author | nikrou <nikrou@piwigo.org> | 2010-03-02 14:54:22 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-03-02 14:54:22 +0000 |
commit | 2e890e9597da29346a1fbe0db45f48e4a2be86e7 (patch) | |
tree | f189c8320f38340bc3d7a94d799e05e0587d95cb /admin/template/goto/navigation_bar.tpl | |
parent | 35694a636ef34dba5384e1a530b837208b9e55f9 (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 'admin/template/goto/navigation_bar.tpl')
-rw-r--r-- | admin/template/goto/navigation_bar.tpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/admin/template/goto/navigation_bar.tpl b/admin/template/goto/navigation_bar.tpl index a4c0b3bbc..82c66bd15 100644 --- a/admin/template/goto/navigation_bar.tpl +++ b/admin/template/goto/navigation_bar.tpl @@ -1,10 +1,10 @@ <div class="navigationBar"> {if isset($navbar.URL_FIRST)} - <a href="{$navbar.URL_FIRST}" rel="first">{'first_page'|@translate}</a> | - <a href="{$navbar.URL_PREV}" rel="prev">{'previous_page'|@translate}</a> | + <a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> | + <a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> | {else} - {'first_page'|@translate} | - {'previous_page'|@translate} | + {'First'|@translate} | + {'Previous'|@translate} | {/if} {assign var='prev_page' value=0} @@ -19,10 +19,10 @@ {/foreach} {if isset($navbar.URL_NEXT)} - | <a href="{$navbar.URL_NEXT}" rel="next">{'next_page'|@translate}</a> - | <a href="{$navbar.URL_LAST}" rel="last">{'last_page'|@translate}</a> + | <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a> + | <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a> {else} - | {'next_page'|@translate} - | {'last_page'|@translate} + | {'Next'|@translate} + | {'Last'|@translate} {/if} </div> |