[NetworkManager-vpnc/wip/verdre/update-dialogs] auth-dialog: Update strings for new dialog design in gnome-shell



commit 06e57292a3944d207c8a35bc082ab287ae559011
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Fri Feb 14 23:45:01 2020 +0100

    auth-dialog: Update strings for new dialog design in gnome-shell
    
    The text describing dialog-entries is now shown inside the entry in
    gnome-shell, using a string like "Password:" for that does no longer
    make sense and "Password" is preferred.
    
    Also make the title string a bit smaller to make sure it still fits the
    layout of the dialog, see https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343.

 auth-dialog/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 9e73d1b..8cdcac1 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -162,7 +162,7 @@ eui_finish (const char *vpn_name,
        g_key_file_set_integer (keyfile, UI_KEYFILE_GROUP, "Version", 2);
        g_key_file_set_string (keyfile, UI_KEYFILE_GROUP, "Description", prompt);
 
-       title = g_strdup_printf (_("Authenticate VPN %s"), vpn_name);
+       title = g_strdup_printf (_("Authenticate VPN"), vpn_name);
        g_key_file_set_string (keyfile, UI_KEYFILE_GROUP, "Title", title);
        g_free (title);
 
@@ -178,7 +178,7 @@ eui_finish (const char *vpn_name,
        keyfile_add_entry_info (keyfile,
                                NM_VPNC_KEY_XAUTH_PASSWORD,
                                existing_password ? existing_password : "",
-                               _("Password:"),
+                               _("Password"),
                                TRUE,
                                show && allow_interaction);
 
@@ -186,7 +186,7 @@ eui_finish (const char *vpn_name,
        keyfile_add_entry_info (keyfile,
                                NM_VPNC_KEY_SECRET,
                                existing_group_password ? existing_group_password : "",
-                               _("Group Password:"),
+                               _("Group Password"),
                                TRUE,
                                show && allow_interaction);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]