hu.po and some problems
edscott wilson garcia
edscott at imp.mx
Fri Jul 18 19:47:30 CEST 2003
On Fri, 2003-07-18 at 04:48, Koblinger Egmont wrote:
> - xffm: there's a button (row 3, column 7) whose balloon help is
> "gtk-properties", it is not translateable, and even the English version is
> silly.
Now fixed at CVS. It should not require another po file to translate
correctly from "Properties".
>
> - xffm: when trying to remove a file, its timestamp (the monthname) is
> only shown up to (not including) the first accented character in the "xffm
> alert" box. Must be a currentlocale->utf8 conversion missing somewhere.
>
It was not being done. I've updated CVS so that it will. Please check if
it works with the enclosed patch.
regards,
Edscott
> - fortune produces Hungarian fortunes for me, encoded in latin-2. Yet
> again, the fortune applet doesn't get accents right. IMHO xfce would
> better assume that fortune's output is encoded according to the current
> locale (as it is an ancient utility) rather than utf8.
>
>
>
> bye,
>
> Egmont
>
> ______________________________________________________________________
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
-------------- next part --------------
--- /home/CVS/xfce/xfce-devel/xffm/src/add_file.c-0 Fri Jun 20 17:45:14 2003
+++ /home/CVS/xfce/xfce-devel/xffm/src/add_file.c Fri Jul 18 12:42:25 2003
@@ -102,7 +102,8 @@
#endif
struct tm* timestruct_ptr;
char* formatstring;
- static char string[64];
+ static char *s=NULL;
+ char string[64];
#ifdef HAVE_MEMSET
memset (string, 0, 64);
@@ -126,8 +127,9 @@
if (strftime(string, 64, formatstring, localtime(&when)) == 0) {
return NULL;
}
-
- return string;
+ g_free(s);
+ s=g_strdup(my_utf_string(string));
+ return s;
}
More information about the Xfce4-dev
mailing list