Skip to content

Commit 0d71391

Browse files
authored
Make Ukrainian locale name follow ISO 639, update it and add tests (#957)
1 parent 5ad098b commit 0d71391

5 files changed

Lines changed: 403 additions & 304 deletions

File tree

‎src/pendulum/locales/ua/locale.py‎

Lines changed: 0 additions & 281 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
"""
2-
ua custom locale file.
3-
"""
4-
from __future__ import annotations
5-
6-
7-
translations = {
8-
"units": {"few_second": "кілька секунд"},
9-
# Relative time
10-
"ago": "{} тому",
11-
"from_now": "за {}",
12-
"after": "{0} посіля",
13-
"before": "{0} до",
14-
# Date formats
15-
"date_formats": {
16-
"LTS": "HH:mm:ss",
17-
"LT": "HH:mm",
18-
"L": "DD.MM.YYYY",
19-
"LL": "D MMMM YYYY р.",
20-
"LLL": "D MMMM YYYY р., HH:mm",
21-
"LLLL": "dddd, D MMMM YYYY р., HH:mm",
22-
},
23-
}
1+
"""
2+
uk custom locale file.
3+
"""
4+
from __future__ import annotations
5+
6+
7+
translations = {
8+
"units": {"few_second": "кілька секунд"},
9+
# Relative time
10+
"ago": "{} тому",
11+
"from_now": "через {}",
12+
"after": "через {0}",
13+
"before": "{0} тому",
14+
# Date formats
15+
"date_formats": {
16+
"LTS": "HH:mm:ss",
17+
"LT": "HH:mm",
18+
"L": "DD.MM.YYYY",
19+
"LL": "D MMMM YYYY",
20+
"LLL": "D MMMM YYYY, HH:mm",
21+
"LLLL": "ddd, D MMMM YYYY, HH:mm",
22+
},
23+
}

0 commit comments

Comments
 (0)