From a1ed9118d480488c038a81f2baa2cb7f61220b0d Mon Sep 17 00:00:00 2001 From: Automeris naranja Date: Mon, 12 Aug 2024 12:44:35 -0300 Subject: [PATCH] user-utils: Use quotation marks in the "Usernames cannot include [...]" message The invalid character is something apart from the feedback message, so they need to be in quotation marks. Also, this is very useful if the invalid character is a whitespace character, for example, which will look invisible without quotation marks. --- panels/system/users/user-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/system/users/user-utils.c b/panels/system/users/user-utils.c index 624dc73526..7b749b92af 100644 --- a/panels/system/users/user-utils.c +++ b/panels/system/users/user-utils.c @@ -145,7 +145,7 @@ is_valid_username_child_watch_cb (GPid pid, break; case E_BAD_ARG: /* Translators: '%c' is an invalid character, such as @, #, etc... */ - tip = g_strdup_printf (_("Usernames cannot include %c"), data->username[strlen(data->username) - 1]); + tip = g_strdup_printf (_("Usernames cannot include ā€œ%cā€"), data->username[strlen(data->username) - 1]); valid = FALSE; break; case E_SUCCESS: -- GitLab