From cc1f15febc452af32d4a2edf07fc8a17b51374c0 Mon Sep 17 00:00:00 2001 From: Vicent Gozalbes Date: Mon, 29 Jul 2019 05:39:41 +0200 Subject: [PATCH] fix: Update weekdaysShort to some locale files (#643) This PR adds weekdaysShort to those locale files that they do not have this variable defined. --- src/locale/ar.js | 2 +- src/locale/bg.js | 2 +- src/locale/ca.js | 2 +- src/locale/cs.js | 2 +- src/locale/de-at.js | 2 +- src/locale/de.js | 2 +- src/locale/el.js | 2 +- src/locale/fa.js | 2 +- src/locale/fr.js | 2 +- src/locale/he.js | 2 +- src/locale/hr.js | 2 +- src/locale/ka.js | 2 +- src/locale/lt.js | 2 +- src/locale/ms.js | 2 +- src/locale/ne.js | 2 +- src/locale/nl.js | 2 +- src/locale/pt-br.js | 2 +- src/locale/ro.js | 2 +- src/locale/sk.js | 2 +- src/locale/sr-cyrl.js | 2 +- src/locale/sr.js | 2 +- src/locale/tr.js | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/locale/ar.js b/src/locale/ar.js index 136431ca..136ddca8 100644 --- a/src/locale/ar.js +++ b/src/locale/ar.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ar', weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), weekStart: 6, relativeTime: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/bg.js b/src/locale/bg.js index 510bfd64..f73ead9f 100644 --- a/src/locale/bg.js +++ b/src/locale/bg.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'bg', weekdays: 'Неделя_Понеделник_Вторник_Сряда_Четвъртък_Петък_Събота'.split('_'), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), months: 'Януари_Февруари_Март_Април_Май_Юни_Юли_Август_Септември_Октомври_Ноември_Декември'.split('_'), weekStart: 1, ordinal: n => `${n}.`, @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/ca.js b/src/locale/ca.js index 3ee1b157..9229386b 100644 --- a/src/locale/ca.js +++ b/src/locale/ca.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ca', weekdays: 'Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte'.split('_'), + weekdaysShort: 'Dg._Dl._Dt._Dc._Dj._Dv._Ds.'.split('_'), months: 'Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre'.split('_'), weekStart: 1, formats: { @@ -37,4 +38,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/cs.js b/src/locale/cs.js index 192e73e6..02b182e9 100644 --- a/src/locale/cs.js +++ b/src/locale/cs.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'cs', weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), months: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), weekStart: 1, ordinal: n => `${n}.`, @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/de-at.js b/src/locale/de-at.js index c39c6ca9..108e5be6 100644 --- a/src/locale/de-at.js +++ b/src/locale/de-at.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'de-at', weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), ordinal: n => `${n}.`, @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/de.js b/src/locale/de.js index b4d44a65..1bc8c5ec 100644 --- a/src/locale/de.js +++ b/src/locale/de.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'de', weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), monthsShort: 'Jan_Feb_März_Apr_Mai_Juni_Juli_Aug_Sept_Okt_Nov_Dez'.split('_'), ordinal: n => `${n}.`, @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/el.js b/src/locale/el.js index 0f25fd54..8b633190 100644 --- a/src/locale/el.js +++ b/src/locale/el.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'el', weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), months: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ'.split('_'), ordinal: n => n, @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/fa.js b/src/locale/fa.js index 7a6a1ba3..74a1c538 100644 --- a/src/locale/fa.js +++ b/src/locale/fa.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'fa', weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), + weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), ordinal: n => n, formats: { @@ -33,4 +34,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/fr.js b/src/locale/fr.js index 963d29c8..e667ca6c 100644 --- a/src/locale/fr.js +++ b/src/locale/fr.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'fr', weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), monthsShort: 'janv_févr_mars_avril_mai_juin_juil_août_sept_oct_nov_déc'.split('_'), weekStart: 1, @@ -38,4 +39,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/he.js b/src/locale/he.js index 03eeb6ff..984b4fe1 100644 --- a/src/locale/he.js +++ b/src/locale/he.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'he', weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), weekdaysMin: 'א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳'.split('_'), months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), monthsShort: 'ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ'.split('_'), @@ -51,4 +52,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/hr.js b/src/locale/hr.js index 10823e58..8e1bd114 100644 --- a/src/locale/hr.js +++ b/src/locale/hr.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'hr', weekdays: 'Nedjelja_Ponedjeljak_Utorak_Srijeda_Četvrtak_Petak_Subota'.split('_'), + weekdaysShort: 'Ned._Pon._Uto._Sri._Čet._Pet._Sub.'.split('_'), months: 'Siječanj_Veljača_Ožujak_Travanj_Svibanj_Lipanj_Srpanj_Kolovoz_Rujan_Listopad_Studeni_Prosinac'.split('_'), weekStart: 1, formats: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/ka.js b/src/locale/ka.js index 73959f6d..e143b5fa 100644 --- a/src/locale/ka.js +++ b/src/locale/ka.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ka', weekdays: 'კვირა_ორშაბათი_სამშაბათი_გარემო_ხუთშაბათი_პარასკევი_შაბათს'.split('_'), + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), weekStart: 1, formats: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/lt.js b/src/locale/lt.js index add5d4b1..56575737 100644 --- a/src/locale/lt.js +++ b/src/locale/lt.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'lt', weekdays: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + weekdaysShort: 'sek_pir_ant_tre_ket_pen_šeš'.split('_'), months: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'), ordinal: n => `${n}.`, weekStart: 1, @@ -50,4 +51,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/ms.js b/src/locale/ms.js index 89d4a5ac..9054ef36 100644 --- a/src/locale/ms.js +++ b/src/locale/ms.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ms', weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), weekStart: 1, formats: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/ne.js b/src/locale/ne.js index 07a79712..76e35776 100644 --- a/src/locale/ne.js +++ b/src/locale/ne.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ne', weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), relativeTime: { future: '%s पछि', @@ -33,4 +34,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/nl.js b/src/locale/nl.js index ff1de7f2..094293bb 100644 --- a/src/locale/nl.js +++ b/src/locale/nl.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'nl', weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), monthsShort: 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), ordinal: n => `${n}.`, @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/pt-br.js b/src/locale/pt-br.js index 286a5458..66f15851 100644 --- a/src/locale/pt-br.js +++ b/src/locale/pt-br.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'pt-br', weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), + weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), weekStart: 1, months: 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), @@ -35,4 +36,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/ro.js b/src/locale/ro.js index dc0033ef..c6fe28f1 100644 --- a/src/locale/ro.js +++ b/src/locale/ro.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'ro', weekdays: 'Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), months: 'Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie'.split('_'), weekStart: 1, formats: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/sk.js b/src/locale/sk.js index aa5b7bfa..b17642ca 100644 --- a/src/locale/sk.js +++ b/src/locale/sk.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'sk', weekdays: 'Nedeľa_Pondelok_Utorok_Streda_Štvrtok_Piatok_Sobota'.split('_'), + weekdaysShort: 'Ne_Po_Ut_St_Št_Pi_So'.split('_'), months: 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), weekStart: 1, relativeTime: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/sr-cyrl.js b/src/locale/sr-cyrl.js index 40444f4c..aaedc368 100644 --- a/src/locale/sr-cyrl.js +++ b/src/locale/sr-cyrl.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'sr-cyrl', weekdays: 'Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота'.split('_'), + weekdaysShort: 'Нед._Пон._Уто._Сре._Чет._Пет._Суб.'.split('_'), months: 'Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар'.split('_'), weekStart: 1, relativeTime: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/sr.js b/src/locale/sr.js index 1ade8f03..84bdedd8 100644 --- a/src/locale/sr.js +++ b/src/locale/sr.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'sr', weekdays: 'Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota'.split('_'), + weekdaysShort: 'Ned._Pon._Uto._Sre._Čet._Pet._Sub.'.split('_'), months: 'Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar'.split('_'), weekStart: 1, relativeTime: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale - diff --git a/src/locale/tr.js b/src/locale/tr.js index ac8f0f20..7f7c48eb 100644 --- a/src/locale/tr.js +++ b/src/locale/tr.js @@ -3,6 +3,7 @@ import dayjs from 'dayjs' const locale = { name: 'tr', weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), weekStart: 1, formats: { @@ -34,4 +35,3 @@ const locale = { dayjs.locale(locale, null, true) export default locale -