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