summaryrefslogtreecommitdiffstats
path: root/pendulum/locales/ru/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pendulum/locales/ru/custom.py')
-rw-r--r--pendulum/locales/ru/custom.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/pendulum/locales/ru/custom.py b/pendulum/locales/ru/custom.py
new file mode 100644
index 0000000..ed770c3
--- /dev/null
+++ b/pendulum/locales/ru/custom.py
@@ -0,0 +1,24 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+
+"""
+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",
+ },
+}