Skip to content

Commit

Permalink
refactor(locale): fix various locale data with trailing spaces (#3329)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
matthewmayer authored Dec 7, 2024
1 parent c9284dc commit e5eec0e
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 24 deletions.
1 change: 0 additions & 1 deletion src/locales/ar/location/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default [
'عرابة',
'رام الله',
'طولكرم',
'بئر السبع ',
'تونس',
'بن عروس',
'أريانة',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/animal/horse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default [
'Bavarian Warmblood',
'Belgian Half-blood',
'Belgian Horse',
'Belgian Warmblood ',
'Belgian Warmblood',
'Bhutia Horse',
'Black Forest Horse',
'Blazer Horse',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/book/title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en_IN/location/city_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export default [
'Haldwani-cum-Kathgodam',
'Hansi',
'Hapur',
'Hardoi ',
'Hardoi',
'Hardwar',
'Hazaribag',
'Hindupur',
Expand Down
4 changes: 2 additions & 2 deletions src/locales/fa/lorem/word.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ export default [
'بیشتری را',
'برای',
'رایانه ای',
'علی الخصوص ',
'علی الخصوص',
'طراحان خلاقی',
'و فرهنگ پیشرو',
'در زبان فارسی ',
'در زبان فارسی',
'ایجاد',
'کرد',
'در این صورت',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/fr/animal/horse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default [
'Baicha',
'Baise',
'Baixadeiro',
'Baixo-Amazona ',
'Baixo-Amazona',
'Bajau',
'Baladi',
'Bale',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/fr/word/preposition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/hr/location/country.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default [
'Tuvalu',
'Uganda',
'Ukrajina',
'Ujedinjeni Arapski Emirati ',
'Ujedinjeni Arapski Emirati',
'Ujedinjeno Kraljevstvo',
'Sjedinjenje Američke Države',
'Urugvaj',
Expand Down
1 change: 0 additions & 1 deletion src/locales/hr/location/street_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ export default [
'Vladimira Vidrića',
'Vlašićka',
'Voćarska',
'Voćarska ',
'Voćinska',
'Vodenička',
'Vranska',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/nl/location/city_prefix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export default [
'Dellen',
'Delwijnen',
'Demen',
'Den ',
'Den',
'Deursen',
'Deuteren',
'Deventer',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/pt_BR/color/human.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default [
'bordô',
'bronze',
'caramelo',
'castanho ',
'castanho',
'cenoura',
'cinza',
'cobre',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/sr_RS_latin/location/country.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default [
'Tuvalu',
'Uganda',
'Ukrajina',
'Ujedinjeni Arapski Emirati ',
'Ujedinjeni Arapski Emirati',
'Ujedinjeno Kraljevstvo',
'Sjedinjenje Američke Države',
'Urugvaj',
Expand Down
6 changes: 3 additions & 3 deletions src/locales/tr/location/street_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
16 changes: 8 additions & 8 deletions src/locales/tr/person/last_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
'Adıvar',
'Akal',
'Akan',
'Akar ',
'Akar',
'Akay',
'Akaydın',
'Akbulut',
Expand Down Expand Up @@ -54,9 +54,9 @@ export default {
'Demirbaş',
'Demirel',
'Denkel',
'Dizdar ',
'Doğan ',
'Durak ',
'Dizdar',
'Doğan',
'Durak',
'Durmaz',
'Duygulu',
'Düşenkalkar',
Expand Down Expand Up @@ -94,7 +94,7 @@ export default {
'Karaer',
'Kasapoğlu',
'Kavaklıoğlu',
'Kaya ',
'Kaya',
'Keseroğlu',
'Keçeci',
'Kocabıyık',
Expand All @@ -116,7 +116,7 @@ export default {
'Köylüoğlu',
'Küçükler',
'Kılıççı',
'Kıraç ',
'Kıraç',
'Limoncuoğlu',
'Mayhoş',
'Menemencioğlu',
Expand Down Expand Up @@ -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ı',
Expand All @@ -195,7 +195,7 @@ export default {
'Özdoğan',
'Özgörkey',
'Özkara',
'Özkök ',
'Özkök',
'Öztonga',
'Öztuna',
],
Expand Down

0 comments on commit e5eec0e

Please sign in to comment.