Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/options/locale
zeripath 1bf7b8d7c1
Fix signing.wont_sign.%!s(<nil>) if Require Signing commits but not signed in (#12581)
signing.wont_sign.%!s(<nil>) will be displayed if the repository needs signed
commits but the user is not logged in.

This is displayed because of complicated logic in the the template repo/issue/view_content/pull.tmpl
and a shortcut in the code of routers/repo/issue.go

This PR adds a default value of notsignedin if users are not signed in, which
although our templates will not show will prevent custom templates from showing
the above.

It also fixes the template to avoid showing signing errors if the user is not
authorized to sign.

Replaces #12564
Close #12564

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-23 22:59:41 +01:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2020-08-21 22:43:28 +00:00
locale_en-US.ini Fix signing.wont_sign.%!s(<nil>) if Require Signing commits but not signed in (#12581) 2020-08-23 22:59:41 +01:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2020-08-22 01:24:01 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_ml-IN.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_pt-PT.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2020-08-21 22:43:28 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2020-08-23 16:03:36 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2020-08-17 15:59:38 +00:00
TRANSLATORS European Portuguese translation (#11568) 2020-06-05 09:07:56 +01:00