From fa08b7011f8bc84ca022ec7b25052cdd19804fa5 Mon Sep 17 00:00:00 2001 From: flop25 Date: Sun, 4 May 2014 17:16:01 +0000 Subject: Translate button Next/prev/end git-svn-id: http://piwigo.org/svn/trunk@28347 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/TakeATour/language/en_UK/plugin.lang.php | 7 +++++-- plugins/TakeATour/language/fr_FR/plugin.lang.php | 3 +++ plugins/TakeATour/tours/first_contact/tour.tpl | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/TakeATour/language/en_UK/plugin.lang.php b/plugins/TakeATour/language/en_UK/plugin.lang.php index 6ad05afcf..a26d55b8d 100644 --- a/plugins/TakeATour/language/en_UK/plugin.lang.php +++ b/plugins/TakeATour/language/en_UK/plugin.lang.php @@ -1,10 +1,13 @@ Launch a tour below, then follow the instructions. Click Next/Prev (or use the arrows of your keyboard) to navigate during a tour. During a tour, if you go to an other page of the administration, you will be redirected to the current page of the Tour. If you are stuck and can\'t end the tour, going to Plugins » Take A Tour will end the tour.'; $lang['takeatour_configpage'] = 'Take A Tour » List of Tours'; +$lang['Prev'] = 'Prev'; +$lang['Next '] = 'Next'; +$lang['End tour'] = 'End tour'; +$lang['First Contact'] = 'First Contact'; $lang['first_contact_descrp'] = 'Recommended for beginners, this tour introduce you Piwigo, its basic features. It will start by adding pictures, then manage them. The tour continues with album management and permissions, and ends on the customization using the configuration, the themes and the plugins.'; $lang['first_contact_title1'] = 'Welcome in your Piwigo gallery'; $lang['first_contact_stp1'] = 'Hello! I will be your guide to discover Piwigo. Please follow my instructions, and click Next (or use the arrows of your keyboard) to navigate. If you go to an other page of the administration, you will be redirected to the current page of the Tour. If you are stuck and can\'t end the tour, going to Plugins » Take A Tour will end the tour.
Let\'s start by adding pictures!'; @@ -25,7 +28,7 @@ $lang['first_contact_stp8'] = 'Let\'s edit them! Click on the link. If you don\' $lang['first_contact_title9'] = 'The Batch Manager'; $lang['first_contact_stp9'] = 'You are know in the Batch Manager, where you can batch edit multiple pictures. Here the Caddy is set as a filter because we comes from the upload result page.'; $lang['first_contact_title10'] = ''; -$lang['first_contact_stp10'] = 'Here is the link to directly access to your caddy: that/s a tool for administrators to easily add pictures to a set in order to edit them in the Batch Manager. You can add photos to the caddy from the public picture page when logged as an admin, or using the action \"Add to caddy\" on the Batch Manager'; +$lang['first_contact_stp10'] = 'Here is the link to directly access to your caddy: that/s a tool for administrators to easily add pictures to a set in order to edit them in the Batch Manager. You can add photos to the caddy from the public picture page when logged as an admin, or using the action "Add to caddy" on the Batch Manager'; $lang['first_contact_title11'] = 'How to edit a photos'; $lang['first_contact_stp11'] = 'So you can select from here one or more photos'; $lang['first_contact_title12'] = ''; diff --git a/plugins/TakeATour/language/fr_FR/plugin.lang.php b/plugins/TakeATour/language/fr_FR/plugin.lang.php index 34c232905..f229a7021 100644 --- a/plugins/TakeATour/language/fr_FR/plugin.lang.php +++ b/plugins/TakeATour/language/fr_FR/plugin.lang.php @@ -3,6 +3,9 @@ $lang['First Contact'] = 'Premier contact'; $lang['Start the Tour'] = 'Commencez la visite'; $lang['Visit your Piwigo!'] = 'Visiter votre Piwigo !'; $lang['Take a tour and discover the features of your Piwigo gallery » Go to the available tours'] = 'Découvrez les fonctionnalités de votre galerie Piwigo » Voir les visites interactives disponibles'; +$lang['Prev'] = 'Préc'; +$lang['Next '] = 'Suiv'; +$lang['End tour'] = 'Finir'; $lang['first_contact_title2'] = ''; $lang['first_contact_title5'] = ''; $lang['first_contact_title6'] = ''; diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl b/plugins/TakeATour/tours/first_contact/tour.tpl index d5d6799ee..6b9d2afb3 100644 --- a/plugins/TakeATour/tours/first_contact/tour.tpl +++ b/plugins/TakeATour/tours/first_contact/tour.tpl @@ -3,7 +3,8 @@ var tour = new Tour({ name: "first_contact", orphan: true, - onEnd: function (tour) {window.location = "admin.php?page=plugin-TakeATour&tour_ended=first_contact";}, + onEnd: function (tour) {window.location = "admin.php?page=plugin-TakeATour&tour_ended=first_contact"}, + template: "

", }); {/literal}{if $TAT_restart}tour.restart();{/if}{literal} -- cgit v1.2.3