From 94ae8407bb9ba62cd333d11be424dece3b4c347f Mon Sep 17 00:00:00 2001 From: xDivisionByZerox Date: Fri, 28 Apr 2023 12:41:32 +0200 Subject: [PATCH 1/3] refactor(locale): add city_name to city_patterns --- src/locales/de/location/city_pattern.ts | 1 + src/locales/en_CA/location/city_pattern.ts | 1 + src/locales/it/location/city_pattern.ts | 1 + src/locales/ka_GE/location/city_pattern.ts | 1 + src/locales/ko/location/city_pattern.ts | 5 ++++- src/locales/nb_NO/location/city_pattern.ts | 5 ++++- src/locales/ur/location/city_pattern.ts | 1 + 7 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/locales/de/location/city_pattern.ts b/src/locales/de/location/city_pattern.ts index d744d882361..8d70128e688 100644 --- a/src/locales/de/location/city_pattern.ts +++ b/src/locales/de/location/city_pattern.ts @@ -3,4 +3,5 @@ export default [ '{{location.city_prefix}} {{person.first_name}}', '{{person.first_name}}{{location.city_suffix}}', '{{person.last_name}}{{location.city_suffix}}', + '{{location.city_name}}', ]; diff --git a/src/locales/en_CA/location/city_pattern.ts b/src/locales/en_CA/location/city_pattern.ts index 7375aa8378a..0d422527891 100644 --- a/src/locales/en_CA/location/city_pattern.ts +++ b/src/locales/en_CA/location/city_pattern.ts @@ -3,4 +3,5 @@ export default [ '{{location.city_prefix}} {{person.firstName}}', '{{person.firstName}}{{location.city_suffix}}', '{{person.lastName}}{{location.city_suffix}}', + '{{location.city_name}}', ]; diff --git a/src/locales/it/location/city_pattern.ts b/src/locales/it/location/city_pattern.ts index b29e1252b61..15eebc480d7 100644 --- a/src/locales/it/location/city_pattern.ts +++ b/src/locales/it/location/city_pattern.ts @@ -3,4 +3,5 @@ export default [ '{{location.city_prefix}} {{person.first_name}}', '{{person.first_name}} {{location.city_suffix}}', '{{person.last_name}} {{location.city_suffix}}', + '{{location.city_name}}', ]; diff --git a/src/locales/ka_GE/location/city_pattern.ts b/src/locales/ka_GE/location/city_pattern.ts index d744d882361..8d70128e688 100644 --- a/src/locales/ka_GE/location/city_pattern.ts +++ b/src/locales/ka_GE/location/city_pattern.ts @@ -3,4 +3,5 @@ export default [ '{{location.city_prefix}} {{person.first_name}}', '{{person.first_name}}{{location.city_suffix}}', '{{person.last_name}}{{location.city_suffix}}', + '{{location.city_name}}', ]; diff --git a/src/locales/ko/location/city_pattern.ts b/src/locales/ko/location/city_pattern.ts index 61f8d6f193b..462f0230779 100644 --- a/src/locales/ko/location/city_pattern.ts +++ b/src/locales/ko/location/city_pattern.ts @@ -1 +1,4 @@ -export default ['{{location.city_name}}{{location.city_suffix}}']; +export default [ + '{{location.city_name}}{{location.city_suffix}}', + '{{location.city_name}}', +]; diff --git a/src/locales/nb_NO/location/city_pattern.ts b/src/locales/nb_NO/location/city_pattern.ts index 61f8d6f193b..462f0230779 100644 --- a/src/locales/nb_NO/location/city_pattern.ts +++ b/src/locales/nb_NO/location/city_pattern.ts @@ -1 +1,4 @@ -export default ['{{location.city_name}}{{location.city_suffix}}']; +export default [ + '{{location.city_name}}{{location.city_suffix}}', + '{{location.city_name}}', +]; diff --git a/src/locales/ur/location/city_pattern.ts b/src/locales/ur/location/city_pattern.ts index d744d882361..8d70128e688 100644 --- a/src/locales/ur/location/city_pattern.ts +++ b/src/locales/ur/location/city_pattern.ts @@ -3,4 +3,5 @@ export default [ '{{location.city_prefix}} {{person.first_name}}', '{{person.first_name}}{{location.city_suffix}}', '{{person.last_name}}{{location.city_suffix}}', + '{{location.city_name}}', ]; From 136b01b264748aa6cd605aa56081693264b8a92f Mon Sep 17 00:00:00 2001 From: xDivisionByZerox Date: Sun, 30 Apr 2023 12:49:38 +0200 Subject: [PATCH 2/3] refactor(locale): revert ko city_pattern --- src/locales/ko/location/city_pattern.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/locales/ko/location/city_pattern.ts b/src/locales/ko/location/city_pattern.ts index 462f0230779..61f8d6f193b 100644 --- a/src/locales/ko/location/city_pattern.ts +++ b/src/locales/ko/location/city_pattern.ts @@ -1,4 +1 @@ -export default [ - '{{location.city_name}}{{location.city_suffix}}', - '{{location.city_name}}', -]; +export default ['{{location.city_name}}{{location.city_suffix}}']; From f33437baefba9f608fb35929b38d11d8236502b7 Mon Sep 17 00:00:00 2001 From: xDivisionByZerox Date: Sun, 30 Apr 2023 12:49:49 +0200 Subject: [PATCH 3/3] refactor(locale): revert nb_NO city_pattern --- src/locales/nb_NO/location/city_pattern.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/locales/nb_NO/location/city_pattern.ts b/src/locales/nb_NO/location/city_pattern.ts index 462f0230779..61f8d6f193b 100644 --- a/src/locales/nb_NO/location/city_pattern.ts +++ b/src/locales/nb_NO/location/city_pattern.ts @@ -1,4 +1 @@ -export default [ - '{{location.city_name}}{{location.city_suffix}}', - '{{location.city_name}}', -]; +export default ['{{location.city_name}}{{location.city_suffix}}'];