From f0bce798e0002baf2249947f0ba86a75e60bc636 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 20 Dec 2007 18:32:43 +0000 Subject: [PATCH] * (bug 12145) Mark 'tog-nolangconversion', 'yourvariant' as optional. Messages need only for multi-variant languages such kk, ku, sr, zh. Mark 'common.css', 'monobook.css', 'common.js', 'monobook.js' as optional. Not part of the visible UI. Patch by AlefZet --- languages/messages/MessagesEn.php | 12 ++++++------ maintenance/language/messageTypes.inc | 6 ++++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 660015c28f..dff8b62dcd 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -493,7 +493,7 @@ XHTML id names. 'tog-watchlisthideown' => 'Hide my edits from the watchlist', 'tog-watchlisthidebots' => 'Hide bot edits from the watchlist', 'tog-watchlisthideminor' => 'Hide minor edits from the watchlist', -'tog-nolangconversion' => 'Disable variants conversion', +'tog-nolangconversion' => 'Disable variants conversion', # only translate this message to other languages if you have to change it 'tog-ccmeonemails' => 'Send me copies of emails I send to other users', 'tog-diffonly' => "Don't show page content below diffs", @@ -843,7 +843,7 @@ Your account has been created. Don't forget to change your {{SITENAME}} preferen 'uid' => 'User ID:', 'yourrealname' => 'Real name:', 'yourlanguage' => 'Language:', -'yourvariant' => 'Variant', +'yourvariant' => 'Variant', # only translate this message to other languages if you have to change it 'yournick' => 'Nickname:', 'badsig' => 'Invalid raw signature; check HTML tags.', 'badsiglength' => 'Nickname too long; must be under $1 characters.', @@ -2434,12 +2434,12 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]] 'tooltip-upload' => 'Start upload', # Stylesheets -'common.css' => '/** CSS placed here will be applied to all skins */', -'monobook.css' => '/* CSS placed here will affect users of the Monobook skin */', +'common.css' => '/* CSS placed here will be applied to all skins */', # only translate this message to other languages if you have to change it +'monobook.css' => '/* CSS placed here will affect users of the Monobook skin */', # only translate this message to other languages if you have to change it # Scripts -'common.js' => '/* Any JavaScript here will be loaded for all users on every page load. */', -'monobook.js' => '/* Deprecated; use [[MediaWiki:common.js]] */', +'common.js' => '/* Any JavaScript here will be loaded for all users on every page load. */', # only translate this message to other languages if you have to change it +'monobook.js' => '/* Deprecated; use [[MediaWiki:common.js]] */', # only translate this message to other languages if you have to change it # Metadata 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.', diff --git a/maintenance/language/messageTypes.inc b/maintenance/language/messageTypes.inc index ac893c845a..d8f6612d34 100644 --- a/maintenance/language/messageTypes.inc +++ b/maintenance/language/messageTypes.inc @@ -159,6 +159,8 @@ $wgOptionalMessages = array( 'unusedtemplates-summary', 'fewestrevisions-summary', 'withoutinterwiki-summary', + 'tog-nolangconversion', + 'yourvariant', 'variantname-zh-hans', 'variantname-zh-hant', 'variantname-zh-cn', @@ -185,6 +187,10 @@ $wgOptionalMessages = array( 'resetpass_text', 'image_sample', 'media_sample', + 'common.css', + 'monobook.css', + 'common.js', + 'monobook.js', 'widthheight', 'exif-fnumber-format', 'exif-focallength-format', -- 2.20.1