No need to separate 'passwordtooshort' from other password related messages
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 1 Aug 2007 10:00:18 +0000 (10:00 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 1 Aug 2007 10:00:18 +0000 (10:00 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index e71ba85..4167a53 100644 (file)
@@ -847,6 +847,7 @@ Your account has been created. Don't forget to change your {{SITENAME}} preferen
 'nouserspecified'            => 'You have to specify a username.',
 'wrongpassword'              => 'Incorrect password entered. Please try again.',
 'wrongpasswordempty'         => 'Password entered was blank. Please try again.',
+'passwordtooshort'           => 'Your password is invalid or too short. It must have at least $1 characters and be different from your username.',
 'mailmypassword'             => 'E-mail password',
 'passwordremindertitle'      => 'Password reminder from {{SITENAME}}',
 'passwordremindertext'       => 'Someone (probably you, from IP address $1)
@@ -2450,8 +2451,6 @@ Variants for Chinese language
 'variantname-ku-latn' => 'ku-latn', # only translate this message to other languages if you have to change it
 'variantname-ku'      => 'ku', # only translate this message to other languages if you have to change it
 
-'passwordtooshort' => 'Your password is invalid or too short. It must have at least $1 characters and be different from your username.',
-
 # Metadata
 'metadata'          => 'Metadata',
 'metadata-help'     => 'This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified image.',
index a903f3a..e36553f 100644 (file)
@@ -376,6 +376,7 @@ $wgMessageStructure = array(
                'nouserspecified',
                'wrongpassword',
                'wrongpasswordempty',
+               'passwordtooshort',
                'mailmypassword',
                'passwordremindertitle',
                'passwordremindertext',
@@ -1720,9 +1721,6 @@ $wgMessageStructure = array(
                'variantname-ku-latn',
                'variantname-ku',
        ),
-       'passwordtooshort' => array(
-               'passwordtooshort',
-       ),
        'metadata' => array(
                'metadata',
                'metadata-help',
@@ -2297,7 +2295,6 @@ Variants for Chinese language",
        'variantname-sr'      => 'Variants for Serbian language',
        'variantname-kk'      => 'Variants for Kazakh language',
        'variantname-ku'      => 'Variants for Kurdish language',
-       'passwordtooshort'    => '',
        'media-info'          => 'Media information',
        'metadata'            => 'Metadata',
        'exif'                           => 'EXIF tags',