diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-25 05:05:26 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-25 05:05:26 +0300 |
commit | 0b35cb0c5fd5d2db36836463c8b224e7f93967af (patch) | |
tree | a4ade884764b979bdab33d67c2963254028161c9 /plugins | |
parent | a8917239df8ef46312c5295f8a92070f87125f86 (diff) |
Make translation with only 3 placeholders
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Installation/Controller.php | 3 | ||||
-rw-r--r-- | plugins/Installation/lang/en.json | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php index b8f428341c..28650856d9 100644 --- a/plugins/Installation/Controller.php +++ b/plugins/Installation/Controller.php @@ -552,8 +552,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin \Piwik\Plugins\Login\Controller::clearSession(); $message = Piwik::translate('Installation_InvalidStateError', array('<br /><strong>', - '</strong>', - '<a href=\'' . Common::sanitizeInputValue(Url::getCurrentUrlWithoutFileName()) . '\'>', + '</strong><a href=\'' . Common::sanitizeInputValue(Url::getCurrentUrlWithoutFileName()) . '\'>', '</a>') ); Piwik::exitWithErrorMessage($message); diff --git a/plugins/Installation/lang/en.json b/plugins/Installation/lang/en.json index 992c5ff45f..d8e8b972d3 100644 --- a/plugins/Installation/lang/en.json +++ b/plugins/Installation/lang/en.json @@ -25,7 +25,7 @@ "InstallationStatus": "Installation status", "InsufficientPrivilegesHelp": "You can add these privileges by using a tool such as phpMyAdmin or by executing the right SQL queries. If you don't know how to do these things, please ask your sysadmin to grant these privileges for you.", "InsufficientPrivilegesMain": "Either the Database does not exist (and could not be created), or the specified User has insufficient privileges. Database user must have the following privileges: %s", - "InvalidStateError": "Error: Piwik is already installed. %1$s Go back %3$s to Piwik%4$s.", + "InvalidStateError": "Error: Piwik is already installed. %1$s Go back %2$s to Piwik%3$s.", "JsTagArchivingHelp1": "For medium and high traffic websites there are certain optimizations that should be made to help Piwik run faster (such as %1$ssetting up auto-archiving%2$s).", "JSTracking_EndNote": "Note: After the installation process, you can generate customized tracking code in the %1$sTracking Code%2$s admin section.", "JSTracking_Intro": "To track your web traffic with Piwik you need to make sure some extra code is added to each of your webpages.", |