summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackenddav.c
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2020-02-14 21:54:21 +0100
committerOndrej Holy <oholy@redhat.com>2021-01-15 15:06:55 +0000
commitf50d701fd0cc892675f1e72cd9c8064b72a4b0c7 (patch)
treed685f02d1aaf52c473f04c7c95a06e1a4e847c81 /daemon/gvfsbackenddav.c
parent0be9552b734ef99ce8cd50c8a9914b11c2e980ca (diff)
downloadgvfs-f50d701fd0cc892675f1e72cd9c8064b72a4b0c7.tar.gz
Use shorter strings for prompt dialog titles
The layout of the modal dialogs in gnome-shell changed [1] and the title now is larger and uses the style of a headline. Make sure all titles remain fully visible and use shorter strings for those. Also unify the generic "Enter password" strings a bit to make work easier for translators and use this string for most cases: "Authentication Required\nEnter password for “%s”:" [1] https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343
Diffstat (limited to 'daemon/gvfsbackenddav.c')
-rw-r--r--daemon/gvfsbackenddav.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index d5c6516d..ab680daf 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1587,10 +1587,11 @@ soup_authenticate_interactive (SoupSession *session,
if (realm == NULL)
realm = _("WebDAV share");
- prompt = g_strdup_printf (_("Enter password for %s"), realm);
+ /* Translators: %s is the name of the WebDAV share */
+ prompt = g_strdup_printf (_("Authentication Required\nEnter password for “%s”:"), realm);
}
else
- prompt = g_strdup (_("Please enter proxy password"));
+ prompt = g_strdup (_("Authentication Required\nEnter proxy password:"));
if (info->username == NULL)
pw_ask_flags |= G_ASK_PASSWORD_NEED_USERNAME;