diff options
Diffstat (limited to 'src/pendulum/locales/fr/custom.py')
-rw-r--r-- | src/pendulum/locales/fr/custom.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/pendulum/locales/fr/custom.py b/src/pendulum/locales/fr/custom.py new file mode 100644 index 0000000..913656c --- /dev/null +++ b/src/pendulum/locales/fr/custom.py @@ -0,0 +1,25 @@ +""" +fr custom locale file. +""" +from __future__ import annotations + + +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", + }, +} |