Passed
Branch master (0fb205)
by Oleksandr
03:17
created

commons._translations   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 9
dl 0
loc 16
rs 10
c 0
b 0
f 0
1
from pathlib import Path
2
3
from verboselib import Translations
4
5
6
__here__ = Path(__file__).absolute().parent
7
8
9
translations = Translations(
10
  domain="il2fb-commons",
11
  locale_dir_path=(__here__ / "locale"),
12
)
13
14
gettext      = translations.gettext
15
gettext_lazy = translations.gettext_lazy
16