jenkins-bot has submitted this change and it was merged.

Change subject: BoilerPlate: Add i18n messages for the HelloWorld special page
......................................................................


BoilerPlate: Add i18n messages for the HelloWorld special page

Previously, specials/SpecialHelloWorld.php referred to messages that were
not present in the i18n json files, so all page text and titles would show
up <in-angle-brackets>. I added these messages to i18n/en.json and
i18n/qqq.json.

Change-Id: I6c962eb8384cec848029772bf5db0bca1f8e7e99
---
M BoilerPlate/i18n/en.json
M BoilerPlate/i18n/qqq.json
2 files changed, 11 insertions(+), 4 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/BoilerPlate/i18n/en.json b/BoilerPlate/i18n/en.json
index a9c79b7..44c5641 100644
--- a/BoilerPlate/i18n/en.json
+++ b/BoilerPlate/i18n/en.json
@@ -3,5 +3,8 @@
                "authors": []
        },
        "boilerplate-desc": "This is an example extension",
-       "boilerplate-i18n-welcome": "Welcome to the localization file of the 
BoilerPlate extension."
-}
\ No newline at end of file
+       "boilerplate-i18n-welcome": "Welcome to the localization file of the 
BoilerPlate extension.",
+       "boilerplate-helloworld": "Hello world!",
+       "boilerplate-helloworld-intro": "Welcome to the \"Hello world\" special 
page of the BoilerPlate extension.",
+       "helloworld": "Hello world"
+}
diff --git a/BoilerPlate/i18n/qqq.json b/BoilerPlate/i18n/qqq.json
index 2c5cd78..5a40c26 100644
--- a/BoilerPlate/i18n/qqq.json
+++ b/BoilerPlate/i18n/qqq.json
@@ -3,9 +3,13 @@
                "authors": [
                        "Shirayuki",
                        "Umherirrender",
-                       "Amire80"
+                       "Amire80",
+                       "Fhocutt"
                ]
        },
        "boilerplate-desc": 
"{{desc|name=Boilerplate|url=https://www.mediawiki.org/wiki/Extension:Boilerplate}}";,
-       "boilerplate-i18n-welcome": "Used to greet the user when reading the 
i18n/??.json file."
+       "boilerplate-i18n-welcome": "Used to greet the user when reading the 
i18n/??.json file.",
+       "boilerplate-helloworld": "Page title of the HelloWorld special page.",
+       "boilerplate-helloworld-intro": "Text displayed on the HelloWorld 
SpecialPage.",
+       "helloworld": "Text of the link to the HelloWorld special page on 
SpecialPages."
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c962eb8384cec848029772bf5db0bca1f8e7e99
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/examples
Gerrit-Branch: master
Gerrit-Owner: Fhocutt <[email protected]>
Gerrit-Reviewer: Fhocutt <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to