Mwalker has uploaded a new change for review.

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


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/83/53283/1

diff --git a/CentralNotice.i18n.php b/CentralNotice.i18n.php
index 975dc37..0ed5482 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: newchange
Gerrit-Change-Id: Ia670131a2e8a3270a43934038de4c4f05162d1ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>

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

Reply via email to