aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-05-04 17:16:01 +0000
committerflop25 <flop25@piwigo.org>2014-05-04 17:16:01 +0000
commitfa08b7011f8bc84ca022ec7b25052cdd19804fa5 (patch)
treebb9f01ff9a35d5c22b81c2cbd015b98314446db0
parent99d9484a3cd5ec6a18215e6917d3ee729480c7de (diff)
Translate button Next/prev/end
git-svn-id: http://piwigo.org/svn/trunk@28347 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/TakeATour/language/en_UK/plugin.lang.php7
-rw-r--r--plugins/TakeATour/language/fr_FR/plugin.lang.php3
-rw-r--r--plugins/TakeATour/tours/first_contact/tour.tpl3
3 files changed, 10 insertions, 3 deletions
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 @@
<?php
-$lang['First Contact'] = 'First Contact';
$lang['Start the Tour'] = 'Start the Tour';
$lang['Visit your Piwigo!'] = 'Visit your Piwigo!';
$lang['Take a tour and discover the features of your Piwigo gallery » Go to the available tours'] = 'Take a tour and discover the features of your Piwigo gallery » Go to the available tours';
$lang['TAT_descrp'] = 'Welcome! Here are listed all the available tours to discover the features of your Piwigo gallery.<br>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 <em>Plugins » Take A Tour</em> 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 <em>Plugins » Take A Tour</em> will end the tour.<br>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: "<div class='popover'> <div class='arrow'></div> <h3 class='popover-title'></h3> <div class='popover-content'></div> <div class='popover-navigation'> <div class='btn-group'> <button class='btn btn-sm btn-default' data-role='prev'>&laquo; {/literal}{'Prev'|@translate|@escape:'javascript'}{literal}</button> <button class='btn btn-sm btn-default' data-role='next'>{/literal}{'Next '|@translate|@escape:'javascript'}{literal} &raquo;</button> </div> <button class='btn btn-sm btn-default' data-role='end'>{/literal}{'End tour'|@translate|@escape:'javascript'}{literal}</button> </div> </div>",
});
{/literal}{if $TAT_restart}tour.restart();{/if}{literal}