forgejo/options/locale
Gusted f779aa79f2
[BUG] Fix pull request reopen conditions
- Move the conditions code around, such that the existence of the head
and base is first checked (so a clear error can be given, instead of a
possible server error). This makes it easier to read this code. As the
logic is now grouped together.
- Adds integration testing that simulates the deletion of the base and
head branch and ensures the pull request cannot be opened. The 'normal'
testcase also 'informally' ensures that the previous incorrect condition
is not there, because the branch `base-branch` doesn't exist on the head
repository.
- Resolves #2321
2024-02-17 15:38:16 +01:00
..
locale_ar.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_bs.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_cs-CZ.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_de-DE.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_el-GR.ini [skip ci] Updated translations via Crowdin 2024-02-14 21:44:24 +01:00
locale_en-US.ini [BUG] Fix pull request reopen conditions 2024-02-17 15:38:16 +01:00
locale_eo.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_es-ES.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_fa-IR.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_fi-FI.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_fr-FR.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_hu-HU.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_id-ID.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_is-IS.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_it-IT.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_ja-JP.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_ko-KR.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_lv-LV.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_nl-NL.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_pl-PL.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_pt-BR.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
locale_pt-PT.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_ru-RU.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_si-LK.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_sk-SK.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_sl.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_sv-SE.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_tr-TR.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_uk-UA.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_zh-CN.ini [I18N] Translations update from Weblate (#2322) 2024-02-14 11:01:06 +00:00
locale_zh-HK.ini [I18N] add [common] as first line 2024-02-05 15:10:55 +01:00
locale_zh-TW.ini [I18N] Translations update from Weblate (#2316) 2024-02-09 12:43:51 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00