From 7907d31a9c757ea8224ad6ecde5deb434806ebbc Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 19 Sep 2010 19:50:02 +0000 Subject: feature 1616: rename "category" into "album" (second commit; still to come) git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 4 ++-- admin/cat_modify.php | 2 +- admin/cat_options.php | 6 +++--- admin/include/functions.php | 2 +- admin/themes/default/template/cat_list.tpl | 4 ++-- admin/themes/default/template/cat_modify.tpl | 8 ++++---- admin/themes/default/template/cat_move.tpl | 4 ++-- admin/themes/default/template/photos_add_direct.tpl | 2 +- admin/themes/default/template/picture_modify.tpl | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) (limited to 'admin') diff --git a/admin/cat_list.php b/admin/cat_list.php index 7afc21db4..0ee142771 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -106,7 +106,7 @@ $navigation.= ''; if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser()) { delete_categories(array($_GET['delete'])); - array_push($page['infos'], l10n('Virtual category deleted')); + array_push($page['infos'], l10n('Virtual album deleted')); update_global_rank(); redirect(get_root_url().'admin.php?page=cat_list'); } @@ -137,7 +137,7 @@ else if (isset($_POST['submitOrder'])) array_push( $page['infos'], - l10n('Categories manual order was saved') + l10n('Album manual order was saved') ); } else diff --git a/admin/cat_modify.php b/admin/cat_modify.php index f058d0f73..50fc21a29 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -139,7 +139,7 @@ elseif (isset($_POST['submitAdd'])) } else { - // Virtual category creation succeeded + // Virtual album creation succeeded // // Add the information in the information list array_push($page['infos'], $output_create['info']); diff --git a/admin/cat_options.php b/admin/cat_options.php index b36083c49..1561206d4 100644 --- a/admin/cat_options.php +++ b/admin/cat_options.php @@ -253,7 +253,7 @@ SELECT id,name,uppercats,global_rank ;'; $template->assign( array( - 'L_SECTION' => l10n('Lock categories'), + 'L_SECTION' => l10n('Lock albums'), 'L_CAT_OPTIONS_TRUE' => l10n('Unlocked'), 'L_CAT_OPTIONS_FALSE' => l10n('Locked'), ) @@ -275,8 +275,8 @@ SELECT id,name,uppercats,global_rank $template->assign( array( 'L_SECTION' => l10n('Manage authorizations for selected categories'), - 'L_CAT_OPTIONS_TRUE' => l10n('Public category'), - 'L_CAT_OPTIONS_FALSE' => l10n('Private category'), + 'L_CAT_OPTIONS_TRUE' => l10n('Public'), + 'L_CAT_OPTIONS_FALSE' => l10n('Private'), ) ); break; diff --git a/admin/include/functions.php b/admin/include/functions.php index e74263318..5a65f9995 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1258,7 +1258,7 @@ UPDATE pwg_query($query); return array( - 'info' => l10n('Virtual category added'), + 'info' => l10n('Virtual album added'), 'id' => $inserted_id, ); } diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl index 69e599502..4bb4dccfe 100644 --- a/admin/themes/default/template/cat_list.tpl +++ b/admin/themes/default/template/cat_list.tpl @@ -35,7 +35,7 @@

- {'Add a virtual category'|@translate} : + {'Add a virtual album'|@translate} : {if count($categories)>9 } @@ -57,7 +57,7 @@ - + diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl index e76650d8c..df21bbe82 100644 --- a/admin/themes/default/template/cat_modify.tpl +++ b/admin/themes/default/template/cat_modify.tpl @@ -56,7 +56,7 @@ {if isset($move_cat_options) }

{'Move'|@translate} - {'Parent category'|@translate} + {'Parent album'|@translate} - +
{foreach from=$image_orders item=order} @@ -156,12 +156,12 @@ - + - +
{'Virtual category name'|@translate}{'Virtual album name'|@translate}
{'Parent category'|@translate}{'Parent album'|@translate} diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index b1c9e1b7b..0d33d5823 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -297,7 +297,7 @@ var sizeLimit = {$upload_max_filesize};
- + - + {if isset($related_categories) } - +
{'Parent category'|@translate}{'Parent album'|@translate}
{'Storage category'|@translate}{'Storage album'|@translate} {$STORAGE_CATEGORY}
{'Linked categories'|@translate}{'Linked albums'|@translate}
    {foreach from=$related_categories item=name} -- cgit v1.2.3