From fef135e19945b19edd8259dae82a0dc8ef7b7ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Quent=C3=AD?= <33203663+Quenty31@users.noreply.github.com> Date: Mon, 15 Jul 2019 04:19:33 +0200 Subject: [PATCH] fix: update Occitan locale Catalan locale (#630) * Update Hormanisation with other time/date framworks * Correction and harmonisation Harmonisation + correction for the same reason as https://github.com/iamkun/dayjs/pull/615 * Update ca.js * Update oc-lnc.js --- src/locale/ca.js | 2 +- src/locale/oc-lnc.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/locale/ca.js b/src/locale/ca.js index e7786707..3ee1b157 100644 --- a/src/locale/ca.js +++ b/src/locale/ca.js @@ -17,7 +17,7 @@ const locale = { llll: 'ddd D MMM YYYY, H:mm' }, relativeTime: { - future: 'en %s', + future: 'd\'aquí %s', past: 'fa %s', s: 'uns segons', m: 'un minut', diff --git a/src/locale/oc-lnc.js b/src/locale/oc-lnc.js index 8e7ec714..ce8a5dc0 100644 --- a/src/locale/oc-lnc.js +++ b/src/locale/oc-lnc.js @@ -2,10 +2,10 @@ import dayjs from 'dayjs' const locale = { name: 'oc-lnc', - weekdays: 'Dimenge_Diluns_Dimars_Dimècres_Dijòus_Divendres_Dissabte'.split('_'), + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'), weekdaysShort: 'Dg_Dl_Dm_Dc_Dj_Dv_Ds'.split('_'), - months: 'Genièr_Febrièr_Març_Abrial_Mai_Junh_Julhet_Agost_Setembre_Octòbre_Novembre_Decembre'.split('_'), - monthsShort: 'Gen_Feb_Març_Abr_Mai_Junh_Julh_Ago_Set_Oct_Nov_Dec'.split('_'), + months: 'genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'), + monthsShort: 'gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec'.split('_'), weekStart: 1, formats: { LT: 'H:mm', @@ -16,7 +16,7 @@ const locale = { LLLL: 'dddd D MMMM [de] YYYY [a] H:mm' }, relativeTime: { - future: 'en %s', + future: 'd\'aquí %s', past: 'fa %s', s: 'unas segondas', m: 'una minuta',