http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95969
Revision: 95969
Author: siebrand
Date: 2011-09-01 12:17:27 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Fix incorrect button text on Special:BannerAllocation.
Update translator documentation for 'centralnotice-modify'.
Modified Paths:
--------------
trunk/extensions/CentralNotice/CentralNotice.i18n.php
trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
Modified: trunk/extensions/CentralNotice/CentralNotice.i18n.php
===================================================================
--- trunk/extensions/CentralNotice/CentralNotice.i18n.php 2011-09-01
12:11:39 UTC (rev 95968)
+++ trunk/extensions/CentralNotice/CentralNotice.i18n.php 2011-09-01
12:17:27 UTC (rev 95969)
@@ -24,6 +24,7 @@
'centralnotice-end-date' => 'End date',
'centralnotice-enabled' => 'Enabled',
'centralnotice-modify' => 'Submit',
+ 'centralnotice-view' => 'View',
'centralnotice-save-banner' => 'Save banner',
'centralnotice-preview' => 'Preview',
'centralnotice-nopreview' => '(Preview not available)',
@@ -204,11 +205,12 @@
'centralnotice-end-date' => '{{Identical|End date}}',
'centralnotice-enabled' => '{{Identical|Enabled}}',
'centralnotice-modify' => 'Submit button on:
-* "change translation language" dialog box on [[m:Special:NoticeTemplate]]
-* "view banner allocation" on [[m:Special:BannerAllocation]]
-* any others?
+* "change translation language" dialog box on [[m:Special:NoticeTemplate]].
+* "add campaign" form on [[m:Special:CentralNotice]] (only when sufficent
access rights).
{{Identical|Submit}}',
+ 'centralnotice-view' => 'Submit button on:
+* "view banner allocation" on [[m:Special:BannerAllocation]].',
'centralnotice-save-banner' => 'Label for the submit button which saves
a CentralNotice banner.',
'centralnotice-preview' => '{{Identical|Preview}}',
'centralnotice-nopreview' => '{{Identical|Nopreview}}',
Modified: trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
===================================================================
--- trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
2011-09-01 12:11:39 UTC (rev 95968)
+++ trunk/extensions/CentralNotice/special/SpecialBannerAllocation.php
2011-09-01 12:17:27 UTC (rev 95969)
@@ -117,7 +117,7 @@
$htmlOut .= Xml::tags( 'div',
array( 'class' => 'cn-buttons' ),
- Xml::submitButton( wfMsg( 'centralnotice-modify' ) )
+ Xml::submitButton( wfMsg( 'centralnotice-view' ) )
);
$htmlOut .= Html::closeElement( 'form' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs