From 2e890e9597da29346a1fbe0db45f48e4a2be86e7 Mon Sep 17 00:00:00 2001 From: nikrou Date: Tue, 2 Mar 2010 14:54:22 +0000 Subject: 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 --- admin/template/goto/cat_modify.tpl | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'admin/template/goto/cat_modify.tpl') diff --git a/admin/template/goto/cat_modify.tpl b/admin/template/goto/cat_modify.tpl index 29e7780a9..1878da75c 100644 --- a/admin/template/goto/cat_modify.tpl +++ b/admin/template/goto/cat_modify.tpl @@ -3,7 +3,7 @@ {include file='include/resize.inc.tpl'}
-

{'title_edit_cat'|@translate}

+

{'Edit a category'|@translate}

{$CATEGORIES_NAV}

@@ -13,15 +13,15 @@
  • {'jump to category'|@translate}
  • {/if} {if isset($U_MANAGE_ELEMENTS) } -
  • {'elements'|@translate}
  • -
  • {'ranks'|@translate}
  • +
  • {'elements'|@translate}
  • +
  • {'ranks'|@translate}
  • {/if} -
  • {'sub-categories'|@translate}
  • +
  • {'sub-categories'|@translate}
  • {if isset($U_MANAGE_PERMISSIONS) } -
  • {'permissions'|@translate}
  • +
  • {'Permissions'|@translate}
  • {/if} {if isset($U_DELETE) } -
  • {'delete'|@translate}
  • +
  • {'delete'|@translate}{'delete'|@translate}
  • {/if} @@ -33,7 +33,7 @@ {if isset($CAT_FULL_DIR) } - {'storage'|@translate} + {'Directory'|@translate} {$CAT_FULL_DIR} {/if} @@ -68,26 +68,26 @@ {'Options'|@translate} - - - {if isset($SHOW_UPLOADABLE) } - @@ -99,7 +99,7 @@
    {'Sort order'|@translate} - +
    @@ -135,7 +135,7 @@
    - + -- cgit v1.2.3
    {'conf_access'|@translate} + {'Access type'|@translate} {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS}
    {'lock'|@translate} + {'Lock'|@translate} {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE}
    {'comments'|@translate} + {'Comments'|@translate} {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE}
    {'editcat_uploadable'|@translate} + {'Authorize upload'|@translate} {html_radios name='uploadable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_UPLOADABLE} {if $representant.ALLOW_SET_RANDOM } -

    +

    {/if} {if isset($representant.ALLOW_DELETE) } @@ -213,7 +213,7 @@
    {'mail_content'|@translate}{'Mail content'|@translate}