Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -140,14 +140,14 @@ |
141 | 141 | if ( $method == 'addNotice' ) { |
142 | 142 | $noticeName = $wgRequest->getVal( 'noticeName' ); |
143 | 143 | $start = $wgRequest->getArray( 'start' ); |
144 | | - $project_name = $wgRequest->getVal( 'project_name' ); |
| 144 | + $projects = $wgRequest->getArray( 'projects' ); |
145 | 145 | $project_languages = $wgRequest->getArray( 'project_languages' ); |
146 | 146 | $geotargeted = $wgRequest->getCheck( 'geotargeted' ); |
147 | 147 | $geo_countries = $wgRequest->getArray( 'geo_countries' ); |
148 | 148 | if ( $noticeName == '' ) { |
149 | 149 | $this->showError( 'centralnotice-null-string' ); |
150 | 150 | } else { |
151 | | - $this->addNotice( $noticeName, '0', $start, $project_name, |
| 151 | + $this->addNotice( $noticeName, '0', $start, $projects, |
152 | 152 | $project_languages, $geotargeted, $geo_countries ); |
153 | 153 | } |
154 | 154 | } |
— | — | @@ -304,7 +304,6 @@ |
305 | 305 | 'not_end', |
306 | 306 | 'not_enabled', |
307 | 307 | 'not_preferred', |
308 | | - 'not_project', |
309 | 308 | 'not_locked' |
310 | 309 | ), |
311 | 310 | null, |
— | — | @@ -359,15 +358,23 @@ |
360 | 359 | htmlspecialchars( $row->not_name ), |
361 | 360 | 'method=listNoticeDetail¬ice=' . urlencode( $row->not_name ) ); |
362 | 361 | |
363 | | - // Project |
364 | | - $fields[] = htmlspecialchars( $this->getProjectName( $row->not_project ) ); |
| 362 | + // Projects |
| 363 | + $projects = $this->getNoticeProjects( $row->not_name ); |
| 364 | + $project_count = count( $projects ); |
| 365 | + $projectList = ''; |
| 366 | + if ( $language_count > 2 ) { |
| 367 | + $projectList = wfMsg ( 'centralnotice-multiple', $project_count ); |
| 368 | + } elseif ( $project_count > 0 ) { |
| 369 | + $projectList = $wgLang->commaList( $projects ); |
| 370 | + } |
| 371 | + $fields[] = $projectList; |
365 | 372 | |
366 | 373 | // Languages |
367 | 374 | $project_langs = $this->getNoticeLanguages( $row->not_name ); |
368 | 375 | $language_count = count( $project_langs ); |
369 | 376 | $languageList = ''; |
370 | 377 | if ( $language_count > 3 ) { |
371 | | - $languageList = wfMsg ( 'centralnotice-multiple_languages', $language_count ); |
| 378 | + $languageList = wfMsg ( 'centralnotice-multiple', $language_count ); |
372 | 379 | } elseif ( $language_count > 0 ) { |
373 | 380 | $languageList = $wgLang->commaList( $project_langs ); |
374 | 381 | } |
— | — | @@ -654,10 +661,10 @@ |
655 | 662 | } |
656 | 663 | } |
657 | 664 | |
658 | | - // Handle new project name |
659 | | - $projectName = $wgRequest->getVal( 'project_name' ); |
660 | | - if ( $projectName !== null ) { |
661 | | - $this->updateProjectName ( $notice, $projectName ); |
| 665 | + // Handle new projects |
| 666 | + $projects = $wgRequest->getArray( 'projects' ); |
| 667 | + if ( $projects ) { |
| 668 | + $this->updateProjects( $notice, $projects ); |
662 | 669 | } |
663 | 670 | |
664 | 671 | // Handle new project languages |
— | — | @@ -1122,12 +1129,15 @@ |
1123 | 1130 | return $templates; |
1124 | 1131 | } |
1125 | 1132 | |
1126 | | - function addNotice( $noticeName, $enabled, $start, $project_name, |
| 1133 | + function addNotice( $noticeName, $enabled, $start, $projects, |
1127 | 1134 | $project_languages, $geotargeted, $geo_countries ) |
1128 | 1135 | { |
1129 | 1136 | if ( $this->noticeExists( $noticeName ) ) { |
1130 | 1137 | $this->showError( 'centralnotice-notice-exists' ); |
1131 | 1138 | return; |
| 1139 | + } elseif ( empty( $projects ) ) { |
| 1140 | + $this->showError( 'centralnotice-no-project' ); |
| 1141 | + return; |
1132 | 1142 | } elseif ( empty( $project_languages ) ) { |
1133 | 1143 | $this->showError( 'centralnotice-no-language' ); |
1134 | 1144 | return; |
— | — | @@ -1160,12 +1170,19 @@ |
1161 | 1171 | 'not_enabled' => $enabled, |
1162 | 1172 | 'not_start' => $dbw->timestamp( $startTs ), |
1163 | 1173 | 'not_end' => $dbw->timestamp( $endTs ), |
1164 | | - 'not_project' => $project_name, |
1165 | 1174 | 'not_geo' => $geotargeted |
1166 | 1175 | ) |
1167 | 1176 | ); |
1168 | 1177 | $not_id = $dbw->insertId(); |
1169 | 1178 | |
| 1179 | + // Do multi-row insert for campaign projects |
| 1180 | + $insertArray = array(); |
| 1181 | + foreach( $projects as $project ) { |
| 1182 | + $insertArray[] = array( 'np_notice_id' => $not_id, 'np_project' => $project ); |
| 1183 | + } |
| 1184 | + $res = $dbw->insert( 'cn_notice_projects', $insertArray, |
| 1185 | + __METHOD__, array( 'IGNORE' ) ); |
| 1186 | + |
1170 | 1187 | // Do multi-row insert for campaign languages |
1171 | 1188 | $insertArray = array(); |
1172 | 1189 | foreach( $project_languages as $code ) { |
— | — | @@ -1568,6 +1585,35 @@ |
1569 | 1586 | ) |
1570 | 1587 | ); |
1571 | 1588 | } |
| 1589 | + |
| 1590 | + function updateProjects( $notice, $newProjects ) { |
| 1591 | + $dbw = wfGetDB( DB_MASTER ); |
| 1592 | + $dbw->begin(); |
| 1593 | + |
| 1594 | + // Get the previously assigned projects |
| 1595 | + $oldProjects = $this->getNoticeProjects( $notice ); |
| 1596 | + |
| 1597 | + // Get the notice id |
| 1598 | + $row = $dbw->selectRow( 'cn_notices', 'not_id', array( 'not_name' => $notice ) ); |
| 1599 | + |
| 1600 | + // Add newly assigned projects |
| 1601 | + $addProjects = array_diff( $newProjects, $oldProjects ); |
| 1602 | + $insertArray = array(); |
| 1603 | + foreach( $addProjects as $project ) { |
| 1604 | + $insertArray[] = array( 'np_notice_id' => $row->not_id, 'np_project' => $project ); |
| 1605 | + } |
| 1606 | + $res = $dbw->insert( 'cn_notice_projects', $insertArray, __METHOD__, array( 'IGNORE' ) ); |
| 1607 | + |
| 1608 | + // Remove disassociated projects |
| 1609 | + $removeProjects = array_diff( $oldProjects, $newProjects ); |
| 1610 | + if ( $removeProjects ) { |
| 1611 | + $res = $dbw->delete( 'cn_notice_projects', |
| 1612 | + array( 'np_notice_id' => $row->not_id, 'np_project' => $removeProjects ) |
| 1613 | + ); |
| 1614 | + } |
| 1615 | + |
| 1616 | + $dbw->commit(); |
| 1617 | + } |
1572 | 1618 | |
1573 | 1619 | function updateProjectLanguages( $notice, $newLanguages ) { |
1574 | 1620 | $dbw = wfGetDB( DB_MASTER ); |
Index: trunk/extensions/CentralNotice/CentralNotice.i18n.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | 'centralnotice-add-template' => 'Add a banner', |
36 | 36 | 'centralnotice-show-notices' => 'Show campaigns', |
37 | 37 | 'centralnotice-list-templates' => 'List banners', |
38 | | - 'centralnotice-multiple_languages' => 'multiple ($1)', |
| 38 | + 'centralnotice-multiple' => 'multiple ($1)', |
39 | 39 | 'centralnotice-language-listing' => '$1 - $2', |
40 | 40 | 'centralnotice-translations' => 'Translations', |
41 | 41 | 'centralnotice-translate-to' => 'Translate to', |
— | — | @@ -52,6 +52,7 @@ |
53 | 53 | 'centralnotice-notice-exists' => 'Campaign already exists. |
54 | 54 | Not adding.', |
55 | 55 | 'centralnotice-no-language' => 'No language was selected for the campaign. Not adding.', |
| 56 | + 'centralnotice-no-project' => 'No project was selected for the campaign. Not adding.', |
56 | 57 | 'centralnotice-template-exists' => 'Banner already exists. |
57 | 58 | Not adding.', |
58 | 59 | 'centralnotice-notice-doesnt-exist' => 'Campaign does not exist.', |
— | — | @@ -169,7 +170,7 @@ |
170 | 171 | 'centralnotice-remove' => '{{Identical|Remove}}', |
171 | 172 | 'centralnotice-translate-heading' => 'Fieldset label. $1 is a name of a template.', |
172 | 173 | 'centralnotice-add' => '{{Identical|Add}}', |
173 | | - 'centralnotice-multiple_languages' => '$1 is a number. More precisely, the number of languages a notice is available in. It is always greater than 3.', |
| 174 | + 'centralnotice-multiple' => '$1 is a number. More precisely, the number of languages or projects a notice is available in. It is always greater than 2.', |
174 | 175 | 'centralnotice-language-listing' => 'A language listing for the language multi-select box. First parameter is the language code. Second parameter is the name of the language.', |
175 | 176 | 'centralnotice-translate' => '{{Identical|Translate}}', |
176 | 177 | 'centralnotice-notice-exists' => 'Error message displayed in Special:CentralNotice when trying to add a notice with the same name of another notice', |
— | — | @@ -228,7 +229,7 @@ |
229 | 230 | 'centralnotice-add-template' => 'Voeg sjabloon by', |
230 | 231 | 'centralnotice-show-notices' => 'Wys kennisgewings', |
231 | 232 | 'centralnotice-list-templates' => 'Lys sjablone', |
232 | | - 'centralnotice-multiple_languages' => 'verskeie ($1)', |
| 233 | + 'centralnotice-multiple' => 'verskeie ($1)', |
233 | 234 | 'centralnotice-translations' => 'Vertalings', |
234 | 235 | 'centralnotice-translate-to' => 'Vertaal na', |
235 | 236 | 'centralnotice-translate' => 'Vertaal', |
— | — | @@ -634,7 +635,7 @@ |
635 | 636 | 'centralnotice-add-template' => 'Ҡалып өҫтәргә', |
636 | 637 | 'centralnotice-show-notices' => 'Белдереүҙәрҙе күрһәтергә', |
637 | 638 | 'centralnotice-list-templates' => 'Ҡалыптар исемлеге', |
638 | | - 'centralnotice-multiple_languages' => 'бер нисә ($1)', |
| 639 | + 'centralnotice-multiple' => 'бер нисә ($1)', |
639 | 640 | 'centralnotice-translations' => 'Тәржемәләр', |
640 | 641 | 'centralnotice-translate-to' => 'Тәржемә:', |
641 | 642 | 'centralnotice-translate' => 'Тәржемә', |
— | — | @@ -808,7 +809,7 @@ |
809 | 810 | 'centralnotice-add-template' => 'Дадаць паведамленьне', |
810 | 811 | 'centralnotice-show-notices' => 'Паказаць кампаніі', |
811 | 812 | 'centralnotice-list-templates' => 'Сьпіс паведамленьняў', |
812 | | - 'centralnotice-multiple_languages' => 'некалькі ($1)', |
| 813 | + 'centralnotice-multiple' => 'некалькі ($1)', |
813 | 814 | 'centralnotice-translations' => 'Пераклады', |
814 | 815 | 'centralnotice-translate-to' => 'Пераклад на', |
815 | 816 | 'centralnotice-translate' => 'Пераклад', |
— | — | @@ -1118,7 +1119,7 @@ |
1119 | 1120 | 'centralnotice-add-template' => 'Ouzhpennañ ur patrom', |
1120 | 1121 | 'centralnotice-show-notices' => 'Diskouez ar menegoù', |
1121 | 1122 | 'centralnotice-list-templates' => 'Rollañ ar patromoù', |
1122 | | - 'centralnotice-multiple_languages' => 'lies ($1)', |
| 1123 | + 'centralnotice-multiple' => 'lies ($1)', |
1123 | 1124 | 'centralnotice-translations' => 'Troidigezhioù', |
1124 | 1125 | 'centralnotice-translate-to' => 'Treiñ e', |
1125 | 1126 | 'centralnotice-translate' => 'Treiñ', |
— | — | @@ -1251,7 +1252,7 @@ |
1252 | 1253 | 'centralnotice-add-template' => 'Dodaj šablon', |
1253 | 1254 | 'centralnotice-show-notices' => 'Prikaži obavještenja', |
1254 | 1255 | 'centralnotice-list-templates' => 'Spisak šablona', |
1255 | | - 'centralnotice-multiple_languages' => 'više ($1)', |
| 1256 | + 'centralnotice-multiple' => 'više ($1)', |
1256 | 1257 | 'centralnotice-translations' => 'Prijevodi', |
1257 | 1258 | 'centralnotice-translate-to' => 'Prevedi na', |
1258 | 1259 | 'centralnotice-translate' => 'Prijevod', |
— | — | @@ -1494,7 +1495,7 @@ |
1495 | 1496 | 'centralnotice-add-template' => 'Přidat šablonu', |
1496 | 1497 | 'centralnotice-show-notices' => 'Zobrazit oznámení', |
1497 | 1498 | 'centralnotice-list-templates' => 'Seznam šablon', |
1498 | | - 'centralnotice-multiple_languages' => 'více ($1)', |
| 1499 | + 'centralnotice-multiple' => 'více ($1)', |
1499 | 1500 | 'centralnotice-translations' => 'Překlady', |
1500 | 1501 | 'centralnotice-translate-to' => 'Přeložit do jazyka', |
1501 | 1502 | 'centralnotice-translate' => 'Přeložit', |
— | — | @@ -1719,7 +1720,7 @@ |
1720 | 1721 | 'centralnotice-add-template' => 'Hinzufügen einer Vorlage', |
1721 | 1722 | 'centralnotice-show-notices' => 'Zeige Meldungen', |
1722 | 1723 | 'centralnotice-list-templates' => 'Vorlagen auflisten', |
1723 | | - 'centralnotice-multiple_languages' => 'mehrere ($1)', |
| 1724 | + 'centralnotice-multiple' => 'mehrere ($1)', |
1724 | 1725 | 'centralnotice-translations' => 'Übersetzungen', |
1725 | 1726 | 'centralnotice-translate-to' => 'Übersetzen in', |
1726 | 1727 | 'centralnotice-translate' => 'Übersetzen', |
— | — | @@ -1951,7 +1952,7 @@ |
1952 | 1953 | 'centralnotice-add-template' => 'Pśedłogu pśidaś', |
1953 | 1954 | 'centralnotice-show-notices' => 'Powěźeńki pokazaś', |
1954 | 1955 | 'centralnotice-list-templates' => 'Pśedłogi nalistowaś', |
1955 | | - 'centralnotice-multiple_languages' => 'někotare ($1)', |
| 1956 | + 'centralnotice-multiple' => 'někotare ($1)', |
1956 | 1957 | 'centralnotice-translations' => 'Pśełožki', |
1957 | 1958 | 'centralnotice-translate-to' => 'Pśełoźiś do', |
1958 | 1959 | 'centralnotice-translate' => 'Pśełožiś', |
— | — | @@ -2174,7 +2175,7 @@ |
2175 | 2176 | 'centralnotice-add-template' => 'Aldoni ŝablonon', |
2176 | 2177 | 'centralnotice-show-notices' => 'Montri noticojn', |
2177 | 2178 | 'centralnotice-list-templates' => 'Rigardi ŝablonojn', |
2178 | | - 'centralnotice-multiple_languages' => 'multlingve ($1)', |
| 2179 | + 'centralnotice-multiple' => 'multlingve ($1)', |
2179 | 2180 | 'centralnotice-translations' => 'Tradukoj', |
2180 | 2181 | 'centralnotice-translate-to' => 'Traduki al', |
2181 | 2182 | 'centralnotice-translate' => 'Traduki', |
— | — | @@ -2317,7 +2318,7 @@ |
2318 | 2319 | 'centralnotice-add-template' => 'Añadir una plantilla', |
2319 | 2320 | 'centralnotice-show-notices' => 'Mostrar avisos', |
2320 | 2321 | 'centralnotice-list-templates' => 'Listar plantillas', |
2321 | | - 'centralnotice-multiple_languages' => 'múltiples ($1)', |
| 2322 | + 'centralnotice-multiple' => 'múltiples ($1)', |
2322 | 2323 | 'centralnotice-translations' => 'Traducciones', |
2323 | 2324 | 'centralnotice-translate-to' => 'Traducir al', |
2324 | 2325 | 'centralnotice-translate' => 'Traducir', |
— | — | @@ -2634,7 +2635,7 @@ |
2635 | 2636 | 'centralnotice-add-template' => 'اضافه کردن الگو', |
2636 | 2637 | 'centralnotice-show-notices' => 'نمایش اعلانها', |
2637 | 2638 | 'centralnotice-list-templates' => 'فهرست الگوها', |
2638 | | - 'centralnotice-multiple_languages' => 'چندگانه ($1)', |
| 2639 | + 'centralnotice-multiple' => 'چندگانه ($1)', |
2639 | 2640 | 'centralnotice-translations' => 'ترجمهها', |
2640 | 2641 | 'centralnotice-translate-to' => 'ترجمه به', |
2641 | 2642 | 'centralnotice-translate' => 'ترجمه کردن', |
— | — | @@ -2771,7 +2772,7 @@ |
2772 | 2773 | 'centralnotice-add-template' => 'Lisää malline', |
2773 | 2774 | 'centralnotice-show-notices' => 'Näytä tiedotteet', |
2774 | 2775 | 'centralnotice-list-templates' => 'Luettele mallineet', |
2775 | | - 'centralnotice-multiple_languages' => 'useita ($1)', |
| 2776 | + 'centralnotice-multiple' => 'useita ($1)', |
2776 | 2777 | 'centralnotice-translations' => 'Käännökset', |
2777 | 2778 | 'centralnotice-translate-to' => 'Käännös:', |
2778 | 2779 | 'centralnotice-translate' => 'Käännä', |
— | — | @@ -2914,7 +2915,7 @@ |
2915 | 2916 | 'centralnotice-add-template' => 'Ajouter un modèle', |
2916 | 2917 | 'centralnotice-show-notices' => 'Afficher les avis', |
2917 | 2918 | 'centralnotice-list-templates' => 'Lister les modèles', |
2918 | | - 'centralnotice-multiple_languages' => 'multiple ($1)', |
| 2919 | + 'centralnotice-multiple' => 'multiple ($1)', |
2919 | 2920 | 'centralnotice-translations' => 'Traductions', |
2920 | 2921 | 'centralnotice-translate-to' => 'Traduire en', |
2921 | 2922 | 'centralnotice-translate' => 'Traduire', |
— | — | @@ -3047,7 +3048,7 @@ |
3048 | 3049 | 'centralnotice-add-template' => 'Apondre una baniére', |
3049 | 3050 | 'centralnotice-show-notices' => 'Fâre vêre les propagandes', |
3050 | 3051 | 'centralnotice-list-templates' => 'Listar les baniéres', |
3051 | | - 'centralnotice-multiple_languages' => 'un mouél ($1)', |
| 3052 | + 'centralnotice-multiple' => 'un mouél ($1)', |
3052 | 3053 | 'centralnotice-translations' => 'Traduccions', |
3053 | 3054 | 'centralnotice-translate-to' => 'Traduire en', |
3054 | 3055 | 'centralnotice-translate' => 'Traduire', |
— | — | @@ -3185,7 +3186,7 @@ |
3186 | 3187 | 'centralnotice-add-template' => 'Engadir un modelo', |
3187 | 3188 | 'centralnotice-show-notices' => 'Amosar os avisos', |
3188 | 3189 | 'centralnotice-list-templates' => 'Listar os modelos', |
3189 | | - 'centralnotice-multiple_languages' => 'múltiple ($1)', |
| 3190 | + 'centralnotice-multiple' => 'múltiple ($1)', |
3190 | 3191 | 'centralnotice-translations' => 'Traducións', |
3191 | 3192 | 'centralnotice-translate-to' => 'Traducir ao', |
3192 | 3193 | 'centralnotice-translate' => 'Traducir', |
— | — | @@ -3343,7 +3344,7 @@ |
3344 | 3345 | 'centralnotice-add-template' => 'Zuefiege vun ere Vorlag', |
3345 | 3346 | 'centralnotice-show-notices' => 'Zeig Mäldige', |
3346 | 3347 | 'centralnotice-list-templates' => 'Vorlage uflischte', |
3347 | | - 'centralnotice-multiple_languages' => 'mehreri ($1)', |
| 3348 | + 'centralnotice-multiple' => 'mehreri ($1)', |
3348 | 3349 | 'centralnotice-translations' => 'Ibersetzige', |
3349 | 3350 | 'centralnotice-translate-to' => 'Ibersetze in', |
3350 | 3351 | 'centralnotice-translate' => 'Ibersetze', |
— | — | @@ -3477,7 +3478,7 @@ |
3478 | 3479 | 'centralnotice-add-template' => 'הוספת תבנית', |
3479 | 3480 | 'centralnotice-show-notices' => 'הצגת הודעות', |
3480 | 3481 | 'centralnotice-list-templates' => 'רשימת תבניות', |
3481 | | - 'centralnotice-multiple_languages' => 'מרובים ($1)', |
| 3482 | + 'centralnotice-multiple' => 'מרובים ($1)', |
3482 | 3483 | 'centralnotice-translations' => 'תרגומים', |
3483 | 3484 | 'centralnotice-translate-to' => 'תרגום ל', |
3484 | 3485 | 'centralnotice-translate' => 'תרגום', |
— | — | @@ -3620,7 +3621,7 @@ |
3621 | 3622 | 'centralnotice-add-template' => 'Dodaj predložak', |
3622 | 3623 | 'centralnotice-show-notices' => 'Pokaži obavijesti', |
3623 | 3624 | 'centralnotice-list-templates' => 'Popis predložaka', |
3624 | | - 'centralnotice-multiple_languages' => 'više ($1)', |
| 3625 | + 'centralnotice-multiple' => 'više ($1)', |
3625 | 3626 | 'centralnotice-translations' => 'Prijevodi', |
3626 | 3627 | 'centralnotice-translate-to' => 'Prevedi na', |
3627 | 3628 | 'centralnotice-translate' => 'Prevedi', |
— | — | @@ -3753,7 +3754,7 @@ |
3754 | 3755 | 'centralnotice-add-template' => 'Předłohu přidać', |
3755 | 3756 | 'centralnotice-show-notices' => 'Zdźělenki pokazać', |
3756 | 3757 | 'centralnotice-list-templates' => 'Předłohi nalistować', |
3757 | | - 'centralnotice-multiple_languages' => 'wjacore ($1)', |
| 3758 | + 'centralnotice-multiple' => 'wjacore ($1)', |
3758 | 3759 | 'centralnotice-translations' => 'Přełožki', |
3759 | 3760 | 'centralnotice-translate-to' => 'Přełožić do', |
3760 | 3761 | 'centralnotice-translate' => 'Přełožić', |
— | — | @@ -3888,7 +3889,7 @@ |
3889 | 3890 | 'centralnotice-add-template' => 'Sablon hozzáadása', |
3890 | 3891 | 'centralnotice-show-notices' => 'Üzenetek megjelenítése', |
3891 | 3892 | 'centralnotice-list-templates' => 'Sablonok listázása', |
3892 | | - 'centralnotice-multiple_languages' => 'több ($1)', |
| 3893 | + 'centralnotice-multiple' => 'több ($1)', |
3893 | 3894 | 'centralnotice-translations' => 'Fordítások', |
3894 | 3895 | 'centralnotice-translate-to' => 'Lefordítás', |
3895 | 3896 | 'centralnotice-translate' => 'Lefordítás', |
— | — | @@ -4021,7 +4022,7 @@ |
4022 | 4023 | 'centralnotice-add-template' => 'Adder un bandiera', |
4023 | 4024 | 'centralnotice-show-notices' => 'Monstrar campanias', |
4024 | 4025 | 'centralnotice-list-templates' => 'Listar bandieras', |
4025 | | - 'centralnotice-multiple_languages' => 'multiple ($1)', |
| 4026 | + 'centralnotice-multiple' => 'multiple ($1)', |
4026 | 4027 | 'centralnotice-translations' => 'Traductiones', |
4027 | 4028 | 'centralnotice-translate-to' => 'Traducer in', |
4028 | 4029 | 'centralnotice-translate' => 'Traducer', |
— | — | @@ -4158,7 +4159,7 @@ |
4159 | 4160 | 'centralnotice-add-template' => 'Tambah templat', |
4160 | 4161 | 'centralnotice-show-notices' => 'Tampilkan pengumuman', |
4161 | 4162 | 'centralnotice-list-templates' => 'Daftar templat', |
4162 | | - 'centralnotice-multiple_languages' => 'ganda ($1)', |
| 4163 | + 'centralnotice-multiple' => 'ganda ($1)', |
4163 | 4164 | 'centralnotice-translations' => 'Terjemahan', |
4164 | 4165 | 'centralnotice-translate-to' => 'Terjemahkan ke', |
4165 | 4166 | 'centralnotice-translate' => 'Terjemahkan', |
— | — | @@ -4461,7 +4462,7 @@ |
4462 | 4463 | 'centralnotice-add-template' => 'テンプレートを追加', |
4463 | 4464 | 'centralnotice-show-notices' => '告知を表示', |
4464 | 4465 | 'centralnotice-list-templates' => 'テンプレートを一覧表示', |
4465 | | - 'centralnotice-multiple_languages' => '複数($1)', |
| 4466 | + 'centralnotice-multiple' => '複数($1)', |
4466 | 4467 | 'centralnotice-translations' => '翻訳', |
4467 | 4468 | 'centralnotice-translate-to' => '翻訳先', |
4468 | 4469 | 'centralnotice-translate' => '翻訳', |
— | — | @@ -4800,7 +4801,7 @@ |
4801 | 4802 | 'centralnotice-add-template' => '틀을 추가하기', |
4802 | 4803 | 'centralnotice-show-notices' => '공지 표시하기', |
4803 | 4804 | 'centralnotice-list-templates' => '템플릿 목록 표시하기', |
4804 | | - 'centralnotice-multiple_languages' => '다수 ($1)', |
| 4805 | + 'centralnotice-multiple' => '다수 ($1)', |
4805 | 4806 | 'centralnotice-translations' => '번역', |
4806 | 4807 | 'centralnotice-translate-to' => '번역할 언어', |
4807 | 4808 | 'centralnotice-translate' => '번역하기', |
— | — | @@ -4889,7 +4890,7 @@ |
4890 | 4891 | 'centralnotice-add-template' => 'En Schabloon dobei donn', |
4891 | 4892 | 'centralnotice-show-notices' => 'Zentrale Nohreschte zeije', |
4892 | 4893 | 'centralnotice-list-templates' => 'Schablone opleßte', |
4893 | | - 'centralnotice-multiple_languages' => 'etlijje ($1)', |
| 4894 | + 'centralnotice-multiple' => 'etlijje ($1)', |
4894 | 4895 | 'centralnotice-translations' => 'Övversäzonge', |
4895 | 4896 | 'centralnotice-translate-to' => 'Övversäze noh', |
4896 | 4897 | 'centralnotice-translate' => 'Övversäze', |
— | — | @@ -5001,7 +5002,7 @@ |
5002 | 5003 | 'centralnotice-add-template' => 'E Banner derbäisetzen', |
5003 | 5004 | 'centralnotice-show-notices' => 'Matdeelunge weisen', |
5004 | 5005 | 'centralnotice-list-templates' => 'Lëscht vun de Banneren', |
5005 | | - 'centralnotice-multiple_languages' => 'méi ($1)', |
| 5006 | + 'centralnotice-multiple' => 'méi ($1)', |
5006 | 5007 | 'centralnotice-translations' => 'Iwwersetzungen', |
5007 | 5008 | 'centralnotice-translate-to' => 'Iwwersetzen op', |
5008 | 5009 | 'centralnotice-translate' => 'Iwwersetzen', |
— | — | @@ -5145,7 +5146,7 @@ |
5146 | 5147 | 'centralnotice-add-template' => 'Sjabloon biedoon', |
5147 | 5148 | 'centralnotice-show-notices' => 'Sitemitdeilinge waergaeve', |
5148 | 5149 | 'centralnotice-list-templates' => 'Sjablone waergaeve', |
5149 | | - 'centralnotice-multiple_languages' => 'meerdere ($1)', |
| 5150 | + 'centralnotice-multiple' => 'meerdere ($1)', |
5150 | 5151 | 'centralnotice-translations' => 'Euverzèttinge', |
5151 | 5152 | 'centralnotice-translate-to' => 'Euverzètte nao', |
5152 | 5153 | 'centralnotice-translate' => 'Euverzètte', |
— | — | @@ -5428,7 +5429,7 @@ |
5429 | 5430 | 'centralnotice-add-template' => 'Додај шаблон', |
5430 | 5431 | 'centralnotice-show-notices' => 'Прикажи известувања', |
5431 | 5432 | 'centralnotice-list-templates' => 'Наведи шаблони', |
5432 | | - 'centralnotice-multiple_languages' => 'повеќе ($1)', |
| 5433 | + 'centralnotice-multiple' => 'повеќе ($1)', |
5433 | 5434 | 'centralnotice-translations' => 'Преводи', |
5434 | 5435 | 'centralnotice-translate-to' => 'Преведи на', |
5435 | 5436 | 'centralnotice-translate' => 'Преведи', |
— | — | @@ -5561,7 +5562,7 @@ |
5562 | 5563 | 'centralnotice-add-template' => 'ഫലകം കൂട്ടിച്ചേർക്കുക', |
5563 | 5564 | 'centralnotice-show-notices' => 'അറിയിപ്പുകൾ പ്രദർശിപ്പിക്കുക', |
5564 | 5565 | 'centralnotice-list-templates' => 'ഫലകങ്ങൾ പട്ടികവത്കരിക്കുക', |
5565 | | - 'centralnotice-multiple_languages' => 'നിരവധി ($1)', |
| 5566 | + 'centralnotice-multiple' => 'നിരവധി ($1)', |
5566 | 5567 | 'centralnotice-translations' => 'തർജ്ജമകൾ', |
5567 | 5568 | 'centralnotice-translate-to' => 'ഇതിലേയ്ക്ക് തർജ്ജമ ചെയ്യുക', |
5568 | 5569 | 'centralnotice-translate' => 'തർജ്ജമ ചെയ്യുക', |
— | — | @@ -5957,7 +5958,7 @@ |
5958 | 5959 | 'centralnotice-add-template' => 'Sjabloon toevoegen', |
5959 | 5960 | 'centralnotice-show-notices' => 'Sitenotices weergeven', |
5960 | 5961 | 'centralnotice-list-templates' => 'Sjablonen weergeven', |
5961 | | - 'centralnotice-multiple_languages' => 'meerdere ($1)', |
| 5962 | + 'centralnotice-multiple' => 'meerdere ($1)', |
5962 | 5963 | 'centralnotice-translations' => 'Vertalingen', |
5963 | 5964 | 'centralnotice-translate-to' => 'Vertalen naar', |
5964 | 5965 | 'centralnotice-translate' => 'Vertalen', |
— | — | @@ -6178,7 +6179,7 @@ |
6179 | 6180 | 'centralnotice-add-template' => 'Legg til en mal', |
6180 | 6181 | 'centralnotice-show-notices' => 'Vis meldinger', |
6181 | 6182 | 'centralnotice-list-templates' => 'Vis maler', |
6182 | | - 'centralnotice-multiple_languages' => 'flere ($1)', |
| 6183 | + 'centralnotice-multiple' => 'flere ($1)', |
6183 | 6184 | 'centralnotice-translations' => 'Oversettelser', |
6184 | 6185 | 'centralnotice-translate-to' => 'Oversett til', |
6185 | 6186 | 'centralnotice-translate' => 'Oversett', |
— | — | @@ -6432,7 +6433,7 @@ |
6433 | 6434 | 'centralnotice-add-template' => 'Dodaj szablon', |
6434 | 6435 | 'centralnotice-show-notices' => 'Pokaż komunikaty', |
6435 | 6436 | 'centralnotice-list-templates' => 'Lista szablonów', |
6436 | | - 'centralnotice-multiple_languages' => 'wiele ($1)', |
| 6437 | + 'centralnotice-multiple' => 'wiele ($1)', |
6437 | 6438 | 'centralnotice-translations' => 'Tłumaczenia', |
6438 | 6439 | 'centralnotice-translate-to' => 'Przetłumacz na', |
6439 | 6440 | 'centralnotice-translate' => 'Przetłumacz', |
— | — | @@ -6559,7 +6560,7 @@ |
6560 | 6561 | 'centralnotice-add-template' => 'Gionta në stamp', |
6561 | 6562 | 'centralnotice-show-notices' => 'Mostra neuva', |
6562 | 6563 | 'centralnotice-list-templates' => 'Lista stamp', |
6563 | | - 'centralnotice-multiple_languages' => 'mùltipl ($1)', |
| 6564 | + 'centralnotice-multiple' => 'mùltipl ($1)', |
6564 | 6565 | 'centralnotice-translations' => 'Tradussion', |
6565 | 6566 | 'centralnotice-translate-to' => 'Volté an', |
6566 | 6567 | 'centralnotice-translate' => 'Volté', |
— | — | @@ -6742,7 +6743,7 @@ |
6743 | 6744 | 'centralnotice-add-template' => 'Adicionar um modelo', |
6744 | 6745 | 'centralnotice-show-notices' => 'Mostrar avisos', |
6745 | 6746 | 'centralnotice-list-templates' => 'Listar modelos', |
6746 | | - 'centralnotice-multiple_languages' => 'múltiplas ($1)', |
| 6747 | + 'centralnotice-multiple' => 'múltiplas ($1)', |
6747 | 6748 | 'centralnotice-translations' => 'Traduções', |
6748 | 6749 | 'centralnotice-translate-to' => 'Traduzir para', |
6749 | 6750 | 'centralnotice-translate' => 'Traduzir', |
— | — | @@ -6877,7 +6878,7 @@ |
6878 | 6879 | 'centralnotice-add-template' => 'Adicionar um modelo', |
6879 | 6880 | 'centralnotice-show-notices' => 'Mostrar avisos', |
6880 | 6881 | 'centralnotice-list-templates' => 'Listar modelos', |
6881 | | - 'centralnotice-multiple_languages' => 'múltiplas ($1)', |
| 6882 | + 'centralnotice-multiple' => 'múltiplas ($1)', |
6882 | 6883 | 'centralnotice-translations' => 'Traduções', |
6883 | 6884 | 'centralnotice-translate-to' => 'Traduzir para', |
6884 | 6885 | 'centralnotice-translate' => 'Traduzir', |
— | — | @@ -7010,7 +7011,7 @@ |
7011 | 7012 | 'centralnotice-add-template' => 'Plantillata yapay', |
7012 | 7013 | 'centralnotice-show-notices' => 'Willaykunata rikuchiy', |
7013 | 7014 | 'centralnotice-list-templates' => 'Plantillakunata sutisuyupi rikuchiy', |
7014 | | - 'centralnotice-multiple_languages' => 'imaymana ($1)', |
| 7015 | + 'centralnotice-multiple' => 'imaymana ($1)', |
7015 | 7016 | 'centralnotice-translations' => "T'ikrasqakuna", |
7016 | 7017 | 'centralnotice-translate-to' => "Kayman t'ikray:", |
7017 | 7018 | 'centralnotice-translate' => "T'ikray", |
— | — | @@ -7138,7 +7139,7 @@ |
7139 | 7140 | 'centralnotice-add-template' => 'Adaugă un format', |
7140 | 7141 | 'centralnotice-show-notices' => 'Arată anunțurile', |
7141 | 7142 | 'centralnotice-list-templates' => 'Lista de formate', |
7142 | | - 'centralnotice-multiple_languages' => 'multiple ($1)', |
| 7143 | + 'centralnotice-multiple' => 'multiple ($1)', |
7143 | 7144 | 'centralnotice-translations' => 'Traduceri', |
7144 | 7145 | 'centralnotice-translate-to' => 'Tradu în', |
7145 | 7146 | 'centralnotice-translate' => 'Tradu', |
— | — | @@ -7265,7 +7266,7 @@ |
7266 | 7267 | 'centralnotice-add-template' => "Aggiunge 'nu banner", |
7267 | 7268 | 'centralnotice-show-notices' => 'Visualizze le cambagne', |
7268 | 7269 | 'centralnotice-list-templates' => 'Liste de le banner', |
7269 | | - 'centralnotice-multiple_languages' => 'multiple ($1)', |
| 7270 | + 'centralnotice-multiple' => 'multiple ($1)', |
7270 | 7271 | 'centralnotice-translations' => 'Traduziune', |
7271 | 7272 | 'centralnotice-translate-to' => 'Traduce a', |
7272 | 7273 | 'centralnotice-translate' => 'Traduce', |
— | — | @@ -7400,7 +7401,7 @@ |
7401 | 7402 | 'centralnotice-add-template' => 'Добавить шаблон', |
7402 | 7403 | 'centralnotice-show-notices' => 'Показать уведомления', |
7403 | 7404 | 'centralnotice-list-templates' => 'Вывести список шаблонов', |
7404 | | - 'centralnotice-multiple_languages' => 'несколько ($1)', |
| 7405 | + 'centralnotice-multiple' => 'несколько ($1)', |
7405 | 7406 | 'centralnotice-translations' => 'Переводы', |
7406 | 7407 | 'centralnotice-translate-to' => 'Перевод на', |
7407 | 7408 | 'centralnotice-translate' => 'Перевод', |
— | — | @@ -7533,7 +7534,7 @@ |
7534 | 7535 | 'centralnotice-add-template' => 'Додати шаблону', |
7535 | 7536 | 'centralnotice-show-notices' => 'Указати повідомлїня', |
7536 | 7537 | 'centralnotice-list-templates' => 'Cписок шаблон', |
7537 | | - 'centralnotice-multiple_languages' => 'веце ($1)', |
| 7538 | + 'centralnotice-multiple' => 'веце ($1)', |
7538 | 7539 | 'centralnotice-translations' => 'Переклады', |
7539 | 7540 | 'centralnotice-translate-to' => 'Переклад до', |
7540 | 7541 | 'centralnotice-translate' => 'Переложыти', |
— | — | @@ -7661,7 +7662,7 @@ |
7662 | 7663 | 'centralnotice-add-template' => 'Халыып эбэргэ', |
7663 | 7664 | 'centralnotice-show-notices' => 'Биллэриилэри көрдөр', |
7664 | 7665 | 'centralnotice-list-templates' => 'Халыыптар тиһиктэрэ', |
7665 | | - 'centralnotice-multiple_languages' => 'хас да ($1)', |
| 7666 | + 'centralnotice-multiple' => 'хас да ($1)', |
7666 | 7667 | 'centralnotice-translations' => 'Тылбаастар', |
7667 | 7668 | 'centralnotice-translate-to' => 'Манна тылбаас', |
7668 | 7669 | 'centralnotice-translate' => 'Тылбаас', |
— | — | @@ -7887,7 +7888,7 @@ |
7888 | 7889 | 'centralnotice-add-template' => 'Pridať šablónu', |
7889 | 7890 | 'centralnotice-show-notices' => 'Zobraziť oznamy', |
7890 | 7891 | 'centralnotice-list-templates' => 'Zoznam šablón', |
7891 | | - 'centralnotice-multiple_languages' => 'viaceré ($1)', |
| 7892 | + 'centralnotice-multiple' => 'viaceré ($1)', |
7892 | 7893 | 'centralnotice-translations' => 'Preklady', |
7893 | 7894 | 'centralnotice-translate-to' => 'Preložiť do jazyka', |
7894 | 7895 | 'centralnotice-translate' => 'Preložiť', |
— | — | @@ -8009,7 +8010,7 @@ |
8010 | 8011 | 'centralnotice-add-template' => 'Dodaj pasico', |
8011 | 8012 | 'centralnotice-show-notices' => 'Prikaži akcije', |
8012 | 8013 | 'centralnotice-list-templates' => 'Seznam pasic', |
8013 | | - 'centralnotice-multiple_languages' => 'več ($1)', |
| 8014 | + 'centralnotice-multiple' => 'več ($1)', |
8014 | 8015 | 'centralnotice-translations' => 'Prevodi', |
8015 | 8016 | 'centralnotice-translate-to' => 'Prevedi v', |
8016 | 8017 | 'centralnotice-translate' => 'Prevedi', |
— | — | @@ -8385,7 +8386,7 @@ |
8386 | 8387 | 'centralnotice-add-template' => 'Lägg till en mall', |
8387 | 8388 | 'centralnotice-show-notices' => 'Visa meddelanden', |
8388 | 8389 | 'centralnotice-list-templates' => 'Lista mallar', |
8389 | | - 'centralnotice-multiple_languages' => 'flera ($1)', |
| 8390 | + 'centralnotice-multiple' => 'flera ($1)', |
8390 | 8391 | 'centralnotice-translations' => 'Översättningar', |
8391 | 8392 | 'centralnotice-translate-to' => 'Översätt till', |
8392 | 8393 | 'centralnotice-translate' => 'Översätt', |
— | — | @@ -8517,7 +8518,7 @@ |
8518 | 8519 | 'centralnotice-preview' => 'முன்தோற்றம்', |
8519 | 8520 | 'centralnotice-remove' => 'நீக்கு', |
8520 | 8521 | 'centralnotice-add' => 'சேர்க்கவும்', |
8521 | | - 'centralnotice-multiple_languages' => 'ஒன்றுக்கு மேற்பட்ட ($1)', |
| 8522 | + 'centralnotice-multiple' => 'ஒன்றுக்கு மேற்பட்ட ($1)', |
8522 | 8523 | 'centralnotice-translations' => 'மொழிபெயர்ப்புக்கள்', |
8523 | 8524 | 'centralnotice-translate-to' => 'மொழிபெயர்ப்பு செய்யவும்', |
8524 | 8525 | 'centralnotice-translate' => 'மொழிபெயர்ப்பு செய்யவும்', |
— | — | @@ -8574,7 +8575,7 @@ |
8575 | 8576 | 'centralnotice-add-template' => 'ఒక మూసని చేర్చు', |
8576 | 8577 | 'centralnotice-show-notices' => 'ప్రచారోద్యమాలని చూపించు', |
8577 | 8578 | 'centralnotice-list-templates' => 'మూసలను చూపించు', |
8578 | | - 'centralnotice-multiple_languages' => 'బహుళం ($1)', |
| 8579 | + 'centralnotice-multiple' => 'బహుళం ($1)', |
8579 | 8580 | 'centralnotice-translations' => 'అనువాదాలు', |
8580 | 8581 | 'centralnotice-translate' => 'అనువదించండి', |
8581 | 8582 | 'centralnotice-english' => 'ఇంగ్లీష్', |
— | — | @@ -8960,7 +8961,7 @@ |
8961 | 8962 | 'centralnotice-add-template' => 'Şablon goş', |
8962 | 8963 | 'centralnotice-show-notices' => 'Uwedomleniýeleri görkez', |
8963 | 8964 | 'centralnotice-list-templates' => 'Şablonlaryň sanawyny görkez', |
8964 | | - 'centralnotice-multiple_languages' => 'köpsanly ($1)', |
| 8965 | + 'centralnotice-multiple' => 'köpsanly ($1)', |
8965 | 8966 | 'centralnotice-translations' => 'Terjimeler', |
8966 | 8967 | 'centralnotice-translate-to' => 'Şu dile terjime et:', |
8967 | 8968 | 'centralnotice-translate' => 'Terjime et', |
— | — | @@ -9088,7 +9089,7 @@ |
9089 | 9090 | 'centralnotice-add-template' => 'Magdagdag ng isang suleras', |
9090 | 9091 | 'centralnotice-show-notices' => 'Ipagkita ang mga pabatid', |
9091 | 9092 | 'centralnotice-list-templates' => 'Itala ang mga suleras', |
9092 | | - 'centralnotice-multiple_languages' => 'maramihan ($1)', |
| 9093 | + 'centralnotice-multiple' => 'maramihan ($1)', |
9093 | 9094 | 'centralnotice-translations' => 'Mga salinwika', |
9094 | 9095 | 'centralnotice-translate-to' => 'Isalinwika patungong', |
9095 | 9096 | 'centralnotice-translate' => 'Isalinwika', |
— | — | @@ -9422,7 +9423,7 @@ |
9423 | 9424 | 'centralnotice-add-template' => 'Додати шаблон', |
9424 | 9425 | 'centralnotice-show-notices' => 'Показати повідомлення', |
9425 | 9426 | 'centralnotice-list-templates' => 'Cписок шаблонів', |
9426 | | - 'centralnotice-multiple_languages' => 'декілька ($1)', |
| 9427 | + 'centralnotice-multiple' => 'декілька ($1)', |
9427 | 9428 | 'centralnotice-translations' => 'Переклади', |
9428 | 9429 | 'centralnotice-translate-to' => 'Переклад на', |
9429 | 9430 | 'centralnotice-translate' => 'Переклад', |
— | — | @@ -9556,7 +9557,7 @@ |
9557 | 9558 | 'centralnotice-add-template' => 'Zonta un modèl', |
9558 | 9559 | 'centralnotice-show-notices' => 'Mostra notifiche', |
9559 | 9560 | 'centralnotice-list-templates' => 'Elenca i modèi', |
9560 | | - 'centralnotice-multiple_languages' => 'multipli ($1)', |
| 9561 | + 'centralnotice-multiple' => 'multipli ($1)', |
9561 | 9562 | 'centralnotice-translations' => 'Tradussioni', |
9562 | 9563 | 'centralnotice-translate-to' => 'Tradusi con', |
9563 | 9564 | 'centralnotice-translate' => 'Tradusi', |
— | — | @@ -9688,7 +9689,7 @@ |
9689 | 9690 | 'centralnotice-add-template' => 'Thêm bảng', |
9690 | 9691 | 'centralnotice-show-notices' => 'Xem các thông báo', |
9691 | 9692 | 'centralnotice-list-templates' => 'Liệt kê các bảng', |
9692 | | - 'centralnotice-multiple_languages' => 'đa ngữ ($1)', |
| 9693 | + 'centralnotice-multiple' => 'đa ngữ ($1)', |
9693 | 9694 | 'centralnotice-translations' => 'Bản dịch', |
9694 | 9695 | 'centralnotice-translate-to' => 'Dịch ra', |
9695 | 9696 | 'centralnotice-translate' => 'Biên dịch', |
— | — | @@ -9936,7 +9937,7 @@ |
9937 | 9938 | 'centralnotice-add-template' => '添加一个模板', |
9938 | 9939 | 'centralnotice-show-notices' => '显示通告', |
9939 | 9940 | 'centralnotice-list-templates' => '列出模板', |
9940 | | - 'centralnotice-multiple_languages' => '较多($1)', |
| 9941 | + 'centralnotice-multiple' => '较多($1)', |
9941 | 9942 | 'centralnotice-translations' => '翻译', |
9942 | 9943 | 'centralnotice-translate-to' => '翻译到', |
9943 | 9944 | 'centralnotice-translate' => '翻译', |