[vinagre] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Fix translator comments
- Date: Sat, 28 Jan 2017 00:55:55 +0000 (UTC)
commit 6448514229b4497722c3ef68278c64417f1f7995
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:55:34 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
plugins/spice/vinagre-spice-plugin.c | 2 +-
plugins/vnc/vinagre-vnc-plugin.c | 2 +-
vinagre/vinagre-tab.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/spice/vinagre-spice-plugin.c b/plugins/spice/vinagre-spice-plugin.c
index 87377ef..b56b0ed 100644
--- a/plugins/spice/vinagre-spice-plugin.c
+++ b/plugins/spice/vinagre-spice-plugin.c
@@ -276,8 +276,8 @@ impl_get_connect_widget (VinagreProtocol *plugin, VinagreConnection *conn)
ssh_host_entry = gtk_entry_new ();
gtk_widget_set_sensitive (ssh_host_entry, FALSE);
g_object_set_data (G_OBJECT (box), "ssh_host", ssh_host_entry);
- /* Translators: This is the tooltip of the SSH tunneling entry */
str = g_strdup_printf ("%s\n%s\n%s",
+ /* Translators: This is the tooltip of the SSH tunneling entry */
_("hostname or user@hostname"),
_("Supply an alternative port using colon"),
_("For instance: joe example com:5022"));
diff --git a/plugins/vnc/vinagre-vnc-plugin.c b/plugins/vnc/vinagre-vnc-plugin.c
index d77140f..c4b211a 100644
--- a/plugins/vnc/vinagre-vnc-plugin.c
+++ b/plugins/vnc/vinagre-vnc-plugin.c
@@ -347,8 +347,8 @@ impl_get_connect_widget (VinagreProtocol *plugin, VinagreConnection *conn)
ssh_host_entry = gtk_entry_new ();
gtk_widget_set_sensitive (ssh_host_entry, FALSE);
g_object_set_data (G_OBJECT (box), "ssh_host", ssh_host_entry);
- /* Translators: This is the tooltip of the SSH tunneling entry */
str = g_strdup_printf ("%s\n%s\n%s",
+ /* Translators: This is the tooltip of the SSH tunneling entry */
_("hostname or user@hostname"),
_("Supply an alternative port using colon"),
_("For instance: joe example com:5022"));
diff --git a/vinagre/vinagre-tab.c b/vinagre/vinagre-tab.c
index 1ac123a..361ffe7 100644
--- a/vinagre/vinagre-tab.c
+++ b/vinagre/vinagre-tab.c
@@ -974,9 +974,9 @@ vinagre_tab_take_screenshot (VinagreTab *tab)
name = vinagre_connection_get_best_name (tab->priv->conn);
suggested_filename = g_string_new (NULL);
- /* Translators: This is the suggested filename (in save dialog) when taking a screenshot of the
connection. First %s will be replaced by the friendly name of the connection and the second %s by the current
date and time, for instance: Screenshot of wendell@wendell-laptop at 2011-10-29 12:34:11, or Screenshot of
200.100.100.123 at 2011-10-29 18:27:11 */
localtime = g_date_time_new_now_local ();
timestamp = g_date_time_format (localtime, "%F %H:%M:%S");
+ /* Translators: This is the suggested filename (in save dialog) when taking a screenshot of the
connection. First %s will be replaced by the friendly name of the connection and the second %s by the current
date and time, for instance: Screenshot of wendell@wendell-laptop at 2011-10-29 12:34:11, or Screenshot of
200.100.100.123 at 2011-10-29 18:27:11 */
g_string_printf (suggested_filename, _("Screenshot of %s at %s"), name, timestamp);
g_string_append (suggested_filename, ".png");
g_free (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]