aboutsummaryrefslogtreecommitdiffstats
path: root/upgrade.php
diff options
context:
space:
mode:
authorjeremydurand <jeremydurand24@hotmail.fr>2016-06-06 16:39:29 +0200
committerPierrick Le Gall <plg@piwigo.org>2016-06-06 16:39:29 +0200
commit6c342689d9e226d1c09c8fa1fd99d8f8c4944497 (patch)
treea832122b48d6ec178a3183ae25ecc2495d3ae68c /upgrade.php
parent43ecfbf60a8eba6886c3915774c68665fd4258b6 (diff)
fixes #429 upgrade message (#495)
fixes #429 link to Take a Tour with core string
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/upgrade.php b/upgrade.php
index 11b745b6d..6d7c12638 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -466,22 +466,12 @@ REPLACE INTO '.PLUGINS_TABLE.'
if (file_exists(PHPWG_PLUGINS_PATH .'TakeATour/tours/'.$version_.'/config.inc.php'))
{
- load_language(
- 'plugin.lang',
- PHPWG_PLUGINS_PATH.'TakeATour/',
- array(
- 'language' => $language,
- 'force_fallback'=>'en_UK',
- )
- );
-
// we need the secret key for get_pwg_token()
load_conf_from_db();
$template->assign(
array(
- // TODO find a better way to do that, with a core string in English
- 'button_label' => str_replace('2.7', get_branch_from_version(PHPWG_VERSION), l10n('2_7_0_descrp')),
+ 'button_label' => l10n('Discover what\'s new in Piwigo %s', get_branch_from_version(PHPWG_VERSION)),
'button_link' => 'admin.php?submited_tour_path=tours/'.$version_.'&amp;pwg_token='.get_pwg_token(),
)
);