diff options
-rw-r--r-- | plugins/Intl/Commands/GenerateIntl.php | 2 | ||||
-rw-r--r-- | plugins/VisitorInterest/API.php | 2 | ||||
-rw-r--r-- | plugins/VisitorInterest/lang/en.json | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Intl/Commands/GenerateIntl.php b/plugins/Intl/Commands/GenerateIntl.php index 5e34b4f7f9..7a8a3dd3f3 100644 --- a/plugins/Intl/Commands/GenerateIntl.php +++ b/plugins/Intl/Commands/GenerateIntl.php @@ -321,6 +321,8 @@ class GenerateIntl extends ConsoleCommand $translations['Intl']['OneMinuteShort'] = $this->replacePlaceHolder($unitsData['short']['duration-minute']['unitPattern-count-other'], '1'); } + $translations['Intl']['NMinutesShort'] = $this->replacePlaceHolder($unitsData['short']['duration-minute']['unitPattern-count-other']); + $translations['Intl']['Minutes'] = $unitsData['long']['duration-minute']['displayName']; $translations['Intl']['Hours'] = $unitsData['long']['duration-hour']['displayName']; diff --git a/plugins/VisitorInterest/API.php b/plugins/VisitorInterest/API.php index 6567d96c3e..ec2d75b283 100644 --- a/plugins/VisitorInterest/API.php +++ b/plugins/VisitorInterest/API.php @@ -37,7 +37,7 @@ class API extends \Piwik\Plugin\API $dataTable->queueFilter('BeautifyTimeRangeLabels', array( Piwik::translate('VisitorInterest_BetweenXYSeconds'), Piwik::translate('Intl_OneMinuteShort'), - Piwik::translate('VisitorInterest_PlusXMin'))); + Piwik::translate('Intl_NMinutesShort'))); return $dataTable; } diff --git a/plugins/VisitorInterest/lang/en.json b/plugins/VisitorInterest/lang/en.json index dd7fe1441d..010761125f 100644 --- a/plugins/VisitorInterest/lang/en.json +++ b/plugins/VisitorInterest/lang/en.json @@ -8,7 +8,6 @@ "NPages": "%s pages", "OnePage": "1 page", "PluginDescription": "Reports about visitors interest: number of pages viewed, time spent on the Website, days since last visit, and more.", - "PlusXMin": "%s min", "VisitNum": "Visit number", "VisitsByDaysSinceLast": "Visits by days since last visit", "visitsByVisitCount": "Visits by Visit Number", |