| 1 |
# Weblate configuration for automatic synchronization |
| 2 |
|
| 3 |
[weblate] |
| 4 |
url = https://hosted.weblate.org/api/ |
| 5 |
project = rust-coreutils |
| 6 |
|
| 7 |
# Repository settings |
| 8 |
[vcs] |
| 9 |
push_on_commit = true |
| 10 |
commit_message = Translated using Weblate ({language_name}) |
| 11 |
|
| 12 |
# Synchronization settings |
| 13 |
[sync] |
| 14 |
# Pull translations from Weblate every hour |
| 15 |
pull_interval = 3600 |
| 16 |
# Push source changes to Weblate automatically |
| 17 |
push_source = true |
| 18 |
# Commit pending changes before sync |
| 19 |
commit_pending = true |
| 20 |
|
| 21 |
# File format settings |
| 22 |
[files] |
| 23 |
# Fluent (.ftl) format configuration |
| 24 |
fluent_monolingual = true |
| 25 |
base_file_template = src/uu/*/locales/en-US.ftl |
| 26 |
filemask = src/uu/*/locales/*.ftl |
| 27 |
|
| 28 |
# uucore shared strings |
| 29 |
[files.uucore] |
| 30 |
base_file_template = src/uucore/locales/en-US.ftl |
| 31 |
filemask = src/uucore/locales/*.ftl |
| 32 |
|
| 33 |
# GitHub integration |
| 34 |
[github] |
| 35 |
# Enable repository webhooks for automatic sync |
| 36 |
webhook = true |
| 37 |
# Pull request settings for translations |
| 38 |
auto_pr = false |