forgejo/build
Earl Warren cb8c9d5bcf
[I18n] tooling and process
Before:

* Translations were imported from Crowdin via Gitea
* New strings were added by Forgejo in feature branches but never translated
* The build/merge-forgejo-locales.go script in the forgejo-i18n branch
  added/replaced Forgejo specific strings in the translated files at
  build time
* Conflicts arising from Gitea changes in locale_en-US.ini were resolved by moving around
  Forgejo strings

Transition:

* The build/merge-forgejo-locales.go is run once on the source
* The result is commited to the forgejo-development branch

After:

* Translation are exported and imported from translate.codeberg.org
* build/crowdin-to-weblate.sh run is run when rebasing (soft-fork)
  or cherry-picking (hard-fork) to collect new translations from
  Crowdin via Gitea
* In case of a conflict Forgejo translations are authoritative
* In the absence of a conflict Crowdin translations are uploaded to Weblate

(cherry picked from commit 9b5b7140480a75edb070d4151f585c20d3a08f64)
(cherry picked from commit 6c7b5e322d1dc736f2e2d9725f77f09bbdb5ffa1)
2024-02-05 15:08:04 +01:00
..
codeformat Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
backport-locales.go Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
code-batch-process.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
crowdin-to-weblate.sh [I18n] tooling and process 2024-02-05 15:08:04 +01:00
generate-bindata.go Change use of Walk to WalkDir to improve disk performance (#22462) 2023-01-16 16:21:44 +00:00
generate-emoji.go Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
generate-gitignores.go
generate-go-licenses.go Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
generate-images.js Move public asset files to the proper directory (#25907) 2023-07-18 18:06:43 +02:00
generate-licenses.go
generate-svg.js Move public asset files to the proper directory (#25907) 2023-07-18 18:06:43 +02:00
gocovmerge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
merge-forgejo-locales.go [I18n] tooling and process 2024-02-05 15:08:04 +01:00
test-echo.go Clean some legacy files and move some build files (#23699) 2023-03-25 16:22:51 -04:00
test-env-check.sh
test-env-prepare.sh
update-locales.sh Clarify Gitea/Crowdin locale behaviors, add tests for LocaleStore, fix some strings with semicolons (#23819) 2023-03-31 12:16:41 +08:00
watch.sh Reduce verbosity of dev commands (#24917) 2023-05-24 20:11:04 +00:00