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



commit 6c5169aa5a520180c440a9bbdb578e5851084d2e
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..0a2af79 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);
 
@@ -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]