]> source.dussan.org Git - gitea.git/commit
Make confusable character warning less jarring (#25069)
authorPanagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Thu, 3 Aug 2023 14:16:06 +0000 (14:16 +0000)
committerGitHub <noreply@github.com>
Thu, 3 Aug 2023 14:16:06 +0000 (22:16 +0800)
commit0827fbd49c5cafe09aa58cc32d9794e54602430a
tree0cb6afe1e5bfa056d55da8f24e77cd654c841da9
parent8ba54a2e16b2abce805346111283360c50fd7428
Make confusable character warning less jarring (#25069)

This commit assumes that the warning can be made more discreet
so as to make it less annoying for the people that do not actually
need the warning, without necessarily increasing the risk for those
that do need it.

This doesn't fix the underlying problem of the warning being shown
in certain cases that, say, a certain kind of whitespace character
like 0x1E could be absolutely justifiable from a technical
perspective.

---------

Co-authored-by: delvh <dev.lh@web.de>
options/locale/locale_en-US.ini
templates/repo/unicode_escape_prompt.tmpl