Skip to content

Commit

Permalink
fix(i18n): fix french TUI_COUNTRIES_MASKS should accept numbers wit…
Browse files Browse the repository at this point in the history
…hout leading 0 (#3191)

Co-authored-by: Victorien <[email protected]>
  • Loading branch information
VictorienTardif and victorien-ffbridge authored Dec 8, 2022
1 parent cd907c0 commit 11ee5ed
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, strin
[TuiCountryIsoCode.BH]: `+973####-####`,
[TuiCountryIsoCode.BI]: `+257##-##-####`,
[TuiCountryIsoCode.BJ]: `+229##-##-####`,
[TuiCountryIsoCode.BL]: `+590(0) # ## ## ## ##`,
[TuiCountryIsoCode.BL]: `+590 ## ## ## ## ##`,
[TuiCountryIsoCode.BM]: `+1(441) ###-####`,
[TuiCountryIsoCode.BN]: `+673###-####`,
[TuiCountryIsoCode.BO]: `+591#-###-####`,
Expand Down Expand Up @@ -71,18 +71,18 @@ export const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, strin
[TuiCountryIsoCode.FJ]: `+679##-#####`,
[TuiCountryIsoCode.FK]: `+500#####`,
[TuiCountryIsoCode.FM]: `+691###-####`,
[TuiCountryIsoCode.FR]: `+33(0) # ## ## ## ##`,
[TuiCountryIsoCode.FR]: `+33 ## ## ## ## ##`,
[TuiCountryIsoCode.GA]: `+241#-##-##-##`,
[TuiCountryIsoCode.GB]: `+44##-####-####`,
[TuiCountryIsoCode.GD]: `+1(473) ###-####`,
[TuiCountryIsoCode.GE]: `+995(###) ###-###`,
[TuiCountryIsoCode.GF]: `+594(0) # ## ## ## ##`,
[TuiCountryIsoCode.GF]: `+594 ## ## ## ## ##`,
[TuiCountryIsoCode.GH]: `+233(###) ###-###`,
[TuiCountryIsoCode.GI]: `+350###-#####`,
[TuiCountryIsoCode.GL]: `+299##-##-##`,
[TuiCountryIsoCode.GM]: `+220(###) ##-##`,
[TuiCountryIsoCode.GN]: `+224##-###-###`,
[TuiCountryIsoCode.GP]: `+590(0) # ## ## ## ##`,
[TuiCountryIsoCode.GP]: `+590 ## ## ## ## ##`,
[TuiCountryIsoCode.GQ]: `+240##-###-####`,
[TuiCountryIsoCode.GR]: `+30(###) ###-####`,
[TuiCountryIsoCode.GT]: `+502#-###-####`,
Expand Down Expand Up @@ -129,14 +129,14 @@ export const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, strin
[TuiCountryIsoCode.MC]: `+377###-###-###`,
[TuiCountryIsoCode.MD]: `+373####-####`,
[TuiCountryIsoCode.ME]: `+382##-###-###`,
[TuiCountryIsoCode.MF]: `+590(0) # ## ## ## ##`,
[TuiCountryIsoCode.MF]: `+590 ## ## ## ## ##`,
[TuiCountryIsoCode.MG]: `+261##-##-#####`,
[TuiCountryIsoCode.MK]: `+389##-###-###`,
[TuiCountryIsoCode.ML]: `+223##-##-####`,
[TuiCountryIsoCode.MM]: `+95##-###-###`,
[TuiCountryIsoCode.MN]: `+976##-##-####`,
[TuiCountryIsoCode.MO]: `+853####-####`,
[TuiCountryIsoCode.MQ]: `+596(0) # ## ## ## ##`,
[TuiCountryIsoCode.MQ]: `+596 ## ## ## ## ##`,
[TuiCountryIsoCode.MR]: `+222##-##-####`,
[TuiCountryIsoCode.MS]: `+1(664) ###-####`,
[TuiCountryIsoCode.MT]: `+356####-####`,
Expand Down Expand Up @@ -166,7 +166,7 @@ export const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, strin
[TuiCountryIsoCode.PW]: `+680###-####`,
[TuiCountryIsoCode.PY]: `+595(###) ###-###`,
[TuiCountryIsoCode.QA]: `+974####-####`,
[TuiCountryIsoCode.RE]: `+262(0) # ## ## ## ##`,
[TuiCountryIsoCode.RE]: `+262 ## ## ## ## ##`,
[TuiCountryIsoCode.RO]: `+40##-###-####`,
[TuiCountryIsoCode.RS]: `+381##-###-####`,
[TuiCountryIsoCode.RU]: `+7### ###-##-##`,
Expand Down Expand Up @@ -216,7 +216,7 @@ export const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, strin
[TuiCountryIsoCode.WS]: `+685##-####`,
[TuiCountryIsoCode.XK]: `+383##-###-###`,
[TuiCountryIsoCode.YE]: `+967###-###-###`,
[TuiCountryIsoCode.YT]: `+262(0) # ## ## ## ##`,
[TuiCountryIsoCode.YT]: `+262 ## ## ## ## ##`,
[TuiCountryIsoCode.ZA]: `+27##-###-####`,
[TuiCountryIsoCode.ZM]: `+260##-###-####`,
[TuiCountryIsoCode.ZW]: `+263#-######`,
Expand Down

0 comments on commit 11ee5ed

Please sign in to comment.