Skip to content

Commit

Permalink
Migrate to JSON i18n
Browse files Browse the repository at this point in the history
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: If7d7706a13d663bfdaa7456c3296f37f4ddbfd68
  • Loading branch information
siebrand committed Apr 1, 2014
1 parent 0ca2921 commit 937963e
Show file tree
Hide file tree
Showing 115 changed files with 7,347 additions and 7,649 deletions.
7,672 changes: 26 additions & 7,646 deletions Maps.i18n.php

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions Maps.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Initialization file for the Maps extension.
*
*
* @links https://github.com/JeroenDeDauw/Maps/blob/master/README.md#maps Documentation
* @links https://github.com/JeroenDeDauw/Maps/issues Support
* @links https://github.com/JeroenDeDauw/Maps Source code
Expand All @@ -19,7 +19,7 @@
return 1;
}

define( 'Maps_VERSION' , '3.0.1' );
define( 'Maps_VERSION' , '3.1.0' );

// Include the composer autoloader if it is present.
if ( is_readable( __DIR__ . '/vendor/autoload.php' ) ) {
Expand All @@ -38,7 +38,7 @@
call_user_func( function() {
global $wgExtensionCredits;
global $wgResourceModules, $wgGroupPermissions, $egMapsNamespaceIndex, $wgStyleVersion;
global $egMapsStyleVersion, $wgHooks, $wgExtensionMessagesFiles;
global $egMapsStyleVersion, $wgHooks, $wgExtensionMessagesFiles, $wgMessagesDirs;

$wgExtensionCredits['parserhook'][] = array(
'path' => __FILE__ ,
Expand All @@ -61,6 +61,7 @@

$egMapsStyleVersion = $wgStyleVersion . '-' . Maps_VERSION;

$wgMessagesDirs['Maps'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['Maps'] = __DIR__ . '/Maps.i18n.php';
$wgExtensionMessagesFiles['MapsMagic'] = __DIR__ . '/Maps.i18n.magic.php';
$wgExtensionMessagesFiles['MapsNamespaces'] = __DIR__ . '/Maps.i18n.namespaces.php';
Expand Down
27 changes: 27 additions & 0 deletions i18n/af.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"@metadata": {
"authors": [
"Naudefj"
]
},
"maps_map": "Kaart",
"maps-abb-north": "N",
"maps-abb-east": "O",
"maps-abb-south": "S",
"maps-abb-west": "W",
"maps-latitude": "Breedte:",
"maps-longitude": "Lengte:",
"maps_coordinates_missing": "Geen koördinate is vir die kaart verskaf nie.",
"maps_unrecognized_coords": "Die volgende koördinate is nie herken nie: $1.",
"maps_unrecognized_coords_for": "Die volgende {{PLURAL:$2|koördinaat|koördinate}} is nie herken nie en is uit die kaart weggelaat:\n$1.",
"maps_map_cannot_be_displayed": "Die kaart kan nie vertoon word nie.",
"maps_click_to_activate": "Kliek om die kaart te aktiveer",
"maps_centred_on": "Kaart gesentreer op $1, $2.",
"specialpages-group-maps": "Kaarte",
"mapeditor-none-text": "Geen",
"mapeditor-link-title-switcher-link-text": "Skakel",
"mapeditor-form-field-title": "Titel",
"mapeditor-form-field-text": "Teks",
"mapeditor-form-field-icon": "Ikoon",
"mapeditor-form-field-group": "Groep"
}
19 changes: 19 additions & 0 deletions i18n/aln.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@metadata": {
"authors": [
"Mdupont"
]
},
"maps-desc": "Ofron mundësinë për të shfaqur koordinimin e të dhënave në harta, dhe adresat geocode ([http://mapping.referata.com/wiki/Maps_examples demo]). Hartës shërbimet në dispozicion: $1",
"maps_map": "Hartë",
"maps-loading-map": "Loading Harta ...",
"maps-abb-north": "N",
"maps-abb-east": "E",
"maps-abb-south": "S",
"maps-abb-west": "W",
"maps-latitude": "Latitude:",
"maps-longitude": "Gjatësi:",
"maps-invalid-coordinates": "Vlera $1 nuk është njohur si një grup të vlefshme të kordinatave.",
"maps_coordinates_missing": "Nuk ka koordinon parashikuara në hartë.",
"maps_geocoding_failed": "Më poshtë {{PLURAL:$2|Adresa|adresat}} nuk mund të geocoded: $1."
}
43 changes: 43 additions & 0 deletions i18n/ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"@metadata": {
"authors": [
"Imksa",
"Meno25"
]
},
"maps-desc": "يسمح بتضمين خرائط ديناميكية إلى صفحات الويكي، كود العناوين وعمليات جغرافية أخرى. ([http://mapping.referata.com/wiki/Examples تجارب])",
"maps_map": "خريطة",
"maps-loading-map": "تحميل الخريطة...",
"maps-load-failed": "لا يمكن تحميل الخريطة!",
"maps-markers": "علامات",
"maps-others": "أخرون",
"maps-ns-layer": "طبقة",
"maps-layer-property": "خاصية",
"maps-layer-value": "القيمة",
"maps-layer-errors": "أخطاء",
"maps-error-invalid-layerdef": "تعريف هذه الطبقة غير صالح.",
"maps-error-invalid-layertype": "لا توجد طبقات من نوع \" $1 \". فقط {{PLURAL:$3| هذا النوع هو | هذه الأنواع هي}} المدعومة : $2",
"maps-error-no-layertype": "تحتاج إلى تحديد نوع طبقة. {{PLURAL:$2| هذا النوع فقط | هذه الأنواع هي}} المدعومة : $1",
"validation-error-invalid-layer": "المعلمة $1 يجب أن تكون طبقة صالحة.",
"validation-error-invalid-layers": "المعلمة $1 يجب أن تكون طبقة واحدة أو أكثر صالحة.",
"maps-layer-of-type": "طبقة من نوع $1",
"maps-layer-type-supported-by": "نوع الطبقة هذا يمكن أن {{PLURAL:$2| يمكن استخدامها فقط مع $1 خدمة الخرائط | يمكن استخدامها مع خدمات الخرائط : $1 }}.",
"maps-coordinates-description": "ربط محلل بإحداثيات الشكل ، من وإلى أي من الأشكال المدعومة.",
"maps-abb-north": "شم",
"maps-abb-east": "شر",
"maps-abb-south": "ج",
"maps-abb-west": "غ",
"maps-latitude": "دائرة العرض:",
"maps-longitude": "خط الطول:",
"maps_coordinates_missing": "لا إحداثيات موفرة للخريطة.",
"maps_geocoding_failed": "{{PLURAL:$2|العنوان التالي|العناوين التالية}} لم يمكن تكويدها جغرافيا: $1.",
"maps_geocoding_failed_for": "{{PLURAL:$2|العنوان التالي|العناوين التالية}} لم يمكن تكويدها جغرافيا و {{PLURAL:$2|تمت|تمت}} إزالتها من الخريطة:\n$1",
"maps_unrecognized_coords": "{{PLURAL:$2|الإحداثي التالي|الإحداثيات التالية}} لم يتم التعرف عليها: $1.",
"maps_unrecognized_coords_for": "{{PLURAL:$2|الإحداثي التالي|الإحداثيات التالية}} لم يتم التعرف عليها و {{PLURAL:$2|تمت|تمت}} إزالتها من الخريطة:\n$1",
"maps_map_cannot_be_displayed": "الخريطة لا يمكن عرضها.",
"maps_googlemaps3": "خرائط جوجل v3",
"maps_openlayers": "أوبن لايرز",
"maps_osm": "أوبن ستريت ماب",
"maps_click_to_activate": "اضغط لتنشيط الخريطة",
"maps_centred_on": "الخريطة مركزها في $1، $2."
}
15 changes: 15 additions & 0 deletions i18n/arc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@metadata": {
"authors": [
"Basharh"
]
},
"maps_map": "ܨܘܪܬ ܥܠܡܐ",
"maps-layer-property": "ܕܝܠܝܬܐ",
"maps-layer-value": "ܛܝܡܐ",
"maps-layer-errors": "ܦܘܕ̈ܐ",
"maps-abb-north": "ܓܪܒܝܐ",
"maps-abb-east": "ܡܕܢܚܐ",
"maps-abb-south": "ܬܝܡܢܐ",
"maps-abb-west": "ܡܥܪܒܐ"
}
13 changes: 13 additions & 0 deletions i18n/arz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"@metadata": {
"authors": [
"Meno25"
]
},
"maps-abb-north": "شمال",
"maps-abb-east": "شرق",
"maps-abb-south": "جنوب",
"maps-abb-west": "غرب",
"maps-latitude": "دوائر العرض:",
"maps-longitude": "خطوط الطول:"
}
Loading

0 comments on commit 937963e

Please sign in to comment.