From a401e8f2e08119259a50f0667ab4d2498e7cddc0 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 8 Sep 2009 15:28:33 +0000 Subject: [PATCH] Follow-up r56032: Tweak messages for more consistency and better i18n. Add new message keys to messages.inc --- languages/messages/MessagesEn.php | 22 +++++++++++----------- maintenance/language/messages.inc | 14 ++++++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 50bfe04a53..781a0b12d8 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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.', ); diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index 80136c0340..fd3f8aaa59 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -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', ); -- 2.20.1