[MediaWiki-commits] [Gerrit] Fix some message use in stats - change (mediawiki...ContentTranslation)

2015-09-27 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Fix some message use in stats
..


Fix some message use in stats

* Removed unused cx-stats-unknown
* Removed unused cx-stats-monthly-publised
* Removed unused cx-trend-translations-to-title
* Removed unused cx-trend-published-translations-title
* Sorted messages entry in extension.json for ext.cx.stats
* Use cx-stats-draft-translations-title for title instead of
  -label, as labels are reserved for labels.
* Removed word "total" from cx-stats-all-translations-title

Change-Id: I41c4ee52d7afb7e70a3fe7e9f64c5274cb5bc545
---
M extension.json
M i18n/en.json
M i18n/qqq.json
M modules/stats/ext.cx.stats.js
4 files changed, 18 insertions(+), 29 deletions(-)

Approvals:
  KartikMistry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index 2971959..f8799b1 100644
--- a/extension.json
+++ b/extension.json
@@ -861,31 +861,28 @@
],
"messages": [
"cx-stats-all-translations-title",
+   "cx-stats-cumulative-tab-title",
+   "cx-stats-draft-source-target",
+   "cx-stats-draft-target-source",
+   "cx-stats-draft-translations-label",
+   "cx-stats-draft-translations-title",
+   "cx-stats-grouping-title",
+   "cx-stats-local-published",
+   "cx-stats-local-published-number",
+   "cx-stats-new-draft-translations-label",
+   "cx-stats-published-source-target",
+   "cx-stats-published-target-source",
"cx-stats-published-translations-label",
"cx-stats-published-translations-title",
-   "cx-stats-draft-translations-title",
-   "cx-stats-draft-translations-label",
-   "cx-stats-new-draft-translations-label",
"cx-stats-published-translators-title",
-   "cx-trend-deletions",
-   "cx-trend-translations-to",
-   "cx-stats-try-contenttranslation",
-   "cx-stats-published-target-source",
-   "cx-stats-published-source-target",
-   "cx-stats-draft-target-source",
-   "cx-stats-draft-source-target",
"cx-stats-tabs-expand",
"cx-stats-total-published",
-   "cx-stats-monthly-published",
+   "cx-stats-try-contenttranslation",
"cx-stats-weekly-published",
-   "cx-stats-local-published-number",
-   "cx-stats-local-published",
-   "cx-stats-grouping-title",
-   "cx-trend-published-translations-title",
-   "cx-trend-translations-to-title",
-   "percent",
-   "cx-stats-cumulative-tab-title",
-   "cx-stats-weekly-trend-tab-title"
+   "cx-stats-weekly-trend-tab-title",
+   "cx-trend-deletions",
+   "cx-trend-translations-to",
+   "percent"
]
},
"chart.js": {
diff --git a/i18n/en.json b/i18n/en.json
index 3cf1a1b..4b85208 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -79,7 +79,6 @@
"cx-tools-mt-dont-use": "Don't use machine translation",
"cx-tools-categories-count-message": "{{PLURAL:$1|$1 category|$1 
categories|0=No categories}}",
"cx-stats-title": "Content Translation statistics",
-   "cx-stats-unknown": "unknown",
"cx-tools-reference-title": "Reference",
"cx-tools-reference-add": "Add reference",
"cx-tools-reference-remove": "Remove reference",
@@ -161,7 +160,7 @@
"cx-trend-deletions": "Deleted translations",
"cx-trend-translations-to": "Translations to $1",
"cx-stats-try-contenttranslation": "Content Translation is a tool to 
create new pages by translating from other languages. [$1 Try Content 
Translation]",
-   "cx-stats-all-translations-title": "Total translations to all 
languages",
+   "cx-stats-all-translations-title": "Translations to all languages",
"cx-stats-published-translations-label": "Published translations",
"cx-stats-published-target-source": "Translations 

