Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2014-09-12 11:39:16 +0400
committersgiehl <stefan@piwik.org>2014-09-12 11:39:16 +0400
commit0e341bec140c3a2e7b37ef9633d6536e1d345424 (patch)
treea25cdf12ffcdde3f5375e27b07e0f739a2a0bff2
parent0eb6f899db0ea22ec1cf2fb8dc3d5fc78ea1950d (diff)
replace placeholders with empty string
-rw-r--r--plugins/ExampleRssWidget/Widgets.php2
-rw-r--r--plugins/MultiSites/angularjs/dashboard/dashboard.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ExampleRssWidget/Widgets.php b/plugins/ExampleRssWidget/Widgets.php
index ec2b55141a..5fc0667fa8 100644
--- a/plugins/ExampleRssWidget/Widgets.php
+++ b/plugins/ExampleRssWidget/Widgets.php
@@ -57,7 +57,7 @@ class Widgets extends \Piwik\Plugin\Widgets
private function error($e)
{
return '<div class="pk-emptyDataTable">'
- . Piwik::translate('General_ErrorRequest')
+ . Piwik::translate('General_ErrorRequest', array('', ''))
. ' - ' . $e->getMessage() . '</div>';
}
}
diff --git a/plugins/MultiSites/angularjs/dashboard/dashboard.html b/plugins/MultiSites/angularjs/dashboard/dashboard.html
index 72b93499d3..cf6546acaf 100644
--- a/plugins/MultiSites/angularjs/dashboard/dashboard.html
+++ b/plugins/MultiSites/angularjs/dashboard/dashboard.html
@@ -58,7 +58,7 @@
<tr ng-if="model.errorLoadingSites">
<td colspan="7">
<div class="notification system notification-error">
- {{ 'General_ErrorRequest'|translate }}
+ {{ 'General_ErrorRequest'|translate('', '') }}
</div>
</td>
</tr>