changeset 4982:fb232515839a

[gaim-migrate @ 5317] funny, I thought we did this once already committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 03 Apr 2003 15:57:08 +0000
parents 283bdf204e45
children 10d7a6686c1f
files src/protocols/jabber/jabber.c
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Thu Apr 03 15:32:07 2003 +0000
+++ b/src/protocols/jabber/jabber.c	Thu Apr 03 15:57:08 2003 +0000
@@ -3319,12 +3319,12 @@
 static GList *jabber_away_states(struct gaim_connection *gc) {
 	GList *m = NULL;
 
-	m = g_list_append(m, "Online");
-	m = g_list_append(m, "Chatty");
-	m = g_list_append(m, "Away");
-	m = g_list_append(m, "Extended Away");
-	m = g_list_append(m, "Do Not Disturb");
-	m = g_list_append(m, "Invisible");
+	m = g_list_append(m, _("Online"));
+	m = g_list_append(m, _("Chatty"));
+	m = g_list_append(m, _("Away"));
+	m = g_list_append(m, _("Extended Away"));
+	m = g_list_append(m, _("Do Not Disturb"));
+	m = g_list_append(m, _("Invisible"));
 	m = g_list_append(m, GAIM_AWAY_CUSTOM);
 
 	return m;
@@ -3362,25 +3362,25 @@
 		}
 	} else {
 		/* state is one of our own strings. it won't be NULL. */
-		if (!strcmp(state, "Online")) {
+		if (!strcmp(state, _("Online"))) {
 			/* once again, we don't have to put anything here */
-		} else if (!strcmp(state, "Chatty")) {
+		} else if (!strcmp(state, _("Chatty"))) {
 			y = xmlnode_insert_tag(x, "show");
 			xmlnode_insert_cdata(y, "chat", -1);
 			gc->away = g_strdup("");
-		} else if (!strcmp(state, "Away")) {
+		} else if (!strcmp(state, _("Away"))) {
 			y = xmlnode_insert_tag(x, "show");
 			xmlnode_insert_cdata(y, "away", -1);
 			gc->away = g_strdup("");
-		} else if (!strcmp(state, "Extended Away")) {
+		} else if (!strcmp(state, _("Extended Away"))) {
 			y = xmlnode_insert_tag(x, "show");
 			xmlnode_insert_cdata(y, "xa", -1);
 			gc->away = g_strdup("");
-		} else if (!strcmp(state, "Do Not Disturb")) {
+		} else if (!strcmp(state, _("Do Not Disturb"))) {
 			y = xmlnode_insert_tag(x, "show");
 			xmlnode_insert_cdata(y, "dnd", -1);
 			gc->away = g_strdup("");
-		} else if (!strcmp(state, "Invisible")) {
+		} else if (!strcmp(state, _("Invisible"))) {
 			xmlnode_put_attrib(x, "type", "invisible");
 			gc->away = g_strdup("");
 			invisible = TRUE;