Adamw has submitted this change and it was merged.

Change subject: CN i18n - Fixed en message and added dependency
......................................................................


CN i18n - Fixed en message and added dependency

The multiselector patch introduced a case where PLURALs were required.
To use plurals however, we require an additional dependency.

Change-Id: Ia670131a2e8a3270a43934038de4c4f05162d1ba
---
M CentralNotice.i18n.php
M CentralNotice.php
2 files changed, 3 insertions(+), 2 deletions(-)

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



diff --git a/CentralNotice.i18n.php b/CentralNotice.i18n.php
index 975dc37..c47e551 100644
--- a/CentralNotice.i18n.php
+++ b/CentralNotice.i18n.php
@@ -79,7 +79,7 @@
        'centralnotice-project-lang' => 'Project language',
        'centralnotice-select-all' => 'Select all',
        'centralnotice-remove-all' => 'Remove all',
-       'centralnotice-items-selected' => '$1 items selected',
+       'centralnotice-items-selected' => '$1 {{PLURAL:$1|item|items}} 
selected',
        'centralnotice-project-name' => 'Project name',
        'centralnotice-start-date' => 'Start date',
        'centralnotice-start-time' => 'Start time (UTC)',
diff --git a/CentralNotice.php b/CentralNotice.php
index 79f33cc..8cdca57 100644
--- a/CentralNotice.php
+++ b/CentralNotice.php
@@ -50,7 +50,8 @@
                'jquery.ui.core',
                'jquery.ui.sortable',
                'jquery.ui.draggable',
-               'jquery.ui.droppable'
+               'jquery.ui.droppable',
+               'mediawiki.jqueryMsg'
        ),
        'scripts'       => 'jquery.ui.multiselect/ui.multiselect.js',
        'styles'        => 'jquery.ui.multiselect/ui.multiselect.css',

-- 
To view, visit https://gerrit.wikimedia.org/r/53283
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia670131a2e8a3270a43934038de4c4f05162d1ba
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to