summaryrefslogtreecommitdiffstats
path: root/pendulum/locales
diff options
context:
space:
mode:
Diffstat (limited to 'pendulum/locales')
-rw-r--r--pendulum/locales/__init__.py0
-rw-r--r--pendulum/locales/cs/__init__.py0
-rw-r--r--pendulum/locales/cs/custom.py23
-rw-r--r--pendulum/locales/cs/locale.py266
-rw-r--r--pendulum/locales/da/__init__.py0
-rw-r--r--pendulum/locales/da/custom.py18
-rw-r--r--pendulum/locales/da/locale.py147
-rw-r--r--pendulum/locales/de/__init__.py0
-rw-r--r--pendulum/locales/de/custom.py36
-rw-r--r--pendulum/locales/de/locale.py144
-rw-r--r--pendulum/locales/en/__init__.py0
-rw-r--r--pendulum/locales/en/custom.py23
-rw-r--r--pendulum/locales/en/locale.py150
-rw-r--r--pendulum/locales/es/__init__.py0
-rw-r--r--pendulum/locales/es/custom.py23
-rw-r--r--pendulum/locales/es/locale.py141
-rw-r--r--pendulum/locales/fa/__init__.py0
-rw-r--r--pendulum/locales/fa/custom.py18
-rw-r--r--pendulum/locales/fa/locale.py135
-rw-r--r--pendulum/locales/fo/__init__.py0
-rw-r--r--pendulum/locales/fo/custom.py20
-rw-r--r--pendulum/locales/fo/locale.py132
-rw-r--r--pendulum/locales/fr/__init__.py0
-rw-r--r--pendulum/locales/fr/custom.py23
-rw-r--r--pendulum/locales/fr/locale.py133
-rw-r--r--pendulum/locales/he/__init__.py0
-rw-r--r--pendulum/locales/he/custom.py23
-rw-r--r--pendulum/locales/he/locale.py269
-rw-r--r--pendulum/locales/id/__init__.py0
-rw-r--r--pendulum/locales/id/custom.py19
-rw-r--r--pendulum/locales/id/locale.py141
-rw-r--r--pendulum/locales/it/__init__.py0
-rw-r--r--pendulum/locales/it/custom.py24
-rw-r--r--pendulum/locales/it/locale.py145
-rw-r--r--pendulum/locales/ja/__init__.py0
-rw-r--r--pendulum/locales/ja/custom.py21
-rw-r--r--pendulum/locales/ja/locale.py194
-rw-r--r--pendulum/locales/ko/__init__.py0
-rw-r--r--pendulum/locales/ko/custom.py18
-rw-r--r--pendulum/locales/ko/locale.py105
-rw-r--r--pendulum/locales/locale.py102
-rw-r--r--pendulum/locales/lt/__init__.py0
-rw-r--r--pendulum/locales/lt/custom.py118
-rw-r--r--pendulum/locales/lt/locale.py255
-rw-r--r--pendulum/locales/nb/__init__.py0
-rw-r--r--pendulum/locales/nb/custom.py20
-rw-r--r--pendulum/locales/nb/locale.py150
-rw-r--r--pendulum/locales/nl/__init__.py0
-rw-r--r--pendulum/locales/nl/custom.py23
-rw-r--r--pendulum/locales/nl/locale.py134
-rw-r--r--pendulum/locales/nn/__init__.py0
-rw-r--r--pendulum/locales/nn/custom.py20
-rw-r--r--pendulum/locales/nn/locale.py141
-rw-r--r--pendulum/locales/pl/__init__.py0
-rw-r--r--pendulum/locales/pl/custom.py21
-rw-r--r--pendulum/locales/pl/locale.py279
-rw-r--r--pendulum/locales/pt_br/__init__.py0
-rw-r--r--pendulum/locales/pt_br/custom.py18
-rw-r--r--pendulum/locales/pt_br/locale.py143
-rw-r--r--pendulum/locales/ru/__init__.py0
-rw-r--r--pendulum/locales/ru/custom.py20
-rw-r--r--pendulum/locales/ru/locale.py270
-rw-r--r--pendulum/locales/sk/__init__.py0
-rw-r--r--pendulum/locales/sk/custom.py20
-rw-r--r--pendulum/locales/sk/locale.py266
-rw-r--r--pendulum/locales/sv/__init__.py0
-rw-r--r--pendulum/locales/sv/custom.py20
-rw-r--r--pendulum/locales/sv/locale.py222
-rw-r--r--pendulum/locales/zh/__init__.py0
-rw-r--r--pendulum/locales/zh/custom.py18
-rw-r--r--pendulum/locales/zh/locale.py113
71 files changed, 0 insertions, 4764 deletions
diff --git a/pendulum/locales/__init__.py b/pendulum/locales/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/cs/__init__.py b/pendulum/locales/cs/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/cs/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/cs/custom.py b/pendulum/locales/cs/custom.py
deleted file mode 100644
index 5f66b69..0000000
--- a/pendulum/locales/cs/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-cs custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "pár vteřin"},
- # Relative time
- "ago": "{} zpět",
- "from_now": "za {}",
- "after": "{0} po",
- "before": "{0} zpět",
- # Ordinals
- "ordinal": {"one": ".", "two": ".", "few": ".", "other": "."},
- # Date formats
- "date_formats": {
- "LTS": "h:mm:ss",
- "LT": "h:mm",
- "L": "DD. M. YYYY",
- "LL": "D. MMMM, YYYY",
- "LLL": "D. MMMM, YYYY h:mm",
- "LLLL": "dddd, D. MMMM, YYYY h:mm",
- },
-}
diff --git a/pendulum/locales/cs/locale.py b/pendulum/locales/cs/locale.py
deleted file mode 100644
index 2c51c78..0000000
--- a/pendulum/locales/cs/locale.py
+++ /dev/null
@@ -1,266 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-cs locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "few"
- if ((n == n and (n >= 2 and n <= 4)) and (0 == 0 and (0 == 0)))
- else "many"
- if (not (0 == 0 and (0 == 0)))
- else "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "ne",
- 1: "po",
- 2: "út",
- 3: "st",
- 4: "čt",
- 5: "pá",
- 6: "so",
- },
- "narrow": {
- 0: "N",
- 1: "P",
- 2: "Ú",
- 3: "S",
- 4: "Č",
- 5: "P",
- 6: "S",
- },
- "short": {
- 0: "ne",
- 1: "po",
- 2: "út",
- 3: "st",
- 4: "čt",
- 5: "pá",
- 6: "so",
- },
- "wide": {
- 0: "neděle",
- 1: "pondělí",
- 2: "úterý",
- 3: "středa",
- 4: "čtvrtek",
- 5: "pátek",
- 6: "sobota",
- },
- },
- "months": {
- "abbreviated": {
- 1: "led",
- 2: "úno",
- 3: "bře",
- 4: "dub",
- 5: "kvě",
- 6: "čvn",
- 7: "čvc",
- 8: "srp",
- 9: "zář",
- 10: "říj",
- 11: "lis",
- 12: "pro",
- },
- "narrow": {
- 1: "1",
- 2: "2",
- 3: "3",
- 4: "4",
- 5: "5",
- 6: "6",
- 7: "7",
- 8: "8",
- 9: "9",
- 10: "10",
- 11: "11",
- 12: "12",
- },
- "wide": {
- 1: "ledna",
- 2: "února",
- 3: "března",
- 4: "dubna",
- 5: "května",
- 6: "června",
- 7: "července",
- 8: "srpna",
- 9: "září",
- 10: "října",
- 11: "listopadu",
- 12: "prosince",
- },
- },
- "units": {
- "year": {
- "one": "{0} rok",
- "few": "{0} roky",
- "many": "{0} roku",
- "other": "{0} let",
- },
- "month": {
- "one": "{0} měsíc",
- "few": "{0} měsíce",
- "many": "{0} měsíce",
- "other": "{0} měsíců",
- },
- "week": {
- "one": "{0} týden",
- "few": "{0} týdny",
- "many": "{0} týdne",
- "other": "{0} týdnů",
- },
- "day": {
- "one": "{0} den",
- "few": "{0} dny",
- "many": "{0} dne",
- "other": "{0} dní",
- },
- "hour": {
- "one": "{0} hodina",
- "few": "{0} hodiny",
- "many": "{0} hodiny",
- "other": "{0} hodin",
- },
- "minute": {
- "one": "{0} minuta",
- "few": "{0} minuty",
- "many": "{0} minuty",
- "other": "{0} minut",
- },
- "second": {
- "one": "{0} sekunda",
- "few": "{0} sekundy",
- "many": "{0} sekundy",
- "other": "{0} sekund",
- },
- "microsecond": {
- "one": "{0} mikrosekunda",
- "few": "{0} mikrosekundy",
- "many": "{0} mikrosekundy",
- "other": "{0} mikrosekund",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "za {0} let",
- "one": "za {0} rok",
- "few": "za {0} roky",
- "many": "za {0} roku",
- },
- "past": {
- "other": "před {0} lety",
- "one": "před {0} rokem",
- "few": "před {0} lety",
- "many": "před {0} roku",
- },
- },
- "month": {
- "future": {
- "other": "za {0} měsíců",
- "one": "za {0} měsíc",
- "few": "za {0} měsíce",
- "many": "za {0} měsíce",
- },
- "past": {
- "other": "před {0} měsíci",
- "one": "před {0} měsícem",
- "few": "před {0} měsíci",
- "many": "před {0} měsíce",
- },
- },
- "week": {
- "future": {
- "other": "za {0} týdnů",
- "one": "za {0} týden",
- "few": "za {0} týdny",
- "many": "za {0} týdne",
- },
- "past": {
- "other": "před {0} týdny",
- "one": "před {0} týdnem",
- "few": "před {0} týdny",
- "many": "před {0} týdne",
- },
- },
- "day": {
- "future": {
- "other": "za {0} dní",
- "one": "za {0} den",
- "few": "za {0} dny",
- "many": "za {0} dne",
- },
- "past": {
- "other": "před {0} dny",
- "one": "před {0} dnem",
- "few": "před {0} dny",
- "many": "před {0} dne",
- },
- },
- "hour": {
- "future": {
- "other": "za {0} hodin",
- "one": "za {0} hodinu",
- "few": "za {0} hodiny",
- "many": "za {0} hodiny",
- },
- "past": {
- "other": "před {0} hodinami",
- "one": "před {0} hodinou",
- "few": "před {0} hodinami",
- "many": "před {0} hodiny",
- },
- },
- "minute": {
- "future": {
- "other": "za {0} minut",
- "one": "za {0} minutu",
- "few": "za {0} minuty",
- "many": "za {0} minuty",
- },
- "past": {
- "other": "před {0} minutami",
- "one": "před {0} minutou",
- "few": "před {0} minutami",
- "many": "před {0} minuty",
- },
- },
- "second": {
- "future": {
- "other": "za {0} sekund",
- "one": "za {0} sekundu",
- "few": "za {0} sekundy",
- "many": "za {0} sekundy",
- },
- "past": {
- "other": "před {0} sekundami",
- "one": "před {0} sekundou",
- "few": "před {0} sekundami",
- "many": "před {0} sekundy",
- },
- },
- },
- "day_periods": {
- "midnight": "půlnoc",
- "am": "dop.",
- "noon": "poledne",
- "pm": "odp.",
- "morning1": "ráno",
- "morning2": "dopoledne",
- "afternoon1": "odpoledne",
- "evening1": "večer",
- "night1": "v noci",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/da/__init__.py b/pendulum/locales/da/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/da/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/da/custom.py b/pendulum/locales/da/custom.py
deleted file mode 100644
index c62ab83..0000000
--- a/pendulum/locales/da/custom.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-da custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} efter",
- "before": "{0} før",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd [d.] D. MMMM YYYY HH:mm",
- "LLL": "D. MMMM YYYY HH:mm",
- "LL": "D. MMMM YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/da/locale.py b/pendulum/locales/da/locale.py
deleted file mode 100644
index 936af3a..0000000
--- a/pendulum/locales/da/locale.py
+++ /dev/null
@@ -1,147 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-da locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if (
- (n == n and (n == 1))
- or ((not (0 == 0 and (0 == 0))) and (n == n and ((n == 0) or (n == 1))))
- )
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "søn.",
- 1: "man.",
- 2: "tir.",
- 3: "ons.",
- 4: "tor.",
- 5: "fre.",
- 6: "lør.",
- },
- "narrow": {0: "S", 1: "M", 2: "T", 3: "O", 4: "T", 5: "F", 6: "L"},
- "short": {0: "sø", 1: "ma", 2: "ti", 3: "on", 4: "to", 5: "fr", 6: "lø"},
- "wide": {
- 0: "søndag",
- 1: "mandag",
- 2: "tirsdag",
- 3: "onsdag",
- 4: "torsdag",
- 5: "fredag",
- 6: "lørdag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mar.",
- 4: "apr.",
- 5: "maj",
- 6: "jun.",
- 7: "jul.",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "dec.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januar",
- 2: "februar",
- 3: "marts",
- 4: "april",
- 5: "maj",
- 6: "juni",
- 7: "juli",
- 8: "august",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "december",
- },
- },
- "units": {
- "year": {"one": "{0} år", "other": "{0} år"},
- "month": {"one": "{0} måned", "other": "{0} måneder"},
- "week": {"one": "{0} uge", "other": "{0} uger"},
- "day": {"one": "{0} dag", "other": "{0} dage"},
- "hour": {"one": "{0} time", "other": "{0} timer"},
- "minute": {"one": "{0} minut", "other": "{0} minutter"},
- "second": {"one": "{0} sekund", "other": "{0} sekunder"},
- "microsecond": {"one": "{0} mikrosekund", "other": "{0} mikrosekunder"},
- },
- "relative": {
- "year": {
- "future": {"other": "om {0} år", "one": "om {0} år"},
- "past": {"other": "for {0} år siden", "one": "for {0} år siden"},
- },
- "month": {
- "future": {"other": "om {0} måneder", "one": "om {0} måned"},
- "past": {
- "other": "for {0} måneder siden",
- "one": "for {0} måned siden",
- },
- },
- "week": {
- "future": {"other": "om {0} uger", "one": "om {0} uge"},
- "past": {"other": "for {0} uger siden", "one": "for {0} uge siden"},
- },
- "day": {
- "future": {"other": "om {0} dage", "one": "om {0} dag"},
- "past": {"other": "for {0} dage siden", "one": "for {0} dag siden"},
- },
- "hour": {
- "future": {"other": "om {0} timer", "one": "om {0} time"},
- "past": {"other": "for {0} timer siden", "one": "for {0} time siden"},
- },
- "minute": {
- "future": {"other": "om {0} minutter", "one": "om {0} minut"},
- "past": {
- "other": "for {0} minutter siden",
- "one": "for {0} minut siden",
- },
- },
- "second": {
- "future": {"other": "om {0} sekunder", "one": "om {0} sekund"},
- "past": {
- "other": "for {0} sekunder siden",
- "one": "for {0} sekund siden",
- },
- },
- },
- "day_periods": {
- "midnight": "midnat",
- "am": "AM",
- "pm": "PM",
- "morning1": "om morgenen",
- "morning2": "om formiddagen",
- "afternoon1": "om eftermiddagen",
- "evening1": "om aftenen",
- "night1": "om natten",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/de/__init__.py b/pendulum/locales/de/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/de/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/de/custom.py b/pendulum/locales/de/custom.py
deleted file mode 100644
index a19a8e1..0000000
--- a/pendulum/locales/de/custom.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""
-de custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} später",
- "before": "{0} zuvor",
- "units_relative": {
- "year": {
- "future": {"one": "{0} Jahr", "other": "{0} Jahren"},
- "past": {"one": "{0} Jahr", "other": "{0} Jahren"},
- },
- "month": {
- "future": {"one": "{0} Monat", "other": "{0} Monaten"},
- "past": {"one": "{0} Monat", "other": "{0} Monaten"},
- },
- "week": {
- "future": {"one": "{0} Woche", "other": "{0} Wochen"},
- "past": {"one": "{0} Woche", "other": "{0} Wochen"},
- },
- "day": {
- "future": {"one": "{0} Tag", "other": "{0} Tagen"},
- "past": {"one": "{0} Tag", "other": "{0} Tagen"},
- },
- },
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd, D. MMMM YYYY HH:mm",
- "LLL": "D. MMMM YYYY HH:mm",
- "LL": "D. MMMM YYYY",
- "L": "DD.MM.YYYY",
- },
-}
diff --git a/pendulum/locales/de/locale.py b/pendulum/locales/de/locale.py
deleted file mode 100644
index 94d2ff1..0000000
--- a/pendulum/locales/de/locale.py
+++ /dev/null
@@ -1,144 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-de locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "So.",
- 1: "Mo.",
- 2: "Di.",
- 3: "Mi.",
- 4: "Do.",
- 5: "Fr.",
- 6: "Sa.",
- },
- "narrow": {0: "S", 1: "M", 2: "D", 3: "M", 4: "D", 5: "F", 6: "S"},
- "short": {
- 0: "So.",
- 1: "Mo.",
- 2: "Di.",
- 3: "Mi.",
- 4: "Do.",
- 5: "Fr.",
- 6: "Sa.",
- },
- "wide": {
- 0: "Sonntag",
- 1: "Montag",
- 2: "Dienstag",
- 3: "Mittwoch",
- 4: "Donnerstag",
- 5: "Freitag",
- 6: "Samstag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "Jan.",
- 2: "Feb.",
- 3: "März",
- 4: "Apr.",
- 5: "Mai",
- 6: "Juni",
- 7: "Juli",
- 8: "Aug.",
- 9: "Sep.",
- 10: "Okt.",
- 11: "Nov.",
- 12: "Dez.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "Januar",
- 2: "Februar",
- 3: "März",
- 4: "April",
- 5: "Mai",
- 6: "Juni",
- 7: "Juli",
- 8: "August",
- 9: "September",
- 10: "Oktober",
- 11: "November",
- 12: "Dezember",
- },
- },
- "units": {
- "year": {"one": "{0} Jahr", "other": "{0} Jahre"},
- "month": {"one": "{0} Monat", "other": "{0} Monate"},
- "week": {"one": "{0} Woche", "other": "{0} Wochen"},
- "day": {"one": "{0} Tag", "other": "{0} Tage"},
- "hour": {"one": "{0} Stunde", "other": "{0} Stunden"},
- "minute": {"one": "{0} Minute", "other": "{0} Minuten"},
- "second": {"one": "{0} Sekunde", "other": "{0} Sekunden"},
- "microsecond": {"one": "{0} Mikrosekunde", "other": "{0} Mikrosekunden"},
- },
- "relative": {
- "year": {
- "future": {"other": "in {0} Jahren", "one": "in {0} Jahr"},
- "past": {"other": "vor {0} Jahren", "one": "vor {0} Jahr"},
- },
- "month": {
- "future": {"other": "in {0} Monaten", "one": "in {0} Monat"},
- "past": {"other": "vor {0} Monaten", "one": "vor {0} Monat"},
- },
- "week": {
- "future": {"other": "in {0} Wochen", "one": "in {0} Woche"},
- "past": {"other": "vor {0} Wochen", "one": "vor {0} Woche"},
- },
- "day": {
- "future": {"other": "in {0} Tagen", "one": "in {0} Tag"},
- "past": {"other": "vor {0} Tagen", "one": "vor {0} Tag"},
- },
- "hour": {
- "future": {"other": "in {0} Stunden", "one": "in {0} Stunde"},
- "past": {"other": "vor {0} Stunden", "one": "vor {0} Stunde"},
- },
- "minute": {
- "future": {"other": "in {0} Minuten", "one": "in {0} Minute"},
- "past": {"other": "vor {0} Minuten", "one": "vor {0} Minute"},
- },
- "second": {
- "future": {"other": "in {0} Sekunden", "one": "in {0} Sekunde"},
- "past": {"other": "vor {0} Sekunden", "one": "vor {0} Sekunde"},
- },
- },
- "day_periods": {
- "midnight": "Mitternacht",
- "am": "vorm.",
- "pm": "nachm.",
- "morning1": "morgens",
- "morning2": "vormittags",
- "afternoon1": "mittags",
- "afternoon2": "nachmittags",
- "evening1": "abends",
- "night1": "nachts",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/en/__init__.py b/pendulum/locales/en/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/en/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/en/custom.py b/pendulum/locales/en/custom.py
deleted file mode 100644
index a403ad8..0000000
--- a/pendulum/locales/en/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-en custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "a few seconds"},
- # Relative time
- "ago": "{} ago",
- "from_now": "in {}",
- "after": "{0} after",
- "before": "{0} before",
- # Ordinals
- "ordinal": {"one": "st", "two": "nd", "few": "rd", "other": "th"},
- # Date formats
- "date_formats": {
- "LTS": "h:mm:ss A",
- "LT": "h:mm A",
- "L": "MM/DD/YYYY",
- "LL": "MMMM D, YYYY",
- "LLL": "MMMM D, YYYY h:mm A",
- "LLLL": "dddd, MMMM D, YYYY h:mm A",
- },
-}
diff --git a/pendulum/locales/en/locale.py b/pendulum/locales/en/locale.py
deleted file mode 100644
index 00eafc2..0000000
--- a/pendulum/locales/en/locale.py
+++ /dev/null
@@ -1,150 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-en locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "few"
- if (
- ((n % 10) == (n % 10) and ((n % 10) == 3))
- and (not ((n % 100) == (n % 100) and ((n % 100) == 13)))
- )
- else "one"
- if (
- ((n % 10) == (n % 10) and ((n % 10) == 1))
- and (not ((n % 100) == (n % 100) and ((n % 100) == 11)))
- )
- else "two"
- if (
- ((n % 10) == (n % 10) and ((n % 10) == 2))
- and (not ((n % 100) == (n % 100) and ((n % 100) == 12)))
- )
- else "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "Sun",
- 1: "Mon",
- 2: "Tue",
- 3: "Wed",
- 4: "Thu",
- 5: "Fri",
- 6: "Sat",
- },
- "narrow": {0: "S", 1: "M", 2: "T", 3: "W", 4: "T", 5: "F", 6: "S"},
- "short": {0: "Su", 1: "Mo", 2: "Tu", 3: "We", 4: "Th", 5: "Fr", 6: "Sa"},
- "wide": {
- 0: "Sunday",
- 1: "Monday",
- 2: "Tuesday",
- 3: "Wednesday",
- 4: "Thursday",
- 5: "Friday",
- 6: "Saturday",
- },
- },
- "months": {
- "abbreviated": {
- 1: "Jan",
- 2: "Feb",
- 3: "Mar",
- 4: "Apr",
- 5: "May",
- 6: "Jun",
- 7: "Jul",
- 8: "Aug",
- 9: "Sep",
- 10: "Oct",
- 11: "Nov",
- 12: "Dec",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "January",
- 2: "February",
- 3: "March",
- 4: "April",
- 5: "May",
- 6: "June",
- 7: "July",
- 8: "August",
- 9: "September",
- 10: "October",
- 11: "November",
- 12: "December",
- },
- },
- "units": {
- "year": {"one": "{0} year", "other": "{0} years"},
- "month": {"one": "{0} month", "other": "{0} months"},
- "week": {"one": "{0} week", "other": "{0} weeks"},
- "day": {"one": "{0} day", "other": "{0} days"},
- "hour": {"one": "{0} hour", "other": "{0} hours"},
- "minute": {"one": "{0} minute", "other": "{0} minutes"},
- "second": {"one": "{0} second", "other": "{0} seconds"},
- "microsecond": {"one": "{0} microsecond", "other": "{0} microseconds"},
- },
- "relative": {
- "year": {
- "future": {"other": "in {0} years", "one": "in {0} year"},
- "past": {"other": "{0} years ago", "one": "{0} year ago"},
- },
- "month": {
- "future": {"other": "in {0} months", "one": "in {0} month"},
- "past": {"other": "{0} months ago", "one": "{0} month ago"},
- },
- "week": {
- "future": {"other": "in {0} weeks", "one": "in {0} week"},
- "past": {"other": "{0} weeks ago", "one": "{0} week ago"},
- },
- "day": {
- "future": {"other": "in {0} days", "one": "in {0} day"},
- "past": {"other": "{0} days ago", "one": "{0} day ago"},
- },
- "hour": {
- "future": {"other": "in {0} hours", "one": "in {0} hour"},
- "past": {"other": "{0} hours ago", "one": "{0} hour ago"},
- },
- "minute": {
- "future": {"other": "in {0} minutes", "one": "in {0} minute"},
- "past": {"other": "{0} minutes ago", "one": "{0} minute ago"},
- },
- "second": {
- "future": {"other": "in {0} seconds", "one": "in {0} second"},
- "past": {"other": "{0} seconds ago", "one": "{0} second ago"},
- },
- },
- "day_periods": {
- "midnight": "midnight",
- "am": "AM",
- "noon": "noon",
- "pm": "PM",
- "morning1": "in the morning",
- "afternoon1": "in the afternoon",
- "evening1": "in the evening",
- "night1": "at night",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/es/__init__.py b/pendulum/locales/es/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/es/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/es/custom.py b/pendulum/locales/es/custom.py
deleted file mode 100644
index 4b7e2b5..0000000
--- a/pendulum/locales/es/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-es custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "unos segundos"},
- # Relative time
- "ago": "hace {0}",
- "from_now": "dentro de {0}",
- "after": "{0} después",
- "before": "{0} antes",
- # Ordinals
- "ordinal": {"other": "º"},
- # Date formats
- "date_formats": {
- "LTS": "H:mm:ss",
- "LT": "H:mm",
- "LLLL": "dddd, D [de] MMMM [de] YYYY H:mm",
- "LLL": "D [de] MMMM [de] YYYY H:mm",
- "LL": "D [de] MMMM [de] YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/es/locale.py b/pendulum/locales/es/locale.py
deleted file mode 100644
index edba4d3..0000000
--- a/pendulum/locales/es/locale.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-es locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one" if (n == n and (n == 1)) else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "dom.",
- 1: "lun.",
- 2: "mar.",
- 3: "mié.",
- 4: "jue.",
- 5: "vie.",
- 6: "sáb.",
- },
- "narrow": {0: "D", 1: "L", 2: "M", 3: "X", 4: "J", 5: "V", 6: "S"},
- "short": {0: "DO", 1: "LU", 2: "MA", 3: "MI", 4: "JU", 5: "VI", 6: "SA"},
- "wide": {
- 0: "domingo",
- 1: "lunes",
- 2: "martes",
- 3: "miércoles",
- 4: "jueves",
- 5: "viernes",
- 6: "sábado",
- },
- },
- "months": {
- "abbreviated": {
- 1: "ene.",
- 2: "feb.",
- 3: "mar.",
- 4: "abr.",
- 5: "may.",
- 6: "jun.",
- 7: "jul.",
- 8: "ago.",
- 9: "sept.",
- 10: "oct.",
- 11: "nov.",
- 12: "dic.",
- },
- "narrow": {
- 1: "E",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "enero",
- 2: "febrero",
- 3: "marzo",
- 4: "abril",
- 5: "mayo",
- 6: "junio",
- 7: "julio",
- 8: "agosto",
- 9: "septiembre",
- 10: "octubre",
- 11: "noviembre",
- 12: "diciembre",
- },
- },
- "units": {
- "year": {"one": "{0} año", "other": "{0} años"},
- "month": {"one": "{0} mes", "other": "{0} meses"},
- "week": {"one": "{0} semana", "other": "{0} semanas"},
- "day": {"one": "{0} día", "other": "{0} días"},
- "hour": {"one": "{0} hora", "other": "{0} horas"},
- "minute": {"one": "{0} minuto", "other": "{0} minutos"},
- "second": {"one": "{0} segundo", "other": "{0} segundos"},
- "microsecond": {"one": "{0} microsegundo", "other": "{0} microsegundos"},
- },
- "relative": {
- "year": {
- "future": {"other": "dentro de {0} años", "one": "dentro de {0} año"},
- "past": {"other": "hace {0} años", "one": "hace {0} año"},
- },
- "month": {
- "future": {"other": "dentro de {0} meses", "one": "dentro de {0} mes"},
- "past": {"other": "hace {0} meses", "one": "hace {0} mes"},
- },
- "week": {
- "future": {
- "other": "dentro de {0} semanas",
- "one": "dentro de {0} semana",
- },
- "past": {"other": "hace {0} semanas", "one": "hace {0} semana"},
- },
- "day": {
- "future": {"other": "dentro de {0} días", "one": "dentro de {0} día"},
- "past": {"other": "hace {0} días", "one": "hace {0} día"},
- },
- "hour": {
- "future": {"other": "dentro de {0} horas", "one": "dentro de {0} hora"},
- "past": {"other": "hace {0} horas", "one": "hace {0} hora"},
- },
- "minute": {
- "future": {
- "other": "dentro de {0} minutos",
- "one": "dentro de {0} minuto",
- },
- "past": {"other": "hace {0} minutos", "one": "hace {0} minuto"},
- },
- "second": {
- "future": {
- "other": "dentro de {0} segundos",
- "one": "dentro de {0} segundo",
- },
- "past": {"other": "hace {0} segundos", "one": "hace {0} segundo"},
- },
- },
- "day_periods": {
- "am": "a. m.",
- "noon": "del mediodía",
- "pm": "p. m.",
- "morning1": "de la madrugada",
- "morning2": "de la mañana",
- "evening1": "de la tarde",
- "night1": "de la noche",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/fa/__init__.py b/pendulum/locales/fa/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/fa/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/fa/custom.py b/pendulum/locales/fa/custom.py
deleted file mode 100644
index 082bfad..0000000
--- a/pendulum/locales/fa/custom.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-fa custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} پس از",
- "before": "{0} پیش از",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd, D MMMM YYYY HH:mm",
- "LLL": "D MMMM YYYY HH:mm",
- "LL": "D MMMM YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/fa/locale.py b/pendulum/locales/fa/locale.py
deleted file mode 100644
index 32f8e5f..0000000
--- a/pendulum/locales/fa/locale.py
+++ /dev/null
@@ -1,135 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-fa locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 0)) or (n == n and (n == 1)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "یکشنبه",
- 1: "دوشنبه",
- 2: "سه\u200cشنبه",
- 3: "چهارشنبه",
- 4: "پنجشنبه",
- 5: "جمعه",
- 6: "شنبه",
- },
- "narrow": {0: "ی", 1: "د", 2: "س", 3: "چ", 4: "پ", 5: "ج", 6: "ش"},
- "short": {0: "۱ش", 1: "۲ش", 2: "۳ش", 3: "۴ش", 4: "۵ش", 5: "ج", 6: "ش"},
- "wide": {
- 0: "یکشنبه",
- 1: "دوشنبه",
- 2: "سه\u200cشنبه",
- 3: "چهارشنبه",
- 4: "پنجشنبه",
- 5: "جمعه",
- 6: "شنبه",
- },
- },
- "months": {
- "abbreviated": {
- 1: "ژانویهٔ",
- 2: "فوریهٔ",
- 3: "مارس",
- 4: "آوریل",
- 5: "مهٔ",
- 6: "ژوئن",
- 7: "ژوئیهٔ",
- 8: "اوت",
- 9: "سپتامبر",
- 10: "اکتبر",
- 11: "نوامبر",
- 12: "دسامبر",
- },
- "narrow": {
- 1: "ژ",
- 2: "ف",
- 3: "م",
- 4: "آ",
- 5: "م",
- 6: "ژ",
- 7: "ژ",
- 8: "ا",
- 9: "س",
- 10: "ا",
- 11: "ن",
- 12: "د",
- },
- "wide": {
- 1: "ژانویهٔ",
- 2: "فوریهٔ",
- 3: "مارس",
- 4: "آوریل",
- 5: "مهٔ",
- 6: "ژوئن",
- 7: "ژوئیهٔ",
- 8: "اوت",
- 9: "سپتامبر",
- 10: "اکتبر",
- 11: "نوامبر",
- 12: "دسامبر",
- },
- },
- "units": {
- "year": {"one": "{0} سال", "other": "{0} سال"},
- "month": {"one": "{0} ماه", "other": "{0} ماه"},
- "week": {"one": "{0} هفته", "other": "{0} هفته"},
- "day": {"one": "{0} روز", "other": "{0} روز"},
- "hour": {"one": "{0} ساعت", "other": "{0} ساعت"},
- "minute": {"one": "{0} دقیقه", "other": "{0} دقیقه"},
- "second": {"one": "{0} ثانیه", "other": "{0} ثانیه"},
- "microsecond": {"one": "{0} میکروثانیه", "other": "{0} میکروثانیه"},
- },
- "relative": {
- "year": {
- "future": {"other": "{0} سال بعد", "one": "{0} سال بعد"},
- "past": {"other": "{0} سال پیش", "one": "{0} سال پیش"},
- },
- "month": {
- "future": {"other": "{0} ماه بعد", "one": "{0} ماه بعد"},
- "past": {"other": "{0} ماه پیش", "one": "{0} ماه پیش"},
- },
- "week": {
- "future": {"other": "{0} هفته بعد", "one": "{0} هفته بعد"},
- "past": {"other": "{0} هفته پیش", "one": "{0} هفته پیش"},
- },
- "day": {
- "future": {"other": "{0} روز بعد", "one": "{0} روز بعد"},
- "past": {"other": "{0} روز پیش", "one": "{0} روز پیش"},
- },
- "hour": {
- "future": {"other": "{0} ساعت بعد", "one": "{0} ساعت بعد"},
- "past": {"other": "{0} ساعت پیش", "one": "{0} ساعت پیش"},
- },
- "minute": {
- "future": {"other": "{0} دقیقه بعد", "one": "{0} دقیقه بعد"},
- "past": {"other": "{0} دقیقه پیش", "one": "{0} دقیقه پیش"},
- },
- "second": {
- "future": {"other": "{0} ثانیه بعد", "one": "{0} ثانیه بعد"},
- "past": {"other": "{0} ثانیه پیش", "one": "{0} ثانیه پیش"},
- },
- },
- "day_periods": {
- "midnight": "نیمه\u200cشب",
- "am": "قبل\u200cازظهر",
- "noon": "ظهر",
- "pm": "بعدازظهر",
- "morning1": "صبح",
- "afternoon1": "عصر",
- "evening1": "عصر",
- "night1": "شب",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/fo/__init__.py b/pendulum/locales/fo/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/fo/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/fo/custom.py b/pendulum/locales/fo/custom.py
deleted file mode 100644
index 456dd59..0000000
--- a/pendulum/locales/fo/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-fo custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} aftaná",
- "before": "{0} áðrenn",
- # Ordinals
- "ordinal": {"other": "."},
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd D. MMMM, YYYY HH:mm",
- "LLL": "D MMMM YYYY HH:mm",
- "LL": "D MMMM YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/fo/locale.py b/pendulum/locales/fo/locale.py
deleted file mode 100644
index 10319ea..0000000
--- a/pendulum/locales/fo/locale.py
+++ /dev/null
@@ -1,132 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-fo locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one" if (n == n and (n == 1)) else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "sun.",
- 1: "mán.",
- 2: "týs.",
- 3: "mik.",
- 4: "hós.",
- 5: "frí.",
- 6: "ley.",
- },
- "narrow": {0: "S", 1: "M", 2: "T", 3: "M", 4: "H", 5: "F", 6: "L"},
- "short": {
- 0: "su.",
- 1: "má.",
- 2: "tý.",
- 3: "mi.",
- 4: "hó.",
- 5: "fr.",
- 6: "le.",
- },
- "wide": {
- 0: "sunnudagur",
- 1: "mánadagur",
- 2: "týsdagur",
- 3: "mikudagur",
- 4: "hósdagur",
- 5: "fríggjadagur",
- 6: "leygardagur",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mar.",
- 4: "apr.",
- 5: "mai",
- 6: "jun.",
- 7: "jul.",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "des.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januar",
- 2: "februar",
- 3: "mars",
- 4: "apríl",
- 5: "mai",
- 6: "juni",
- 7: "juli",
- 8: "august",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "desember",
- },
- },
- "units": {
- "year": {"one": "{0} ár", "other": "{0} ár"},
- "month": {"one": "{0} mánaður", "other": "{0} mánaðir"},
- "week": {"one": "{0} vika", "other": "{0} vikur"},
- "day": {"one": "{0} dagur", "other": "{0} dagar"},
- "hour": {"one": "{0} tími", "other": "{0} tímar"},
- "minute": {"one": "{0} minuttur", "other": "{0} minuttir"},
- "second": {"one": "{0} sekund", "other": "{0} sekundir"},
- "microsecond": {"one": "{0} mikrosekund", "other": "{0} mikrosekundir"},
- },
- "relative": {
- "year": {
- "future": {"other": "um {0} ár", "one": "um {0} ár"},
- "past": {"other": "{0} ár síðan", "one": "{0} ár síðan"},
- },
- "month": {
- "future": {"other": "um {0} mánaðir", "one": "um {0} mánað"},
- "past": {"other": "{0} mánaðir síðan", "one": "{0} mánað síðan"},
- },
- "week": {
- "future": {"other": "um {0} vikur", "one": "um {0} viku"},
- "past": {"other": "{0} vikur síðan", "one": "{0} vika síðan"},
- },
- "day": {
- "future": {"other": "um {0} dagar", "one": "um {0} dag"},
- "past": {"other": "{0} dagar síðan", "one": "{0} dagur síðan"},
- },
- "hour": {
- "future": {"other": "um {0} tímar", "one": "um {0} tíma"},
- "past": {"other": "{0} tímar síðan", "one": "{0} tími síðan"},
- },
- "minute": {
- "future": {"other": "um {0} minuttir", "one": "um {0} minutt"},
- "past": {"other": "{0} minuttir síðan", "one": "{0} minutt síðan"},
- },
- "second": {
- "future": {"other": "um {0} sekund", "one": "um {0} sekund"},
- "past": {"other": "{0} sekund síðan", "one": "{0} sekund síðan"},
- },
- },
- "day_periods": {"am": "AM", "pm": "PM"},
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/fr/__init__.py b/pendulum/locales/fr/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/fr/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/fr/custom.py b/pendulum/locales/fr/custom.py
deleted file mode 100644
index 134f297..0000000
--- a/pendulum/locales/fr/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-fr custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "quelques secondes"},
- # Relative Time
- "ago": "il y a {0}",
- "from_now": "dans {0}",
- "after": "{0} après",
- "before": "{0} avant",
- # Ordinals
- "ordinal": {"one": "er", "other": "e"},
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd D MMMM YYYY HH:mm",
- "LLL": "D MMMM YYYY HH:mm",
- "LL": "D MMMM YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/fr/locale.py b/pendulum/locales/fr/locale.py
deleted file mode 100644
index 8855d53..0000000
--- a/pendulum/locales/fr/locale.py
+++ /dev/null
@@ -1,133 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-fr locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one" if (n == n and ((n == 0) or (n == 1))) else "other",
- "ordinal": lambda n: "one" if (n == n and (n == 1)) else "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "dim.",
- 1: "lun.",
- 2: "mar.",
- 3: "mer.",
- 4: "jeu.",
- 5: "ven.",
- 6: "sam.",
- },
- "narrow": {0: "D", 1: "L", 2: "M", 3: "M", 4: "J", 5: "V", 6: "S"},
- "short": {0: "di", 1: "lu", 2: "ma", 3: "me", 4: "je", 5: "ve", 6: "sa"},
- "wide": {
- 0: "dimanche",
- 1: "lundi",
- 2: "mardi",
- 3: "mercredi",
- 4: "jeudi",
- 5: "vendredi",
- 6: "samedi",
- },
- },
- "months": {
- "abbreviated": {
- 1: "janv.",
- 2: "févr.",
- 3: "mars",
- 4: "avr.",
- 5: "mai",
- 6: "juin",
- 7: "juil.",
- 8: "août",
- 9: "sept.",
- 10: "oct.",
- 11: "nov.",
- 12: "déc.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "janvier",
- 2: "février",
- 3: "mars",
- 4: "avril",
- 5: "mai",
- 6: "juin",
- 7: "juillet",
- 8: "août",
- 9: "septembre",
- 10: "octobre",
- 11: "novembre",
- 12: "décembre",
- },
- },
- "units": {
- "year": {"one": "{0} an", "other": "{0} ans"},
- "month": {"one": "{0} mois", "other": "{0} mois"},
- "week": {"one": "{0} semaine", "other": "{0} semaines"},
- "day": {"one": "{0} jour", "other": "{0} jours"},
- "hour": {"one": "{0} heure", "other": "{0} heures"},
- "minute": {"one": "{0} minute", "other": "{0} minutes"},
- "second": {"one": "{0} seconde", "other": "{0} secondes"},
- "microsecond": {"one": "{0} microseconde", "other": "{0} microsecondes"},
- },
- "relative": {
- "year": {
- "future": {"other": "dans {0} ans", "one": "dans {0} an"},
- "past": {"other": "il y a {0} ans", "one": "il y a {0} an"},
- },
- "month": {
- "future": {"other": "dans {0} mois", "one": "dans {0} mois"},
- "past": {"other": "il y a {0} mois", "one": "il y a {0} mois"},
- },
- "week": {
- "future": {"other": "dans {0} semaines", "one": "dans {0} semaine"},
- "past": {"other": "il y a {0} semaines", "one": "il y a {0} semaine"},
- },
- "day": {
- "future": {"other": "dans {0} jours", "one": "dans {0} jour"},
- "past": {"other": "il y a {0} jours", "one": "il y a {0} jour"},
- },
- "hour": {
- "future": {"other": "dans {0} heures", "one": "dans {0} heure"},
- "past": {"other": "il y a {0} heures", "one": "il y a {0} heure"},
- },
- "minute": {
- "future": {"other": "dans {0} minutes", "one": "dans {0} minute"},
- "past": {"other": "il y a {0} minutes", "one": "il y a {0} minute"},
- },
- "second": {
- "future": {"other": "dans {0} secondes", "one": "dans {0} seconde"},
- "past": {"other": "il y a {0} secondes", "one": "il y a {0} seconde"},
- },
- },
- "day_periods": {
- "midnight": "minuit",
- "am": "AM",
- "noon": "midi",
- "pm": "PM",
- "morning1": "du matin",
- "afternoon1": "de l’après-midi",
- "evening1": "du soir",
- "night1": "de nuit",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/he/__init__.py b/pendulum/locales/he/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/he/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/he/custom.py b/pendulum/locales/he/custom.py
deleted file mode 100644
index 51f8476..0000000
--- a/pendulum/locales/he/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-he custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "כמה שניות"},
- # Relative time
- "ago": "לפני {0}",
- "from_now": "תוך {0}",
- "after": "בעוד {0}",
- "before": "{0} קודם",
- # Ordinals
- "ordinal": {"other": "º"},
- # Date formats
- "date_formats": {
- "LTS": "H:mm:ss",
- "LT": "H:mm",
- "LLLL": "dddd, D [ב] MMMM [ב] YYYY H:mm",
- "LLL": "D [ב] MMMM [ב] YYYY H:mm",
- "LL": "D [ב] MMMM [ב] YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/he/locale.py b/pendulum/locales/he/locale.py
deleted file mode 100644
index 457c101..0000000
--- a/pendulum/locales/he/locale.py
+++ /dev/null
@@ -1,269 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-he locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "many"
- if (
- ((0 == 0 and (0 == 0)) and (not (n == n and (n >= 0 and n <= 10))))
- and ((n % 10) == (n % 10) and ((n % 10) == 0))
- )
- else "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "two"
- if ((n == n and (n == 2)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "יום א׳",
- 1: "יום ב׳",
- 2: "יום ג׳",
- 3: "יום ד׳",
- 4: "יום ה׳",
- 5: "יום ו׳",
- 6: "שבת",
- },
- "narrow": {
- 0: "א׳",
- 1: "ב׳",
- 2: "ג׳",
- 3: "ד׳",
- 4: "ה׳",
- 5: "ו׳",
- 6: "ש׳",
- },
- "short": {
- 0: "א׳",
- 1: "ב׳",
- 2: "ג׳",
- 3: "ד׳",
- 4: "ה׳",
- 5: "ו׳",
- 6: "ש׳",
- },
- "wide": {
- 0: "יום ראשון",
- 1: "יום שני",
- 2: "יום שלישי",
- 3: "יום רביעי",
- 4: "יום חמישי",
- 5: "יום שישי",
- 6: "יום שבת",
- },
- },
- "months": {
- "abbreviated": {
- 1: "ינו׳",
- 2: "פבר׳",
- 3: "מרץ",
- 4: "אפר׳",
- 5: "מאי",
- 6: "יוני",
- 7: "יולי",
- 8: "אוג׳",
- 9: "ספט׳",
- 10: "אוק׳",
- 11: "נוב׳",
- 12: "דצמ׳",
- },
- "narrow": {
- 1: "1",
- 2: "2",
- 3: "3",
- 4: "4",
- 5: "5",
- 6: "6",
- 7: "7",
- 8: "8",
- 9: "9",
- 10: "10",
- 11: "11",
- 12: "12",
- },
- "wide": {
- 1: "ינואר",
- 2: "פברואר",
- 3: "מרץ",
- 4: "אפריל",
- 5: "מאי",
- 6: "יוני",
- 7: "יולי",
- 8: "אוגוסט",
- 9: "ספטמבר",
- 10: "אוקטובר",
- 11: "נובמבר",
- 12: "דצמבר",
- },
- },
- "units": {
- "year": {
- "one": "שנה",
- "two": "שנתיים",
- "many": "{0} שנים",
- "other": "{0} שנים",
- },
- "month": {
- "one": "חודש",
- "two": "חודשיים",
- "many": "{0} חודשים",
- "other": "{0} חודשים",
- },
- "week": {
- "one": "שבוע",
- "two": "שבועיים",
- "many": "{0} שבועות",
- "other": "{0} שבועות",
- },
- "day": {
- "one": "יום {0}",
- "two": "יומיים",
- "many": "{0} יום",
- "other": "{0} ימים",
- },
- "hour": {
- "one": "שעה",
- "two": "שעתיים",
- "many": "{0} שעות",
- "other": "{0} שעות",
- },
- "minute": {
- "one": "דקה",
- "two": "שתי דקות",
- "many": "{0} דקות",
- "other": "{0} דקות",
- },
- "second": {
- "one": "שניה",
- "two": "שתי שניות",
- "many": "\u200f{0} שניות",
- "other": "{0} שניות",
- },
- "microsecond": {
- "one": "{0} מיליונית שנייה",
- "two": "{0} מיליוניות שנייה",
- "many": "{0} מיליוניות שנייה",
- "other": "{0} מיליוניות שנייה",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "בעוד {0} שנים",
- "one": "בעוד שנה",
- "two": "בעוד שנתיים",
- "many": "בעוד {0} שנה",
- },
- "past": {
- "other": "לפני {0} שנים",
- "one": "לפני שנה",
- "two": "לפני שנתיים",
- "many": "לפני {0} שנה",
- },
- },
- "month": {
- "future": {
- "other": "בעוד {0} חודשים",
- "one": "בעוד חודש",
- "two": "בעוד חודשיים",
- "many": "בעוד {0} חודשים",
- },
- "past": {
- "other": "לפני {0} חודשים",
- "one": "לפני חודש",
- "two": "לפני חודשיים",
- "many": "לפני {0} חודשים",
- },
- },
- "week": {
- "future": {
- "other": "בעוד {0} שבועות",
- "one": "בעוד שבוע",
- "two": "בעוד שבועיים",
- "many": "בעוד {0} שבועות",
- },
- "past": {
- "other": "לפני {0} שבועות",
- "one": "לפני שבוע",
- "two": "לפני שבועיים",
- "many": "לפני {0} שבועות",
- },
- },
- "day": {
- "future": {
- "other": "בעוד {0} ימים",
- "one": "בעוד יום {0}",
- "two": "בעוד יומיים",
- "many": "בעוד {0} ימים",
- },
- "past": {
- "other": "לפני {0} ימים",
- "one": "לפני יום {0}",
- "two": "לפני יומיים",
- "many": "לפני {0} ימים",
- },
- },
- "hour": {
- "future": {
- "other": "בעוד {0} שעות",
- "one": "בעוד שעה",
- "two": "בעוד שעתיים",
- "many": "בעוד {0} שעות",
- },
- "past": {
- "other": "לפני {0} שעות",
- "one": "לפני שעה",
- "two": "לפני שעתיים",
- "many": "לפני {0} שעות",
- },
- },
- "minute": {
- "future": {
- "other": "בעוד {0} דקות",
- "one": "בעוד דקה",
- "two": "בעוד שתי דקות",
- "many": "בעוד {0} דקות",
- },
- "past": {
- "other": "לפני {0} דקות",
- "one": "לפני דקה",
- "two": "לפני שתי דקות",
- "many": "לפני {0} דקות",
- },
- },
- "second": {
- "future": {
- "other": "בעוד {0} שניות",
- "one": "בעוד שנייה",
- "two": "בעוד שתי שניות",
- "many": "בעוד {0} שניות",
- },
- "past": {
- "other": "לפני {0} שניות",
- "one": "לפני שנייה",
- "two": "לפני שתי שניות",
- "many": "לפני {0} שניות",
- },
- },
- },
- "day_periods": {
- "midnight": "חצות",
- "am": "לפנה״צ",
- "pm": "אחה״צ",
- "morning1": "בבוקר",
- "afternoon1": "בצהריים",
- "afternoon2": "אחר הצהריים",
- "evening1": "בערב",
- "night1": "בלילה",
- "night2": "לפנות בוקר",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/id/__init__.py b/pendulum/locales/id/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/id/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/id/custom.py b/pendulum/locales/id/custom.py
deleted file mode 100644
index 3ba2035..0000000
--- a/pendulum/locales/id/custom.py
+++ /dev/null
@@ -1,19 +0,0 @@
-"""
-id custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "beberapa detik"},
- "ago": "{} yang lalu",
- "from_now": "dalam {}",
- "after": "{0} kemudian",
- "before": "{0} yang lalu",
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd [d.] D. MMMM YYYY HH:mm",
- "LLL": "D. MMMM YYYY HH:mm",
- "LL": "D. MMMM YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/id/locale.py b/pendulum/locales/id/locale.py
deleted file mode 100644
index bc994ce..0000000
--- a/pendulum/locales/id/locale.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-id locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "Min",
- 1: "Sen",
- 2: "Sel",
- 3: "Rab",
- 4: "Kam",
- 5: "Jum",
- 6: "Sab",
- },
- "narrow": {0: "M", 1: "S", 2: "S", 3: "R", 4: "K", 5: "J", 6: "S"},
- "short": {
- 0: "Min",
- 1: "Sen",
- 2: "Sel",
- 3: "Rab",
- 4: "Kam",
- 5: "Jum",
- 6: "Sab",
- },
- "wide": {
- 0: "Minggu",
- 1: "Senin",
- 2: "Selasa",
- 3: "Rabu",
- 4: "Kamis",
- 5: "Jumat",
- 6: "Sabtu",
- },
- },
- "months": {
- "abbreviated": {
- 1: "Jan",
- 2: "Feb",
- 3: "Mar",
- 4: "Apr",
- 5: "Mei",
- 6: "Jun",
- 7: "Jul",
- 8: "Agt",
- 9: "Sep",
- 10: "Okt",
- 11: "Nov",
- 12: "Des",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "Januari",
- 2: "Februari",
- 3: "Maret",
- 4: "April",
- 5: "Mei",
- 6: "Juni",
- 7: "Juli",
- 8: "Agustus",
- 9: "September",
- 10: "Oktober",
- 11: "November",
- 12: "Desember",
- },
- },
- "units": {
- "year": {"other": "{0} tahun"},
- "month": {"other": "{0} bulan"},
- "week": {"other": "{0} minggu"},
- "day": {"other": "{0} hari"},
- "hour": {"other": "{0} jam"},
- "minute": {"other": "{0} menit"},
- "second": {"other": "{0} detik"},
- "microsecond": {"other": "{0} mikrodetik"},
- },
- "relative": {
- "year": {
- "future": {"other": "dalam {0} tahun"},
- "past": {"other": "{0} tahun yang lalu"},
- },
- "month": {
- "future": {"other": "dalam {0} bulan"},
- "past": {"other": "{0} bulan yang lalu"},
- },
- "week": {
- "future": {"other": "dalam {0} minggu"},
- "past": {"other": "{0} minggu yang lalu"},
- },
- "day": {
- "future": {"other": "dalam {0} hari"},
- "past": {"other": "{0} hari yang lalu"},
- },
- "hour": {
- "future": {"other": "dalam {0} jam"},
- "past": {"other": "{0} jam yang lalu"},
- },
- "minute": {
- "future": {"other": "dalam {0} menit"},
- "past": {"other": "{0} menit yang lalu"},
- },
- "second": {
- "future": {"other": "dalam {0} detik"},
- "past": {"other": "{0} detik yang lalu"},
- },
- },
- "day_periods": {
- "midnight": "tengah malam",
- "am": "AM",
- "noon": "tengah hari",
- "pm": "PM",
- "morning1": "pagi",
- "afternoon1": "siang",
- "evening1": "sore",
- "night1": "malam",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/it/__init__.py b/pendulum/locales/it/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/it/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/it/custom.py b/pendulum/locales/it/custom.py
deleted file mode 100644
index e5cf1cc..0000000
--- a/pendulum/locales/it/custom.py
+++ /dev/null
@@ -1,24 +0,0 @@
-"""
-it custom locale file.
-"""
-
-
-translations = {
- "units": {"few_second": "alcuni secondi"},
- # Relative Time
- "ago": "{0} fa",
- "from_now": "in {0}",
- "after": "{0} dopo",
- "before": "{0} prima",
- # Ordinals
- "ordinal": {"other": "°"},
- # Date formats
- "date_formats": {
- "LTS": "H:mm:ss",
- "LT": "H:mm",
- "L": "DD/MM/YYYY",
- "LL": "D MMMM YYYY",
- "LLL": "D MMMM YYYY [alle] H:mm",
- "LLLL": "dddd, D MMMM YYYY [alle] H:mm",
- },
-}
diff --git a/pendulum/locales/it/locale.py b/pendulum/locales/it/locale.py
deleted file mode 100644
index bb3fdcf..0000000
--- a/pendulum/locales/it/locale.py
+++ /dev/null
@@ -1,145 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-it locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "many"
- if (n == n and ((n == 11) or (n == 8) or (n == 80) or (n == 800)))
- else "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "dom",
- 1: "lun",
- 2: "mar",
- 3: "mer",
- 4: "gio",
- 5: "ven",
- 6: "sab",
- },
- "narrow": {0: "D", 1: "L", 2: "M", 3: "M", 4: "G", 5: "V", 6: "S"},
- "short": {
- 0: "dom",
- 1: "lun",
- 2: "mar",
- 3: "mer",
- 4: "gio",
- 5: "ven",
- 6: "sab",
- },
- "wide": {
- 0: "domenica",
- 1: "lunedì",
- 2: "martedì",
- 3: "mercoledì",
- 4: "giovedì",
- 5: "venerdì",
- 6: "sabato",
- },
- },
- "months": {
- "abbreviated": {
- 1: "gen",
- 2: "feb",
- 3: "mar",
- 4: "apr",
- 5: "mag",
- 6: "giu",
- 7: "lug",
- 8: "ago",
- 9: "set",
- 10: "ott",
- 11: "nov",
- 12: "dic",
- },
- "narrow": {
- 1: "G",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "G",
- 7: "L",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "gennaio",
- 2: "febbraio",
- 3: "marzo",
- 4: "aprile",
- 5: "maggio",
- 6: "giugno",
- 7: "luglio",
- 8: "agosto",
- 9: "settembre",
- 10: "ottobre",
- 11: "novembre",
- 12: "dicembre",
- },
- },
- "units": {
- "year": {"one": "{0} anno", "other": "{0} anni"},
- "month": {"one": "{0} mese", "other": "{0} mesi"},
- "week": {"one": "{0} settimana", "other": "{0} settimane"},
- "day": {"one": "{0} giorno", "other": "{0} giorni"},
- "hour": {"one": "{0} ora", "other": "{0} ore"},
- "minute": {"one": "{0} minuto", "other": "{0} minuti"},
- "second": {"one": "{0} secondo", "other": "{0} secondi"},
- "microsecond": {"one": "{0} microsecondo", "other": "{0} microsecondi"},
- },
- "relative": {
- "year": {
- "future": {"other": "tra {0} anni", "one": "tra {0} anno"},
- "past": {"other": "{0} anni fa", "one": "{0} anno fa"},
- },
- "month": {
- "future": {"other": "tra {0} mesi", "one": "tra {0} mese"},
- "past": {"other": "{0} mesi fa", "one": "{0} mese fa"},
- },
- "week": {
- "future": {"other": "tra {0} settimane", "one": "tra {0} settimana"},
- "past": {"other": "{0} settimane fa", "one": "{0} settimana fa"},
- },
- "day": {
- "future": {"other": "tra {0} giorni", "one": "tra {0} giorno"},
- "past": {"other": "{0} giorni fa", "one": "{0} giorno fa"},
- },
- "hour": {
- "future": {"other": "tra {0} ore", "one": "tra {0} ora"},
- "past": {"other": "{0} ore fa", "one": "{0} ora fa"},
- },
- "minute": {
- "future": {"other": "tra {0} minuti", "one": "tra {0} minuto"},
- "past": {"other": "{0} minuti fa", "one": "{0} minuto fa"},
- },
- "second": {
- "future": {"other": "tra {0} secondi", "one": "tra {0} secondo"},
- "past": {"other": "{0} secondi fa", "one": "{0} secondo fa"},
- },
- },
- "day_periods": {
- "midnight": "mezzanotte",
- "am": "AM",
- "noon": "mezzogiorno",
- "pm": "PM",
- "morning1": "di mattina",
- "afternoon1": "del pomeriggio",
- "evening1": "di sera",
- "night1": "di notte",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/ja/__init__.py b/pendulum/locales/ja/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/ja/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/ja/custom.py b/pendulum/locales/ja/custom.py
deleted file mode 100644
index c076250..0000000
--- a/pendulum/locales/ja/custom.py
+++ /dev/null
@@ -1,21 +0,0 @@
-"""
-ja custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "数秒"},
- # Relative time
- "ago": "{} 前に",
- "from_now": "今から {}",
- "after": "{0} 後",
- "before": "{0} 前",
- # Date formats
- "date_formats": {
- "LTS": "h:mm:ss A",
- "LT": "h:mm A",
- "L": "MM/DD/YYYY",
- "LL": "MMMM D, YYYY",
- "LLL": "MMMM D, YYYY h:mm A",
- "LLLL": "dddd, MMMM D, YYYY h:mm A",
- },
-}
diff --git a/pendulum/locales/ja/locale.py b/pendulum/locales/ja/locale.py
deleted file mode 100644
index 574d2ec..0000000
--- a/pendulum/locales/ja/locale.py
+++ /dev/null
@@ -1,194 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-ja locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "日",
- 1: "月",
- 2: "火",
- 3: "水",
- 4: "木",
- 5: "金",
- 6: "土",
- },
- "narrow": {
- 0: "日",
- 1: "月",
- 2: "火",
- 3: "水",
- 4: "木",
- 5: "金",
- 6: "土",
- },
- "short": {
- 0: "日",
- 1: "月",
- 2: "火",
- 3: "水",
- 4: "木",
- 5: "金",
- 6: "土",
- },
- "wide": {
- 0: "日曜日",
- 1: "月曜日",
- 2: "火曜日",
- 3: "水曜日",
- 4: "木曜日",
- 5: "金曜日",
- 6: "土曜日",
- },
- },
- "months": {
- "abbreviated": {
- 1: "1月",
- 2: "2月",
- 3: "3月",
- 4: "4月",
- 5: "5月",
- 6: "6月",
- 7: "7月",
- 8: "8月",
- 9: "9月",
- 10: "10月",
- 11: "11月",
- 12: "12月",
- },
- "narrow": {
- 1: "1",
- 2: "2",
- 3: "3",
- 4: "4",
- 5: "5",
- 6: "6",
- 7: "7",
- 8: "8",
- 9: "9",
- 10: "10",
- 11: "11",
- 12: "12",
- },
- "wide": {
- 1: "1月",
- 2: "2月",
- 3: "3月",
- 4: "4月",
- 5: "5月",
- 6: "6月",
- 7: "7月",
- 8: "8月",
- 9: "9月",
- 10: "10月",
- 11: "11月",
- 12: "12月",
- },
- },
- "units": {
- "year": {
- "other": "{0} 年",
- },
- "month": {
- "other": "{0} か月",
- },
- "week": {
- "other": "{0} 週間",
- },
- "day": {
- "other": "{0} 日",
- },
- "hour": {
- "other": "{0} 時間",
- },
- "minute": {
- "other": "{0} 分",
- },
- "second": {
- "other": "{0} 秒",
- },
- "microsecond": {
- "other": "{0} マイクロ秒",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "{0} 年後",
- },
- "past": {
- "other": "{0} 年前",
- },
- },
- "month": {
- "future": {
- "other": "{0} か月後",
- },
- "past": {
- "other": "{0} か月前",
- },
- },
- "week": {
- "future": {
- "other": "{0} 週間後",
- },
- "past": {
- "other": "{0} 週間前",
- },
- },
- "day": {
- "future": {
- "other": "{0} 日後",
- },
- "past": {
- "other": "{0} 日前",
- },
- },
- "hour": {
- "future": {
- "other": "{0} 時間後",
- },
- "past": {
- "other": "{0} 時間前",
- },
- },
- "minute": {
- "future": {
- "other": "{0} 分後",
- },
- "past": {
- "other": "{0} 分前",
- },
- },
- "second": {
- "future": {
- "other": "{0} 秒後",
- },
- "past": {
- "other": "{0} 秒前",
- },
- },
- },
- "day_periods": {
- "midnight": "真夜中",
- "am": "午前",
- "noon": "正午",
- "pm": "午後",
- "morning1": "朝",
- "afternoon1": "昼",
- "evening1": "夕方",
- "night1": "夜",
- "night2": "夜中",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/ko/__init__.py b/pendulum/locales/ko/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/ko/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/ko/custom.py b/pendulum/locales/ko/custom.py
deleted file mode 100644
index 2c0e50c..0000000
--- a/pendulum/locales/ko/custom.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-ko custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} 뒤",
- "before": "{0} 앞",
- # Date formats
- "date_formats": {
- "LTS": "A h시 m분 s초",
- "LT": "A h시 m분",
- "LLLL": "YYYY년 MMMM D일 dddd A h시 m분",
- "LLL": "YYYY년 MMMM D일 A h시 m분",
- "LL": "YYYY년 MMMM D일",
- "L": "YYYY.MM.DD",
- },
-}
diff --git a/pendulum/locales/ko/locale.py b/pendulum/locales/ko/locale.py
deleted file mode 100644
index 0f5a346..0000000
--- a/pendulum/locales/ko/locale.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-ko locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {0: "일", 1: "월", 2: "화", 3: "수", 4: "목", 5: "금", 6: "토"},
- "narrow": {0: "일", 1: "월", 2: "화", 3: "수", 4: "목", 5: "금", 6: "토"},
- "short": {0: "일", 1: "월", 2: "화", 3: "수", 4: "목", 5: "금", 6: "토"},
- "wide": {
- 0: "일요일",
- 1: "월요일",
- 2: "화요일",
- 3: "수요일",
- 4: "목요일",
- 5: "금요일",
- 6: "토요일",
- },
- },
- "months": {
- "abbreviated": {
- 1: "1월",
- 2: "2월",
- 3: "3월",
- 4: "4월",
- 5: "5월",
- 6: "6월",
- 7: "7월",
- 8: "8월",
- 9: "9월",
- 10: "10월",
- 11: "11월",
- 12: "12월",
- },
- "narrow": {
- 1: "1월",
- 2: "2월",
- 3: "3월",
- 4: "4월",
- 5: "5월",
- 6: "6월",
- 7: "7월",
- 8: "8월",
- 9: "9월",
- 10: "10월",
- 11: "11월",
- 12: "12월",
- },
- "wide": {
- 1: "1월",
- 2: "2월",
- 3: "3월",
- 4: "4월",
- 5: "5월",
- 6: "6월",
- 7: "7월",
- 8: "8월",
- 9: "9월",
- 10: "10월",
- 11: "11월",
- 12: "12월",
- },
- },
- "units": {
- "year": {"other": "{0}년"},
- "month": {"other": "{0}개월"},
- "week": {"other": "{0}주"},
- "day": {"other": "{0}일"},
- "hour": {"other": "{0}시간"},
- "minute": {"other": "{0}분"},
- "second": {"other": "{0}초"},
- "microsecond": {"other": "{0}마이크로초"},
- },
- "relative": {
- "year": {"future": {"other": "{0}년 후"}, "past": {"other": "{0}년 전"}},
- "month": {"future": {"other": "{0}개월 후"}, "past": {"other": "{0}개월 전"}},
- "week": {"future": {"other": "{0}주 후"}, "past": {"other": "{0}주 전"}},
- "day": {"future": {"other": "{0}일 후"}, "past": {"other": "{0}일 전"}},
- "hour": {"future": {"other": "{0}시간 후"}, "past": {"other": "{0}시간 전"}},
- "minute": {"future": {"other": "{0}분 후"}, "past": {"other": "{0}분 전"}},
- "second": {"future": {"other": "{0}초 후"}, "past": {"other": "{0}초 전"}},
- },
- "day_periods": {
- "midnight": "자정",
- "am": "오전",
- "noon": "정오",
- "pm": "오후",
- "morning1": "새벽",
- "morning2": "오전",
- "afternoon1": "오후",
- "evening1": "저녁",
- "night1": "밤",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/locale.py b/pendulum/locales/locale.py
deleted file mode 100644
index 637509a..0000000
--- a/pendulum/locales/locale.py
+++ /dev/null
@@ -1,102 +0,0 @@
-from __future__ import annotations
-
-from importlib import import_module
-from pathlib import Path
-
-import re
-import sys
-from typing import Any, cast
-from typing import Dict
-
-if sys.version_info >= (3, 9):
- from importlib import resources
-else:
- import importlib_resources as resources
-
-
-class Locale:
- """
- Represent a specific locale.
- """
-
- _cache: dict[str, Locale] = {}
-
- def __init__(self, locale: str, data: Any) -> None:
- self._locale: str = locale
- self._data: Any = data
- self._key_cache: dict[str, str] = {}
-
- @classmethod
- def load(cls, locale: str | Locale) -> Locale:
- if isinstance(locale, Locale):
- return locale
-
- locale = cls.normalize_locale(locale)
- if locale in cls._cache:
- return cls._cache[locale]
-
- # Checking locale existence
- actual_locale = locale
- locale_path = cast(Path, resources.files(__package__).joinpath(actual_locale))
- while not locale_path.exists():
- if actual_locale == locale:
- raise ValueError(f"Locale [{locale}] does not exist.")
-
- actual_locale = actual_locale.split("_")[0]
-
- m = import_module(f"pendulum.locales.{actual_locale}.locale")
-
- cls._cache[locale] = cls(locale, m.locale)
-
- return cls._cache[locale]
-
- @classmethod
- def normalize_locale(cls, locale: str) -> str:
- m = re.match("([a-z]{2})[-_]([a-z]{2})", locale, re.I)
- if m:
- return f"{m.group(1).lower()}_{m.group(2).lower()}"
- else:
- return locale.lower()
-
- def get(self, key: str, default: Any | None = None) -> Any:
- if key in self._key_cache:
- return self._key_cache[key]
-
- parts = key.split(".")
- try:
- result = self._data[parts[0]]
- for part in parts[1:]:
- result = result[part]
- except KeyError:
- result = default
-
- self._key_cache[key] = result
-
- return self._key_cache[key]
-
- def translation(self, key: str) -> Any:
- return self.get(f"translations.{key}")
-
- def plural(self, number: int) -> str:
- return cast(str, self._data["plural"](number))
-
- def ordinal(self, number: int) -> str:
- return cast(str, self._data["ordinal"](number))
-
- def ordinalize(self, number: int) -> str:
- ordinal = self.get(f"custom.ordinal.{self.ordinal(number)}")
-
- if not ordinal:
- return f"{number}"
-
- return f"{number}{ordinal}"
-
- def match_translation(self, key: str, value: Any) -> dict[str, str] | None:
- translations = self.translation(key)
- if value not in translations.values():
- return None
-
- return cast(Dict[str, str], {v: k for k, v in translations.items()}[value])
-
- def __repr__(self) -> str:
- return f"{self.__class__.__name__}('{self._locale}')"
diff --git a/pendulum/locales/lt/__init__.py b/pendulum/locales/lt/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/lt/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/lt/custom.py b/pendulum/locales/lt/custom.py
deleted file mode 100644
index 6480c31..0000000
--- a/pendulum/locales/lt/custom.py
+++ /dev/null
@@ -1,118 +0,0 @@
-"""
-lt custom locale file.
-"""
-
-translations = {
- # Relative time
- "units_relative": {
- "year": {
- "future": {
- "other": "{0} metų",
- "one": "{0} metų",
- "few": "{0} metų",
- "many": "{0} metų",
- },
- "past": {
- "other": "{0} metų",
- "one": "{0} metus",
- "few": "{0} metus",
- "many": "{0} metų",
- },
- },
- "month": {
- "future": {
- "other": "{0} mėnesių",
- "one": "{0} mėnesio",
- "few": "{0} mėnesių",
- "many": "{0} mėnesio",
- },
- "past": {
- "other": "{0} mėnesių",
- "one": "{0} mėnesį",
- "few": "{0} mėnesius",
- "many": "{0} mėnesio",
- },
- },
- "week": {
- "future": {
- "other": "{0} savaičių",
- "one": "{0} savaitės",
- "few": "{0} savaičių",
- "many": "{0} savaitės",
- },
- "past": {
- "other": "{0} savaičių",
- "one": "{0} savaitę",
- "few": "{0} savaites",
- "many": "{0} savaitės",
- },
- },
- "day": {
- "future": {
- "other": "{0} dienų",
- "one": "{0} dienos",
- "few": "{0} dienų",
- "many": "{0} dienos",
- },
- "past": {
- "other": "{0} dienų",
- "one": "{0} dieną",
- "few": "{0} dienas",
- "many": "{0} dienos",
- },
- },
- "hour": {
- "future": {
- "other": "{0} valandų",
- "one": "{0} valandos",
- "few": "{0} valandų",
- "many": "{0} valandos",
- },
- "past": {
- "other": "{0} valandų",
- "one": "{0} valandą",
- "few": "{0} valandas",
- "many": "{0} valandos",
- },
- },
- "minute": {
- "future": {
- "other": "{0} minučių",
- "one": "{0} minutės",
- "few": "{0} minučių",
- "many": "{0} minutės",
- },
- "past": {
- "other": "{0} minučių",
- "one": "{0} minutę",
- "few": "{0} minutes",
- "many": "{0} minutės",
- },
- },
- "second": {
- "future": {
- "other": "{0} sekundžių",
- "one": "{0} sekundės",
- "few": "{0} sekundžių",
- "many": "{0} sekundės",
- },
- "past": {
- "other": "{0} sekundžių",
- "one": "{0} sekundę",
- "few": "{0} sekundes",
- "many": "{0} sekundės",
- },
- },
- },
- "after": "po {0}",
- "before": "{0} nuo dabar",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",
- "LLL": "YYYY [m.] MMMM D [d.], HH:mm [val.]",
- "LL": "YYYY [m.] MMMM D [d.]",
- "L": "YYYY-MM-DD",
- },
-}
diff --git a/pendulum/locales/lt/locale.py b/pendulum/locales/lt/locale.py
deleted file mode 100644
index fb017ef..0000000
--- a/pendulum/locales/lt/locale.py
+++ /dev/null
@@ -1,255 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-lt locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "few"
- if (
- ((n % 10) == (n % 10) and ((n % 10) >= 2 and (n % 10) <= 9))
- and (not ((n % 100) == (n % 100) and ((n % 100) >= 11 and (n % 100) <= 19)))
- )
- else "many"
- if (not (0 == 0 and (0 == 0)))
- else "one"
- if (
- ((n % 10) == (n % 10) and ((n % 10) == 1))
- and (not ((n % 100) == (n % 100) and ((n % 100) >= 11 and (n % 100) <= 19)))
- )
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "sk",
- 1: "pr",
- 2: "an",
- 3: "tr",
- 4: "kt",
- 5: "pn",
- 6: "št",
- },
- "narrow": {0: "S", 1: "P", 2: "A", 3: "T", 4: "K", 5: "P", 6: "Š"},
- "short": {0: "Sk", 1: "Pr", 2: "An", 3: "Tr", 4: "Kt", 5: "Pn", 6: "Št"},
- "wide": {
- 0: "sekmadienis",
- 1: "pirmadienis",
- 2: "antradienis",
- 3: "trečiadienis",
- 4: "ketvirtadienis",
- 5: "penktadienis",
- 6: "šeštadienis",
- },
- },
- "months": {
- "abbreviated": {
- 1: "saus.",
- 2: "vas.",
- 3: "kov.",
- 4: "bal.",
- 5: "geg.",
- 6: "birž.",
- 7: "liep.",
- 8: "rugp.",
- 9: "rugs.",
- 10: "spal.",
- 11: "lapkr.",
- 12: "gruod.",
- },
- "narrow": {
- 1: "S",
- 2: "V",
- 3: "K",
- 4: "B",
- 5: "G",
- 6: "B",
- 7: "L",
- 8: "R",
- 9: "R",
- 10: "S",
- 11: "L",
- 12: "G",
- },
- "wide": {
- 1: "sausio",
- 2: "vasario",
- 3: "kovo",
- 4: "balandžio",
- 5: "gegužės",
- 6: "birželio",
- 7: "liepos",
- 8: "rugpjūčio",
- 9: "rugsėjo",
- 10: "spalio",
- 11: "lapkričio",
- 12: "gruodžio",
- },
- },
- "units": {
- "year": {
- "one": "{0} metai",
- "few": "{0} metai",
- "many": "{0} metų",
- "other": "{0} metų",
- },
- "month": {
- "one": "{0} mėnuo",
- "few": "{0} mėnesiai",
- "many": "{0} mėnesio",
- "other": "{0} mėnesių",
- },
- "week": {
- "one": "{0} savaitė",
- "few": "{0} savaitės",
- "many": "{0} savaitės",
- "other": "{0} savaičių",
- },
- "day": {
- "one": "{0} diena",
- "few": "{0} dienos",
- "many": "{0} dienos",
- "other": "{0} dienų",
- },
- "hour": {
- "one": "{0} valanda",
- "few": "{0} valandos",
- "many": "{0} valandos",
- "other": "{0} valandų",
- },
- "minute": {
- "one": "{0} minutė",
- "few": "{0} minutės",
- "many": "{0} minutės",
- "other": "{0} minučių",
- },
- "second": {
- "one": "{0} sekundė",
- "few": "{0} sekundės",
- "many": "{0} sekundės",
- "other": "{0} sekundžių",
- },
- "microsecond": {
- "one": "{0} mikrosekundė",
- "few": "{0} mikrosekundės",
- "many": "{0} mikrosekundės",
- "other": "{0} mikrosekundžių",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "po {0} metų",
- "one": "po {0} metų",
- "few": "po {0} metų",
- "many": "po {0} metų",
- },
- "past": {
- "other": "prieš {0} metų",
- "one": "prieš {0} metus",
- "few": "prieš {0} metus",
- "many": "prieš {0} metų",
- },
- },
- "month": {
- "future": {
- "other": "po {0} mėnesių",
- "one": "po {0} mėnesio",
- "few": "po {0} mėnesių",
- "many": "po {0} mėnesio",
- },
- "past": {
- "other": "prieš {0} mėnesių",
- "one": "prieš {0} mėnesį",
- "few": "prieš {0} mėnesius",
- "many": "prieš {0} mėnesio",
- },
- },
- "week": {
- "future": {
- "other": "po {0} savaičių",
- "one": "po {0} savaitės",
- "few": "po {0} savaičių",
- "many": "po {0} savaitės",
- },
- "past": {
- "other": "prieš {0} savaičių",
- "one": "prieš {0} savaitę",
- "few": "prieš {0} savaites",
- "many": "prieš {0} savaitės",
- },
- },
- "day": {
- "future": {
- "other": "po {0} dienų",
- "one": "po {0} dienos",
- "few": "po {0} dienų",
- "many": "po {0} dienos",
- },
- "past": {
- "other": "prieš {0} dienų",
- "one": "prieš {0} dieną",
- "few": "prieš {0} dienas",
- "many": "prieš {0} dienos",
- },
- },
- "hour": {
- "future": {
- "other": "po {0} valandų",
- "one": "po {0} valandos",
- "few": "po {0} valandų",
- "many": "po {0} valandos",
- },
- "past": {
- "other": "prieš {0} valandų",
- "one": "prieš {0} valandą",
- "few": "prieš {0} valandas",
- "many": "prieš {0} valandos",
- },
- },
- "minute": {
- "future": {
- "other": "po {0} minučių",
- "one": "po {0} minutės",
- "few": "po {0} minučių",
- "many": "po {0} minutės",
- },
- "past": {
- "other": "prieš {0} minučių",
- "one": "prieš {0} minutę",
- "few": "prieš {0} minutes",
- "many": "prieš {0} minutės",
- },
- },
- "second": {
- "future": {
- "other": "po {0} sekundžių",
- "one": "po {0} sekundės",
- "few": "po {0} sekundžių",
- "many": "po {0} sekundės",
- },
- "past": {
- "other": "prieš {0} sekundžių",
- "one": "prieš {0} sekundę",
- "few": "prieš {0} sekundes",
- "many": "prieš {0} sekundės",
- },
- },
- },
- "day_periods": {
- "midnight": "vidurnaktis",
- "am": "priešpiet",
- "noon": "perpiet",
- "pm": "popiet",
- "morning1": "rytas",
- "afternoon1": "popietė",
- "evening1": "vakaras",
- "night1": "naktis",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/nb/__init__.py b/pendulum/locales/nb/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/nb/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/nb/custom.py b/pendulum/locales/nb/custom.py
deleted file mode 100644
index 4c7cd6a..0000000
--- a/pendulum/locales/nb/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-nn custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} etter",
- "before": "{0} før",
- # Ordinals
- "ordinal": {"one": ".", "two": ".", "few": ".", "other": "."},
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd Do MMMM YYYY HH:mm",
- "LLL": "Do MMMM YYYY HH:mm",
- "LL": "Do MMMM YYYY",
- "L": "DD.MM.YYYY",
- },
-}
diff --git a/pendulum/locales/nb/locale.py b/pendulum/locales/nb/locale.py
deleted file mode 100644
index c8297a8..0000000
--- a/pendulum/locales/nb/locale.py
+++ /dev/null
@@ -1,150 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-nb locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one" if (n == n and (n == 1)) else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "søn.",
- 1: "man.",
- 2: "tir.",
- 3: "ons.",
- 4: "tor.",
- 5: "fre.",
- 6: "lør.",
- },
- "narrow": {0: "S", 1: "M", 2: "T", 3: "O", 4: "T", 5: "F", 6: "L"},
- "short": {
- 0: "sø.",
- 1: "ma.",
- 2: "ti.",
- 3: "on.",
- 4: "to.",
- 5: "fr.",
- 6: "lø.",
- },
- "wide": {
- 0: "søndag",
- 1: "mandag",
- 2: "tirsdag",
- 3: "onsdag",
- 4: "torsdag",
- 5: "fredag",
- 6: "lørdag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mar.",
- 4: "apr.",
- 5: "mai",
- 6: "jun.",
- 7: "jul.",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "des.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januar",
- 2: "februar",
- 3: "mars",
- 4: "april",
- 5: "mai",
- 6: "juni",
- 7: "juli",
- 8: "august",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "desember",
- },
- },
- "units": {
- "year": {"one": "{0} år", "other": "{0} år"},
- "month": {"one": "{0} måned", "other": "{0} måneder"},
- "week": {"one": "{0} uke", "other": "{0} uker"},
- "day": {"one": "{0} dag", "other": "{0} dager"},
- "hour": {"one": "{0} time", "other": "{0} timer"},
- "minute": {"one": "{0} minutt", "other": "{0} minutter"},
- "second": {"one": "{0} sekund", "other": "{0} sekunder"},
- "microsecond": {"one": "{0} mikrosekund", "other": "{0} mikrosekunder"},
- },
- "relative": {
- "year": {
- "future": {"other": "om {0} år", "one": "om {0} år"},
- "past": {"other": "for {0} år siden", "one": "for {0} år siden"},
- },
- "month": {
- "future": {"other": "om {0} måneder", "one": "om {0} måned"},
- "past": {
- "other": "for {0} måneder siden",
- "one": "for {0} måned siden",
- },
- },
- "week": {
- "future": {"other": "om {0} uker", "one": "om {0} uke"},
- "past": {"other": "for {0} uker siden", "one": "for {0} uke siden"},
- },
- "day": {
- "future": {"other": "om {0} dager", "one": "om {0} dag"},
- "past": {"other": "for {0} dager siden", "one": "for {0} dag siden"},
- },
- "hour": {
- "future": {"other": "om {0} timer", "one": "om {0} time"},
- "past": {"other": "for {0} timer siden", "one": "for {0} time siden"},
- },
- "minute": {
- "future": {"other": "om {0} minutter", "one": "om {0} minutt"},
- "past": {
- "other": "for {0} minutter siden",
- "one": "for {0} minutt siden",
- },
- },
- "second": {
- "future": {"other": "om {0} sekunder", "one": "om {0} sekund"},
- "past": {
- "other": "for {0} sekunder siden",
- "one": "for {0} sekund siden",
- },
- },
- },
- "day_periods": {
- "midnight": "midnatt",
- "am": "a.m.",
- "pm": "p.m.",
- "morning1": "morgenen",
- "morning2": "formiddagen",
- "afternoon1": "ettermiddagen",
- "evening1": "kvelden",
- "night1": "natten",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/nl/__init__.py b/pendulum/locales/nl/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/nl/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/nl/custom.py b/pendulum/locales/nl/custom.py
deleted file mode 100644
index 2ca5a85..0000000
--- a/pendulum/locales/nl/custom.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-nl custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "enkele seconden"},
- # Relative time
- "ago": "{} geleden",
- "from_now": "over {}",
- "after": "{0} later",
- "before": "{0} eerder",
- # Ordinals
- "ordinal": {"other": "e"},
- # Date formats
- "date_formats": {
- "L": "DD-MM-YYYY",
- "LL": "D MMMM YYYY",
- "LLL": "D MMMM YYYY HH:mm",
- "LLLL": "dddd D MMMM YYYY HH:mm",
- "LT": "HH:mm",
- "LTS": "HH:mm:ss",
- },
-}
diff --git a/pendulum/locales/nl/locale.py b/pendulum/locales/nl/locale.py
deleted file mode 100644
index cb1570d..0000000
--- a/pendulum/locales/nl/locale.py
+++ /dev/null
@@ -1,134 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-nl locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "zo",
- 1: "ma",
- 2: "di",
- 3: "wo",
- 4: "do",
- 5: "vr",
- 6: "za",
- },
- "narrow": {0: "Z", 1: "M", 2: "D", 3: "W", 4: "D", 5: "V", 6: "Z"},
- "short": {0: "zo", 1: "ma", 2: "di", 3: "wo", 4: "do", 5: "vr", 6: "za"},
- "wide": {
- 0: "zondag",
- 1: "maandag",
- 2: "dinsdag",
- 3: "woensdag",
- 4: "donderdag",
- 5: "vrijdag",
- 6: "zaterdag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mrt.",
- 4: "apr.",
- 5: "mei",
- 6: "jun.",
- 7: "jul.",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "dec.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januari",
- 2: "februari",
- 3: "maart",
- 4: "april",
- 5: "mei",
- 6: "juni",
- 7: "juli",
- 8: "augustus",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "december",
- },
- },
- "units": {
- "year": {"one": "{0} jaar", "other": "{0} jaar"},
- "month": {"one": "{0} maand", "other": "{0} maanden"},
- "week": {"one": "{0} week", "other": "{0} weken"},
- "day": {"one": "{0} dag", "other": "{0} dagen"},
- "hour": {"one": "{0} uur", "other": "{0} uur"},
- "minute": {"one": "{0} minuut", "other": "{0} minuten"},
- "second": {"one": "{0} seconde", "other": "{0} seconden"},
- "microsecond": {"one": "{0} microseconde", "other": "{0} microseconden"},
- },
- "relative": {
- "year": {
- "future": {"other": "over {0} jaar", "one": "over {0} jaar"},
- "past": {"other": "{0} jaar geleden", "one": "{0} jaar geleden"},
- },
- "month": {
- "future": {"other": "over {0} maanden", "one": "over {0} maand"},
- "past": {"other": "{0} maanden geleden", "one": "{0} maand geleden"},
- },
- "week": {
- "future": {"other": "over {0} weken", "one": "over {0} week"},
- "past": {"other": "{0} weken geleden", "one": "{0} week geleden"},
- },
- "day": {
- "future": {"other": "over {0} dagen", "one": "over {0} dag"},
- "past": {"other": "{0} dagen geleden", "one": "{0} dag geleden"},
- },
- "hour": {
- "future": {"other": "over {0} uur", "one": "over {0} uur"},
- "past": {"other": "{0} uur geleden", "one": "{0} uur geleden"},
- },
- "minute": {
- "future": {"other": "over {0} minuten", "one": "over {0} minuut"},
- "past": {"other": "{0} minuten geleden", "one": "{0} minuut geleden"},
- },
- "second": {
- "future": {"other": "over {0} seconden", "one": "over {0} seconde"},
- "past": {"other": "{0} seconden geleden", "one": "{0} seconde geleden"},
- },
- },
- "day_periods": {
- "midnight": "middernacht",
- "am": "a.m.",
- "pm": "p.m.",
- "morning1": "‘s ochtends",
- "afternoon1": "‘s middags",
- "evening1": "‘s avonds",
- "night1": "‘s nachts",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/nn/__init__.py b/pendulum/locales/nn/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/nn/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/nn/custom.py b/pendulum/locales/nn/custom.py
deleted file mode 100644
index 4c7cd6a..0000000
--- a/pendulum/locales/nn/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-nn custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{0} etter",
- "before": "{0} før",
- # Ordinals
- "ordinal": {"one": ".", "two": ".", "few": ".", "other": "."},
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd Do MMMM YYYY HH:mm",
- "LLL": "Do MMMM YYYY HH:mm",
- "LL": "Do MMMM YYYY",
- "L": "DD.MM.YYYY",
- },
-}
diff --git a/pendulum/locales/nn/locale.py b/pendulum/locales/nn/locale.py
deleted file mode 100644
index eb46e1d..0000000
--- a/pendulum/locales/nn/locale.py
+++ /dev/null
@@ -1,141 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-nn locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one" if (n == n and (n == 1)) else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "søn.",
- 1: "mån.",
- 2: "tys.",
- 3: "ons.",
- 4: "tor.",
- 5: "fre.",
- 6: "lau.",
- },
- "narrow": {0: "S", 1: "M", 2: "T", 3: "O", 4: "T", 5: "F", 6: "L"},
- "short": {
- 0: "sø.",
- 1: "må.",
- 2: "ty.",
- 3: "on.",
- 4: "to.",
- 5: "fr.",
- 6: "la.",
- },
- "wide": {
- 0: "søndag",
- 1: "måndag",
- 2: "tysdag",
- 3: "onsdag",
- 4: "torsdag",
- 5: "fredag",
- 6: "laurdag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mars",
- 4: "apr.",
- 5: "mai",
- 6: "juni",
- 7: "juli",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "des.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januar",
- 2: "februar",
- 3: "mars",
- 4: "april",
- 5: "mai",
- 6: "juni",
- 7: "juli",
- 8: "august",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "desember",
- },
- },
- "units": {
- "year": {"one": "{0} år", "other": "{0} år"},
- "month": {"one": "{0} månad", "other": "{0} månadar"},
- "week": {"one": "{0} veke", "other": "{0} veker"},
- "day": {"one": "{0} dag", "other": "{0} dagar"},
- "hour": {"one": "{0} time", "other": "{0} timar"},
- "minute": {"one": "{0} minutt", "other": "{0} minutt"},
- "second": {"one": "{0} sekund", "other": "{0} sekund"},
- "microsecond": {"one": "{0} mikrosekund", "other": "{0} mikrosekund"},
- },
- "relative": {
- "year": {
- "future": {"other": "om {0} år", "one": "om {0} år"},
- "past": {"other": "for {0} år sidan", "one": "for {0} år sidan"},
- },
- "month": {
- "future": {"other": "om {0} månadar", "one": "om {0} månad"},
- "past": {
- "other": "for {0} månadar sidan",
- "one": "for {0} månad sidan",
- },
- },
- "week": {
- "future": {"other": "om {0} veker", "one": "om {0} veke"},
- "past": {"other": "for {0} veker sidan", "one": "for {0} veke sidan"},
- },
- "day": {
- "future": {"other": "om {0} dagar", "one": "om {0} dag"},
- "past": {"other": "for {0} dagar sidan", "one": "for {0} dag sidan"},
- },
- "hour": {
- "future": {"other": "om {0} timar", "one": "om {0} time"},
- "past": {"other": "for {0} timar sidan", "one": "for {0} time sidan"},
- },
- "minute": {
- "future": {"other": "om {0} minutt", "one": "om {0} minutt"},
- "past": {
- "other": "for {0} minutt sidan",
- "one": "for {0} minutt sidan",
- },
- },
- "second": {
- "future": {"other": "om {0} sekund", "one": "om {0} sekund"},
- "past": {
- "other": "for {0} sekund sidan",
- "one": "for {0} sekund sidan",
- },
- },
- },
- "day_periods": {"am": "formiddag", "pm": "ettermiddag"},
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/pl/__init__.py b/pendulum/locales/pl/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/pl/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/pl/custom.py b/pendulum/locales/pl/custom.py
deleted file mode 100644
index 9741b74..0000000
--- a/pendulum/locales/pl/custom.py
+++ /dev/null
@@ -1,21 +0,0 @@
-"""
-pl custom locale file.
-"""
-
-translations = {
- "units": {"few_second": "kilka sekund"},
- # Relative time
- "ago": "{} temu",
- "from_now": "za {}",
- "after": "{0} po",
- "before": "{0} przed",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "L": "DD.MM.YYYY",
- "LL": "D MMMM YYYY",
- "LLL": "D MMMM YYYY HH:mm",
- "LLLL": "dddd, D MMMM YYYY HH:mm",
- },
-}
diff --git a/pendulum/locales/pl/locale.py b/pendulum/locales/pl/locale.py
deleted file mode 100644
index bf6af10..0000000
--- a/pendulum/locales/pl/locale.py
+++ /dev/null
@@ -1,279 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-pl locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "few"
- if (
- (
- (0 == 0 and (0 == 0))
- and ((n % 10) == (n % 10) and ((n % 10) >= 2 and (n % 10) <= 4))
- )
- and (not ((n % 100) == (n % 100) and ((n % 100) >= 12 and (n % 100) <= 14)))
- )
- else "many"
- if (
- (
- (
- ((0 == 0 and (0 == 0)) and (not (n == n and (n == 1))))
- and ((n % 10) == (n % 10) and ((n % 10) >= 0 and (n % 10) <= 1))
- )
- or (
- (0 == 0 and (0 == 0))
- and ((n % 10) == (n % 10) and ((n % 10) >= 5 and (n % 10) <= 9))
- )
- )
- or (
- (0 == 0 and (0 == 0))
- and ((n % 100) == (n % 100) and ((n % 100) >= 12 and (n % 100) <= 14))
- )
- )
- else "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "niedz.",
- 1: "pon.",
- 2: "wt.",
- 3: "śr.",
- 4: "czw.",
- 5: "pt.",
- 6: "sob.",
- },
- "narrow": {0: "n", 1: "p", 2: "w", 3: "ś", 4: "c", 5: "p", 6: "s"},
- "short": {
- 0: "nie",
- 1: "pon",
- 2: "wto",
- 3: "śro",
- 4: "czw",
- 5: "pią",
- 6: "sob",
- },
- "wide": {
- 0: "niedziela",
- 1: "poniedziałek",
- 2: "wtorek",
- 3: "środa",
- 4: "czwartek",
- 5: "piątek",
- 6: "sobota",
- },
- },
- "months": {
- "abbreviated": {
- 1: "sty",
- 2: "lut",
- 3: "mar",
- 4: "kwi",
- 5: "maj",
- 6: "cze",
- 7: "lip",
- 8: "sie",
- 9: "wrz",
- 10: "paź",
- 11: "lis",
- 12: "gru",
- },
- "narrow": {
- 1: "s",
- 2: "l",
- 3: "m",
- 4: "k",
- 5: "m",
- 6: "c",
- 7: "l",
- 8: "s",
- 9: "w",
- 10: "p",
- 11: "l",
- 12: "g",
- },
- "wide": {
- 1: "stycznia",
- 2: "lutego",
- 3: "marca",
- 4: "kwietnia",
- 5: "maja",
- 6: "czerwca",
- 7: "lipca",
- 8: "sierpnia",
- 9: "września",
- 10: "października",
- 11: "listopada",
- 12: "grudnia",
- },
- },
- "units": {
- "year": {
- "one": "{0} rok",
- "few": "{0} lata",
- "many": "{0} lat",
- "other": "{0} roku",
- },
- "month": {
- "one": "{0} miesiąc",
- "few": "{0} miesiące",
- "many": "{0} miesięcy",
- "other": "{0} miesiąca",
- },
- "week": {
- "one": "{0} tydzień",
- "few": "{0} tygodnie",
- "many": "{0} tygodni",
- "other": "{0} tygodnia",
- },
- "day": {
- "one": "{0} dzień",
- "few": "{0} dni",
- "many": "{0} dni",
- "other": "{0} dnia",
- },
- "hour": {
- "one": "{0} godzina",
- "few": "{0} godziny",
- "many": "{0} godzin",
- "other": "{0} godziny",
- },
- "minute": {
- "one": "{0} minuta",
- "few": "{0} minuty",
- "many": "{0} minut",
- "other": "{0} minuty",
- },
- "second": {
- "one": "{0} sekunda",
- "few": "{0} sekundy",
- "many": "{0} sekund",
- "other": "{0} sekundy",
- },
- "microsecond": {
- "one": "{0} mikrosekunda",
- "few": "{0} mikrosekundy",
- "many": "{0} mikrosekund",
- "other": "{0} mikrosekundy",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "za {0} roku",
- "one": "za {0} rok",
- "few": "za {0} lata",
- "many": "za {0} lat",
- },
- "past": {
- "other": "{0} roku temu",
- "one": "{0} rok temu",
- "few": "{0} lata temu",
- "many": "{0} lat temu",
- },
- },
- "month": {
- "future": {
- "other": "za {0} miesiąca",
- "one": "za {0} miesiąc",
- "few": "za {0} miesiące",
- "many": "za {0} miesięcy",
- },
- "past": {
- "other": "{0} miesiąca temu",
- "one": "{0} miesiąc temu",
- "few": "{0} miesiące temu",
- "many": "{0} miesięcy temu",
- },
- },
- "week": {
- "future": {
- "other": "za {0} tygodnia",
- "one": "za {0} tydzień",
- "few": "za {0} tygodnie",
- "many": "za {0} tygodni",
- },
- "past": {
- "other": "{0} tygodnia temu",
- "one": "{0} tydzień temu",
- "few": "{0} tygodnie temu",
- "many": "{0} tygodni temu",
- },
- },
- "day": {
- "future": {
- "other": "za {0} dnia",
- "one": "za {0} dzień",
- "few": "za {0} dni",
- "many": "za {0} dni",
- },
- "past": {
- "other": "{0} dnia temu",
- "one": "{0} dzień temu",
- "few": "{0} dni temu",
- "many": "{0} dni temu",
- },
- },
- "hour": {
- "future": {
- "other": "za {0} godziny",
- "one": "za {0} godzinę",
- "few": "za {0} godziny",
- "many": "za {0} godzin",
- },
- "past": {
- "other": "{0} godziny temu",
- "one": "{0} godzinę temu",
- "few": "{0} godziny temu",
- "many": "{0} godzin temu",
- },
- },
- "minute": {
- "future": {
- "other": "za {0} minuty",
- "one": "za {0} minutę",
- "few": "za {0} minuty",
- "many": "za {0} minut",
- },
- "past": {
- "other": "{0} minuty temu",
- "one": "{0} minutę temu",
- "few": "{0} minuty temu",
- "many": "{0} minut temu",
- },
- },
- "second": {
- "future": {
- "other": "za {0} sekundy",
- "one": "za {0} sekundę",
- "few": "za {0} sekundy",
- "many": "za {0} sekund",
- },
- "past": {
- "other": "{0} sekundy temu",
- "one": "{0} sekundę temu",
- "few": "{0} sekundy temu",
- "many": "{0} sekund temu",
- },
- },
- },
- "day_periods": {
- "midnight": "o północy",
- "am": "AM",
- "noon": "w południe",
- "pm": "PM",
- "morning1": "rano",
- "morning2": "przed południem",
- "afternoon1": "po południu",
- "evening1": "wieczorem",
- "night1": "w nocy",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/pt_br/__init__.py b/pendulum/locales/pt_br/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/pt_br/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/pt_br/custom.py b/pendulum/locales/pt_br/custom.py
deleted file mode 100644
index 12aced7..0000000
--- a/pendulum/locales/pt_br/custom.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-pt-br custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "após {0}",
- "before": "{0} atrás",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd, D [de] MMMM [de] YYYY [às] HH:mm",
- "LLL": "D [de] MMMM [de] YYYY [às] HH:mm",
- "LL": "D [de] MMMM [de] YYYY",
- "L": "DD/MM/YYYY",
- },
-}
diff --git a/pendulum/locales/pt_br/locale.py b/pendulum/locales/pt_br/locale.py
deleted file mode 100644
index 742c41f..0000000
--- a/pendulum/locales/pt_br/locale.py
+++ /dev/null
@@ -1,143 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-pt_br locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n >= 0 and n <= 2)) and (not (n == n and (n == 2))))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "dom",
- 1: "seg",
- 2: "ter",
- 3: "qua",
- 4: "qui",
- 5: "sex",
- 6: "sáb",
- },
- "narrow": {0: "D", 1: "S", 2: "T", 3: "Q", 4: "Q", 5: "S", 6: "S"},
- "short": {
- 0: "dom",
- 1: "seg",
- 2: "ter",
- 3: "qua",
- 4: "qui",
- 5: "sex",
- 6: "sáb",
- },
- "wide": {
- 0: "domingo",
- 1: "segunda-feira",
- 2: "terça-feira",
- 3: "quarta-feira",
- 4: "quinta-feira",
- 5: "sexta-feira",
- 6: "sábado",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan",
- 2: "fev",
- 3: "mar",
- 4: "abr",
- 5: "mai",
- 6: "jun",
- 7: "jul",
- 8: "ago",
- 9: "set",
- 10: "out",
- 11: "nov",
- 12: "dez",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "janeiro",
- 2: "fevereiro",
- 3: "março",
- 4: "abril",
- 5: "maio",
- 6: "junho",
- 7: "julho",
- 8: "agosto",
- 9: "setembro",
- 10: "outubro",
- 11: "novembro",
- 12: "dezembro",
- },
- },
- "units": {
- "year": {"one": "{0} ano", "other": "{0} anos"},
- "month": {"one": "{0} mês", "other": "{0} meses"},
- "week": {"one": "{0} semana", "other": "{0} semanas"},
- "day": {"one": "{0} dia", "other": "{0} dias"},
- "hour": {"one": "{0} hora", "other": "{0} horas"},
- "minute": {"one": "{0} minuto", "other": "{0} minutos"},
- "second": {"one": "{0} segundo", "other": "{0} segundos"},
- "microsecond": {"one": "{0} microssegundo", "other": "{0} microssegundos"},
- },
- "relative": {
- "year": {
- "future": {"other": "em {0} anos", "one": "em {0} ano"},
- "past": {"other": "há {0} anos", "one": "há {0} ano"},
- },
- "month": {
- "future": {"other": "em {0} meses", "one": "em {0} mês"},
- "past": {"other": "há {0} meses", "one": "há {0} mês"},
- },
- "week": {
- "future": {"other": "em {0} semanas", "one": "em {0} semana"},
- "past": {"other": "há {0} semanas", "one": "há {0} semana"},
- },
- "day": {
- "future": {"other": "em {0} dias", "one": "em {0} dia"},
- "past": {"other": "há {0} dias", "one": "há {0} dia"},
- },
- "hour": {
- "future": {"other": "em {0} horas", "one": "em {0} hora"},
- "past": {"other": "há {0} horas", "one": "há {0} hora"},
- },
- "minute": {
- "future": {"other": "em {0} minutos", "one": "em {0} minuto"},
- "past": {"other": "há {0} minutos", "one": "há {0} minuto"},
- },
- "second": {
- "future": {"other": "em {0} segundos", "one": "em {0} segundo"},
- "past": {"other": "há {0} segundos", "one": "há {0} segundo"},
- },
- },
- "day_periods": {
- "midnight": "meia-noite",
- "am": "AM",
- "noon": "meio-dia",
- "pm": "PM",
- "morning1": "da manhã",
- "afternoon1": "da tarde",
- "evening1": "da noite",
- "night1": "da madrugada",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/ru/__init__.py b/pendulum/locales/ru/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/ru/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/ru/custom.py b/pendulum/locales/ru/custom.py
deleted file mode 100644
index b4c89bb..0000000
--- a/pendulum/locales/ru/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-ru custom locale file.
-"""
-
-translations = {
- # Relative time
- "ago": "{} назад",
- "from_now": "через {}",
- "after": "{0} после",
- "before": "{0} до",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "L": "DD.MM.YYYY",
- "LL": "D MMMM YYYY г.",
- "LLL": "D MMMM YYYY г., HH:mm",
- "LLLL": "dddd, D MMMM YYYY г., HH:mm",
- },
-}
diff --git a/pendulum/locales/ru/locale.py b/pendulum/locales/ru/locale.py
deleted file mode 100644
index 3736e0b..0000000
--- a/pendulum/locales/ru/locale.py
+++ /dev/null
@@ -1,270 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-ru locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "few"
- if (
- (
- (0 == 0 and (0 == 0))
- and ((n % 10) == (n % 10) and ((n % 10) >= 2 and (n % 10) <= 4))
- )
- and (not ((n % 100) == (n % 100) and ((n % 100) >= 12 and (n % 100) <= 14)))
- )
- else "many"
- if (
- (
- ((0 == 0 and (0 == 0)) and ((n % 10) == (n % 10) and ((n % 10) == 0)))
- or (
- (0 == 0 and (0 == 0))
- and ((n % 10) == (n % 10) and ((n % 10) >= 5 and (n % 10) <= 9))
- )
- )
- or (
- (0 == 0 and (0 == 0))
- and ((n % 100) == (n % 100) and ((n % 100) >= 11 and (n % 100) <= 14))
- )
- )
- else "one"
- if (
- ((0 == 0 and (0 == 0)) and ((n % 10) == (n % 10) and ((n % 10) == 1)))
- and (not ((n % 100) == (n % 100) and ((n % 100) == 11)))
- )
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "вс",
- 1: "пн",
- 2: "вт",
- 3: "ср",
- 4: "чт",
- 5: "пт",
- 6: "сб",
- },
- "narrow": {0: "вс", 1: "пн", 2: "вт", 3: "ср", 4: "чт", 5: "пт", 6: "сб"},
- "short": {0: "вс", 1: "пн", 2: "вт", 3: "ср", 4: "чт", 5: "пт", 6: "сб"},
- "wide": {
- 0: "воскресенье",
- 1: "понедельник",
- 2: "вторник",
- 3: "среда",
- 4: "четверг",
- 5: "пятница",
- 6: "суббота",
- },
- },
- "months": {
- "abbreviated": {
- 1: "янв.",
- 2: "февр.",
- 3: "мар.",
- 4: "апр.",
- 5: "мая",
- 6: "июн.",
- 7: "июл.",
- 8: "авг.",
- 9: "сент.",
- 10: "окт.",
- 11: "нояб.",
- 12: "дек.",
- },
- "narrow": {
- 1: "Я",
- 2: "Ф",
- 3: "М",
- 4: "А",
- 5: "М",
- 6: "И",
- 7: "И",
- 8: "А",
- 9: "С",
- 10: "О",
- 11: "Н",
- 12: "Д",
- },
- "wide": {
- 1: "января",
- 2: "февраля",
- 3: "марта",
- 4: "апреля",
- 5: "мая",
- 6: "июня",
- 7: "июля",
- 8: "августа",
- 9: "сентября",
- 10: "октября",
- 11: "ноября",
- 12: "декабря",
- },
- },
- "units": {
- "year": {
- "one": "{0} год",
- "few": "{0} года",
- "many": "{0} лет",
- "other": "{0} года",
- },
- "month": {
- "one": "{0} месяц",
- "few": "{0} месяца",
- "many": "{0} месяцев",
- "other": "{0} месяца",
- },
- "week": {
- "one": "{0} неделя",
- "few": "{0} недели",
- "many": "{0} недель",
- "other": "{0} недели",
- },
- "day": {
- "one": "{0} день",
- "few": "{0} дня",
- "many": "{0} дней",
- "other": "{0} дня",
- },
- "hour": {
- "one": "{0} час",
- "few": "{0} часа",
- "many": "{0} часов",
- "other": "{0} часа",
- },
- "minute": {
- "one": "{0} минута",
- "few": "{0} минуты",
- "many": "{0} минут",
- "other": "{0} минуты",
- },
- "second": {
- "one": "{0} секунда",
- "few": "{0} секунды",
- "many": "{0} секунд",
- "other": "{0} секунды",
- },
- "microsecond": {
- "one": "{0} микросекунда",
- "few": "{0} микросекунды",
- "many": "{0} микросекунд",
- "other": "{0} микросекунды",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "через {0} года",
- "one": "через {0} год",
- "few": "через {0} года",
- "many": "через {0} лет",
- },
- "past": {
- "other": "{0} года назад",
- "one": "{0} год назад",
- "few": "{0} года назад",
- "many": "{0} лет назад",
- },
- },
- "month": {
- "future": {
- "other": "через {0} месяца",
- "one": "через {0} месяц",
- "few": "через {0} месяца",
- "many": "через {0} месяцев",
- },
- "past": {
- "other": "{0} месяца назад",
- "one": "{0} месяц назад",
- "few": "{0} месяца назад",
- "many": "{0} месяцев назад",
- },
- },
- "week": {
- "future": {
- "other": "через {0} недели",
- "one": "через {0} неделю",
- "few": "через {0} недели",
- "many": "через {0} недель",
- },
- "past": {
- "other": "{0} недели назад",
- "one": "{0} неделю назад",
- "few": "{0} недели назад",
- "many": "{0} недель назад",
- },
- },
- "day": {
- "future": {
- "other": "через {0} дня",
- "one": "через {0} день",
- "few": "через {0} дня",
- "many": "через {0} дней",
- },
- "past": {
- "other": "{0} дня назад",
- "one": "{0} день назад",
- "few": "{0} дня назад",
- "many": "{0} дней назад",
- },
- },
- "hour": {
- "future": {
- "other": "через {0} часа",
- "one": "через {0} час",
- "few": "через {0} часа",
- "many": "через {0} часов",
- },
- "past": {
- "other": "{0} часа назад",
- "one": "{0} час назад",
- "few": "{0} часа назад",
- "many": "{0} часов назад",
- },
- },
- "minute": {
- "future": {
- "other": "через {0} минуты",
- "one": "через {0} минуту",
- "few": "через {0} минуты",
- "many": "через {0} минут",
- },
- "past": {
- "other": "{0} минуты назад",
- "one": "{0} минуту назад",
- "few": "{0} минуты назад",
- "many": "{0} минут назад",
- },
- },
- "second": {
- "future": {
- "other": "через {0} секунды",
- "one": "через {0} секунду",
- "few": "через {0} секунды",
- "many": "через {0} секунд",
- },
- "past": {
- "other": "{0} секунды назад",
- "one": "{0} секунду назад",
- "few": "{0} секунды назад",
- "many": "{0} секунд назад",
- },
- },
- },
- "day_periods": {
- "midnight": "полночь",
- "am": "AM",
- "noon": "полдень",
- "pm": "PM",
- "morning1": "утра",
- "afternoon1": "дня",
- "evening1": "вечера",
- "night1": "ночи",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/sk/__init__.py b/pendulum/locales/sk/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/sk/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/sk/custom.py b/pendulum/locales/sk/custom.py
deleted file mode 100644
index 71afb15..0000000
--- a/pendulum/locales/sk/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-sk custom locale file.
-"""
-
-translations = {
- # Relative time
- "ago": "pred {}",
- "from_now": "o {}",
- "after": "{0} po",
- "before": "{0} pred",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "LLLL": "dddd, D. MMMM YYYY HH:mm",
- "LLL": "D. MMMM YYYY HH:mm",
- "LL": "D. MMMM YYYY",
- "L": "DD.MM.YYYY",
- },
-}
diff --git a/pendulum/locales/sk/locale.py b/pendulum/locales/sk/locale.py
deleted file mode 100644
index 8d3459f..0000000
--- a/pendulum/locales/sk/locale.py
+++ /dev/null
@@ -1,266 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-sk locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "few"
- if ((n == n and (n >= 2 and n <= 4)) and (0 == 0 and (0 == 0)))
- else "many"
- if (not (0 == 0 and (0 == 0)))
- else "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "ne",
- 1: "po",
- 2: "ut",
- 3: "st",
- 4: "št",
- 5: "pi",
- 6: "so",
- },
- "narrow": {
- 0: "n",
- 1: "p",
- 2: "u",
- 3: "s",
- 4: "š",
- 5: "p",
- 6: "s",
- },
- "short": {
- 0: "ne",
- 1: "po",
- 2: "ut",
- 3: "st",
- 4: "št",
- 5: "pi",
- 6: "so",
- },
- "wide": {
- 0: "nedeľa",
- 1: "pondelok",
- 2: "utorok",
- 3: "streda",
- 4: "štvrtok",
- 5: "piatok",
- 6: "sobota",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan",
- 2: "feb",
- 3: "mar",
- 4: "apr",
- 5: "máj",
- 6: "jún",
- 7: "júl",
- 8: "aug",
- 9: "sep",
- 10: "okt",
- 11: "nov",
- 12: "dec",
- },
- "narrow": {
- 1: "j",
- 2: "f",
- 3: "m",
- 4: "a",
- 5: "m",
- 6: "j",
- 7: "j",
- 8: "a",
- 9: "s",
- 10: "o",
- 11: "n",
- 12: "d",
- },
- "wide": {
- 1: "januára",
- 2: "februára",
- 3: "marca",
- 4: "apríla",
- 5: "mája",
- 6: "júna",
- 7: "júla",
- 8: "augusta",
- 9: "septembra",
- 10: "októbra",
- 11: "novembra",
- 12: "decembra",
- },
- },
- "units": {
- "year": {
- "one": "{0} rok",
- "few": "{0} roky",
- "many": "{0} roka",
- "other": "{0} rokov",
- },
- "month": {
- "one": "{0} mesiac",
- "few": "{0} mesiace",
- "many": "{0} mesiaca",
- "other": "{0} mesiacov",
- },
- "week": {
- "one": "{0} týždeň",
- "few": "{0} týždne",
- "many": "{0} týždňa",
- "other": "{0} týždňov",
- },
- "day": {
- "one": "{0} deň",
- "few": "{0} dni",
- "many": "{0} dňa",
- "other": "{0} dní",
- },
- "hour": {
- "one": "{0} hodina",
- "few": "{0} hodiny",
- "many": "{0} hodiny",
- "other": "{0} hodín",
- },
- "minute": {
- "one": "{0} minúta",
- "few": "{0} minúty",
- "many": "{0} minúty",
- "other": "{0} minút",
- },
- "second": {
- "one": "{0} sekunda",
- "few": "{0} sekundy",
- "many": "{0} sekundy",
- "other": "{0} sekúnd",
- },
- "microsecond": {
- "one": "{0} mikrosekunda",
- "few": "{0} mikrosekundy",
- "many": "{0} mikrosekundy",
- "other": "{0} mikrosekúnd",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "o {0} rokov",
- "one": "o {0} rok",
- "few": "o {0} roky",
- "many": "o {0} roka",
- },
- "past": {
- "other": "pred {0} rokmi",
- "one": "pred {0} rokom",
- "few": "pred {0} rokmi",
- "many": "pred {0} roka",
- },
- },
- "month": {
- "future": {
- "other": "o {0} mesiacov",
- "one": "o {0} mesiac",
- "few": "o {0} mesiace",
- "many": "o {0} mesiaca",
- },
- "past": {
- "other": "pred {0} mesiacmi",
- "one": "pred {0} mesiacom",
- "few": "pred {0} mesiacmi",
- "many": "pred {0} mesiaca",
- },
- },
- "week": {
- "future": {
- "other": "o {0} týždňov",
- "one": "o {0} týždeň",
- "few": "o {0} týždne",
- "many": "o {0} týždňa",
- },
- "past": {
- "other": "pred {0} týždňami",
- "one": "pred {0} týždňom",
- "few": "pred {0} týždňami",
- "many": "pred {0} týždňa",
- },
- },
- "day": {
- "future": {
- "other": "o {0} dní",
- "one": "o {0} deň",
- "few": "o {0} dni",
- "many": "o {0} dňa",
- },
- "past": {
- "other": "pred {0} dňami",
- "one": "pred {0} dňom",
- "few": "pred {0} dňami",
- "many": "pred {0} dňa",
- },
- },
- "hour": {
- "future": {
- "other": "o {0} hodín",
- "one": "o {0} hodinu",
- "few": "o {0} hodiny",
- "many": "o {0} hodiny",
- },
- "past": {
- "other": "pred {0} hodinami",
- "one": "pred {0} hodinou",
- "few": "pred {0} hodinami",
- "many": "pred {0} hodinou",
- },
- },
- "minute": {
- "future": {
- "other": "o {0} minút",
- "one": "o {0} minútu",
- "few": "o {0} minúty",
- "many": "o {0} minúty",
- },
- "past": {
- "other": "pred {0} minútami",
- "one": "pred {0} minútou",
- "few": "pred {0} minútami",
- "many": "pred {0} minúty",
- },
- },
- "second": {
- "future": {
- "other": "o {0} sekúnd",
- "one": "o {0} sekundu",
- "few": "o {0} sekundy",
- "many": "o {0} sekundy",
- },
- "past": {
- "other": "pred {0} sekundami",
- "one": "pred {0} sekundou",
- "few": "pred {0} sekundami",
- "many": "pred {0} sekundy",
- },
- },
- },
- "day_periods": {
- "midnight": "o polnoci",
- "am": "AM",
- "noon": "napoludnie",
- "pm": "PM",
- "morning1": "ráno",
- "morning2": "dopoludnia",
- "afternoon1": "popoludní",
- "evening1": "večer",
- "night1": "v noci",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/sv/__init__.py b/pendulum/locales/sv/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/sv/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/sv/custom.py b/pendulum/locales/sv/custom.py
deleted file mode 100644
index 7158f4b..0000000
--- a/pendulum/locales/sv/custom.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
-sv custom locale file.
-"""
-
-translations = {
- # Relative time
- "ago": "{} sedan",
- "from_now": "från nu {}",
- "after": "{0} efter",
- "before": "{0} innan",
- # Date formats
- "date_formats": {
- "LTS": "HH:mm:ss",
- "LT": "HH:mm",
- "L": "YYYY-MM-DD",
- "LL": "D MMMM YYYY",
- "LLL": "D MMMM YYYY, HH:mm",
- "LLLL": "dddd, D MMMM YYYY, HH:mm",
- },
-}
diff --git a/pendulum/locales/sv/locale.py b/pendulum/locales/sv/locale.py
deleted file mode 100644
index 5b74a6e..0000000
--- a/pendulum/locales/sv/locale.py
+++ /dev/null
@@ -1,222 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-sv locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "one"
- if ((n == n and (n == 1)) and (0 == 0 and (0 == 0)))
- else "other",
- "ordinal": lambda n: "one"
- if (
- ((n % 10) == (n % 10) and (((n % 10) == 1) or ((n % 10) == 2)))
- and (not ((n % 100) == (n % 100) and (((n % 100) == 11) or ((n % 100) == 12))))
- )
- else "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "sön",
- 1: "mån",
- 2: "tis",
- 3: "ons",
- 4: "tors",
- 5: "fre",
- 6: "lör",
- },
- "narrow": {
- 0: "S",
- 1: "M",
- 2: "T",
- 3: "O",
- 4: "T",
- 5: "F",
- 6: "L",
- },
- "short": {
- 0: "sö",
- 1: "må",
- 2: "ti",
- 3: "on",
- 4: "to",
- 5: "fr",
- 6: "lö",
- },
- "wide": {
- 0: "söndag",
- 1: "måndag",
- 2: "tisdag",
- 3: "onsdag",
- 4: "torsdag",
- 5: "fredag",
- 6: "lördag",
- },
- },
- "months": {
- "abbreviated": {
- 1: "jan.",
- 2: "feb.",
- 3: "mars",
- 4: "apr.",
- 5: "maj",
- 6: "juni",
- 7: "juli",
- 8: "aug.",
- 9: "sep.",
- 10: "okt.",
- 11: "nov.",
- 12: "dec.",
- },
- "narrow": {
- 1: "J",
- 2: "F",
- 3: "M",
- 4: "A",
- 5: "M",
- 6: "J",
- 7: "J",
- 8: "A",
- 9: "S",
- 10: "O",
- 11: "N",
- 12: "D",
- },
- "wide": {
- 1: "januari",
- 2: "februari",
- 3: "mars",
- 4: "april",
- 5: "maj",
- 6: "juni",
- 7: "juli",
- 8: "augusti",
- 9: "september",
- 10: "oktober",
- 11: "november",
- 12: "december",
- },
- },
- "units": {
- "year": {
- "one": "{0} år",
- "other": "{0} år",
- },
- "month": {
- "one": "{0} månad",
- "other": "{0} månader",
- },
- "week": {
- "one": "{0} vecka",
- "other": "{0} veckor",
- },
- "day": {
- "one": "{0} dygn",
- "other": "{0} dygn",
- },
- "hour": {
- "one": "{0} timme",
- "other": "{0} timmar",
- },
- "minute": {
- "one": "{0} minut",
- "other": "{0} minuter",
- },
- "second": {
- "one": "{0} sekund",
- "other": "{0} sekunder",
- },
- "microsecond": {
- "one": "{0} mikrosekund",
- "other": "{0} mikrosekunder",
- },
- },
- "relative": {
- "year": {
- "future": {
- "other": "om {0} år",
- "one": "om {0} år",
- },
- "past": {
- "other": "för {0} år sedan",
- "one": "för {0} år sedan",
- },
- },
- "month": {
- "future": {
- "other": "om {0} månader",
- "one": "om {0} månad",
- },
- "past": {
- "other": "för {0} månader sedan",
- "one": "för {0} månad sedan",
- },
- },
- "week": {
- "future": {
- "other": "om {0} veckor",
- "one": "om {0} vecka",
- },
- "past": {
- "other": "för {0} veckor sedan",
- "one": "för {0} vecka sedan",
- },
- },
- "day": {
- "future": {
- "other": "om {0} dagar",
- "one": "om {0} dag",
- },
- "past": {
- "other": "för {0} dagar sedan",
- "one": "för {0} dag sedan",
- },
- },
- "hour": {
- "future": {
- "other": "om {0} timmar",
- "one": "om {0} timme",
- },
- "past": {
- "other": "för {0} timmar sedan",
- "one": "för {0} timme sedan",
- },
- },
- "minute": {
- "future": {
- "other": "om {0} minuter",
- "one": "om {0} minut",
- },
- "past": {
- "other": "för {0} minuter sedan",
- "one": "för {0} minut sedan",
- },
- },
- "second": {
- "future": {
- "other": "om {0} sekunder",
- "one": "om {0} sekund",
- },
- "past": {
- "other": "för {0} sekunder sedan",
- "one": "för {0} sekund sedan",
- },
- },
- },
- "day_periods": {
- "midnight": "midnatt",
- "am": "fm",
- "pm": "em",
- "morning1": "på morgonen",
- "morning2": "på förmiddagen",
- "afternoon1": "på eftermiddagen",
- "evening1": "på kvällen",
- "night1": "på natten",
- },
- },
- "custom": custom_translations,
-}
diff --git a/pendulum/locales/zh/__init__.py b/pendulum/locales/zh/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/pendulum/locales/zh/__init__.py
+++ /dev/null
diff --git a/pendulum/locales/zh/custom.py b/pendulum/locales/zh/custom.py
deleted file mode 100644
index 69bc4ca..0000000
--- a/pendulum/locales/zh/custom.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
-zh custom locale file.
-"""
-
-translations = {
- # Relative time
- "after": "{time}后",
- "before": "{time}前",
- # Date formats
- "date_formats": {
- "LTS": "Ah点m分s秒",
- "LT": "Ah点mm分",
- "LLLL": "YYYY年MMMD日ddddAh点mm分",
- "LLL": "YYYY年MMMD日Ah点mm分",
- "LL": "YYYY年MMMD日",
- "L": "YYYY-MM-DD",
- },
-}
diff --git a/pendulum/locales/zh/locale.py b/pendulum/locales/zh/locale.py
deleted file mode 100644
index 2df477f..0000000
--- a/pendulum/locales/zh/locale.py
+++ /dev/null
@@ -1,113 +0,0 @@
-from .custom import translations as custom_translations
-
-
-"""
-zh locale file.
-
-It has been generated automatically and must not be modified directly.
-"""
-
-
-locale = {
- "plural": lambda n: "other",
- "ordinal": lambda n: "other",
- "translations": {
- "days": {
- "abbreviated": {
- 0: "周日",
- 1: "周一",
- 2: "周二",
- 3: "周三",
- 4: "周四",
- 5: "周五",
- 6: "周六",
- },
- "narrow": {0: "日", 1: "一", 2: "二", 3: "三", 4: "四", 5: "五", 6: "六"},
- "short": {0: "周日", 1: "周一", 2: "周二", 3: "周三", 4: "周四", 5: "周五", 6: "周六"},
- "wide": {
- 0: "星期日",
- 1: "星期一",
- 2: "星期二",
- 3: "星期三",
- 4: "星期四",
- 5: "星期五",
- 6: "星期六",
- },
- },
- "months": {
- "abbreviated": {
- 1: "1月",
- 2: "2月",
- 3: "3月",
- 4: "4月",
- 5: "5月",
- 6: "6月",
- 7: "7月",
- 8: "8月",
- 9: "9月",
- 10: "10月",
- 11: "11月",
- 12: "12月",
- },
- "narrow": {
- 1: "1",
- 2: "2",
- 3: "3",
- 4: "4",
- 5: "5",
- 6: "6",
- 7: "7",
- 8: "8",
- 9: "9",
- 10: "10",
- 11: "11",
- 12: "12",
- },
- "wide": {
- 1: "一月",
- 2: "二月",
- 3: "三月",
- 4: "四月",
- 5: "五月",
- 6: "六月",
- 7: "七月",
- 8: "八月",
- 9: "九月",
- 10: "十月",
- 11: "十一月",
- 12: "十二月",
- },
- },
- "units": {
- "year": {"other": "{0}年"},
- "month": {"other": "{0}个月"},
- "week": {"other": "{0}周"},
- "day": {"other": "{0}天"},
- "hour": {"other": "{0}小时"},
- "minute": {"other": "{0}分钟"},
- "second": {"other": "{0}秒钟"},
- "microsecond": {"other": "{0}微秒"},
- },
- "relative": {
- "year": {"future": {"other": "{0}年后"}, "past": {"other": "{0}年前"}},
- "month": {"future": {"other": "{0}个月后"}, "past": {"other": "{0}个月前"}},
- "week": {"future": {"other": "{0}周后"}, "past": {"other": "{0}周前"}},
- "day": {"future": {"other": "{0}天后"}, "past": {"other": "{0}天前"}},
- "hour": {"future": {"other": "{0}小时后"}, "past": {"other": "{0}小时前"}},
- "minute": {"future": {"other": "{0}分钟后"}, "past": {"other": "{0}分钟前"}},
- "second": {"future": {"other": "{0}秒钟后"}, "past": {"other": "{0}秒钟前"}},
- },
- "day_periods": {
- "midnight": "午夜",
- "am": "上午",
- "pm": "下午",
- "morning1": "清晨",
- "morning2": "上午",
- "afternoon1": "下午",
- "afternoon2": "下午",
- "evening1": "晚上",
- "night1": "凌晨",
- },
- },
- "custom": custom_translations,
-}