-
Notifications
You must be signed in to change notification settings - Fork 10
TransRepo™
TransRepo™ is a simple workflow which can update the localization files with GitHub repositories. Ultimate Edition Reborn introduced this feature to make updating localizations easier for translators.
-
Use Ultimate-Edition-Team/ localization-template as a template to create your localization repository.
-
If you rename your master branch, replace
main
withYOUR_NEW_MASTER_BRANCH
in files which in.github\workflows
. -
To make TransRepo ignore the directory when updating the localization file, name your directory with
.
prefix. For example,.ignored
and.github
.
Contact ZiYueCommentary to register your repository to TransRepo.
TransRepo will update localization files if the master branch is pushed. After you push commits, the GitHub action will begin to update localization files through TransRepo.
The file server is configured with Cloudflare CDN. Therefore, the server has a two-hour cache and your changes may not be available immediately.
TransRepo won't update localization's compatible version, since it can't determine whether localization is fully working.
Before updating the compatible version, you have to be sure that everything is configured properly and working properly.
If the action failed, you need to check what caused the procedure to fail.
Open the detail of the action and see its response code.
Code | Description |
---|---|
200 | Succeed. |
400 | Invalid request. |
403 | The branch which actives the action is not master. |
404 | The repository is not registered. |
418 | The repository is registered with a non-UER project. |
500 | Internal server error. |
501 | Not push or workflow_dispatch GitHub action. |