Service/Weblate: Difference between revisions
Use ssh to clone repos as we're using git for the version control system. |
Changes to adding translation component workflow |
||
| (One intermediate revision by the same user not shown) | |||
| Line 92: | Line 92: | ||
* Set File format gettext PO file, File mask po/*.po | * Set File format gettext PO file, File mask po/*.po | ||
* Set Repository push URL to enable autoupdate of changes to Github from weblate. | * Set Repository push URL to enable autoupdate of changes to Github from weblate. | ||
* | * Leave Push branch empty as repository branch would be used. | ||
* On Github, add hook {{Code|https://weblate.sugarlabs.org/hooks/github/}} to activity repo as it's used for automated flow of updates to weblate. | * On Github, add hook {{Code|https://weblate.sugarlabs.org/hooks/github/}} to activity repo as it's used for automated flow of updates to weblate. | ||
* Check license in activity repo matches Translation license selected by weblate or set to the right license. | * Check license in activity repo matches Translation license selected by weblate or set to the right license. | ||
| Line 102: | Line 102: | ||
== Synchronization == | == Synchronization == | ||
Weblate automatically pushes changes to Github when there's a change on weblate because of the | Weblate automatically pushes changes to Github when there's a change on weblate because of the Git version control above, the hooks configured in the repos make it easy for weblate to pull changes from Github. | ||
== Backups == | == Backups == | ||