Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9ca7db

Browse files
committed
fix(script): add poetry lock cmd to script and rm -q option when install
1 parentee50c42 commitf9ca7db

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.scripts/from_cn.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ TARGET=$1
2929
CN_PATH=$CN_REPO/$TARGET
3030
TW_PATH=../$TARGET
3131

32-
poetry install -q
32+
poetry lock
33+
poetry install
3334
poetry run bash -c"
3435
opencc -i$CN_PATH -c s2twp.json -o /tmp/tmp.po
3536
pofilter --nonotes --excludefilter unchanged --excludefilter untranslated /tmp/tmp.po | msgattrib --set-fuzzy -o /tmp/tmp.po

‎.scripts/google_translate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ source utils/install_poetry.sh
88
TEMP=tmp.po
99
TARGET=../$1
1010

11-
poetry install -q
11+
poetry lock
12+
poetry install
1213
poetry run bash -c"
1314
python google_translate/main.py$TARGET >$TEMP
1415
pomerge -t$TARGET -i$TEMP -o$TARGET

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp