From 928d6cf19b6a4cebee2293b9498e7272dc076a6a Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Wed, 15 Aug 2007 19:29:37 +0000 Subject: [PATCH] Updating language maintenance scripts --- languages/messages/MessagesEn.php | 11 ++++++----- maintenance/language/messageTypes.inc | 6 ++++-- maintenance/language/messages.inc | 14 ++++++++++---- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 495715816e..cd6b7d3828 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2432,16 +2432,17 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]] 'show-big-image' => 'Full resolution', 'show-big-image-thumb' => 'Size of this preview: $1 × $2 pixels', +# Special:Newimages 'newimages' => 'Gallery of new files', 'newimages-summary' => '', # only translate this message to other languages if you have to change it 'showhidebots' => '($1 bots)', 'noimages' => 'Nothing to see.', -'video-dims' => '$1, $2×$3', -# Used by Language::formatTimePeriod() to format lengths in the above messages -'seconds-abbrev' => 's', -'minutes-abbrev' => 'm', -'hours-abbrev' => 'h', +# Video information, used by Language::formatTimePeriod() to format lengths in the above messages +'video-dims' => '$1, $2×$3', # only translate this message to other languages if you have to change it +'seconds-abbrev' => 's', # only translate this message to other languages if you have to change it +'minutes-abbrev' => 'm', # only translate this message to other languages if you have to change it +'hours-abbrev' => 'h', # only translate this message to other languages if you have to change it # Bad image list 'bad_image_list' => 'The format is as follows: diff --git a/maintenance/language/messageTypes.inc b/maintenance/language/messageTypes.inc index c39f98bfb7..0c168e8116 100644 --- a/maintenance/language/messageTypes.inc +++ b/maintenance/language/messageTypes.inc @@ -195,6 +195,10 @@ $wgOptionalMessages = array( 'isbn', 'sp-contributions-explain', 'sorbs', + 'video-dims', + 'seconds-abbrev', + 'minutes-abbrev', + 'hours-abbrev', ); /** EXIF messages, which may be set as optional in several checks, but are generally mandatory */ @@ -417,5 +421,3 @@ $wgEXIFMessages = array( 'exif-gpsdirection-t', 'exif-gpsdirection-m', ); - -?> diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index d8189d30c4..aa50651006 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1691,10 +1691,11 @@ $wgMessageStructure = array( 'imagemaxsize', 'thumbsize', 'widthheight', + 'widthheightpage', 'file-info', 'file-info-size', 'file-nohires', - 'file-svg', + 'svg-long-desc', 'show-big-image', 'show-big-image-thumb', ), @@ -1704,6 +1705,12 @@ $wgMessageStructure = array( 'showhidebots', 'noimages', ), + 'video-info' => array( + 'video-dims', + 'seconds-abbrev', + 'minutes-abbrev', + 'hours-abbrev', + ), 'badimagelist' => array( 'bad_image_list', ), @@ -2284,7 +2291,8 @@ XHTML id names.", 'patrol-log' => 'Patrol log', 'imagedeletion' => 'Image deletion', 'browsediffs' => 'Browsing diffs', - 'newimages' => '', + 'newimages' => 'Special:Newimages', + 'video-info' => 'Video information, used by Language::formatTimePeriod() to format lengths in the above messages', 'badimagelist' => 'Bad image list', 'variantname-zh' => "Short names for language variants used for language conversion links. To disable showing a particular link, set it to 'disable', e.g. @@ -2375,5 +2383,3 @@ $wgMessagseWithDollarSigns = array( 'enotif_body', 'allmessagesnotsupportedDB', ); - -?> -- 2.20.1