[vino/wip/piotrdrag/unmark-strings: 29/29] Remove non user-visible strings from translation



commit 2994ce14476200e148c036e283a38afc4f3aa216
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Feb 2 19:18:36 2018 +0100

    Remove non user-visible strings from translation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=793127

 po/POTFILES.in                 | 3 ---
 server/vino-main.c             | 4 ++--
 server/vino-prefs.c            | 2 +-
 server/vino-prompt.c           | 6 +++---
 server/vino-server.c           | 4 ++--
 server/vino-status-icon.c      | 4 ++--
 server/vino-status-tube-icon.c | 4 ++--
 7 files changed, 12 insertions(+), 15 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index aa0fabd..4b90086 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,12 +3,9 @@
 common/org.gnome.Vino.gschema.xml
 server/smclient/eggdesktopfile.c
 server/smclient/eggsmclient.c
-server/vino-dbus-listener.c
 server/vino-main.c
 server/vino-mdns.c
-server/vino-prefs.c
 server/vino-prompt.c
-server/vino-server.c
 server/vino-server.desktop.in.in
 server/vino-status-icon.c
 server/vino-status-tube-icon.c
diff --git a/server/vino-main.c b/server/vino-main.c
index fbe7159..7cfdfa6 100644
--- a/server/vino-main.c
+++ b/server/vino-main.c
@@ -151,8 +151,8 @@ name_acquired (GDBusConnection *connection,
    * listeners.
    */
   if ((view_only = !vino_input_init (vino->display)))
-    g_warning (_("Your XServer does not support the XTest extension — "
-                 "remote desktop access will be view-only\n"));
+    g_warning ("Your XServer does not support the XTest extension — "
+                 "remote desktop access will be view-only\n");
 
   for (i = 0; i < vino->n_screens; i++)
     {
diff --git a/server/vino-prefs.c b/server/vino-prefs.c
index a35dec4..dbfb46c 100644
--- a/server/vino-prefs.c
+++ b/server/vino-prefs.c
@@ -108,7 +108,7 @@ vino_prefs_create_server (GdkScreen *screen)
 static void
 vino_prefs_sighandler (int sig)
 {
-  g_message (_("Received signal %d, exiting."), sig);
+  g_message ("Received signal %d, exiting.", sig);
   vino_mdns_shutdown ();
   vino_prefs_shutdown ();
   exit (0);
diff --git a/server/vino-prompt.c b/server/vino-prompt.c
index 67314ae..ee3906b 100644
--- a/server/vino-prompt.c
+++ b/server/vino-prompt.c
@@ -141,8 +141,8 @@ vino_prompt_class_init (VinoPromptClass *klass)
   g_object_class_install_property (gobject_class,
                                   PROP_SCREEN,
                                   g_param_spec_object ("screen",
-                                                       _("Screen"),
-                                                       _("The screen on which to display the prompt"),
+                                                       "Screen",
+                                                       "The screen on which to display the prompt",
                                                        GDK_TYPE_SCREEN,
                                                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -267,7 +267,7 @@ vino_prompt_setup_dialog (VinoPrompt *prompt)
 {
   if (!notify_is_initted () &&  !notify_init (g_get_application_name ()))
     {
-      g_printerr (_("Error initializing libnotify\n"));
+      g_printerr ("Error initializing libnotify\n");
       return FALSE;
     }
 
diff --git a/server/vino-server.c b/server/vino-server.c
index 7e5599b..7097958 100644
--- a/server/vino-server.c
+++ b/server/vino-server.c
@@ -156,7 +156,7 @@ vino_server_lock_screen (VinoServer *server)
   connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
   if (!connection)
     {
-      dprintf (DBUS, _("Failed to open connection to bus: %s\n"), error->message);
+      dprintf (DBUS, "Failed to open connection to bus: %s\n", error->message);
       g_error_free (error);
       return;
     }
@@ -179,7 +179,7 @@ vino_server_unlock_screen (void)
   connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
   if (!connection)
     {
-      dprintf (DBUS, _("Failed to open connection to bus: %s\n"), error->message);
+      dprintf (DBUS, "Failed to open connection to bus: %s\n", error->message);
       g_error_free (error);
       return;
     }
diff --git a/server/vino-status-icon.c b/server/vino-status-icon.c
index 4b26147..3aa277b 100644
--- a/server/vino-status-icon.c
+++ b/server/vino-status-icon.c
@@ -601,7 +601,7 @@ vino_status_icon_show_new_client_notification (gpointer user_data)
 
   if (!notify_is_initted () &&  !notify_init (g_get_application_name ()))
     {
-      g_printerr (_("Error initializing libnotify\n"));
+      g_printerr ("Error initializing libnotify\n");
       g_free (user_data);
       return FALSE;
     }
@@ -654,7 +654,7 @@ vino_status_icon_show_new_client_notification (gpointer user_data)
   error = NULL;
   if (vino_server_get_notify_on_connect (icon->priv->server) && !notify_notification_show 
(icon->priv->new_client_notification, &error))
     {
-      g_printerr (_("Error while displaying notification bubble: %s\n"),
+      g_printerr ("Error while displaying notification bubble: %s\n",
                   error->message);
       g_error_free (error);
     }
diff --git a/server/vino-status-tube-icon.c b/server/vino-status-tube-icon.c
index 48fa3c6..9ce101e 100644
--- a/server/vino-status-tube-icon.c
+++ b/server/vino-status-tube-icon.c
@@ -393,7 +393,7 @@ vino_status_tube_icon_show_notif (VinoStatusTubeIcon *icon,
 
   if (!notify_is_initted () &&  !notify_init (g_get_application_name ()))
     {
-      g_printerr (_("Error initializing libnotify\n"));
+      g_printerr ("Error initializing libnotify\n");
       return;
     }
 
@@ -427,7 +427,7 @@ vino_status_tube_icon_show_notif (VinoStatusTubeIcon *icon,
   error = NULL;
   if (!notify_notification_show (icon->priv->new_client_notification, &error))
     {
-      g_printerr (_("Error while displaying notification bubble: %s\n"),
+      g_printerr ("Error while displaying notification bubble: %s\n",
                   error->message);
       g_error_free (error);
     }


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