From e5eec0ed848d298ccba1d6db9392a507c5ce2bc4 Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Sun, 8 Dec 2024 01:58:47 +0700 Subject: [PATCH] refactor(locale): fix various locale data with trailing spaces (#3329) * fix: fix various locale data with trailing spaces in the case of ar/location/state and hr/location/street_name, this was also a duplicate of a line without a space, so removed. * Delete test file --- src/locales/ar/location/state.ts | 1 - src/locales/en/animal/horse.ts | 2 +- src/locales/en/book/title.ts | 2 +- src/locales/en_IN/location/city_name.ts | 2 +- src/locales/fa/lorem/word.ts | 4 ++-- src/locales/fr/animal/horse.ts | 2 +- src/locales/fr/word/preposition.ts | 2 +- src/locales/hr/location/country.ts | 2 +- src/locales/hr/location/street_name.ts | 1 - src/locales/nl/location/city_prefix.ts | 2 +- src/locales/pt_BR/color/human.ts | 2 +- src/locales/sr_RS_latin/location/country.ts | 2 +- src/locales/tr/location/street_name.ts | 6 +++--- src/locales/tr/person/last_name.ts | 16 ++++++++-------- 14 files changed, 22 insertions(+), 24 deletions(-) diff --git a/src/locales/ar/location/state.ts b/src/locales/ar/location/state.ts index 6cf0555e321..0169182a4ce 100644 --- a/src/locales/ar/location/state.ts +++ b/src/locales/ar/location/state.ts @@ -20,7 +20,6 @@ export default [ 'عرابة', 'رام الله', 'طولكرم', - 'بئر السبع ', 'تونس', 'بن عروس', 'أريانة', diff --git a/src/locales/en/animal/horse.ts b/src/locales/en/animal/horse.ts index 24ee3a5fe67..aac310891a5 100644 --- a/src/locales/en/animal/horse.ts +++ b/src/locales/en/animal/horse.ts @@ -50,7 +50,7 @@ export default [ 'Bavarian Warmblood', 'Belgian Half-blood', 'Belgian Horse', - 'Belgian Warmblood ', + 'Belgian Warmblood', 'Bhutia Horse', 'Black Forest Horse', 'Blazer Horse', diff --git a/src/locales/en/book/title.ts b/src/locales/en/book/title.ts index e94437d57f6..28f7ad4c8bc 100644 --- a/src/locales/en/book/title.ts +++ b/src/locales/en/book/title.ts @@ -110,7 +110,7 @@ export default [ 'Nightmare Abbey', 'Nineteen Eighty Four', 'Nostromo', - 'Notes from the Underground ', + 'Notes from the Underground', 'Of Mice and Men', 'Oliver Twist', 'On the Duty of Civil Disobedience', diff --git a/src/locales/en_IN/location/city_name.ts b/src/locales/en_IN/location/city_name.ts index 23310da8231..db0c0c25a99 100644 --- a/src/locales/en_IN/location/city_name.ts +++ b/src/locales/en_IN/location/city_name.ts @@ -196,7 +196,7 @@ export default [ 'Haldwani-cum-Kathgodam', 'Hansi', 'Hapur', - 'Hardoi ', + 'Hardoi', 'Hardwar', 'Hazaribag', 'Hindupur', diff --git a/src/locales/fa/lorem/word.ts b/src/locales/fa/lorem/word.ts index b2e47967935..ff835cf3e32 100644 --- a/src/locales/fa/lorem/word.ts +++ b/src/locales/fa/lorem/word.ts @@ -55,10 +55,10 @@ export default [ 'بیشتری را', 'برای', 'رایانه ای', - 'علی الخصوص ', + 'علی الخصوص', 'طراحان خلاقی', 'و فرهنگ پیشرو', - 'در زبان فارسی ', + 'در زبان فارسی', 'ایجاد', 'کرد', 'در این صورت', diff --git a/src/locales/fr/animal/horse.ts b/src/locales/fr/animal/horse.ts index 0183f37cba1..135cec28e3f 100644 --- a/src/locales/fr/animal/horse.ts +++ b/src/locales/fr/animal/horse.ts @@ -56,7 +56,7 @@ export default [ 'Baicha', 'Baise', 'Baixadeiro', - 'Baixo-Amazona ', + 'Baixo-Amazona', 'Bajau', 'Baladi', 'Bale', diff --git a/src/locales/fr/word/preposition.ts b/src/locales/fr/word/preposition.ts index 0006b6df65c..ec4f48e1d47 100644 --- a/src/locales/fr/word/preposition.ts +++ b/src/locales/fr/word/preposition.ts @@ -40,7 +40,7 @@ export default [ 'à bas de', 'à cause de', 'à côté de', - 'à défaut de ', + 'à défaut de', 'afin de', 'à force de', 'à la merci', diff --git a/src/locales/hr/location/country.ts b/src/locales/hr/location/country.ts index ce9f2308fc1..e3779a5443c 100644 --- a/src/locales/hr/location/country.ts +++ b/src/locales/hr/location/country.ts @@ -230,7 +230,7 @@ export default [ 'Tuvalu', 'Uganda', 'Ukrajina', - 'Ujedinjeni Arapski Emirati ', + 'Ujedinjeni Arapski Emirati', 'Ujedinjeno Kraljevstvo', 'Sjedinjenje Američke Države', 'Urugvaj', diff --git a/src/locales/hr/location/street_name.ts b/src/locales/hr/location/street_name.ts index 2061c79736f..67fd45dfcd8 100644 --- a/src/locales/hr/location/street_name.ts +++ b/src/locales/hr/location/street_name.ts @@ -346,7 +346,6 @@ export default [ 'Vladimira Vidrića', 'Vlašićka', 'Voćarska', - 'Voćarska ', 'Voćinska', 'Vodenička', 'Vranska', diff --git a/src/locales/nl/location/city_prefix.ts b/src/locales/nl/location/city_prefix.ts index 12029d636d8..7c5db93ca4e 100644 --- a/src/locales/nl/location/city_prefix.ts +++ b/src/locales/nl/location/city_prefix.ts @@ -414,7 +414,7 @@ export default [ 'Dellen', 'Delwijnen', 'Demen', - 'Den ', + 'Den', 'Deursen', 'Deuteren', 'Deventer', diff --git a/src/locales/pt_BR/color/human.ts b/src/locales/pt_BR/color/human.ts index d46c89b466a..b0f5f056704 100644 --- a/src/locales/pt_BR/color/human.ts +++ b/src/locales/pt_BR/color/human.ts @@ -9,7 +9,7 @@ export default [ 'bordô', 'bronze', 'caramelo', - 'castanho ', + 'castanho', 'cenoura', 'cinza', 'cobre', diff --git a/src/locales/sr_RS_latin/location/country.ts b/src/locales/sr_RS_latin/location/country.ts index 5d221b2665f..68c69442def 100644 --- a/src/locales/sr_RS_latin/location/country.ts +++ b/src/locales/sr_RS_latin/location/country.ts @@ -230,7 +230,7 @@ export default [ 'Tuvalu', 'Uganda', 'Ukrajina', - 'Ujedinjeni Arapski Emirati ', + 'Ujedinjeni Arapski Emirati', 'Ujedinjeno Kraljevstvo', 'Sjedinjenje Američke Države', 'Urugvaj', diff --git a/src/locales/tr/location/street_name.ts b/src/locales/tr/location/street_name.ts index aa81cfb71c3..d00e7232210 100644 --- a/src/locales/tr/location/street_name.ts +++ b/src/locales/tr/location/street_name.ts @@ -12,9 +12,9 @@ export default [ 'Sarıkaya Caddesi', 'Yunus Emre Sokak', 'Dar Sokak', - 'Fatih Sokak ', - 'Harman Yolu Sokak ', - 'Ergenekon Sokak ', + 'Fatih Sokak', + 'Harman Yolu Sokak', + 'Ergenekon Sokak', 'Ülkü Sokak', 'Sağlık Sokak', 'Okul Sokak', diff --git a/src/locales/tr/person/last_name.ts b/src/locales/tr/person/last_name.ts index 94924ef7db4..404337d3b72 100644 --- a/src/locales/tr/person/last_name.ts +++ b/src/locales/tr/person/last_name.ts @@ -8,7 +8,7 @@ export default { 'Adıvar', 'Akal', 'Akan', - 'Akar ', + 'Akar', 'Akay', 'Akaydın', 'Akbulut', @@ -54,9 +54,9 @@ export default { 'Demirbaş', 'Demirel', 'Denkel', - 'Dizdar ', - 'Doğan ', - 'Durak ', + 'Dizdar', + 'Doğan', + 'Durak', 'Durmaz', 'Duygulu', 'Düşenkalkar', @@ -94,7 +94,7 @@ export default { 'Karaer', 'Kasapoğlu', 'Kavaklıoğlu', - 'Kaya ', + 'Kaya', 'Keseroğlu', 'Keçeci', 'Kocabıyık', @@ -116,7 +116,7 @@ export default { 'Köylüoğlu', 'Küçükler', 'Kılıççı', - 'Kıraç ', + 'Kıraç', 'Limoncuoğlu', 'Mayhoş', 'Menemencioğlu', @@ -174,7 +174,7 @@ export default { 'Yetkiner', 'Yeşilkaya', 'Yorulmaz', - 'Yıldırım ', + 'Yıldırım', 'Yıldızoğlu', 'Yılmazer', 'Çamdalı', @@ -195,7 +195,7 @@ export default { 'Özdoğan', 'Özgörkey', 'Özkara', - 'Özkök ', + 'Özkök', 'Öztonga', 'Öztuna', ],