diff libpurple/server.c @ 19704:d3d9e3978d82

Clear up translation ambiguity with the attention API.
author Richard Laager <rlaager@wiktel.com>
date Mon, 10 Sep 2007 20:07:45 +0000
parents 44b4e8bd759b
children 437c320c8d29
line wrap: on
line diff
--- a/libpurple/server.c	Mon Sep 10 20:04:49 2007 +0000
+++ b/libpurple/server.c	Mon Sep 10 20:07:45 2007 +0000
@@ -290,9 +290,9 @@
 	attn = purple_get_attention_type_from_code(gc->account, type_code);
 
 	if (attn && attn->outgoing_description) {
-		description = g_strdup_printf(_("Attention! %s %s."), attn->outgoing_description, who);
+		description = g_strdup_printf(attn->outgoing_description, who);
 	} else {
-		description = g_strdup(_("Attention!"));
+		description = g_strdup_printf(_("Requesting %s's attention..."), who);
 	}
 	
 	flags = PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_NOTIFY | PURPLE_MESSAGE_SYSTEM;
@@ -328,9 +328,9 @@
 	 * it next to the attention command. And if it is null, display a generic icon. */
 
 	if (attn && attn->incoming_description) {
-		description = g_strdup_printf(_("Attention! You have been %s."), attn->incoming_description);
+		description = g_strdup_printf(attn->incoming_description, who);
 	} else {
-		description = g_strdup(_("Attention!"));
+		description = g_strdup(_("%s has requested your attention!"));
 	}
 
 	purple_debug_info("server", "serv_got_attention: got '%s' from %s\n",