forgejo/options/locale
0ko 3e1d5cc447
Some checks are pending
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (map[image:docker.io/bitnami/redis:7.2 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:docker.io/bitnami/valkey:7.2 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:ghcr.io/microsoft/garnet-alpine:1.0.14 port:6379]) (push) Blocked by required conditions
testing / test-remote-cacher (map[image:registry.redict.io/redict:7.3.0-scratch port:6379]) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
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 i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
locale_be.ini [I18N] Translations update from Weblate (#2521) 2024-03-04 01:58:49 +00:00
locale_bg.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_bn.ini [I18N] Translations update from Weblate (#2350) 2024-02-17 22:18:04 +00:00
locale_bs.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_ca.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_cs-CZ.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_de-DE.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_el-GR.ini i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
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 i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_es-ES.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_et.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_fa-IR.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_fi-FI.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_fil.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_fr-FR.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_gl.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_hi.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_hu-HU.ini i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
locale_id-ID.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_is-IS.ini i18n: update of translations from Codeberg Translate (#5355) 2024-09-28 09:40:29 +00:00
locale_it-IT.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_ja-JP.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_ko-KR.ini Remove HTML tags from create branch and tag translations 2024-09-12 17:29:52 +05:00
locale_lt.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_lv-LV.ini i18n: update of translations from Codeberg Translate (#5413) 2024-10-03 21:23:07 +00:00
locale_ml-IN.ini [I18N] Add common section to new translation files 2024-07-22 20:14:24 +02:00
locale_nb_NO.ini i18n: update of translations from Codeberg Translate (#5355) 2024-09-28 09:40:29 +00:00
locale_nds.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_nl-NL.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_pl-PL.ini i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
locale_pt-BR.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_pt-PT.ini i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
locale_ru-RU.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_si-LK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_sk-SK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_sl.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_sr-SP.ini [I18N] Add common section to new translation files 2024-07-22 20:14:24 +02:00
locale_sv-SE.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_tr-TR.ini i18n: update of translations from Codeberg Translate (#5514) 2024-10-14 03:34:26 +00:00
locale_uk-UA.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_vi.ini i18n: update of translations from Codeberg Translate (#5471) 2024-10-10 05:22:07 +00:00
locale_yi.ini i18n: update of translations from Weblate (#4451) 2024-07-18 05:14:01 +00:00
locale_zh-CN.ini i18n: update of translations from Codeberg Translate (#5555) 2024-10-16 02:49:05 +00:00
locale_zh-HK.ini Remove URLs from translations, part two 2024-09-12 17:33:30 +05:00
locale_zh-TW.ini i18n: update of translations from Codeberg Translate (#5413) 2024-10-03 21:23:07 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00