From bb9dfc9f403a47176429fc5273a91daa8f69d476 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 30 Dec 2023 09:20:38 -0500 Subject: [PATCH] ci: remove duplicated localization step (#23) --- .github/workflows/CI.yml | 5 ----- scripts/build.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index db51055..6d62535 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -69,11 +69,6 @@ jobs: python -m pip install -r requirements-dev.txt python -m pip install -r requirements.txt - - name: Compile Locale Translations - shell: bash - run: | - python -m scripts.locale --compile - - name: Build shell: bash env: diff --git a/scripts/build.py b/scripts/build.py index a9df388..b82b905 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -85,7 +85,7 @@ def compile_localizations(): """ # kodi using po files for localization, no need to compile to mo subprocess.run( - args=[sys.executable, '-m', 'scripts.locale', '--update'], + args=[sys.executable, '-m', 'scripts.locale', '--update', '--compile'], ) # locale directories