Kghbln has submitted this change and it was merged.

Change subject: Consistency tweaks in preparation for adding to 
translatewiki.net
......................................................................


Consistency tweaks in preparation for adding to translatewiki.net

* Change message key prefix to extesion name

Bug: T118607
Change-Id: I6efd437aabdea0bcd4e9805bc8039c843051ea42
---
M MinimumNameLength.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Kghbln: Verified; Looks good to me, approved



diff --git a/MinimumNameLength.php b/MinimumNameLength.php
index dce1687..1d160e1 100644
--- a/MinimumNameLength.php
+++ b/MinimumNameLength.php
@@ -31,7 +31,7 @@
                'Karsten Hoffmeyer',
                '...'
                ),
-       'descriptionmsg' => 'minnamelength-desc',
+       'descriptionmsg' => 'minimumnamelength-desc',
        'url' => 'https://www.mediawiki.org/wiki/Extension:Minimum_Name_Length',
 );
 
@@ -58,7 +58,7 @@
 
        if( mb_strlen( $user->getName() ) < $wgMinimumUsernameLength ) {
 
-               $error = wfMessage( 'minnamelength-error', 
$wgMinimumUsernameLength )->plain();
+               $error = wfMessage( 'minimumnamelength-error', 
$wgMinimumUsernameLength )->plain();
                return false;
        }
 
diff --git a/i18n/en.json b/i18n/en.json
index b26f85e..5d8652d 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -5,6 +5,6 @@
                        "Kghbln"
                ]
        },
-       "minnamelength-desc": "Allows to enforce a minimum username length",
-       "minnamelength-error": "Your username is too short. The minimum 
required length is $1."
+       "minimumnamelength-desc": "Allows to enforce a minimum username length",
+       "minimumnamelength-error": "Your username is too short. The minimum 
required length is $1."
 }
diff --git a/i18n/qqq.json b/i18n/qqq.json
index a2b1b90..898feb5 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -6,6 +6,6 @@
                        "The Evil IP address"
                ]
        },
-       "minnamelength-desc": "{{desc|name=Minimum Name 
Length|url=https://www.mediawiki.org/wiki/Extension:Minimum_Name_Length}}";,
-       "minnamelength-error": "This is an error message./n/n* $1 holds a 
static number from a configruation setting"
+       "minimumnamelength-desc": "{{desc|name=Minimum Name 
Length|url=https://www.mediawiki.org/wiki/Extension:Minimum_Name_Length}}";,
+       "minimumnamelength-error": "This is an error message./n/n* $1 holds a 
static number from a configruation setting"
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/253169
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6efd437aabdea0bcd4e9805bc8039c843051ea42
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MinimumNameLength
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <[email protected]>
Gerrit-Reviewer: Kghbln <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to