Raimond Spekking has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/322846

Change subject: Convert old i18n file to json format
......................................................................

Convert old i18n file to json format

Change-Id: Ie48f5aeb912d022723628425511014233495d514
---
M extension.json
A i18n/en.json
2 files changed, 24 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Genealogy 
refs/changes/46/322846/1

diff --git a/extension.json b/extension.json
index ca2ebb1..6cb00a5 100644
--- a/extension.json
+++ b/extension.json
@@ -9,9 +9,13 @@
        "license-name": "GPL-3.0+",
        "type": "extension",
        "ExtensionMessagesFiles": {
-               "Genealogy": "Genealogy.i18n.php",
                "GenealogyMagic": "Genealogy.i18n.magic.php"
        },
+       "MessagesDirs": {
+               "Genealogy": [
+                       "i18n"
+                ]
+    }
        "AutoloadClasses": {
                "MediaWiki\\Extensions\\Genealogy\\Person": "src/Person.php",
                "MediaWiki\\Extensions\\Genealogy\\Traverser": 
"src/Traverser.php",
diff --git a/i18n/en.json b/i18n/en.json
new file mode 100644
index 0000000..4db81df
--- /dev/null
+++ b/i18n/en.json
@@ -0,0 +1,19 @@
+{
+       "@metadata": {
+               "authors": [
+                       "Sam Wilson <s...@samwilson.id.au>"
+               ]
+       },
+       "genealogy": "Genealogy",
+       "genealogy-desc": "Adds a parser function for easier linking between 
genealogical records",
+       "genealogy-born": "b.",
+       "genealogy-died": "d.",
+       "genealogy-ancestor": "Ancestor",
+       "genealogy-ancestors": "Ancestors",
+       "genealogy-descendant": "Descendant",
+       "genealogy-descendants": "Descendants",
+       "genealogy-person-preload": "Template:Person/preload",
+       "genealogy-parser-function-not-found": "Genealogy parser function type 
not recognised: $1",
+       "genealogy-existing-partners": "This person already has the following 
{{PLURAL:$1|partner|partners}}: ",
+       "genealogy-person-list-item": "Person/list-item"
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie48f5aeb912d022723628425511014233495d514
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Genealogy
Gerrit-Branch: master
Gerrit-Owner: Raimond Spekking <raimond.spekk...@gmail.com>

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

Reply via email to