[network-manager-applet/wip/piotrdrag/cert-chooser-string] libnma: mark missing strings in cert-chooser for translation



commit eebf7f958f0ccb15877496e5ce66ed8a0bd9e297
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Wed Oct 24 20:35:49 2018 +0200

    libnma: mark missing strings in cert-chooser for translation

 src/libnma/nma-file-cert-chooser.c   | 2 +-
 src/libnma/nma-pkcs11-cert-chooser.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libnma/nma-file-cert-chooser.c b/src/libnma/nma-file-cert-chooser.c
index ad239af4..faf83a07 100644
--- a/src/libnma/nma-file-cert-chooser.c
+++ b/src/libnma/nma-file-cert-chooser.c
@@ -344,7 +344,7 @@ init (NMACertChooser *cert_chooser)
 
        /* Show password */
        gtk_grid_insert_row (GTK_GRID (cert_chooser), 2);
-       priv->show_password = gtk_check_button_new_with_mnemonic ("Sho_w password");
+       priv->show_password = gtk_check_button_new_with_mnemonic _("Sho_w password");
        gtk_grid_attach (GTK_GRID (cert_chooser), priv->show_password, 1, 2, 1, 1);
        gtk_widget_show (priv->show_password);
        gtk_widget_set_no_show_all (priv->show_password, TRUE);
diff --git a/src/libnma/nma-pkcs11-cert-chooser.c b/src/libnma/nma-pkcs11-cert-chooser.c
index 80b02b34..116ad722 100644
--- a/src/libnma/nma-pkcs11-cert-chooser.c
+++ b/src/libnma/nma-pkcs11-cert-chooser.c
@@ -424,7 +424,7 @@ init (NMACertChooser *cert_chooser)
 
        /* Show password */
        gtk_grid_insert_row (GTK_GRID (cert_chooser), 0);
-       show_password = gtk_check_button_new_with_mnemonic ("Sho_w passwords");
+       show_password = gtk_check_button_new_with_mnemonic _("Sho_w passwords");
        gtk_grid_attach (GTK_GRID (cert_chooser), show_password, 1, 2, 1, 1);
        gtk_widget_show (show_password);
        gtk_widget_set_no_show_all (show_password, TRUE);


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