Mercurial > pidgin.yaz
comparison plugins/idle.c @ 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 | 43864b6a28a2 |
children | cddb50734169 |
comparison
equal
deleted
inserted
replaced
4286:ff419780b2cb | 4287:f98e27e2cb10 |
---|---|
14 #include <sys/time.h> | 14 #include <sys/time.h> |
15 #include "pixmaps/ok.xpm" | 15 #include "pixmaps/ok.xpm" |
16 | 16 |
17 static struct gaim_connection *gc = NULL; | 17 static struct gaim_connection *gc = NULL; |
18 | 18 |
19 char *name() { | 19 const char *name() { |
20 return "I'dle Mak'er"; | 20 return _("I'dle Mak'er"); |
21 } | 21 } |
22 | 22 |
23 char *description() { | 23 const char *description() { |
24 return "Allows you to hand-configure how long you've been idle for"; | 24 return _("Allows you to hand-configure how long you've been idle for"); |
25 } | 25 } |
26 | 26 |
27 char *gaim_plugin_init(GModule *module) { | 27 char *gaim_plugin_init(GModule *module) { |
28 return NULL; | 28 return NULL; |
29 } | 29 } |
79 struct gaim_plugin_description desc; | 79 struct gaim_plugin_description desc; |
80 struct gaim_plugin_description *gaim_plugin_desc() { | 80 struct gaim_plugin_description *gaim_plugin_desc() { |
81 desc.api_version = PLUGIN_API_VERSION; | 81 desc.api_version = PLUGIN_API_VERSION; |
82 desc.name = g_strdup("I'dle Mak'er"); | 82 desc.name = g_strdup("I'dle Mak'er"); |
83 desc.version = g_strdup(VERSION); | 83 desc.version = g_strdup(VERSION); |
84 desc.description = g_strdup("Allows you to hand-configure how long you've been idle for"); | 84 desc.description = g_strdup(_("Allows you to hand-configure how long you've been idle for")); |
85 desc.authors = g_strdup("Eric Warmenhoven <eric@warmenhoven.org>"); | 85 desc.authors = g_strdup("Eric Warmenhoven <eric@warmenhoven.org>"); |
86 desc.url = g_strdup(WEBSITE); | 86 desc.url = g_strdup(WEBSITE); |
87 return &desc; | 87 return &desc; |
88 } | 88 } |
89 | 89 |
103 gtk_container_add(GTK_CONTAINER(frame), vbox); | 103 gtk_container_add(GTK_CONTAINER(frame), vbox); |
104 | 104 |
105 hbox = gtk_hbox_new(FALSE, 5); | 105 hbox = gtk_hbox_new(FALSE, 5); |
106 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 106 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
107 | 107 |
108 label = gtk_label_new("Set"); | 108 label = gtk_label_new(_("Set")); |
109 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); | 109 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); |
110 | 110 |
111 make_connect_menu(hbox); | 111 make_connect_menu(hbox); |
112 | 112 |
113 label = gtk_label_new("idle for"); | 113 label = gtk_label_new(_("idle for")); |
114 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); | 114 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); |
115 | 115 |
116 adj = (GtkAdjustment *)gtk_adjustment_new(10, 0, G_MAXINT, 1, 0, 0); | 116 adj = (GtkAdjustment *)gtk_adjustment_new(10, 0, G_MAXINT, 1, 0, 0); |
117 spinner = gtk_spin_button_new(adj, 0, 0); | 117 spinner = gtk_spin_button_new(adj, 0, 0); |
118 gtk_box_pack_start(GTK_BOX(hbox), spinner, TRUE, TRUE, 0); | 118 gtk_box_pack_start(GTK_BOX(hbox), spinner, TRUE, TRUE, 0); |
119 | 119 |
120 label = gtk_label_new("minutes."); | 120 label = gtk_label_new(_("minutes.")); |
121 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); | 121 gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 5); |
122 | 122 |
123 hbox = gtk_hbox_new(TRUE, 5); | 123 hbox = gtk_hbox_new(TRUE, 5); |
124 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); | 124 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 5); |
125 | 125 |