Skip to content

Commit

Permalink
maint: fix paths in transifex scripts and workflows after the move
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Nov 1, 2024
1 parent 494aeab commit 9e4e7e8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/transifex.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Transifex
name: transifex

on:
push:
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion maint/sync-transifex/hints-from-transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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():
Expand Down
2 changes: 1 addition & 1 deletion maint/sync-transifex/hints-to-transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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)

Expand Down
2 changes: 1 addition & 1 deletion maint/sync-transifex/po-from-transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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"


Expand Down
2 changes: 1 addition & 1 deletion maint/sync-transifex/po-to-transifex.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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)

Expand Down

0 comments on commit 9e4e7e8

Please sign in to comment.