diff --git a/src/locales/sl_SI/index.ts b/src/locales/sl_SI/index.ts index 40d73a36dff..6ae5c89229f 100644 --- a/src/locales/sl_SI/index.ts +++ b/src/locales/sl_SI/index.ts @@ -3,6 +3,7 @@ * Run 'pnpm run generate:locales' to update. */ import type { LocaleDefinition } from '../..'; +import location from './location'; import metadata from './metadata'; import person from './person'; @@ -13,6 +14,7 @@ import person from './person'; * - Endonym: Slovensko (Slovenia) */ const sl_SI: LocaleDefinition = { + location, metadata, person, }; diff --git a/src/locales/sl_SI/location/building_number.ts b/src/locales/sl_SI/location/building_number.ts new file mode 100644 index 00000000000..2fe49c1c507 --- /dev/null +++ b/src/locales/sl_SI/location/building_number.ts @@ -0,0 +1 @@ +export default ['###', '##', '#', '##a', '##b', '##c']; diff --git a/src/locales/sl_SI/location/city_name.ts b/src/locales/sl_SI/location/city_name.ts new file mode 100644 index 00000000000..725797c706e --- /dev/null +++ b/src/locales/sl_SI/location/city_name.ts @@ -0,0 +1,66 @@ +export default [ + 'Ajdovščina', + 'Beltinci', + 'Bled', + 'Bovec', + 'Brežice', + 'Celje', + 'Cerknica', + 'Cerkno', + 'Črnomelj', + 'Domžale', + 'Dravograd', + 'Gornja Radgona', + 'Grosuplje', + 'Hrastnik', + 'Idrija', + 'Ilirska Bistrica', + 'Izola', + 'Jesenice', + 'Kamnik', + 'Kočevje', + 'Koper', + 'Kranj', + 'Krško', + 'Laško', + 'Lenart', + 'Litija', + 'Ljutomer', + 'Logatec', + 'Lukovica', + 'Maribor', + 'Medvode', + 'Metlika', + 'Mežica', + 'Murska Sobota', + 'Nova Gorica', + 'Novo mesto', + 'Piran', + 'Postojna', + 'Ptuj', + 'Radlje ob Dravi', + 'Radovljica', + 'Ravne na Koroškem', + 'Ribnica', + 'Ruše', + 'Sevnica', + 'Sežana', + 'Slovenj Gradec', + 'Slovenska Bistrica', + 'Slovenske Konjice', + 'Šempeter pri Gorici', + 'Šenčur', + 'Šentjur', + 'Škofja Loka', + 'Šoštanj', + 'Štore', + 'Tolmin', + 'Trbovlje', + 'Trebnje', + 'Tržič', + 'Velenje', + 'Vipava', + 'Vrhnika', + 'Zagorje ob Savi', + 'Žalec', +]; diff --git a/src/locales/sl_SI/location/city_pattern.ts b/src/locales/sl_SI/location/city_pattern.ts new file mode 100644 index 00000000000..ad43b68fc5c --- /dev/null +++ b/src/locales/sl_SI/location/city_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.city_name}}']; diff --git a/src/locales/sl_SI/location/country.ts b/src/locales/sl_SI/location/country.ts new file mode 100644 index 00000000000..3ed7cf87b94 --- /dev/null +++ b/src/locales/sl_SI/location/country.ts @@ -0,0 +1,127 @@ +export default [ + 'Afganistan', + 'Albanija', + 'Alžirija', + 'Andora', + 'Angola', + 'Argentina', + 'Armenija', + 'Aruba', + 'Avstralija', + 'Avstrija', + 'Azerbajdžan', + 'Bahami', + 'Bangladeš', + 'Barbados', + 'Belgija', + 'Belorusija', + 'Bermudi', + 'Bolgarija', + 'Bolivija', + 'Bosna in Hercegovina', + 'Brazilija', + 'Čile', + 'Črna gora', + 'Češka', + 'Ciper', + 'Danska', + 'Dominikanska republika', + 'Egipt', + 'Ekvador', + 'Estonija', + 'Etiopija', + 'Fidži', + 'Filipini', + 'Finska', + 'Francija', + 'Grčija', + 'Gruzija', + 'Gvatemala', + 'Gvineja', + 'Haiti', + 'Hrvaška', + 'Indija', + 'Indonezija', + 'Iran', + 'Irak', + 'Irska', + 'Islandija', + 'Izrael', + 'Italija', + 'Jamajka', + 'Japonska', + 'Jordanija', + 'Kajmanski otoki', + 'Kambodža', + 'Kanada', + 'Kazahstan', + 'Kenija', + 'Kolumbija', + 'Kostarika', + 'Kuba', + 'Kuvajt', + 'Katar', + 'Laos', + 'Latvija', + 'Liberija', + 'Libanon', + 'Libija', + 'Litva', + 'Luksemburg', + 'Madagaskar', + 'Madžarska', + 'Malezija', + 'Maldivi', + 'Malta', + 'Maroko', + 'Mavricij', + 'Mehika', + 'Moldavija', + 'Monako', + 'Mongolija', + 'Namibija', + 'Nepal', + 'Nigerija', + 'Nikaragva', + 'Nizozemska', + 'Norveška', + 'Oman', + 'Pakistan', + 'Palestina', + 'Panama', + 'Paragvaj', + 'Peru', + 'Poljska', + 'Portugalska', + 'Romunija', + 'Rusija', + 'Salomonovi otoki', + 'El Salvador', + 'Savdska Arabija', + 'Severna Makedonija', + 'Sejšeli', + 'Singapur', + 'Slovaška', + 'Slovenija', + 'Somalija', + 'Sudan', + 'Srbija', + 'Sirija', + 'Španija', + 'Švedska', + 'Švica', + 'Tadžikistan', + 'Tajska', + 'Tanzanija', + 'Tunizija', + 'Turčija', + 'Ukrajina', + 'Urugvaj', + 'Uzbekistan', + 'Venezuela', + 'Vietnam', + 'Zambija', + 'Združene države Amerike', + 'Združeni arabski emirati', + 'Združeno kraljestvo', +]; diff --git a/src/locales/sl_SI/location/direction.ts b/src/locales/sl_SI/location/direction.ts new file mode 100644 index 00000000000..cb32651153f --- /dev/null +++ b/src/locales/sl_SI/location/direction.ts @@ -0,0 +1,6 @@ +export default { + cardinal: ['Sever', 'Vzhod', 'Jug', 'Zahod'], + cardinal_abbr: ['S', 'V', 'J', 'Z'], + ordinal: ['Severovzhod', 'Severozahod', 'Jugovzhod', 'Jugozahod'], + ordinal_abbr: ['SV', 'SZ', 'JV', 'JZ'], +}; diff --git a/src/locales/sl_SI/location/index.ts b/src/locales/sl_SI/location/index.ts new file mode 100644 index 00000000000..4fce8df7566 --- /dev/null +++ b/src/locales/sl_SI/location/index.ts @@ -0,0 +1,36 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { LocationDefinition } from '../../..'; +import building_number from './building_number'; +import city_name from './city_name'; +import city_pattern from './city_pattern'; +import country from './country'; +import direction from './direction'; +import language from './language'; +import postcode from './postcode'; +import secondary_address from './secondary_address'; +import state from './state'; +import state_abbr from './state_abbr'; +import street_address from './street_address'; +import street_name from './street_name'; +import street_pattern from './street_pattern'; + +const location: LocationDefinition = { + building_number, + city_name, + city_pattern, + country, + direction, + language, + postcode, + secondary_address, + state, + state_abbr, + street_address, + street_name, + street_pattern, +}; + +export default location; diff --git a/src/locales/sl_SI/location/language.ts b/src/locales/sl_SI/location/language.ts new file mode 100644 index 00000000000..7d7fe64a68e --- /dev/null +++ b/src/locales/sl_SI/location/language.ts @@ -0,0 +1,43 @@ +export default [ + { name: 'afrikanščina', alpha2: 'af', alpha3: 'afr' }, + { name: 'albanščina', alpha2: 'sq', alpha3: 'sqi' }, + { name: 'angleščina', alpha2: 'en', alpha3: 'eng' }, + { name: 'arabščina', alpha2: 'ar', alpha3: 'ara' }, + { name: 'armenščina', alpha2: 'hy', alpha3: 'hye' }, + { name: 'bengalščina', alpha2: 'bn', alpha3: 'ben' }, + { name: 'češčina', alpha2: 'cs', alpha3: 'ces' }, + { name: 'danščina', alpha2: 'da', alpha3: 'dan' }, + { name: 'estonščina', alpha2: 'et', alpha3: 'est' }, + { name: 'finščina', alpha2: 'fi', alpha3: 'fin' }, + { name: 'francoščina', alpha2: 'fr', alpha3: 'fra' }, + { name: 'grščina', alpha2: 'el', alpha3: 'ell' }, + { name: 'hindijščina', alpha2: 'hi', alpha3: 'hin' }, + { name: 'hrvaščina', alpha2: 'hr', alpha3: 'hrv' }, + { name: 'indonezijščina', alpha2: 'id', alpha3: 'ind' }, + { name: 'islandščina', alpha2: 'is', alpha3: 'isl' }, + { name: 'italijanščina', alpha2: 'it', alpha3: 'ita' }, + { name: 'japonščina', alpha2: 'ja', alpha3: 'jpn' }, + { name: 'kazahstanščina', alpha2: 'kk', alpha3: 'kaz' }, + { name: 'kitajščina', alpha2: 'zh', alpha3: 'zho' }, + { name: 'korejščina', alpha2: 'ko', alpha3: 'kor' }, + { name: 'latvijščina', alpha2: 'lv', alpha3: 'lav' }, + { name: 'madagaskarščina', alpha2: 'mg', alpha3: 'mlg' }, + { name: 'madžarščina', alpha2: 'hu', alpha3: 'hun' }, + { name: 'makedonščina', alpha2: 'mk', alpha3: 'mkd' }, + { name: 'maldivščina', alpha2: 'dv', alpha3: 'div' }, + { name: 'mongolščina', alpha2: 'mn', alpha3: 'mon' }, + { name: 'nepalščina', alpha2: 'ne', alpha3: 'nep' }, + { name: 'nemščina', alpha2: 'de', alpha3: 'deu' }, + { name: 'norveščina', alpha2: 'no', alpha3: 'nor' }, + { name: 'poljščina', alpha2: 'pl', alpha3: 'pol' }, + { name: 'portugalščina', alpha2: 'pt', alpha3: 'por' }, + { name: 'romunščina', alpha2: 'ro', alpha3: 'ron' }, + { name: 'ruščina', alpha2: 'ru', alpha3: 'rus' }, + { name: 'srbščina', alpha2: 'sr', alpha3: 'srp' }, + { name: 'slovenščina', alpha2: 'sl', alpha3: 'slv' }, + { name: 'španščina', alpha2: 'es', alpha3: 'spa' }, + { name: 'švedščina', alpha2: 'sv', alpha3: 'swe' }, + { name: 'ukrajinščina', alpha2: 'uk', alpha3: 'ukr' }, + { name: 'uzbeščina', alpha2: 'uz', alpha3: 'uzb' }, + { name: 'vietnamščina', alpha2: 'vi', alpha3: 'vie' }, +]; diff --git a/src/locales/sl_SI/location/postcode.ts b/src/locales/sl_SI/location/postcode.ts new file mode 100644 index 00000000000..a8235678f7b --- /dev/null +++ b/src/locales/sl_SI/location/postcode.ts @@ -0,0 +1 @@ +export default ['####']; diff --git a/src/locales/sl_SI/location/secondary_address.ts b/src/locales/sl_SI/location/secondary_address.ts new file mode 100644 index 00000000000..24b99ce26c9 --- /dev/null +++ b/src/locales/sl_SI/location/secondary_address.ts @@ -0,0 +1,6 @@ +export default [ + 'stanovanje št. ###', + 'nadstropje #', + 'apartma ###', + 'pisarna ###', +]; diff --git a/src/locales/sl_SI/location/state.ts b/src/locales/sl_SI/location/state.ts new file mode 100644 index 00000000000..54a329f417c --- /dev/null +++ b/src/locales/sl_SI/location/state.ts @@ -0,0 +1,14 @@ +export default [ + 'Gorenjska', + 'Goriška', + 'Jugovzhodna Slovenija', + 'Koroška', + 'Obalno-kraška', + 'Osrednjeslovenska', + 'Podravska', + 'Pomurska', + 'Posavska', + 'Primorsko-notranjska', + 'Savinjska', + 'Zasavska', +]; diff --git a/src/locales/sl_SI/location/state_abbr.ts b/src/locales/sl_SI/location/state_abbr.ts new file mode 100644 index 00000000000..ed4d1eb2e44 --- /dev/null +++ b/src/locales/sl_SI/location/state_abbr.ts @@ -0,0 +1,14 @@ +export default [ + 'GZ', // Gorenjska + 'GO', // Goriška + 'JV', // Jugovzhodna Slovenija + 'KA', // Koroška + 'KR', // Obalno-kraška + 'OS', // Osrednjeslovenska + 'MB', // Podravska + 'MS', // Pomurska + 'PO', // Posavska + 'PS', // Primorsko-notranjska + 'SG', // Savinjska + 'ZA', // Zasavska +]; diff --git a/src/locales/sl_SI/location/street_address.ts b/src/locales/sl_SI/location/street_address.ts new file mode 100644 index 00000000000..437f20dd91a --- /dev/null +++ b/src/locales/sl_SI/location/street_address.ts @@ -0,0 +1,4 @@ +export default { + normal: '{{location.street}} {{location.buildingNumber}}', + full: '{{location.street}} {{location.buildingNumber}} {{location.secondaryAddress}}', +}; diff --git a/src/locales/sl_SI/location/street_name.ts b/src/locales/sl_SI/location/street_name.ts new file mode 100644 index 00000000000..d605351cb92 --- /dev/null +++ b/src/locales/sl_SI/location/street_name.ts @@ -0,0 +1,99 @@ +export default [ + 'Aškerčeva ulica', + 'Bežigrajska cesta', + 'Bleiweisova cesta', + 'Brilejeva ulica', + 'Cankarjeva ulica', + 'Cesta 1. maja', + 'Cesta Andreja Bitenca', + 'Cesta Ljubljanske brigade', + 'Cesta dveh cesarjev', + 'Cesta na Bokalce', + 'Cesta na Brdo', + 'Cesta na Laze', + 'Cesta na Rožnik', + 'Cesta v Gorice', + 'Cesta v Kostanj', + 'Cesta v Mestni log', + 'Delpinova ulica', + 'Dolenjska cesta', + 'Dunajska cesta', + 'Erjavčeva ulica', + 'Finžgarjeva ulica', + 'Gorenjska cesta', + 'Gosposvetska cesta', + 'Grablovičeva ulica', + 'Gregorčičeva ulica', + 'Igriška ulica', + 'Ilirska ulica', + 'Jadranska cesta', + 'Jakopičeva ulica', + 'Jamova cesta', + 'Jelovškova ulica', + 'Kajuhova ulica', + 'Karlovška cesta', + 'Kersnikova ulica', + 'Kolodvorska ulica', + 'Koprska ulica', + 'Koroška cesta', + 'Kraigherjeva ulica', + 'Krekov trg', + 'Krekova ulica', + 'Levstikova ulica', + 'Linhartova cesta', + 'Litostrojska cesta', + 'Lokavška cesta', + 'Maistrova ulica', + 'Maroltova ulica', + 'Masarykova cesta', + 'Mejna ulica', + 'Miklošičeva cesta', + 'Moškričeva ulica', + 'Murnikova ulica', + 'Nazorjeva ulica', + 'Nova pot', + 'Ob železnici', + 'Obalna cesta', + 'Obvozna cesta', + 'Parmova ulica', + 'Petkovškovo nabrežje', + 'Plesejeva ulica', + 'Poljanska cesta', + 'Poljanska steza', + 'Potočnikova ulica', + 'Radniška cesta', + 'Resljeva cesta', + 'Riharjeva ulica', + 'Rimska cesta', + 'Rožna dolina cesta', + 'Rudniška cesta', + 'Savska cesta', + 'Saveljska cesta', + 'Selanova ulica', + 'Slapška ulica', + 'Slovenska cesta', + 'Soška ulica', + 'Šiška cesta', + 'Šmartinska cesta', + 'Štefanova ulica', + 'Taborniška ulica', + 'Tivolska cesta', + 'Trg mladinskih delovnih brigad', + 'Trg republike', + 'Trpinčeva ulica', + 'Tržaška cesta', + 'Ulica Franca Rozmana - Staneta', + 'Ulica Hermana Potočnika', + 'Ulica Milana Majcna', + 'Ulica Roberta Blinca', + 'Ulica Stanka Bloudka', + 'Valjavčeva ulica', + 'Vegova ulica', + 'Vilharjeva cesta', + 'Vodnikova cesta', + 'Vošnjakova ulica', + 'Wolfova ulica', + 'Zaloška cesta', + 'Zarnikova ulica', + 'Župančičeva ulica', +]; diff --git a/src/locales/sl_SI/location/street_pattern.ts b/src/locales/sl_SI/location/street_pattern.ts new file mode 100644 index 00000000000..30a9a5ddf99 --- /dev/null +++ b/src/locales/sl_SI/location/street_pattern.ts @@ -0,0 +1 @@ +export default ['{{location.street_name}}']; diff --git a/test/__snapshots__/locale-data.spec.ts.snap b/test/__snapshots__/locale-data.spec.ts.snap index f946c46ec1b..c482975ea4e 100644 --- a/test/__snapshots__/locale-data.spec.ts.snap +++ b/test/__snapshots__/locale-data.spec.ts.snap @@ -63,7 +63,7 @@ exports[`locale-data > should only have known characters 1`] = ` "ro_MD": " #+,-./ABCDEFGHIJKLMNOPRSTUVXZabcdefghijklmnoprstuvxyzâîăȘșț", "ru": " !#'()+,-.AOАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяё—", "sk": " "#()+-./ABCDEFGHIJKLMNOPRSTUVWXZabcdefghijklmnopqrstuvwxyzÍÚáäéíóôöúýČčĎď켾ňŕřŠšťŽž", - "sl_SI": " ,.ABCDEFGHIJKLMNOPRSTUVXZabcdefghijklmnoprstuvzćČčŠšŽž", + "sl_SI": " #,-.ABCDEFGHIJKLMNOPRSTUVWXZabcdefghijklmnopqrstuvwyzćČčŠšŽž", "sr_RS_latin": " #()+.ABCDEFGHIJKLMNOPRSTUVWZabcdefghijklmnopqrstuvwyzĆćČčĐ𩹮ž", "sv": " #+,-.ABCDEFGHIJKLMNOPQRSTUVWYZabcdefghijklmnopqrstuvwxyzÄÅÖãäåçéíö", "ta_IN": "ஆஐகஙசஞடணதனபமயரறளழவாிுெை்",