forgejo/options/locale
0ko 3e1d5cc447 feat(ui): better activity messages for cases of private profiles (#5638)
* added a message for the case where the user's profile is private but the Public activity is not hidden
The activity is still hidden anyway because the profile is private, but previously the message would say:
`Your activity is visible to everyone, except for interactions in private spaces...`
which I would consider as a flaw of the original implementation. Now it will say:
`Your activity is only visible to you and the instance administrators because your profile is private...`
* started showing the message for admins that the activity they see should remain private in the case
where the whole profile is private, not just the activity tab. Previously it would say:
This activity is visible to everyone, but as an administrator you can also see interactions in private spaces.`
which I would also consider as a flaw of the original implementation. Now it will say:
`This activity is visible to you because you're an administrator, but the user wants it to remain private.`
* added test cases
* bumped up the number of our GPL-licensed files

Preview
For both screenshots, Forgejo would previously display misinformation.

Change 1: User viewing their private profile, but activity isn't configured as hidden
https://codeberg.org/attachments/6659c80c-15dd-48be-a379-db737fd1dd5e

Change 2: Admin viewing user's private profile
https://codeberg.org/attachments/220da57f-b658-4474-9ad2-049e8438a0af

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5638
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2024-10-21 14:39:29 +00:00
..
locale_ar.ini
locale_be.ini
locale_bg.ini
locale_bn.ini
locale_bs.ini
locale_ca.ini
locale_cs-CZ.ini
locale_de-DE.ini
locale_el-GR.ini
locale_en-US.ini feat(ui): better activity messages for cases of private profiles (#5638) 2024-10-21 14:39:29 +00:00
locale_eo.ini
locale_es-ES.ini
locale_et.ini
locale_fa-IR.ini
locale_fi-FI.ini
locale_fil.ini
locale_fr-FR.ini
locale_gl.ini
locale_hi.ini
locale_hu-HU.ini
locale_id-ID.ini
locale_is-IS.ini
locale_it-IT.ini
locale_ja-JP.ini
locale_ko-KR.ini
locale_lt.ini
locale_lv-LV.ini
locale_ml-IN.ini
locale_nb_NO.ini
locale_nds.ini
locale_nl-NL.ini
locale_pl-PL.ini
locale_pt-BR.ini
locale_pt-PT.ini
locale_ru-RU.ini
locale_si-LK.ini
locale_sk-SK.ini
locale_sl.ini
locale_sr-SP.ini
locale_sv-SE.ini
locale_tr-TR.ini
locale_uk-UA.ini
locale_vi.ini
locale_yi.ini
locale_zh-CN.ini
locale_zh-HK.ini
locale_zh-TW.ini
TRANSLATORS