From a863768ab9deb5283562f14c35ff4dfec2c7623a Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 26 Aug 2012 11:12:47 -0500 Subject: [PATCH] Removed -lang- prefix in get_lang() calls --- main/document/slideshow.php | 12 ++++++------ main/document/slideshowoptions.php | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/main/document/slideshow.php b/main/document/slideshow.php index ec5af67f9b..f96d841166 100644 --- a/main/document/slideshow.php +++ b/main/document/slideshow.php @@ -136,12 +136,12 @@ echo ''.Dis // Show thumbnails if ($slide_id != 'all') { - echo ''.Display::return_icon('thumbnails.png',get_lang('_show_thumbnails'),'',ICON_SIZE_MEDIUM).''; + echo ''.Display::return_icon('thumbnails.png',get_lang('ShowThumbnails'),'',ICON_SIZE_MEDIUM).''; } else { - echo Display::return_icon('thumbnails_na.png',get_lang('_show_thumbnails'),'',ICON_SIZE_MEDIUM); + echo Display::return_icon('thumbnails_na.png',get_lang('ShowThumbnails'),'',ICON_SIZE_MEDIUM); } // Slideshow options -echo ''.Display::return_icon('settings.png',get_lang('_set_slideshow_options'),'',ICON_SIZE_MEDIUM).''; +echo ''.Display::return_icon('settings.png',get_lang('SetSlideshowOptions'),'',ICON_SIZE_MEDIUM).''; ?> @@ -515,16 +515,16 @@ if ($slide_id != 'all') { echo ''; echo ''; if ($_SESSION['image_resizing'] == 'resizing') { - $resize_info = get_lang('_resizing').'
'; + $resize_info = get_lang('Resizing').'
'; $resize_widht = $_SESSION["image_resizing_width"].' x '; $resize_height = $_SESSION['image_resizing_height']; } elseif($_SESSION['image_resizing'] != 'noresizing'){ - $resize_info = get_lang('_resizing').'
'; + $resize_info = get_lang('Resizing').'
'; $resize_widht = get_lang('Auto').' x '; $resize_height = get_lang('Auto'); } else { - $resize_info = get_lang('_no_resizing').'
'; + $resize_info = get_lang('NoResizing').'
'; } echo $resize_info; echo $resize_widht; diff --git a/main/document/slideshowoptions.php b/main/document/slideshowoptions.php index 5bc0c3bddc..ecdfd494f2 100644 --- a/main/document/slideshowoptions.php +++ b/main/document/slideshowoptions.php @@ -47,7 +47,7 @@ $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname); // Because $nametools uses $_SERVER['PHP_SELF'] for the breadcrumbs instead of $_SERVER['REQUEST_URI'], I had to // bypass the $nametools thing and use tags in the $interbreadcrump array $url = 'slideshowoptions.php?curdirpath='.$pathurl; -$originaltoolname = ''.get_lang('_slideshow_options').''; +$originaltoolname = ''.get_lang('SlideshowOptions').''; $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname ); Display::display_header($originalToolName, 'Doc'); @@ -98,7 +98,7 @@ echo ''; ?>
- +
';

- : + :