http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55036

Revision: 55036
Author:   siebrand
Date:     2009-08-14 18:50:41 +0000 (Fri, 14 Aug 2009)

Log Message:
-----------
Follow-up on r55030 and r55031:
* move colons to messages instead of hard coded in the special page
* tweak messages

Modified Paths:
--------------
    trunk/extensions/ReplaceText/ReplaceText.i18n.php
    trunk/extensions/ReplaceText/SpecialReplaceText.php

Modified: trunk/extensions/ReplaceText/ReplaceText.i18n.php
===================================================================
--- trunk/extensions/ReplaceText/ReplaceText.i18n.php   2009-08-14 18:03:15 UTC 
(rev 55035)
+++ trunk/extensions/ReplaceText/ReplaceText.i18n.php   2009-08-14 18:50:41 UTC 
(rev 55036)
@@ -17,9 +17,9 @@
        'replacetext_docu' => 'To replace one text string with another across 
all regular pages on this wiki, enter the two pieces of text here and then hit 
\'Continue\'. You will then be shown a list of pages that contain the search 
text, and you can choose the ones in which you want to replace it. Your name 
will appear in page histories as the user responsible for any changes.',
        'replacetext_originaltext' => 'Original text:',
        'replacetext_replacementtext' => 'Replacement text:',
-       'replacetext_optionalfilters' => 'Optional filters',
-       'replacetext_categorysearch' => 'Search only in category',
-       'replacetext_prefixsearch' => 'Search only in pages with the prefix',
+       'replacetext_optionalfilters' => 'Optional filters:',
+       'replacetext_categorysearch' => 'Replace only in category:',
+       'replacetext_prefixsearch' => 'Replace only in pages with the prefix:',
        'replacetext_editpages' => 'Replace text in page contents',
        'replacetext_movepages' => 'Replace text in page titles, when possible',
        'replacetext_givetarget' => 'You must specify the string to be 
replaced.',

Modified: trunk/extensions/ReplaceText/SpecialReplaceText.php
===================================================================
--- trunk/extensions/ReplaceText/SpecialReplaceText.php 2009-08-14 18:03:15 UTC 
(rev 55035)
+++ trunk/extensions/ReplaceText/SpecialReplaceText.php 2009-08-14 18:50:41 UTC 
(rev 55036)
@@ -245,10 +245,10 @@
                $prefix_search_label = wfMsg('replacetext_prefixsearch');
                $wgOut->addHTML(
                        "<fieldset>\n" .
-                       "<p>$optional_filters_label:</p>\n" .
-                       "<p>$category_search_label:\n" .
+                       "<p>$optional_filters_label</p>\n" .
+                       "<p>$category_search_label\n" .
                        Xml::input( 'category', 20, $this->category ) . '</p>' .
-                       "<p>$prefix_search_label:\n" .
+                       "<p>$prefix_search_label\n" .
                        Xml::input( 'prefix', 20, $this->prefix ) . '</p>' .
                        "</fieldset>\n" .
                        Xml::checkLabel( wfMsg( 'replacetext_editpages' ), 
'edit_pages', 'edit_pages', true ) . '<br />' .



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to