Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/routers/web/user
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
..
setting Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
avatar.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
code.go Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00
home.go feat: set fuzzy as default for issue search (#5270) 2024-09-10 15:57:58 +00:00
home_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
notification.go Add missing repository type filter parameters to pager (#31832) 2024-08-19 09:26:34 +02:00
package.go style: change one argument switch to if 2024-08-18 16:20:26 +02:00
profile.go nix wording nit in todo code comment 2024-09-09 20:54:39 +02:00
search.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
stop_watch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
task.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00