summaryrefslogtreecommitdiff
path: root/monitor
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 /monitor
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 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2volume.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c
index 8c0794d7..30078846 100644
--- a/monitor/udisks2/gvfsudisks2volume.c
+++ b/monitor/udisks2/gvfsudisks2volume.c
@@ -1496,13 +1496,14 @@ do_unlock (GTask *task)
task);
if (g_strcmp0 (type, "crypto_unknown") == 0)
/* Translators: %s is the description of the volume that is being unlocked */
- message = g_strdup_printf (_("Enter a passphrase to unlock the volume\n"
- "The volume %s might be a VeraCrypt volume as it contains random data."),
+ message = g_strdup_printf (_("Authentication Required\n"
+ "A passphrase is needed to access encrypted data on “%s”.\n"
+ "The volume might be a VeraCrypt volume as it contains random data."),
data->desc_of_encrypted_to_unlock);
else
/* Translators: %s is the description of the volume that is being unlocked */
- message = g_strdup_printf (_("Enter a passphrase to unlock the volume\n"
- "The passphrase is needed to access encrypted data on %s."),
+ message = g_strdup_printf (_("Authentication Required\n"
+ "A passphrase is needed to access encrypted data on “%s”."),
data->desc_of_encrypted_to_unlock);
pw_ask_flags = G_ASK_PASSWORD_NEED_PASSWORD | G_ASK_PASSWORD_SAVING_SUPPORTED;