1
0
Fork 0
forgejo/options/locale
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779)
* Improve install code to avoid low-level mistakes.

If a user tries to do a re-install in a Gitea database, they gets a warning and double check.
When Gitea runs, it never create empty app.ini automatically.

Also some small (related) refactoring:

* Refactor db.InitEngine related logic make it more clean (especially for the install code)
* Move some i18n strings out from setting.go to make the setting.go can be easily maintained.
* Show errors in CLI code if an incorrect app.ini is used.
* APP_DATA_PATH is created when installing, and checked when starting (no empty directory is created any more).
2021-12-01 15:50:01 +08:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2021-11-24 00:25:19 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_en-US.ini Improve install code to avoid low-level mistakes. (#17779) 2021-12-01 15:50:01 +08:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2021-11-27 00:25:11 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2021-11-30 00:25:14 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2021-11-26 00:25:09 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2021-11-25 00:25:19 +00:00
locale_si-LK.ini [skip ci] Updated translations via Crowdin 2021-12-01 00:25:14 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2021-11-23 00:31:08 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2021-12-01 00:25:14 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2021-11-18 00:25:14 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2021-11-24 00:25:19 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00