-
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ExtraneousLanguage JSON format, refs 1691, 1561
- Moves SMW specific language elements from PHP to JSON - Support for partial fallback - If a json file (e.g. `zh-hant.json`) contains `isLanguageRedirect` then only a `fallbackLanguage` is required - The `CanonicalFallbackLanguage` is `en` - Adds `LanguageFallbackFinder`, `LanguageFileContentsReader`
- Loading branch information
Showing
53 changed files
with
5,772 additions
and
543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [] | ||
}, | ||
"fallbackLanguage": "en", | ||
"dataTypeLabels": { | ||
"_wpg": "الصفحة", | ||
"_txt": "نص", | ||
"_cod": "كود", | ||
"_boo": "منطقي", | ||
"_num": "عدد", | ||
"_geo": "الإحداثيات الجغرافية", | ||
"_tem": "الحرارة", | ||
"_dat": "التاريخ", | ||
"_ema": "البريد الإلكتروني", | ||
"_uri": "مسار", | ||
"_anu": "التعليق علي معرف الموارد الموحد", | ||
"_tel": "رقم الهاتف", | ||
"_rec": "تسجيل", | ||
"_qty": "Quantity", | ||
"_mlt_rec": "Monolingual text", | ||
"_eid": "External identifier", | ||
"_ref_rec": "Reference" | ||
}, | ||
"dataTypeAliases": { | ||
"URI": "_uri", | ||
"Float": "_num", | ||
"Integer": "_num", | ||
"سلسلة": "_txt", | ||
"Enumeration": "_txt" | ||
}, | ||
"propertyLabels": { | ||
"_TYPE": "لديه نوع", | ||
"_URI": "معرف الموارد الموحد معادلة", | ||
"_SUBP": "الخاصية الفرعية ل", | ||
"_SUBC": "تصنيف فرعي من", | ||
"_UNIT": "عرض الوحدات", | ||
"_IMPO": "المستوردة من", | ||
"_CONV": "يقابل", | ||
"_SERV": "يوفر الخدمة", | ||
"_PVAL": "يسمح بالقيمة", | ||
"_MDAT": "تاريخ التعديل", | ||
"_CDAT": "Creation date", | ||
"_NEWP": "Is a new page", | ||
"_LEDT": "Last editor is", | ||
"_ERRP": "يمتلك قيمة غير صحيحة ل", | ||
"_LIST": "يمتلك حقول", | ||
"_SOBJ": "Has subobject", | ||
"_ASK": "Has query", | ||
"_ASKST": "Query string", | ||
"_ASKFO": "Query format", | ||
"_ASKSI": "Query size", | ||
"_ASKDE": "Query depth", | ||
"_ASKDU": "Query duration", | ||
"_MEDIA": "Media type", | ||
"_MIME": "MIME type", | ||
"_ERRC": "Has processing error", | ||
"_ERRT": "Has processing error text", | ||
"_PREC": "Display precision of", | ||
"_LCODE": "Language code", | ||
"_TEXT": "Text", | ||
"_PDESC": "Has property description", | ||
"_PVAP": "Allows pattern", | ||
"_DTITLE": "Display title of", | ||
"_PVUC": "Has uniqueness constraint", | ||
"_PEID": "External identifier", | ||
"_PEFU": "External formatter uri" | ||
}, | ||
"propertyAliases": { | ||
"عرض الوحدة": "_UNIT" | ||
}, | ||
"dateFormatsByPrecision": { | ||
"SMW_PREC_Y": "Y", | ||
"SMW_PREC_YM": "F Y", | ||
"SMW_PREC_YMD": "F j, Y", | ||
"SMW_PREC_YMDT": "H:i:s, j F Y" | ||
}, | ||
"namespaces": { | ||
"SMW_NS_PROPERTY": "خاصية", | ||
"SMW_NS_PROPERTY_TALK": "نقاش_الخاصية", | ||
"SMW_NS_TYPE": "نوع", | ||
"SMW_NS_TYPE_TALK": "نقاش_النوع", | ||
"SMW_NS_CONCEPT": "مبدأ", | ||
"SMW_NS_CONCEPT_TALK": "نقاش_المبدأ" | ||
}, | ||
"namespaceAliases": [], | ||
"dateFormats": [ | ||
[ | ||
"SMW_Y" | ||
], | ||
[ | ||
"SMW_MY", | ||
"SMW_YM" | ||
], | ||
[ | ||
"SMW_MDY", | ||
"SMW_DMY", | ||
"SMW_YMD", | ||
"SMW_YDM" | ||
] | ||
], | ||
"months": [ | ||
[ | ||
"يناير", | ||
"يناير" | ||
], | ||
[ | ||
"فبراير", | ||
"فبراير" | ||
], | ||
[ | ||
"مارس", | ||
"مارس" | ||
], | ||
[ | ||
"أبريل", | ||
"أبريل" | ||
], | ||
[ | ||
"مايو", | ||
"مايو" | ||
], | ||
[ | ||
"يونيو", | ||
"يونيو" | ||
], | ||
[ | ||
"يوليو", | ||
"يوليو" | ||
], | ||
[ | ||
"أغسطس", | ||
"أغسطس" | ||
], | ||
[ | ||
"سبتمبر", | ||
"سبتمبر" | ||
], | ||
[ | ||
"أكتوبر", | ||
"أكتوبر" | ||
], | ||
[ | ||
"نوفمبر", | ||
"نوفمبر" | ||
], | ||
[ | ||
"ديسمبر", | ||
"ديسمبر" | ||
] | ||
], | ||
"days": [ | ||
[ | ||
"Monday", | ||
"Mon" | ||
], | ||
[ | ||
"Tuesday", | ||
"Tue" | ||
], | ||
[ | ||
"Wednesday", | ||
"Wed" | ||
], | ||
[ | ||
"Thursday", | ||
"Thu" | ||
], | ||
[ | ||
"Friday", | ||
"Fri" | ||
], | ||
[ | ||
"Saturday", | ||
"Sat" | ||
], | ||
[ | ||
"Sunday", | ||
"Sun" | ||
] | ||
] | ||
} |
Oops, something went wrong.