From: Luke S. <lsc...@us...> - 2003-05-29 10:57:43
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv9481/src Modified Files: gtknotify.c Log Message: Claudio Satriano writes: "I noticed that mail notification works again (at least for MSN protocol which I use mostly) and that it needs translation. To do this, I had to add some _() to gtknotify.c and include it into POTFILES.in. In attachment there are two patches for these files. I also discovered that poedit (the program I use for translation) is unable to manage plural forms (!), and so I was missing some sentences. However in attachment there is the updated translation." Index: gtknotify.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtknotify.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- gtknotify.c 27 May 2003 03:38:52 -0000 1.6 +++ gtknotify.c 29 May 2003 10:57:40 -0000 1.7 @@ -195,17 +195,17 @@ if (froms != NULL) { from_text = g_strdup_printf( - "<span weight=\"bold\">From:</span> %s\n", *froms); + _("<span weight=\"bold\">From:</span> %s\n"), *froms); } if (subjects != NULL) { subject_text = g_strdup_printf( - "<span weight=\"bold\">Subject:</span> %s\n", *subjects); + _("<span weight=\"bold\">Subject:</span> %s\n"), *subjects); } label_text = g_strdup_printf( - "<span weight=\"bold\" size=\"larger\">You have mail!</span>" - "\n\n%s%s%s%s", + _("<span weight=\"bold\" size=\"larger\">You have mail!</span>" + "\n\n%s%s%s%s"), detail_text, (from_text == NULL && subject_text == NULL ? "" : "\n\n"), (from_text == NULL ? "" : from_text), @@ -219,8 +219,8 @@ } else { label_text = g_strdup_printf( - "<span weight=\"bold\" size=\"larger\">You have mail!</span>" - "\n\n%s", detail_text); + _("<span weight=\"bold\" size=\"larger\">You have mail!</span>" + "\n\n%s"), detail_text); } g_free(detail_text); |