--- a/plonkers/plonkers.c Sun Jul 08 07:01:15 2007 -0400
+++ b/plonkers/plonkers.c Wed Jul 11 03:07:51 2007 -0400
@@ -26,6 +26,8 @@
# include "../pp_config.h"
+#include "../common/pp_internal.h" @@ -229,34 +231,34 @@
vbox = gtk_vbox_new(FALSE, 6);
gtk_container_set_border_width(GTK_CONTAINER(vbox), 12);
- frame = pidgin_make_frame(vbox, "Ignored Plonkers");
+ frame = pidgin_make_frame(vbox, _("Ignored Plonkers")); - pidgin_prefs_labeled_entry(frame, "Plonkers singular format:",
+ pidgin_prefs_labeled_entry(frame, _("Plonkers singular format:"), "/plugins/core/plugin_pack/plonkers/plonkers/format_singular",
- pidgin_prefs_labeled_entry(frame, "Plonkers plural format:",
+ pidgin_prefs_labeled_entry(frame, _("Plonkers plural format:"), "/plugins/core/plugin_pack/plonkers/plonkers/format_plural",
- frame = pidgin_make_frame(vbox, "Plonking");
- pidgin_prefs_labeled_entry(frame, "Plonked singular plural:",
+ frame = pidgin_make_frame(vbox, _("Plonking")); + pidgin_prefs_labeled_entry(frame, _("Plonked singular plural:"), "/plugins/core/plugin_pack/plonkers/plonked/format_singular",
- pidgin_prefs_labeled_entry(frame, "Plonked plural format:",
+ pidgin_prefs_labeled_entry(frame, _("Plonked plural format:"), "/plugins/core/plugin_pack/plonkers/plonked/format_plural",
sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
- frame = pidgin_make_frame(vbox, "Format information");
+ frame = pidgin_make_frame(vbox, _("Format information")); hbox = gtk_hbox_new(FALSE, 6);
gtk_box_pack_start(GTK_BOX(frame), hbox, FALSE, FALSE, 0);
- label = plonkers_make_label("%P: List of plonkers", sg);
+ label = plonkers_make_label(_("%P: List of plonkers"), sg); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
- label = plonkers_make_label("%N: Number of plonkers", NULL);
+ label = plonkers_make_label(_("%N: Number of plonkers"), NULL); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
@@ -274,8 +276,8 @@
******************************************************************************/
plonkers_load(PurplePlugin *plugin) {
- const gchar *help = "<pre>plonkers;\n"
- "Tell people in a chat what you really think of them\n</pre>";
+ const gchar *help = _("<pre>plonkers;\nTell people in a chat what you " + "really think of them\n</pre>"); /* register our command */
plonkers_cmd = purple_cmd_register("plonkers", "", PURPLE_CMD_P_PLUGIN,
@@ -297,23 +299,6 @@
-init_plugin(PurplePlugin *plugin) {
- purple_prefs_add_none("/plugins/core/plugin_pack");
- purple_prefs_add_none("/plugins/core/plugin_pack/plonkers");
- purple_prefs_add_none("/plugins/core/plugin_pack/plonkers/plonkers");
- purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonkers/format_singular",
- "/me has identified %N plonker: %P.");
- purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonkers/format_plural",
- "/me has identified %N plonkers: %P.");
- purple_prefs_add_none("/plugins/core/plugin_pack/plonkers/plonked");
- purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonked/format_singular",
- purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonked/format_plural",
static PidginPluginUiInfo ui_info = {
plonkers_get_config_frame,
@@ -334,14 +319,10 @@
PURPLE_PRIORITY_DEFAULT, /* priority */
"core-plugin_pack-Plonkers", /* id */
PP_VERSION, /* version */
- "Tell plonkers what you really think", /* summary */
- "A small plugin that lets you announce"
- " to a chat room your current ignores, as"
- " well as providing other pointless ingore and"
- " privacy tools for dealing with idiots.\n"
- "Name inspired by en_IE/GB word for 'idiots'.", /* description */
+ NULL, /* description */ "Peter Lawler <bleeter from users.sf.net>", /* author */
PP_WEBSITE, /* homepage */
plonkers_load, /* load */
@@ -358,4 +339,28 @@
+init_plugin(PurplePlugin *plugin) { + purple_prefs_add_none("/plugins/core/plugin_pack"); + purple_prefs_add_none("/plugins/core/plugin_pack/plonkers"); + purple_prefs_add_none("/plugins/core/plugin_pack/plonkers/plonkers"); + purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonkers/format_singular", + _("/me has identified %N plonker: %P.")); + purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonkers/format_plural", + _("/me has identified %N plonkers: %P.")); + purple_prefs_add_none("/plugins/core/plugin_pack/plonkers/plonked"); + purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonked/format_singular", + purple_prefs_add_string("/plugins/core/plugin_pack/plonkers/plonked/format_plural", + plonkers_info.name = _("Plonkers"); + plonkers_info.summary = _("Tell plonkers what you really think."); + plonkers_info.description = _("Plonkers is a small plugin that lets you " + "announce to a chat room your current list of ignores, as well as " + "providing other pointless ignore and privacy tools for dealing " + "with idiots. The name is inspired by the British/Irish word for " PURPLE_INIT_PLUGIN(plonkers, init_plugin, plonkers_info)
--- a/po/en_AU.po Sun Jul 08 07:01:15 2007 -0400
+++ b/po/en_AU.po Wed Jul 11 03:07:51 2007 -0400
@@ -8,7 +8,7 @@
"Project-Id-Version: plugin_pack 0.1cvs\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-21 19:55-0400\n"
+"POT-Creation-Date: 2007-07-10 23:04-0400\n" "PO-Revision-Date: 2005-11-21 10:36+1100\n"
"Last-Translator: Peter Lawler <trans@six-by-nine.com.au>\n"
"Language-Team: English/AU <trans@six-by-nine.com.au>\n"
@@ -138,85 +138,85 @@
#: ../autoreply/autoreply.c:241 ../listhandler/aim_blt_files.c:301
#: ../listhandler/aim_blt_files.c:465 ../listhandler/gen_xml_files.c:190
-#: ../listhandler/gen_xml_files.c:430 ../listhandler/gen_xml_files.c:546
-#: ../listhandler/gen_xml_files.c:623 ../listhandler/migrate.c:145
+#: ../listhandler/gen_xml_files.c:430 ../listhandler/gen_xml_files.c:545 +#: ../listhandler/gen_xml_files.c:622 ../listhandler/migrate.c:145 #: ../listhandler/migrate.c:184
-#: ../autoreply/autoreply.c:254
+#: ../autoreply/autoreply.c:257 msgid "Set _Autoreply Message"
-#: ../autoreply/autoreply.c:263
+#: ../autoreply/autoreply.c:266 msgid "Autoreply message"
-#: ../autoreply/autoreply.c:350
+#: ../autoreply/autoreply.c:353 msgid "Send autoreply messages when"
-#: ../autoreply/autoreply.c:354
+#: ../autoreply/autoreply.c:357 msgid "When my account is _away"
-#: ../autoreply/autoreply.c:358
+#: ../autoreply/autoreply.c:361 msgid "When my account is _idle"
-#: ../autoreply/autoreply.c:362
+#: ../autoreply/autoreply.c:365 -#: ../autoreply/autoreply.c:369
+#: ../autoreply/autoreply.c:372 -#: ../autoreply/autoreply.c:372
+#: ../autoreply/autoreply.c:375 -#: ../autoreply/autoreply.c:376
+#: ../autoreply/autoreply.c:379 msgid "Autoreply with status message"
-#: ../autoreply/autoreply.c:378
+#: ../autoreply/autoreply.c:381 -#: ../autoreply/autoreply.c:380
+#: ../autoreply/autoreply.c:383 msgid "Always when there is a status message"
-#: ../autoreply/autoreply.c:382
+#: ../autoreply/autoreply.c:385 msgid "Only when there's no autoreply message"
-#: ../autoreply/autoreply.c:387
+#: ../autoreply/autoreply.c:390 msgid "Delay between autoreplies"
-#: ../autoreply/autoreply.c:391
+#: ../autoreply/autoreply.c:394 msgid "_Minimum delay (mins)"
-#: ../autoreply/autoreply.c:395
+#: ../autoreply/autoreply.c:398 msgid "Times to send autoreplies"
-#: ../autoreply/autoreply.c:399
+#: ../autoreply/autoreply.c:402 -#: ../autoreply/autoreply.c:454
+#: ../autoreply/autoreply.c:457 "I am currently not available. Please leave your message, and I will get back "
"to you as soon as possible."
-#: ../autoreply/autoreply.c:459
+#: ../autoreply/autoreply.c:462 msgid "This is an autoreply: "
@@ -486,7 +486,7 @@
-#: ../buddytime/buddytime.c:192
+#: ../buddytime/buddytime.c:195 @@ -529,23 +529,27 @@
msgid "<BR>Topic changed from: <BR>%s<BR>To:<BR>%s"
-#: ../eight_ball/eight_ball.c:128
+#: ../eight_ball/eight_ball.c:142 msgid "8ball: sends a random 8ball message"
-#: ../eight_ball/eight_ball.c:129
+#: ../eight_ball/eight_ball.c:143 msgid "sgball: sends a random Stargate Ball message"
-#: ../eight_ball/eight_ball.c:196
+#: ../eight_ball/eight_ball.c:144 +msgid "fullcrap: sends random fooling blabber" +#: ../eight_ball/eight_ball.c:217 -#: ../eight_ball/eight_ball.c:197
+#: ../eight_ball/eight_ball.c:218 msgid "Provides Magic 8-ball like functionality"
-#: ../eight_ball/eight_ball.c:198
+#: ../eight_ball/eight_ball.c:219 "Provides Magic 8-ball like functionality with the /8ball command, as well as "
"similar functionality for common Stargate words or phrases with the /sg-ball "
@@ -572,21 +576,21 @@
#. should be completely mad and see if user has only one buddy (not a chat)
#. * on the blist and pluralise if appropriate
"/rim <filename> <duration-in-secs>"
+msgid "A completely stupid and pointless plugin" -msgid "A completely stupid and pointless plugin"
"Adds commands to annoy buddies with. Inspired by a dumb IRC convo and Red "
@@ -999,39 +1003,39 @@
-#: ../lastseen/lastseen.c:176 ../lastseen/lastseen.c:188
+#: ../lastseen/lastseen.c:165
-#: ../lastseen/lastseen.c:177 ../lastseen/lastseen.c:189
+#: ../lastseen/lastseen.c:166
-#: ../lastseen/lastseen.c:178 ../lastseen/lastseen.c:190
+#: ../lastseen/lastseen.c:167
-#: ../lastseen/lastseen.c:179 ../lastseen/lastseen.c:191
+#: ../lastseen/lastseen.c:168
-#: ../lastseen/lastseen.c:272
+#: ../lastseen/lastseen.c:246 -#: ../lastseen/lastseen.c:273
+#: ../lastseen/lastseen.c:247 msgid "Record when a buddy was last seen."
-#: ../lastseen/lastseen.c:274
+#: ../lastseen/lastseen.c:248 "Logs the time of a last received message, what they said, when they logged "
"in, and when they logged out, for buddies on your buddy list."
@@ -1040,7 +1044,7 @@
#: ../listhandler/aim_blt_files.c:287 ../listhandler/aim_blt_files.c:453
#: ../listhandler/gen_xml_files.c:175 ../listhandler/gen_xml_files.c:416
-#: ../listhandler/gen_xml_files.c:532 ../listhandler/gen_xml_files.c:608
+#: ../listhandler/gen_xml_files.c:531 ../listhandler/gen_xml_files.c:607 #: ../listhandler/migrate.c:129 ../listhandler/migrate.c:169
#: ../schedule/pidgin-schedule.c:292
@@ -1052,12 +1056,12 @@
#: ../listhandler/aim_blt_files.c:298 ../listhandler/gen_xml_files.c:187
-#: ../listhandler/gen_xml_files.c:620
+#: ../listhandler/gen_xml_files.c:619 msgid "Choose the account to import to:"
#: ../listhandler/aim_blt_files.c:299 ../listhandler/gen_xml_files.c:188
-#: ../listhandler/gen_xml_files.c:621
+#: ../listhandler/gen_xml_files.c:620 @@ -1071,12 +1075,12 @@
#: ../listhandler/aim_blt_files.c:464 ../listhandler/gen_xml_files.c:429
-#: ../listhandler/gen_xml_files.c:545
+#: ../listhandler/gen_xml_files.c:544 msgid "Choose the account to export from:"
#: ../listhandler/aim_blt_files.c:465 ../listhandler/gen_xml_files.c:430
-#: ../listhandler/gen_xml_files.c:546
+#: ../listhandler/gen_xml_files.c:545 @@ -1085,7 +1089,7 @@
#. and finally we can create the request
-#: ../listhandler/gen_xml_files.c:186 ../listhandler/gen_xml_files.c:619
+#: ../listhandler/gen_xml_files.c:186 ../listhandler/gen_xml_files.c:618 msgid "Listhandler - Importing"
@@ -1094,15 +1098,15 @@
#. and finally we can create the request
-#: ../listhandler/gen_xml_files.c:428 ../listhandler/gen_xml_files.c:544
+#: ../listhandler/gen_xml_files.c:428 ../listhandler/gen_xml_files.c:543 msgid "Listhandler - Exporting"
-#: ../listhandler/gen_xml_files.c:441 ../listhandler/gen_xml_files.c:650