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>2015-07-28 01:01:09 +0300
committersgiehl <stefan@piwik.org>2015-07-28 01:01:09 +0300
commit187133c16aa1c8e2b58a2db2f195f77760e87d1e (patch)
tree841de99f3a0d137c56c6a16ab3e2fde0a8607d14 /plugins
parent9e098814fb0088dbf94e50f7b326c0c9574e5909 (diff)
improve translation usage as the splitted wording used in english does not work in other languages
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ScheduledReports/lang/en.json3
-rw-r--r--plugins/ScheduledReports/templates/_addReport.twig4
2 files changed, 2 insertions, 5 deletions
diff --git a/plugins/ScheduledReports/lang/en.json b/plugins/ScheduledReports/lang/en.json
index 5cf0e083ac..b41b326798 100644
--- a/plugins/ScheduledReports/lang/en.json
+++ b/plugins/ScheduledReports/lang/en.json
@@ -21,14 +21,13 @@
"MonthlyScheduleHelp": "Monthly schedule: report will be sent the first day of each month.",
"MustBeLoggedIn": "You must be logged in to create and schedule custom reports.",
"NoRecipients": "This report has no recipients",
- "OClock": "o'clock",
"Pagination": "Page %s of %s",
"PiwikReports": "Piwik Reports",
"PleaseFindAttachedFile": "Please find in attached file your %1$s report for %2$s.",
"PleaseFindBelow": "Please find below your %1$s report for %2$s.",
"PluginDescription": "Create custom reports and schedule them to be emailed daily, weekly or monthly to one or several people. Several report formats are supported (html, pdf, csv, images).",
"ReportFormat": "Report Format",
- "ReportHour": "Send report at",
+ "ReportHour": "Send report at %s o'clock",
"ReportIncludeNWebsites": "The report will include main metrics for all websites that have at least one visit (from the %s websites currently available).",
"ReportSent": "Report sent",
"ReportsIncluded": "Statistics included",
diff --git a/plugins/ScheduledReports/templates/_addReport.twig b/plugins/ScheduledReports/templates/_addReport.twig
index c444108b60..24f97ad19f 100644
--- a/plugins/ScheduledReports/templates/_addReport.twig
+++ b/plugins/ScheduledReports/templates/_addReport.twig
@@ -59,9 +59,7 @@
<br/>
{{ 'ScheduledReports_MonthlyScheduleHelp'|translate }}
<br/>
- {{ 'ScheduledReports_ReportHour'|translate }}
- <input type="text" id="report_hour" class="inp" size="2">
- {{ 'ScheduledReports_OClock'|translate }}
+ {{ 'ScheduledReports_ReportHour'|translate('<input type="text" id="report_hour" class="inp" size="2">')|raw }}
</div>
</td>
</tr>