Re: GMC i18n fix
- From: Pablo Saratxaga <pablo mandrakesoft com>
- To: gnome-i18n gnome org
- Subject: Re: GMC i18n fix
- Date: Wed, 1 Nov 2000 00:35:25 +0100
On Tue, Oct 31, 2000 at 11:34:37PM +0000, Robert Brady wrote:
> Here's a small patch to fix a major GMC i18n problem.
> (yes, I know it's going to die, but this is urgent)
>
> Any objections?
> --- gnome/gdesktop-icon.c 2000/01/25 10:31:00 1.33
> +++ gnome/gdesktop-icon.c 2000/10/31 22:29:55
> @@ -15,6 +15,16 @@
> #include "gdesktop-icon.h"
> #include "dir.h"
>
> +#if 0
> +static const char *i18n_dummy =
> +_("-*-helvetica-medium-r-normal--10-*-*-*-p-*-*-*," \
> + "-*-*-medium-r-normal-*-10-*-*-*-*-*-*-*,*");
> +
> +static const char *i18n_dummy_2 =
> +_("-*-helvetica-medium-r-normal--10-*-*-*-p-*-*-*," \
> + "-*-*-bold-r-normal-*-10-*-*-*-*-*-*-*,*");
> +#endif
Add a Comment just after the #if 0 like this:
/* Note to translators: you can modify this fontset to put some
* font names better suited for your language than "helvetica";
* however keep the ",-*-*-medium-r-normal-*-10-*-*-*-*-*-*-*,*"
* at the end; that will ensure that a font will always be found
*/
> -#define DEFAULT_FONT "fixed,-*-*-medium-r-normal-*-12-*-*-*-*-*-*-*,*"
> +#define DEFAULT_FONT _("fixed,-*-*-medium-r-normal-*-12-*-*-*-*-*-*-*,*")
"fixed" should be replaced with
"-misc-fixed-medium-r-*-*-13-*-*-*-c-*-iso8859-1"
as the name "fixed" not having any charset information it can't be used
in i18n environments.
--
Ki ça vos våye bén,
Pablo Saratxaga
http://www.srtxg.easynet.be/ PGP Key available, key ID: 0x8F0E4975
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]