[NetworkManager-vpnc/pr/6: 1/2] auth-dialog: Update strings for new dialog design in gnome-shell



commit 9ec65e7b76301ef889411f19cf5cf4cd7b1b51be
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.
    
    https://gitlab.gnome.org/GNOME/NetworkManager-vpnc/-/merge_requests/6

 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..530d6fd 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"));
        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]