CryoKey has submitted this change and it was merged.

Change subject: Add i18n file in preparation for adding extension to 
translatewiki.net
......................................................................


Add i18n file in preparation for adding extension to translatewiki.net

Change-Id: I4e1e22698d467c3c46fbecbbc6e1e931e006954a
---
A CryoKey.i18n.php
M cryokey.php
2 files changed, 29 insertions(+), 3 deletions(-)

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



diff --git a/CryoKey.i18n.php b/CryoKey.i18n.php
new file mode 100644
index 0000000..f1f23f5
--- /dev/null
+++ b/CryoKey.i18n.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Internationalisation file for the extension CryoKey
+ *
+ * @file
+ * @ingroup Extensions
+ * @author Authenticade LLC
+ * @licence MIT License
+ */
+
+$messages = array();
+
+$messages['en'] = array (
+       'cryokey-desc' => 'Adds support for CryoKey credentials',
+);
+
+/** Message documentation (Message documentation)
+ * @author Raymond
+ */
+$messages['qqq'] = array(
+       'cryokey-desc' => '{{desc|name=Cryo 
Key|url=https://www.mediawiki.org/wiki/Extension:CryoKey}}',
+);
+
diff --git a/cryokey.php b/cryokey.php
index 963026a..75c304e 100644
--- a/cryokey.php
+++ b/cryokey.php
@@ -8,10 +8,14 @@
 (
   'path' => __FILE__,
   'name' => 'CryoKey',
-  'description' => 'An example of integrating CryoKey into MediaWiki',
+  'descriptionmsg' => 'cryokey-desc',
   'version' => '1.1',
-  'author' => 'Authenticade LLC'
+  'author' => 'Authenticade LLC',
+  'url' => 'https://www.mediawiki.org/wiki/Extension:CryoKey'
 );
+
+// Define internationalizations
+$wgExtensionMessagesFiles['CryoKey'] = __DIR__ . '/CryoKey.i18n.php';
 
 // Allow Auto-Registration behavior if "true".
 $wgCKAutoRegister = false;
@@ -133,4 +137,3 @@
 }
 
 $wgHooks['UserLoadFromSession'][] = "ck_check";
-?>

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e1e22698d467c3c46fbecbbc6e1e931e006954a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CryoKey
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com>
Gerrit-Reviewer: CryoKey <cryo...@gmail.com>
Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to