Skip to content

Commit f41d75a

Browse files
committed
Add country Kosovo
1 parent b4dbe8d commit f41d75a

File tree

10 files changed

+33
-16
lines changed

10 files changed

+33
-16
lines changed

data/countries.csv

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ WF;Wallis a Futuna;Wallis und Futuna;Wallis and Futuna;Wallis y Futuna;Wallis-et
488488
WLF;Wallis a Futuna;Wallis und Futuna;Wallis and Futuna;Wallis y Futuna;Wallis-et-Futuna;Wallis i Futuna;Wallis e Futuna;Wallis i Futuna;Wallis- och Futunaöarna
489489
WS;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa
490490
WSM;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa;Samoa
491+
XK;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosowo;Kosovo
492+
XXK;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosovo;Kosowo;Kosovo
491493
YE;Jemen;Jemen;Yemen;Yemen;Yémen;Jemen;Yemen;Jemen;Jemen
492494
YEM;Jemen;Jemen;Yemen;Yemen;Yémen;Jemen;Yemen;Jemen;Jemen
493495
YT;Mayotte;Mayotte;Mayotte;Mayotte;Mayotte;Mayotte;Mayotte;Majotta;Mayotte

data/europe.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,4 @@ RS;RSB;.rs
5050
IM;IMN;.im
5151
RS;XKX;
5252
ME;MNE;.me
53+
XK;XXK;.xk

src/Constants/CountryAfrica.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryAfrica (auto-generated with bin/build-countries from "data/africa.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryAfrica
2424
{

src/Constants/CountryAll.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryAll (auto-generated with bin/build-countries from "data/africa.csv, data/antarctica.csv, data/asia.csv, data/australia.csv, data/europe.csv, data/north-america.csv, data/south-america.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryAll
2424
{
@@ -218,6 +218,7 @@ class CountryAll
218218
CountryEurope::COUNTRY_CODE_VA => CountryEurope::COUNTRY_NAME_VA,
219219
CountryEurope::COUNTRY_CODE_IM => CountryEurope::COUNTRY_NAME_IM,
220220
CountryEurope::COUNTRY_CODE_ME => CountryEurope::COUNTRY_NAME_ME,
221+
CountryEurope::COUNTRY_CODE_XK => CountryEurope::COUNTRY_NAME_XK,
221222

222223
/* North America */
223224
CountryNorthAmerica::COUNTRY_CODE_AI => CountryNorthAmerica::COUNTRY_NAME_AI,

src/Constants/CountryAntarctica.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryAntarctica (auto-generated with bin/build-countries from "data/antarctica.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryAntarctica
2424
{

src/Constants/CountryAsia.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryAsia (auto-generated with bin/build-countries from "data/asia.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryAsia
2424
{

src/Constants/CountryAustralia.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryAustralia (auto-generated with bin/build-countries from "data/australia.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryAustralia
2424
{

src/Constants/CountryEurope.php

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryEurope (auto-generated with bin/build-countries from "data/europe.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryEurope
2424
{
@@ -72,6 +72,7 @@ class CountryEurope
7272
public const COUNTRY_CODE_VA = 'VA';
7373
public const COUNTRY_CODE_IM = 'IM';
7474
public const COUNTRY_CODE_ME = 'ME';
75+
public const COUNTRY_CODE_XK = 'XK';
7576

7677
/* Country language names */
7778
public const COUNTRY_NAME_AL = [
@@ -613,6 +614,17 @@ class CountryEurope
613614
Locale::PL_PL => 'Czarnogóra',
614615
Locale::SE_SE => 'Montenegro',
615616
];
617+
public const COUNTRY_NAME_XK = [
618+
Locale::CS_CZ => 'Kosovo',
619+
Locale::DE_DE => 'Kosovo',
620+
Locale::EN_GB => 'Kosovo',
621+
Locale::ES_ES => 'Kosovo',
622+
Locale::FR_FR => 'Kosovo',
623+
Locale::HR_HR => 'Kosovo',
624+
Locale::IT_IT => 'Kosovo',
625+
Locale::PL_PL => 'Kosowo',
626+
Locale::SE_SE => 'Kosovo',
627+
];
616628

617629
/* Countries */
618630
public const COUNTRIES = [
@@ -665,5 +677,6 @@ class CountryEurope
665677
self::COUNTRY_CODE_VA => ['name' => self::COUNTRY_NAME_VA, 'iso2' => 'VA', 'iso3' => 'VAT', 'tld' => 'va', ],
666678
self::COUNTRY_CODE_IM => ['name' => self::COUNTRY_NAME_IM, 'iso2' => 'IM', 'iso3' => 'IMN', 'tld' => 'im', ],
667679
self::COUNTRY_CODE_ME => ['name' => self::COUNTRY_NAME_ME, 'iso2' => 'ME', 'iso3' => 'MNE', 'tld' => 'me', ],
680+
self::COUNTRY_CODE_XK => ['name' => self::COUNTRY_NAME_XK, 'iso2' => 'XK', 'iso3' => 'XXK', 'tld' => 'xk', ],
668681
];
669682
}

src/Constants/CountryNorthAmerica.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountryNorthAmerica (auto-generated with bin/build-countries from "data/north-america.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountryNorthAmerica
2424
{

src/Constants/CountrySouthAmerica.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
* Class CountrySouthAmerica (auto-generated with bin/build-countries from "data/south-america.csv")
1818
*
1919
* @author Björn Hempel <bjoern@hempel.li>
20-
* @version 0.1.0 (2023-08-01 11:27:24)
21-
* @since 0.1.0 (2023-08-01 11:27:24) Generated version.
20+
* @version 0.1.0 (2023-09-04 20:45:28)
21+
* @since 0.1.0 (2023-09-04 20:45:28) Generated version.
2222
*/
2323
class CountrySouthAmerica
2424
{

0 commit comments

Comments
 (0)