aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_category.inc.php2
-rw-r--r--include/functions_html.inc.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 1aa62ac25..4ce30a75a 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -472,7 +472,7 @@ function get_display_images_count($cat_nb_images, $cat_count_images, $cat_count_
}
//at least one image direct or indirect
- $display_text.= l10n_dec('%d element', '%d elements', $cat_count_images);
+ $display_text.= l10n_dec('%d image', '%d images', $cat_count_images);
if ($cat_count_categories == 0 or $cat_nb_images == $cat_count_images)
{
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 70ffe48a5..5d07286c4 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -512,9 +512,9 @@ function register_default_menubar_blocks( $menu_ref_arr )
$menu->register_block( new RegisteredBlock( 'mbLinks', 'Links', 'piwigo'));
$menu->register_block( new RegisteredBlock( 'mbCategories', 'Categories', 'piwigo'));
$menu->register_block( new RegisteredBlock( 'mbTags', 'Related tags', 'piwigo'));
- $menu->register_block( new RegisteredBlock( 'mbSpecials', 'special_categories', 'piwigo'));
- $menu->register_block( new RegisteredBlock( 'mbMenu', 'title_menu', 'piwigo'));
- $menu->register_block( new RegisteredBlock( 'mbIdentification', 'identification', 'piwigo') );
+ $menu->register_block( new RegisteredBlock( 'mbSpecials', 'Specials', 'piwigo'));
+ $menu->register_block( new RegisteredBlock( 'mbMenu', 'Menu', 'piwigo'));
+ $menu->register_block( new RegisteredBlock( 'mbIdentification', 'Identification', 'piwigo') );
}
?> \ No newline at end of file