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



commit 91a1f1193ab768fc723d01046945734dd17ded33
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Fri Feb 14 23:51:14 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 09906a8..f2a9af8 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);
 
@@ -179,7 +179,7 @@ eui_finish (const char *vpn_name,
                keyfile_add_entry_info (keyfile,
                                        NM_LIBRESWAN_KEY_XAUTH_PASSWORD,
                                        existing_password ? existing_password : "",
-                                       _("Password:"),
+                                       _("Password"),
                                        TRUE,
                                        show && allow_interaction);
        }
@@ -189,7 +189,7 @@ eui_finish (const char *vpn_name,
                keyfile_add_entry_info (keyfile,
                                        NM_LIBRESWAN_KEY_PSK_VALUE,
                                        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]