Commit dbbd71ef authored by Siltaar's avatar Siltaar
Browse files

Merge branch 'master' into 'master'

Arabic 3 and 4, heading reuse

See merge request !2
parents cf122b41 a9f7ecb6
......@@ -5,7 +5,9 @@
"Afrikaans":["januarie","februarie","maart","april","mei","junie","julie","augustus","september","oktober","november","desember"],
"Amharic":["ጃንዩዌሪ (ǧanyuweri)","ፌብሩወሪ (februwări)","ማርች (marč)","ኤፕረል (ʾepräl)","መይ (mäy)","ጁን (ǧun)","ጁላይ (ǧulay)","ኦገስት (ʾogäst)","ሰፕቴምበር (septembär)","ኦክተውበር (ʾokətäwbär)","ኖቬምበር (novembär)","ዲሴምበር (disembär)"],
"Arabic 1":["يَنَايِر (yanāyir)","فِبْرَايِر (fibrāyir)","مَارِس (māris)","أَبْرِيل (ʾabrīl)","مَايُو (māyū)","يُونِيُو (yūniyō)","يُولِيُو (yūliyō)","أَغُسْطُس (ʾaḡusṭus)","سِبْتِمْبِر (sibtimbir)","أُكْتُوبِر (ʾoktōbir)","نُوفِمْبِر (nūfimbir, novembir)","دِيسِمْبِر (disembir)"],
"Arabic 2":["يَنَايِر (yanāyir)","فِبْرَايِر (fibrāyir)","مَارْس (mārs)","أَبْرِيل (ʾabrīl)","مَايُو (māyū)","يُونِيُو (yūniyō)","يُولِيُو (yūliyō)","أَغُسْطُس (ʾaḡusṭus)","سِبْتَمْبِر (sibtambir) سَبْتَمْبَر (sabtambar)","أُكْتُوبِر (ʾoktōbir)","نُوفِمْبِر (nūfimbir, novembir)","دِيسَمْبِر (disambir)"],
"Arabic 2":["يناير يُولِيُو (yanāyir)","فبراير (fibrāyir)","مَارْس (mārs)","أَبْرِيل (ʾabrīl)","مايو (māyū)","يونيو (yūniyō)","يوليوز (yūliyō)","اغسطس (ʾaḡusṭus)","سِبْتَمْبِر (sibtambir)","أكتوبر (ʾoktōbir)","نونبر (nūfimbir, novembir)","دِيسَمْبِر (disambir)"],
"Arabic 3":["يَنَايِر (yanāyir)","فِبْرَايِر (fibrāyir)","مارس(mārs)","ابريل (ʾabrīl)","ماي (māyū)","يُونِيُو (yūniyō)","يُولِيُو (yūliyō)","غشث (ʾaḡusṭus)","شتنبر (sibtambir)","أُكْتُوبِر (ʾoktōbir)","نُوفِمْبِر (nūfimbir, novembir)","دجنبر (disambir)"],
"Arabic 4":["يَنَايِر (yanāyir)","فِبْرَايِر (fibrāyir)","مارس (mārs)","ابريل (ʾabrīl)","ماي (māyū)","يُونِيُو (yūniyō)","يُولِيُو (yūliyō)","غشث (ʾaḡusṭus)","سَبْتَمْبَر (sabtambar)","أُكْتُوبِر (ʾoktōbir)","نُوفِمْبِر (nūfimbir, novembir)","ديسمبر (disambir)"],
"Persan":["ژانویه (jan)","فِبْرَايِر (feb)","مارس (mar)","آوریل (avr)","ممکن است (mai)","ژوئن (juin)","جولای (juillet)","مرداد (aout)","سپتامبر (sept)","اکتبر (oct)","نوامبر (nov)","دسامبر (dec)"],
"Persan 2":["ژانویه (jan)","فِبْرَايِر (feb)","مارس (mar)","آوریل (avr)","مه (mai)","ژوئن (juin)","جولای (juillet)","مرداد (aout)","سپتامبر (sept)","اکتبر (oct)","نوامبر (nov)","دسامبر (dec)"],
"Armenian":["հունվար (hunvar)","փետրվար (pʿetrvar)","մարտ (mart)","ապրիլ (april)","մայիս (mayis)","հունիս (hunis)","հուլիս (hulis)","օգոստոս (ōgostos)","սեպտեմբեր (september)","հոկտեմբեր (hoktember)","նոյեմբեր (noyember)","դեկտեմբեր (dektember)"],
......
// Name: in_browser_gen_def.js
// SPDX-FileCopyrightText: 2013-2021 Simon Descarpentres <simon /\ acoeuro [] com>, 2021 Christopher Gauthier <Christopher /\ christopher-gauthier [] com>
// SPDX-License-Identifier: GPL-3.0-only
var tbx = document.querySelectorAll ('#mw-content-text tr')
var mns = [], lgs = []
var cur_mns
......
// Name: phamtomjs_gen_def.js
// SPDX-FileCopyrightText: 2013-2021 Simon Descarpentres <simon /\ acoeuro [] com>, 2021 Christopher Gauthier <Christopher /\ christopher-gauthier [] com>
// SPDX-License-Identifier: GPL-3.0-only
/* globals require, phantom */
// console.log (new Date ().toLocaleString () + ' Starting')
var page = require('webpage').create()
......
// Name: month_nb.js
// SPDX-FileCopyrightText: 2013-2021 Simon Descarpentres <simon /\ acoeuro [] com>, 2021 Christopher Gauthier <Christopher /\ christopher-gauthier [] com>
// SPDX-License-Identifier: GPL-3.0-only
// Desc: returns month number from given litteral case-insensitive name or abbreviation
// Author: Simon 'Siltaar' Descarpentries ; siltaar § acoeuro ' com
// Version: 4
// Licence: GPLv3
/* globals month_nb_json */
export const month_nb = function (a, json_obj, check_keys=false) {
......
......@@ -85,21 +85,21 @@
"^([\u0590-\u05FF]|[\u0600-\u06FF]|[\u0900-\u097F])": {
"comment": "hebrew, arabic, hindi devanagari, persan",
"^[יيजژج]": {
"^.(א?נו|.ن|न|ا)": 1,
"^(.(ונ|.ونِ|وئ)|जून)": 6,
"^.(א?נו|.?ن.?ا|न|ا)": 1,
"^(.(ונ|.?ون|وئ|وني)|जून)": 6,
"^(.(ول|.ל|.ولِ)|जुला)": 7
},
"^[אأअآما]": {
"^.(.ר|.بْرِ|प्|و)": 4,
"^.(..?ג|.غُ|ग|ر)": 8,
"^.(.?ק|.كْتُ|क|ک)": 10
"^[אأअآماغ]": {
"^.(.ר|.بْرِ|प्|و|.?ب)": 4,
"^.(..?ג|.غُ|ग|ر|غ|ش)": 8,
"^.(.?ק|.كْتُ|क|ک)": 10
},
"^[מمम]": {
"^.([אײַ]|.ايُ|ई|م|ه)": 5,
"^.([אײַ]|.ايُ.|اي|اي|ई|م|ه)": 5,
"^.(א?ר|.ا|.र्|ا)": 3
},
"^[פفफ]": 2,
"^[סسस]": 9,
"^[סسसش]": 9,
"^[נنन]": 11,
"^[דدद]": 12
},
......
# Name: month_nb.py
# SPDX-FileCopyrightText: 2013-2021 Simon Descarpentres <simon /\ acoeuro [] com>, 2021 Christopher Gauthier <Christopher /\ christopher-gauthier [] com>
# SPDX-License-Identifier: GPL-3.0-only
import json, re
# read file
......
// Name: test_month_nb.mjs
// SPDX-FileCopyrightText: 2013-2021 Simon Descarpentres <simon /\ acoeuro [] com>, 2021 Christopher Gauthier <Christopher /\ christopher-gauthier [] com>
// SPDX-License-Identifier: GPL-3.0-only
/* globals process */
'use strict'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment