changeset 4287:f98e27e2cb10

[gaim-migrate @ 4539] I18N changes from niqueco. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 11 Jan 2003 00:38:22 +0000
parents ff419780b2cb
children a723d060620a
files plugins/idle.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/idle.c	Sat Jan 11 00:21:36 2003 +0000
+++ b/plugins/idle.c	Sat Jan 11 00:38:22 2003 +0000
@@ -16,12 +16,12 @@
 
 static struct gaim_connection *gc = NULL;
 
-char *name() {
-	return "I'dle Mak'er";
+const char *name() {
+	return _("I'dle Mak'er");
 }
 
-char *description() {
-	return "Allows you to hand-configure how long you've been idle for";
+const char *description() {
+	return _("Allows you to hand-configure how long you've been idle for");
 }
 
 char *gaim_plugin_init(GModule *module) {
@@ -81,7 +81,7 @@
 	desc.api_version = PLUGIN_API_VERSION;
 	desc.name = g_strdup("I'dle Mak'er");
 	desc.version = g_strdup(VERSION);
-	desc.description = g_strdup("Allows you to hand-configure how long you've been idle for");
+	desc.description = g_strdup(_("Allows you to hand-configure how long you've been idle for"));
 	desc.authors = g_strdup("Eric Warmenhoven &lt;eric@warmenhoven.org>");
 	desc.url = g_strdup(WEBSITE);
 	return &desc;
@@ -105,19 +105,19 @@
 	hbox = gtk_hbox_new(FALSE, 5);
 	gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
 
-	label = gtk_label_new("Set");
+	label = gtk_label_new(_("Set"));
 	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
 
 	make_connect_menu(hbox);
 
-	label = gtk_label_new("idle for");
+	label = gtk_label_new(_("idle for"));
 	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
 
 	adj = (GtkAdjustment *)gtk_adjustment_new(10, 0, G_MAXINT, 1, 0, 0);
 	spinner = gtk_spin_button_new(adj, 0, 0);
 	gtk_box_pack_start(GTK_BOX(hbox), spinner, TRUE, TRUE, 0);
 
-	label = gtk_label_new("minutes.");
+	label = gtk_label_new(_("minutes."));
 	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5);
 
 	hbox = gtk_hbox_new(TRUE, 5);