From: <rl...@us...> - 2006-04-28 06:46:35
|
Revision: 16103 Author: rlaager Date: 2006-04-27 23:46:29 -0700 (Thu, 27 Apr 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16103&view=rev Log Message: ----------- Added some translation comments, as discussed on gaim-i18. I wasn't really sure how to write these, but it's hopefully a step in the right direction... Modified Paths: -------------- trunk/plugins/idle.c trunk/plugins/log_reader.c trunk/plugins/psychic.c trunk/src/gtkaccount.c trunk/src/gtkdialogs.c trunk/src/protocols/silc/chat.c Modified: trunk/plugins/idle.c =================================================================== --- trunk/plugins/idle.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/plugins/idle.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -306,6 +306,9 @@ NULL, GAIM_PRIORITY_DEFAULT, IDLE_PLUGIN_ID, + + /* This is a cultural reference. Dy'er Mak'er is a song by Led Zeppelin. + If that doesn't translate well into your language, drop the 's before translating. */ N_("I'dle Mak'er"), VERSION, N_("Allows you to hand-configure how long you've been idle"), Modified: trunk/plugins/log_reader.c =================================================================== --- trunk/plugins/log_reader.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/plugins/log_reader.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -1832,6 +1832,9 @@ { g_return_val_if_fail(plugin != NULL, FALSE); + /* The names of IM clients are marked for translation at the request of + translators who wanted to transliterate them. Many translators + choose to leave them alone. Choose what's best for your language. */ adium_logger = gaim_log_logger_new("adium", _("Adium"), 6, NULL, NULL, @@ -1841,6 +1844,9 @@ adium_logger_size); gaim_log_logger_add(adium_logger); + /* The names of IM clients are marked for translation at the request of + translators who wanted to transliterate them. Many translators + choose to leave them alone. Choose what's best for your language. */ fire_logger = gaim_log_logger_new("fire", _("Fire"), 6, NULL, NULL, @@ -1850,6 +1856,9 @@ fire_logger_size); gaim_log_logger_add(fire_logger); + /* The names of IM clients are marked for translation at the request of + translators who wanted to transliterate them. Many translators + choose to leave them alone. Choose what's best for your language. */ messenger_plus_logger = gaim_log_logger_new("messenger_plus", _("Messenger Plus!"), 6, NULL, NULL, @@ -1859,6 +1868,9 @@ messenger_plus_logger_size); gaim_log_logger_add(messenger_plus_logger); + /* The names of IM clients are marked for translation at the request of + translators who wanted to transliterate them. Many translators + choose to leave them alone. Choose what's best for your language. */ msn_logger = gaim_log_logger_new("msn", _("MSN Messenger"), 6, NULL, NULL, @@ -1868,6 +1880,9 @@ msn_logger_size); gaim_log_logger_add(msn_logger); + /* The names of IM clients are marked for translation at the request of + translators who wanted to transliterate them. Many translators + choose to leave them alone. Choose what's best for your language. */ trillian_logger = gaim_log_logger_new("trillian", _("Trillian"), 6, NULL, NULL, Modified: trunk/plugins/psychic.c =================================================================== --- trunk/plugins/psychic.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/plugins/psychic.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -54,6 +54,12 @@ if(gaim_prefs_get_bool(PREF_NOTICE)) { gaim_conversation_write(gconv, NULL, + /* This is a quote from Star Wars. You should + probably not translate it literally. If + you can't find a fitting cultural reference + in your language, consider translating + something like this instead: + "You feel a new message coming." */ _("You feel a disturbance in the force..."), GAIM_MESSAGE_SYSTEM | GAIM_MESSAGE_NO_LOG | GAIM_MESSAGE_ACTIVE_ONLY, time(NULL)); Modified: trunk/src/gtkaccount.c =================================================================== --- trunk/src/gtkaccount.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/src/gtkaccount.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -1291,16 +1291,25 @@ static void port_popup_cb(GtkWidget *w, GtkMenu *menu, gpointer data) { - GtkWidget *item; + GtkWidget *item1; + GtkWidget *item2; - item = gtk_menu_item_new_with_label( - _("you can see the butterflies mating")); - gtk_widget_show(item); - gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), item); + /* This is an easter egg. + It means one of two things, both intended as humourus: + A) your network is really slow and you have nothing better to do than + look at butterflies. + B)You are looking really closely at something that shouldn't matter. */ + item1 = gtk_menu_item_new_with_label(_("If you look real closely")); - item = gtk_menu_item_new_with_label(_("If you look real closely")); - gtk_widget_show(item); - gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), item); + /* This is an easter egg. See the comment on the previous line in the source. */ + item2 = gtk_menu_item_new_with_label(_("you can see the butterflies mating")); + + gtk_widget_show(item1); + gtk_widget_show(item2); + + /* Prepend these in reverse order so they appear correctly. */ + gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), item2); + gtk_menu_shell_prepend(GTK_MENU_SHELL(menu), item1); } static void Modified: trunk/src/gtkdialogs.c =================================================================== --- trunk/src/gtkdialogs.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/src/gtkdialogs.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -97,6 +97,7 @@ {"Jim Duchek", N_("maintainer"), "ji...@li..."}, {"Rob Flynn", N_("maintainer"), "ga...@ro..."}, {"Adam Fritzler", N_("libfaim maintainer"), NULL}, + /* If "lazy bum" translates literally into a serious insult, use something else or omit it. */ {"Syd Logan", N_("hacker and designated driver [lazy bum]"), NULL}, {"Jim Seymour", N_("Jabber developer"), NULL}, {"Mark Spencer", N_("original author"), "mar...@ma..."}, Modified: trunk/src/protocols/silc/chat.c =================================================================== --- trunk/src/protocols/silc/chat.c 2006-04-28 04:25:58 UTC (rev 16102) +++ trunk/src/protocols/silc/chat.c 2006-04-28 06:46:29 UTC (rev 16103) @@ -138,6 +138,7 @@ g_string_append_printf(s, _("<br><b>Channel Cipher:</b> %s"), silc_cipher_get_name(channel->channel_key)); if (channel->hmac) + /* Definition of HMAC: http://en.wikipedia.org/wiki/HMAC */ g_string_append_printf(s, _("<br><b>Channel HMAC:</b> %s"), silc_hmac_get_name(channel->hmac)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |