Yuvipanda has submitted this change and it was merged. Change subject: Add i18n file ......................................................................
Add i18n file PS2: Change to JSON Change-Id: I9376997c65b888c5fdbb0aa4b30ecb73b6b63430 --- M MobileApp.php A i18n/en.json A i18n/qqq.json 3 files changed, 21 insertions(+), 1 deletion(-) Approvals: Yuvipanda: Verified; Looks good to me, approved Siebrand: Looks good to me, but someone else must approve diff --git a/MobileApp.php b/MobileApp.php index 34c8e86..a8edb63 100644 --- a/MobileApp.php +++ b/MobileApp.php @@ -21,9 +21,12 @@ 'path' => __FILE__, 'name' => 'MobileApp', 'author' => array( 'Yuvi Panda' ), - 'url' => 'https://www.mediawiki.org/wiki/Extension:MobileApp' + 'url' => 'https://www.mediawiki.org/wiki/Extension:MobileApp', + 'descriptionmsg' => 'mobileapp-desc', ); +$GLOBALS['wgMessagesDirs']['MobileApp'] = __DIR__ . "/i18n"; + // List of less files included for both iOS and Android $commonStyles = array( 'MobileApp/less/common.less' diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..4e1e3d6 --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,9 @@ +{ +"@metadata": { + "authors": [ + "Yuvi Panda" + ], + "message-documentation": "qqq" +}, +"mobileapp-desc": "Serves styles and scripts for use in the Wikimedia Mobile Applications" +} diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..893ffcf --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,8 @@ +{ + "@metadata": { + "authors": [ + "Yuvi Panda" + ] + }, + "mobileapp-desc": "{{desc|name=Mobile App|url=http://www.mediawiki.org/wiki/Extension:MobileApp}}" +} \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/110146 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9376997c65b888c5fdbb0aa4b30ecb73b6b63430 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/MobileApp Gerrit-Branch: master Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com> Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com> Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org> Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits