Skip to content

Commit 52f0847

Browse files
committed
Update locales to avoid some sanity check errors based on month/etc length
1 parent d7ee6e0 commit 52f0847

File tree

2 files changed

+9
-37
lines changed

2 files changed

+9
-37
lines changed

apps/locale/locales.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ var locales = {
261261
ampm: { 0: "am", 1: "pm" },
262262
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
263263
datePattern: { 0: "%d %B %Y", "1": "%d/%m/%Y" }, // 1 mars 2020 // 01/03/2020
264-
abmonth: "janv,févr,mars,avril,mai,juin,juil,août,sept,oct,nov,déc",
264+
abmonth: "janv,févr,mars,avr,mai,juin,juil,août,sept,oct,nov,déc",
265265
month: "janvier,février,mars,avril,mai,juin,juillet,août,septembre,octobre,novembre,décembre",
266266
abday: "dim,lun,mar,mer,jeu,ven,sam",
267267
day: "dimanche,lundi,mardi,mercredi,jeudi,vendredi,samedi",
@@ -423,7 +423,7 @@ var locales = {
423423
ampm: { 0: "am", 1: "pm" },
424424
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
425425
datePattern: { 0: "%A %B %d %Y", "1": "%d/%m/%y" }, // dimanche 1 mars 2020 // 01/03/20
426-
abmonth: "janv.,févr.,mars,avril,mai,juin,juil.,août,sept.,oct.,nov.,déc.",
426+
abmonth: "janv,févr,mars,avr,mai,juin,juil,août,sept,oct,nov,déc",
427427
month: "janvier,février,mars,avril,mai,juin,juillet,août,septembre,octobre,novembre,décembre",
428428
abday: "dim,lun,mar,mer,jeu,ven,sam",
429429
day: "dimanche,lundi,mardi,mercredi,jeudi,vendredi,samedi",
@@ -452,7 +452,7 @@ var locales = {
452452
speed: "kmh",
453453
distance: { 0: "m", 1: "km" },
454454
temperature: "°C",
455-
ampm: { 0: "vorm", 1: " nachm" },
455+
ampm: { 0: "vorm", 1: "nachm" },
456456
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
457457
datePattern: { 0: "%A, %d. %B %Y", "1": "%d.%m.%Y" }, // Sonntag, 1. März 2020 // 1.3.2020
458458
abmonth: "Jan,Feb,März,Apr,Mai,Jun,Jul,Aug,Sep,Okt,Nov,Dez",
@@ -471,7 +471,7 @@ var locales = {
471471
ampm: { 0: "AM", 1: "PM" },
472472
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
473473
datePattern: { 0: "%A %d %B %Y", "1": "%d/%m/%y" }, // dimanche 1 mars 2020 // 01/03/20
474-
abmonth: "janv.,févr.,mars,avril,mai,juin,juil.,août,sept.,oct.,nov.,déc.",
474+
abmonth: "janv,févr,mars,avr,mai,juin,juil,août,sept,oct,nov,déc",
475475
month: "janvier,février,mars,avril,mai,juin,juillet,août,septembre,octobre,novembre,décembre",
476476
abday: "dim,lun,mar,mer,jeu,ven,sam",
477477
day: "dimanche,lundi,mardi,mercredi,jeudi,vendredi,samedi",
@@ -567,7 +567,7 @@ var locales = {
567567
ampm: { 0: "am", 1: "pm" },
568568
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
569569
datePattern: { 0: "%A %d %B de %Y", "1": "%d/%m/%Y" }, // dimenge 1 de març de 2020 // 01/03/2020
570-
abmonth: "gen.,febr.,març,abril,mai,junh,julh,ago.,set.,oct.,nov.,dec.",
570+
abmonth: "gen,febr,març,abril,mai,junh,julh,ago,set,oct,nov,dec",
571571
month: "genièr,febrièr,març,abril,mai,junh,julhet,agost,setembre,octòbre,novembre,decembre",
572572
abday: "dg,dl,dm,dc,dj,dv,ds",
573573
day: "dimenge,diluns,dimars,dimècres,dijòus,divendres,dissabte",
@@ -612,10 +612,10 @@ var locales = {
612612
speed: "km/h",
613613
distance: { 0: "m", 1: "km" },
614614
temperature: "°C",
615-
ampm: { 0: "dop.", 1: "pop." },
615+
ampm: { 0: "dop", 1: "pop" },
616616
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
617617
datePattern: { 0: "%-d. %b %Y", 1: "%-d.%-m.%Y" }, // "3. jan. 2020" // "3.1.2020"(short)
618-
abmonth: "sij.,velj.,ožu.,tra.,svi,lip.,srp.,kol.,ruj.,lis.,stu.,pro.",
618+
abmonth: "sij,velj,ožu,tra,svi,lip,srp,kol,ruj,lis,stu,pro",
619619
month: "siječanj,veljača,ožujak,travanj,svibanj,lipanj,srpanj,kolovoz,rujan,listopad,studeni,prosinac",
620620
abday: "ned.,pon.,uto.,sri.,čet.,pet.,sub.",
621621
day: "nedjelja,ponedjeljak,utorak,srijeda,četvrtak,petak,subota",
@@ -628,7 +628,7 @@ var locales = {
628628
speed: "km/h",
629629
distance: { 0: "m", 1: "km" },
630630
temperature: "°C",
631-
ampm: { 0: "dop.", 1: "pop." },
631+
ampm: { 0: "dop", 1: "pop" },
632632
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
633633
datePattern: { 0: "%-d. %b %Y", 1: "%-d.%-m.%Y" }, // "3. jan. 2020" // "3.1.2020"(short)
634634
abmonth: "jan.,feb.,mar.,apr.,maj,jun.,jul.,avg.,sep.,okt.,nov.,dec.",
@@ -728,7 +728,7 @@ var locales = {
728728
ampm: { 0: "am", 1: "pm" },
729729
timePattern: { 0: "%HH:%MM:%SS", 1: "%HH:%MM" },
730730
datePattern: { 0: "%d %B %Y", "1": "%d/%m/%y" },
731-
abmonth: "gen.,febr.,març,abr.,maig,juny,jul.,ag.,set.,oct.,nov.,des.",
731+
abmonth: "gen,febr,març,abr,maig,juny,jul,ag,set,oct,nov,des",
732732
month: "gener,febrer,març,abril,maig,juny,juliol,agost,setembre,octubre,novembre,desembre",
733733
abday: "dg.,dl.,dt.,dc.,dj.,dv.,ds.",
734734
day: "diumenge,dilluns,dimarts,dimecres,dijous,divendres,dissabte",

bin/sanitycheck.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ function WARN(msg, opt) {
8888
var KNOWN_ERRORS = [
8989
"In locale en_CA, long date output must be shorter than 15 characters (Wednesday, September 10, 2024 -> 29)",
9090
"In locale fr_FR, long date output must be shorter than 15 characters (10 septembre 2024 -> 17)",
91-
"In locale fr_FR, short month must be shorter than 5 characters",
9291
"In locale sv_SE, speed must be shorter than 5 characters",
9392
"In locale en_SE, long date output must be shorter than 15 characters (September 10 2024 -> 17)",
9493
"In locale en_NZ, long date output must be shorter than 15 characters (Wednesday, September 10, 2024 -> 29)",
@@ -97,45 +96,18 @@ var KNOWN_ERRORS = [
9796
"In locale en_IL, long date output must be shorter than 15 characters (Wednesday, September 10, 2024 -> 29)",
9897
"In locale es_ES, long date output must be shorter than 15 characters (miércoles, 10 de septiembre de 2024 -> 35)",
9998
"In locale fr_BE, long date output must be shorter than 15 characters (dimanche septembre 10 2024 -> 26)",
100-
"In locale fr_BE, short month must be shorter than 5 characters",
101-
"In locale fr_BE, short month must be shorter than 5 characters",
102-
"In locale fr_BE, short month must be shorter than 5 characters",
103-
"In locale fr_BE, short month must be shorter than 5 characters",
104-
"In locale fr_BE, short month must be shorter than 5 characters",
10599
"In locale fi_FI, long date output must be shorter than 15 characters (keskiviikkona 10. maaliskuuta 2024 -> 34)",
106100
"In locale fi_FI, short month must be shorter than 5 characters",
107-
"In locale fi_FI, short month must be shorter than 5 characters",
108-
"In locale fi_FI, short month must be shorter than 5 characters",
109-
"In locale fi_FI, short month must be shorter than 5 characters",
110-
"In locale fi_FI, short month must be shorter than 5 characters",
111-
"In locale fi_FI, short month must be shorter than 5 characters",
112-
"In locale fi_FI, short month must be shorter than 5 characters",
113-
"In locale fi_FI, short month must be shorter than 5 characters",
114-
"In locale fi_FI, short month must be shorter than 5 characters",
115-
"In locale fi_FI, short month must be shorter than 5 characters",
116-
"In locale fi_FI, short month must be shorter than 5 characters",
117101
"In locale de_CH, meridian must be shorter than 4 characters",
118102
"In locale de_CH, meridian must be shorter than 4 characters",
119103
"In locale de_CH, long date output must be shorter than 15 characters (Donnerstag, 10. September 2024 -> 30)",
120104
"In locale fr_CH, long date output must be shorter than 15 characters (dimanche 10 septembre 2024 -> 26)",
121-
"In locale fr_CH, short month must be shorter than 5 characters",
122-
"In locale fr_CH, short month must be shorter than 5 characters",
123-
"In locale fr_CH, short month must be shorter than 5 characters",
124-
"In locale fr_CH, short month must be shorter than 5 characters",
125-
"In locale fr_CH, short month must be shorter than 5 characters",
126105
"In locale wae_CH, long date output must be shorter than 15 characters (Sunntag, 10. Herbštmánet 2024 -> 29)",
127106
"In locale tr_TR, long date output must be shorter than 15 characters (10 Haziran 2024 Pazartesi -> 25)",
128107
"In locale hu_HU, long date output must be shorter than 15 characters (2024 Szep 10, Csütörtök -> 23)",
129108
"In locale oc_FR, long date output must be shorter than 15 characters (divendres 10 setembre de 2024 -> 29)",
130109
"In locale oc_FR, short month must be shorter than 5 characters",
131-
"In locale oc_FR, short month must be shorter than 5 characters",
132-
"In locale hr_HR, meridian must be shorter than 4 characters",
133-
"In locale hr_HR, meridian must be shorter than 4 characters",
134-
"In locale hr_HR, short month must be shorter than 5 characters",
135-
"In locale sl_SI, meridian must be shorter than 4 characters",
136-
"In locale sl_SI, meridian must be shorter than 4 characters",
137110
"In locale ca_ES, long date output must be shorter than 15 characters (10 setembre 2024 -> 16)",
138-
"In locale ca_ES, short month must be shorter than 5 characters",
139111
];
140112
/* These are warnings we know about but don't want in our output */
141113
var KNOWN_WARNINGS = [

0 commit comments

Comments
 (0)