diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-30 08:13:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-30 08:13:47 +0000 |
commit | 1199780155f666b6806d563a29d093a251664009 (patch) | |
tree | 68716d9c1ee3205f474a04d74d5653eddf94a9f2 /pendulum/locales/fr/custom.py | |
parent | Initial commit. (diff) | |
download | pendulum-098739afe1915aac5b2eeda44f1d49a238b6d6e4.tar.xz pendulum-098739afe1915aac5b2eeda44f1d49a238b6d6e4.zip |
Adding upstream version 2.1.2.upstream/2.1.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'pendulum/locales/fr/custom.py')
-rw-r--r-- | pendulum/locales/fr/custom.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pendulum/locales/fr/custom.py b/pendulum/locales/fr/custom.py new file mode 100644 index 0000000..0edddbf --- /dev/null +++ b/pendulum/locales/fr/custom.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+
+"""
+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",
+ },
+}
|