summaryrefslogtreecommitdiff
path: root/src/hydrilla/builder/build.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-12 14:45:13 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-12 14:52:09 +0100
commit33097569a81174b42729cdf8109adc64ce796223 (patch)
tree85e41ff894f67174140c0ae3bd0f8590b2cd2927 /src/hydrilla/builder/build.py
parent403ca6427271a246fab2531f988d99ec299b9038 (diff)
downloadhydrilla-builder-33097569a81174b42729cdf8109adc64ce796223.tar.gz
hydrilla-builder-33097569a81174b42729cdf8109adc64ce796223.zip
move locales under builder/
Diffstat (limited to 'src/hydrilla/builder/build.py')
-rw-r--r--src/hydrilla/builder/build.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py
index ae4be47..891b568 100644
--- a/src/hydrilla/builder/build.py
+++ b/src/hydrilla/builder/build.py
@@ -36,7 +36,9 @@ import click
from .. import util
-_ = util.translation('hydrilla_builder').gettext
+here = Path(__file__).resolve().parent
+
+_ = util.translation(here / 'locales').gettext
index_validator = util.validator_for('package_source-1.schema.json')