[gaim-migrate @ 15614]

Sun, 12 Feb 2006 17:24:28 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Sun, 12 Feb 2006 17:24:28 +0000
changeset 13249
b3cc208601b5
parent 13248
fffad481d1ad
child 13250
3857dfd699c5

[gaim-migrate @ 15614]
I think this is necessary to ensure the status primitive names are always
translated.

src/status.c file | annotate | diff | comparison | revisions
--- a/src/status.c	Sun Feb 12 17:14:23 2006 +0000
+++ b/src/status.c	Sun Feb 12 17:24:28 2006 +0000
@@ -182,10 +182,10 @@
     for (i = 0; i < GAIM_STATUS_NUM_PRIMITIVES; i++)
     {
 	if (type == status_primitive_map[i].type)
-		return status_primitive_map[i].name;
+		return _(status_primitive_map[i].name);
     }
 
-    return status_primitive_map[0].name;
+    return _(status_primitive_map[0].name);
 }
 
 GaimStatusPrimitive
@@ -233,7 +233,7 @@
 	if (name != NULL)
 		status_type->name = g_strdup(name);
 	else
-		status_type->name = g_strdup(_(gaim_primitive_get_name_from_type(primitive)));
+		status_type->name = g_strdup(gaim_primitive_get_name_from_type(primitive));
 
 	return status_type;
 }

mercurial