[NetworkManager-openvpn/wip/verdre/change-titles] auth-dialog: Use shorter strings for prompt titles



commit 24a57cc90a701a1b1ebe82c50893f87d93cf3f0c
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Tue Feb 4 15:48:50 2020 +0100

    auth-dialog: Use shorter strings for prompt titles
    
    The layout of modal dialogs changed in gnome-shell [1] and the title now
    has less space available. Make sure all titles remain fully visible and
    use shorter strings.
    
    [1] https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

 auth-dialog/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index d5b4966..78d8b43 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -172,28 +172,28 @@ 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 (_("Authentication required"));
        g_key_file_set_string (keyfile, UI_KEYFILE_GROUP, "Title", title);
        g_free (title);
 
        keyfile_add_entry_info (keyfile,
                                NM_OPENVPN_KEY_PASSWORD,
                                existing_password ? existing_password : "",
-                               _("Password:"),
+                               _("Password…"),
                                TRUE,
                                need_password && allow_interaction);
 
        keyfile_add_entry_info (keyfile,
                                NM_OPENVPN_KEY_CERTPASS,
                                existing_certpass ? existing_certpass : "",
-                               _("Certificate password:"),
+                               _("Certificate password…"),
                                TRUE,
                                need_certpass && allow_interaction);
 
        keyfile_add_entry_info (keyfile,
                                NM_OPENVPN_KEY_HTTP_PROXY_PASSWORD,
                                existing_proxypass ? existing_proxypass : "",
-                               _("HTTP proxy password:"),
+                               _("HTTP proxy password…"),
                                TRUE,
                                need_proxypass && allow_interaction);
 


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