mirror of
1
Fork 0
forgejo/routers/web/admin
Denys Konovalov 8857da871e Remove urls from translations (#31950)
Part of #27700

Removes all URLs from translation strings to easy up changing them in
the future and to exclude people injecting malicious URLs through
translations. First measure as long as #24402 is out of scope.

(cherry picked from commit 83f37f630246e381eefd650fc2d4b1f3976ea882)
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>

Conflicts:
	- options/locale/locale_en-US.ini
	  Resolved by manually applying the URL->%s changes to our translations.
	- routers/web/admin/hooks.go
	  templates/repo/settings/protected_branch.tmpl
	  templates/status/500.tmpl
	  Manually resolved.
	- templates/repo/settings/webhook/settings.tmpl
	  Applied the change to templates/webhook/shared-settings.tmpl
	  instead

Additional changes: Gitea-specific URLs have been replaced by their
Forgejo counterparts, lifted from the original translation text.
2024-09-12 17:28:58 +05:00
..
admin.go Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
admin_test.go Makefile: check git diff exit-code (#2651) 2024-03-14 10:38:58 +00:00
applications.go
auths.go ldap: default domain name (#3414) 2024-04-26 22:38:58 +00:00
config.go [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
diagnosis.go
emails.go Support delete user email in admin panel (#31690) 2024-07-28 09:00:29 +02:00
hooks.go Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
main_test.go
notice.go
orgs.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
packages.go remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
queue.go s/Gitea/Forgejo in various log messages and comments 2024-04-21 21:26:15 +05:00
queue_tester.go
repos.go Add missed return after `ctx.ServerError` (#31130) 2024-06-02 16:26:54 +02:00
runners.go
stacktrace.go
users.go Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
users_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00