mirror of https://github.com/MidnightCommander/mc
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:
parent
494aeabe27
commit
9e4e7e8a7f
|
@ -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 }}
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue