From b472955f7d994ad66f62a39b8e1dbb541ac17a4f Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 21 Sep 2010 20:19:41 +0000 Subject: [PATCH] feature 1616: rename "category" into "album" (3rd commit; still to come) git-svn-id: http://piwigo.org/svn/trunk@6988 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_modify.php | 8 ++-- admin/cat_move.php | 2 +- admin/include/functions.php | 4 +- admin/themes/default/template/cat_list.tpl | 12 +++--- admin/themes/default/template/cat_modify.tpl | 14 +++---- admin/themes/default/template/cat_move.tpl | 4 +- admin/themes/default/template/cat_perm.tpl | 2 +- .../default/template/element_set_global.tpl | 4 +- admin/themes/default/template/maintenance.tpl | 2 +- .../default/template/photos_add_direct.tpl | 4 +- language/ar_SA/admin.lang.php | 35 ++++++++--------- language/cs_CZ/admin.lang.php | 37 +++++++++--------- language/da_DK/admin.lang.php | 37 +++++++++--------- language/de_DE/admin.lang.php | 37 +++++++++--------- language/en_UK/admin.lang.php | 39 +++++++++---------- language/en_UK/help/cat_modify.html | 2 +- language/en_UK/help/cat_move.html | 2 +- language/en_UK/help/cat_perm.html | 2 +- language/en_UK/help/configuration.html | 2 +- language/en_UK/help/maintenance.html | 2 +- language/es_ES/admin.lang.php | 37 +++++++++--------- language/fr_CA/admin.lang.php | 37 +++++++++--------- language/fr_FR/admin.lang.php | 37 +++++++++--------- language/hr_HR/admin.lang.php | 37 +++++++++--------- language/hr_HR/help/maintenance.html | 2 +- language/hu_HU/admin.lang.php | 37 +++++++++--------- language/it_IT/admin.lang.php | 37 +++++++++--------- language/ja_JP/admin.lang.php | 37 +++++++++--------- language/ka_GE/admin.lang.php | 37 +++++++++--------- language/nl_NL/admin.lang.php | 37 +++++++++--------- language/pl_PL/admin.lang.php | 37 +++++++++--------- language/pt_BR/admin.lang.php | 35 ++++++++--------- language/pt_PT/admin.lang.php | 35 ++++++++--------- language/ru_RU/admin.lang.php | 37 +++++++++--------- language/sr_RS/admin.lang.php | 37 +++++++++--------- language/vi_VN/admin.lang.php | 35 ++++++++--------- language/zh_CN/admin.lang.php | 37 +++++++++--------- 37 files changed, 409 insertions(+), 430 deletions(-) diff --git a/admin/cat_modify.php b/admin/cat_modify.php index 50fc21a29..34242fafe 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -111,7 +111,7 @@ UPDATE '.CATEGORIES_TABLE.' SET image_order='.(isset($image_order) ? 'NULL':'\'' move_categories( array($_GET['cat_id']), $_POST['parent'] ); } - array_push($page['infos'], l10n('Category informations updated successfully.')); + array_push($page['infos'], l10n('Album updated successfully')); } elseif (isset($_POST['set_random_representant'])) { @@ -154,7 +154,7 @@ elseif (isset($_POST['submitAdd'])) array_push( $page['infos'], sprintf( - l10n('Category elements associated to the following categories: %s'), + l10n('Album elements associated to the following albums: %s'), '' @@ -183,7 +183,7 @@ elseif (isset($_POST['submitDestinations']) array_push( $page['infos'], sprintf( - l10n('Category elements associated to the following categories: %s'), + l10n('Album elements associated to the following albums: %s'), '' ) ); @@ -273,7 +273,7 @@ if ('private' == $category['status']) ); } -// manage category elements link +// manage album elements link if ($category['has_images']) { $template->assign( diff --git a/admin/cat_move.php b/admin/cat_move.php index 83f026d68..d33de8ff0 100644 --- a/admin/cat_move.php +++ b/admin/cat_move.php @@ -53,7 +53,7 @@ if (isset($_POST['submit'])) { array_push( $page['errors'], - l10n('Select at least one category') + l10n('Select at least one album') ); } } diff --git a/admin/include/functions.php b/admin/include/functions.php index 5a65f9995..718fa7236 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1062,7 +1062,7 @@ SELECT uppercats { array_push( $page['errors'], - l10n('You cannot move a category in its own sub category') + l10n('You cannot move a album in its own sub album') ); return; } @@ -1172,7 +1172,7 @@ function create_virtual_category($category_name, $parent_id=null) // is the given category name only containing blank spaces ? if (preg_match('/^\s*$/', $category_name)) { - return array('error' => l10n('The name of a category should not be empty')); + return array('error' => l10n('The name of an album must not be empty')); } $parent_id = !empty($parent_id) ? $parent_id : 'NULL'; diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 4bb4dccfe..c7007c8b2 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -68,24 +68,24 @@

- {$category.NAME} + {$category.NAME} {if $category.IS_VIRTUAL} {'Virtual category'|@translate} {/if} diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl index df21bbe82..2eac97f9a 100644 --- a/admin/themes/default/template/cat_modify.tpl +++ b/admin/themes/default/template/cat_modify.tpl @@ -10,18 +10,18 @@

@@ -152,7 +152,7 @@