[gvfs] daemon: Make certificate choices translatable



commit 5aec716b47850ba42cc07ac0170a5f8942a41d6c
Author: Ross Lagerwall <rosslagerwall gmail com>
Date:   Thu Apr 9 22:21:07 2015 +0100

    daemon: Make certificate choices translatable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=526582

 daemon/gvfsdaemonutils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsdaemonutils.c b/daemon/gvfsdaemonutils.c
index b1d7b93..7db1841 100644
--- a/daemon/gvfsdaemonutils.c
+++ b/daemon/gvfsdaemonutils.c
@@ -323,7 +323,7 @@ gvfs_accept_certificate (GMountSource *mount_source,
                          GTlsCertificate *certificate,
                          GTlsCertificateFlags errors)
 {
-  const char *choices[] = {"Yes", "No", NULL};
+  const char *choices[] = {_("Yes"), _("No"), NULL};
   int choice;
   gboolean handled, aborted = FALSE;
   char *certificate_str, *reason, *message;


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