changeset 13248:3e3d54d5be19

[gaim-migrate @ 15614] I think this is necessary to ensure the status primitive names are always translated. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 12 Feb 2006 17:24:28 +0000
parents c1a75785c8f2
children 65a7de0f59ff
files src/status.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }