mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-30 23:26:39 +08:00
* feat: update README * feat: suppport `RUN_ENG_TRANSLATE` * fix: dockerfile * fix: i18n scripts * fix: i18n script * fix: i18n script * chore: README
8 lines
259 B
Bash
Executable File
8 lines
259 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$RUN_ENG_TRANSLATE" = "1" ]; then
|
|
python ./i18n/translate.py --repository_path . --json_file_path ./i18n/en.json
|
|
else
|
|
echo "RUN_ENG_TRANSLATE is not set to 1. We will not translate project to English (不会将项目翻译成英文)."
|
|
fi
|