aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-08-20 17:49:25 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-08-20 17:49:25 +0800
commitb22a4ae1998207e136d4e1c85e10cf159d82d8bc (patch)
tree532c0cca8579b40410313928139eb29b1256fa65 /libempathy-gtk
parentc0a80fc3e49e9235cc6cabbab091e68293eb7d0e (diff)
downloadgsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar.gz
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar.bz2
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar.lz
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar.xz
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.tar.zst
gsoc2013-empathy-b22a4ae1998207e136d4e1c85e10cf159d82d8bc.zip
empathy-chat: reformat 2 strings to allow translaters to reverse the order of the args if needed (#587803)
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index bdd2e4c17..9fa51fb85 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -1191,7 +1191,10 @@ build_part_message (guint reason,
break;
case TP_CHANNEL_GROUP_CHANGE_REASON_KICKED:
if (actor_name != NULL) {
- g_string_append_printf (s, _("%s was kicked by %s"),
+ /* translators: reverse the order of these arguments
+ * if the kicked should come before the kicker in your locale.
+ */
+ g_string_append_printf (s, _("%1$s was kicked by %2$s"),
name, actor_name);
} else {
g_string_append_printf (s, _("%s was kicked"), name);
@@ -1199,7 +1202,10 @@ build_part_message (guint reason,
break;
case TP_CHANNEL_GROUP_CHANGE_REASON_BANNED:
if (actor_name != NULL) {
- g_string_append_printf (s, _("%s was banned by %s"),
+ /* translators: reverse the order of these arguments
+ * if the banned should come before the banner in your locale.
+ */
+ g_string_append_printf (s, _("%1$s was banned by %2$s"),
name, actor_name);
} else {
g_string_append_printf (s, _("%s was banned"), name);