maint: fix paths in transifex scripts and workflows after the move

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Yury V. Zaytsev 2024-11-01 17:47:04 +01:00
parent 494aeabe27
commit 9e4e7e8a7f
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
name: Transifex
name: transifex
on:
push:
@ -23,10 +23,10 @@ jobs:
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- run: ./maint/utils/sync-transifex/po-to-transifex.py
- run: ./maint/sync-transifex/po-to-transifex.py
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
- run: ./maint/utils/sync-transifex/hints-to-transifex.py
- run: ./maint/sync-transifex/hints-to-transifex.py
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}

View File

@ -10,7 +10,7 @@ from translation_utils import create_po4a_config, init_sync_dir
RESOURCE_NAME = "mc.hint"
SCRIPT_DIR = Path(__file__).parent
SOURCE_DIR = SCRIPT_DIR.parent.parent.parent
SOURCE_DIR = SCRIPT_DIR.parent.parent
def unwrap_paragraphs():

View File

@ -8,7 +8,7 @@ from translation_utils import create_po4a_config, init_sync_dir
RESOURCE_NAME = "mc.hint"
SCRIPT_DIR = Path(__file__).parent
SOURCE_DIR = SCRIPT_DIR.parent.parent.parent
SOURCE_DIR = SCRIPT_DIR.parent.parent
sync_dir = init_sync_dir(SCRIPT_DIR, RESOURCE_NAME)

View File

@ -9,7 +9,7 @@ from translation_utils import get_translations, init_sync_dir
RESOURCE_NAME = "mc.pot"
SCRIPT_DIR = Path(__file__).parent
SOURCE_DIR = SCRIPT_DIR.parent.parent.parent
SOURCE_DIR = SCRIPT_DIR.parent.parent
PO_DIR = SOURCE_DIR / "po"

View File

@ -8,7 +8,7 @@ from translation_utils import init_sync_dir
RESOURCE_NAME = "mc.pot"
SCRIPT_DIR = Path(__file__).parent
SOURCE_DIR = SCRIPT_DIR.parent.parent.parent
SOURCE_DIR = SCRIPT_DIR.parent.parent
sync_dir = init_sync_dir(SCRIPT_DIR, RESOURCE_NAME)