1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 13:29:12 -05:00
forgejo/build
wxiaoguang 95818adb71
A tool to help to backport locales, changes source strings to fix other broken translations (#23633)
It use old en-US locales as reference, fill the old other locales with
new locales.

----

## More broken translations

Many translations are still broken. The reason is: at the last time
restoring the ini to crowdin, many semicolon are treated as comments.

Two kinds of broken strings:

### Some translations can be re-translated

<details>

```
skipping options/locale/locale_si-LK.ini org teams.add_nonexistent_repo
skipping options/locale/locale_tr-TR.ini repo commits.search.tooltip
skipping options/locale/locale_es-ES.ini repo settings.trust_model.committer.desc
skipping options/locale/locale_es-ES.ini admin dashboard.new_version_hint
skipping options/locale/locale_pt-PT.ini org teams.add_nonexistent_repo
skipping options/locale/locale_hu-HU.ini install require_sign_in_view_popup
skipping options/locale/locale_hu-HU.ini repo migrate.invalid_local_path
skipping options/locale/locale_id-ID.ini repo migrate.invalid_local_path
skipping options/locale/locale_id-ID.ini org teams.add_nonexistent_repo
skipping options/locale/locale_de-DE.ini repo settings.protect_protected_file_patterns_desc
```

</details>

So this PR also does some small changes on them, to trigger the
re-translation.

### The `locale_el-GR.ini` contains many broken tranlsations

I guess we should reset them from crowdin side, then translators can
re-translate them.

----

Update: in latest main, the strings have been fixed.

## TODO

Update: the el-GR translators have done great job and fixes these broken
translations.


<details>

Merge this PR ASAP and upload `locale_el-GR.ini` to crowdin to remove
broken strings.


Out-dated, fixed in main.


![image](https://user-images.githubusercontent.com/2114189/226954531-36e14527-278a-41a1-8ddb-2b2b27bfc746.png)

</details>

---------

Co-authored-by: delvh <dev.lh@web.de>
2023-03-23 13:27:03 -04:00
..
codeformat Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
backport-locales.go A tool to help to backport locales, changes source strings to fix other broken translations (#23633) 2023-03-23 13:27:03 -04:00
code-batch-process.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00: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 Fix unstable emoji sort (#22346) 2023-01-05 13:58:51 +02:00
generate-gitignores.go Remove legacy +build: constraint (#19582) 2022-05-02 23:22:45 +08:00
generate-go-licenses.go Consume hcaptcha and pwn deps (#22610) 2023-01-29 09:49:51 -06:00
generate-images.js Update JS dependencies and eslint (#22190) 2022-12-20 17:15:47 -05:00
generate-licenses.go Remove deprecated licenses (#20222) 2022-08-22 00:33:01 -04:00
generate-svg.js Keep (add if not existing) xmlns attribute for generated SVG images (#23410) 2023-03-21 13:39:27 +08:00
gocovmerge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00: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 Improve sed detection in update-locales.sh (#23254) 2023-03-04 14:29:28 +00:00