Follow-up r56032: Tweak messages for more consistency and better i18n.
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 8 Sep 2009 15:28:33 +0000 (15:28 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 8 Sep 2009 15:28:33 +0000 (15:28 +0000)
Add new message keys to messages.inc

languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 50bfe04..781a0b1 100644 (file)
@@ -4194,18 +4194,18 @@ Enter the filename without the "{{ns:file}}:" prefix.',
 'htmlform-reset'               => 'Undo changes',
 'htmlform-selectorother-other' => 'Other',
 
-'ajax-add-category'                       => 'Add Category',
-'ajax-add-category-submit'        => 'Add',
-'ajax-confirm-title'              => 'Confirm Action',
-'ajax-confirm-prompt'             => 'Please confirm this action, and enter the reason for it in the
-box below. Once you are happy to submit it, click "Save". Note that repeatedly making false
-edits will result in your being blocked from Wikipedia.',
-'ajax-confirm-save'               => 'Save',
+# Add categories per AJAX
+'ajax-add-category'            => 'Add category',
+'ajax-add-category-submit'     => 'Add',
+'ajax-confirm-title'           => 'Confirm action',
+'ajax-confirm-prompt'          => 'You can provide an edit summary below.
+Click "{{int:ajax-confirm-save}}" to save your edit.',
+'ajax-confirm-save'            => 'Save',
 'ajax-add-category-summary'    => 'Add category "$1"',
 'ajax-remove-category-summary' => 'Remove category "$1"',
 'ajax-confirm-actionsummary'   => 'Action to take:',
-'ajax-error-title'                        => 'Error',
-'ajax-error-dismiss'              => 'OK',
-'ajax-remove-category-error'   => 'It was not possible to remove this category. This usually
-occurs when the category has been added to the page in a template.',
+'ajax-error-title'             => 'Error',
+'ajax-error-dismiss'           => 'OK',
+'ajax-remove-category-error'   => 'It was not possible to remove this category.
+This usually occurs when the category has been added to the page in a template.',
 );
index 80136c0..fd3f8aa 100644 (file)
@@ -3126,6 +3126,19 @@ $wgMessageStructure = array(
                'htmlform-reset',
                'htmlform-selectorother-other',
        ),
+       'ajax-category' => array(
+               'ajax-add-category',
+               'ajax-add-category-submit',
+               'ajax-confirm-title',
+               'ajax-confirm-prompt',
+               'ajax-confirm-save',
+               'ajax-add-category-summary',
+               'ajax-remove-category-summary',
+               'ajax-confirm-actionsummary',
+               'ajax-error-title',
+               'ajax-error-dismiss',
+               'ajax-remove-category-error',
+       ),
 );
 
 /** Comments for each block */
@@ -3333,4 +3346,5 @@ Variants for Chinese language",
        'special-tags'          => 'Special:Tags',
        'db-error-messages'     => 'Database error messages',
        'html-forms'            => 'HTML forms',
+       'ajax-category'         => 'Add categories per AJAX',
 );