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/zh/custom.py | |
parent | Initial commit. (diff) | |
download | pendulum-upstream/2.1.2.tar.xz pendulum-upstream/2.1.2.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/zh/custom.py')
-rw-r--r-- | pendulum/locales/zh/custom.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pendulum/locales/zh/custom.py b/pendulum/locales/zh/custom.py new file mode 100644 index 0000000..7b35d66 --- /dev/null +++ b/pendulum/locales/zh/custom.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+
+"""
+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",
+ },
+}
|