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 9b5b714048)
(cherry picked from commit 6c7b5e322d)
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 Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
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 Remove deprecated licenses (#20222) 2022-08-22 00:33:01 -04:00
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 Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00
test-env-prepare.sh Prepare and check test env during CI (#17725) 2021-11-19 13:58:34 +08:00
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