[MediaWiki-commits] [Gerrit] Fix some message use in stats - change (mediawiki...ContentTranslation)

2015-09-25 Thread Nikerabbit (Code Review)
Nikerabbit has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/241012

Change subject: Fix some message use in stats
..

Fix some message use in stats

* Removed unused cx-stats-unknown
* Removed unused cx-stats-monthly-publised
* Removed unused cx-trend-translations-to-title
* Removed unused cx-trend-published-translations-title
* Sorted messages entry in extension.json for ext.cx.stats
* Use cx-stats-draft-translations-title for title instead of
  -label, as labels are reserved for labels.
* Removed word "total" from cx-stats-all-translations-title
Change-Id: I41c4ee52d7afb7e70a3fe7e9f64c5274cb5bc545
---
M extension.json
M i18n/en.json
M modules/stats/ext.cx.stats.js
3 files changed, 18 insertions(+), 25 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/12/241012/1

diff --git a/extension.json b/extension.json
index 2971959..f8799b1 100644
--- a/extension.json
+++ b/extension.json
@@ -861,31 +861,28 @@
],
"messages": [
"cx-stats-all-translations-title",
+   "cx-stats-cumulative-tab-title",
+   "cx-stats-draft-source-target",
+   "cx-stats-draft-target-source",
+   "cx-stats-draft-translations-label",
+   "cx-stats-draft-translations-title",
+   "cx-stats-grouping-title",
+   "cx-stats-local-published",
+   "cx-stats-local-published-number",
+   "cx-stats-new-draft-translations-label",
+   "cx-stats-published-source-target",
+   "cx-stats-published-target-source",
"cx-stats-published-translations-label",
"cx-stats-published-translations-title",
-   "cx-stats-draft-translations-title",
-   "cx-stats-draft-translations-label",
-   "cx-stats-new-draft-translations-label",
"cx-stats-published-translators-title",
-   "cx-trend-deletions",
-   "cx-trend-translations-to",
-   "cx-stats-try-contenttranslation",
-   "cx-stats-published-target-source",
-   "cx-stats-published-source-target",
-   "cx-stats-draft-target-source",
-   "cx-stats-draft-source-target",
"cx-stats-tabs-expand",
"cx-stats-total-published",
-   "cx-stats-monthly-published",
+   "cx-stats-try-contenttranslation",
"cx-stats-weekly-published",
-   "cx-stats-local-published-number",
-   "cx-stats-local-published",
-   "cx-stats-grouping-title",
-   "cx-trend-published-translations-title",
-   "cx-trend-translations-to-title",
-   "percent",
-   "cx-stats-cumulative-tab-title",
-   "cx-stats-weekly-trend-tab-title"
+   "cx-stats-weekly-trend-tab-title",
+   "cx-trend-deletions",
+   "cx-trend-translations-to",
+   "percent"
]
},
"chart.js": {
diff --git a/i18n/en.json b/i18n/en.json
index 3cf1a1b..4b85208 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -79,7 +79,6 @@
"cx-tools-mt-dont-use": "Don't use machine translation",
"cx-tools-categories-count-message": "{{PLURAL:$1|$1 category|$1 
categories|0=No categories}}",
"cx-stats-title": "Content Translation statistics",
-   "cx-stats-unknown": "unknown",
"cx-tools-reference-title": "Reference",
"cx-tools-reference-add": "Add reference",
"cx-tools-reference-remove": "Remove reference",
@@ -161,7 +160,7 @@
"cx-trend-deletions": "Deleted translations",
"cx-trend-translations-to": "Translations to $1",
"cx-stats-try-contenttranslation": "Content Translation is a tool to 
create new pages by translating from other languages. [$1 Try Content 
Translation]",
-   "cx-stats-all-translations-title": "Total translations to all 
languages",
+   "cx-stats-all-translations-title": "Translations to all languages",
"cx-stats-published-translations-label": "Published translations",
"cx