0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:06:38 +01:00
gitea/options/locale
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
..
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2023-03-23 00:16:53 +00:00
locale_en-US.ini A tool to help to backport locales, changes source strings to fix other broken translations (#23633) 2023-03-23 13:27:03 -04:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_is-IS.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_sk-SK.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2023-03-23 00:16:53 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2023-03-18 00:16:14 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2023-03-22 00:16:22 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00