[empathy] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Fix translator comments
- Date: Thu, 26 Jan 2017 03:11:47 +0000 (UTC)
commit 841af5f329c37fd36fa4104c8a430e4ec03f1448
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Jan 26 04:10:42 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
libempathy-gtk/empathy-individual-widget.c | 4 ++--
src/empathy-chat-window.c | 6 +++---
src/empathy-ft-manager.c | 8 ++++----
src/empathy-new-chatroom-dialog.c | 4 ++--
4 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index fac2c5a..60f92b0 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -1701,9 +1701,9 @@ individual_grid_set_up (EmpathyIndividualWidget *self)
}
g_clear_object (&iter);
- /* Translators: the plurality applies to both instances of the word
- * "contact" */
message = g_strdup_printf (
+ /* Translators: the plurality applies to both instances of the word
+ * "contact" */
ngettext ("Linked contact containing %u contact",
"Linked contacts containing %u contacts", num_personas),
num_personas);
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 788fcd4..757365a 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -290,10 +290,10 @@ confirm_close (EmpathyChatWindow *self,
else
{
secondary = g_strdup_printf (
- /* Note to translators: the number of chats will
- * always be at least 2.
- */
ngettext (
+ /* Note to translators: the number of chats will
+ * always be at least 2.
+ */
"Closing this window will leave a chat room. You will "
"not receive any further messages until you rejoin it.",
"Closing this window will leave %u chat rooms. You will "
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index d07871f..f4152ad 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -262,9 +262,9 @@ ft_manager_format_progress_bytes_and_percentage (guint64 current,
if (speed > 0)
speed_str = g_format_size ((goffset) speed);
- /* translators: first %s is the currently processed size, second %s is
- * the total file size */
retval = speed_str ?
+ /* translators: first %s is the currently processed size, second %s is
+ * the total file size */
g_strdup_printf (_("%s of %s at %s/s"), current_str, total_str, speed_str) :
g_strdup_printf (_("%s of %s"), current_str, total_str);
@@ -335,9 +335,9 @@ ft_manager_format_error_message (EmpathyFTHandler *handler,
else
first_line = g_strdup (_("Error receiving a file"));
else
- /* translators: first %s is filename, second %s
- * is the contact name */
if (filename && contact_name)
+ /* translators: first %s is filename, second %s
+ * is the contact name */
first_line = g_strdup_printf (_("Error sending “%s” to %s"), filename,
contact_name);
else
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index 7f46cb4..89f1c33 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -431,9 +431,9 @@ new_chatroom_dialog_got_room_cb (TpRoomList *room_list,
room, NULL));
tmp = g_strdup_printf ("<b>%s</b>", tp_room_info_get_name (room));
- /* Translators: Room/Join's roomlist tooltip. Parameters are a channel name,
- yes/no, yes/no and a number. */
tooltip = g_strdup_printf (
+ /* Translators: Room/Join's roomlist tooltip. Parameters are a channel name,
+ yes/no, yes/no and a number. */
_("%s\nInvite required: %s\nPassword required: %s\nMembers: %s"),
tmp,
tp_room_info_get_invite_only (room, NULL) ? _("Yes") : _("No"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]