diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-17 14:36:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-17 14:36:33 +0000 |
commit | 665666d6f4213da8db57ebb480947b7caf1fe382 (patch) | |
tree | 0cac5d322dfe861a6de62b04fb916cef6dbe4510 /pendulum/locales/de | |
parent | Releasing debian version 3.0.0~a1-2. (diff) | |
download | pendulum-665666d6f4213da8db57ebb480947b7caf1fe382.tar.xz pendulum-665666d6f4213da8db57ebb480947b7caf1fe382.zip |
Merging upstream version 3.0.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pendulum/locales/de')
-rw-r--r-- | pendulum/locales/de/__init__.py | 0 | ||||
-rw-r--r-- | pendulum/locales/de/custom.py | 36 | ||||
-rw-r--r-- | pendulum/locales/de/locale.py | 144 |
3 files changed, 0 insertions, 180 deletions
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, -} |