GNOME Bugzilla – Bug 57010
Default font name should be gettextized.
Last modified: 2004-12-22 21:47:04 UTC
Gedit's default font should be gettextized. CJK people can never be satisfied with the current default font. There is a font setting dialog in gedit, but it is not enough. Users should be able to start to use gedit without learning any special knowledge. Index: src/prefs.c =================================================================== RCS file: /cvs/gnome/gedit/src/prefs.c,v retrieving revision 1.40 diff -u -r1.40 prefs.c --- src/prefs.c 2001/05/10 10:11:03 1.40 +++ src/prefs.c 2001/06/27 12:07:40 @@ -39,8 +39,7 @@ Preferences *settings = NULL; -#define DEFAULT_FONT (const gchar*) "-adobe-courier-medium-r-normal-*-*-120-*-*-m-*-iso8859-1" -#define DEFAULT_FONTSET "-*-*-medium-r-normal-*-14-*-*-*-*-*-*-*,*" +#define DEFAULT_FONT (const gchar*) N_("-adobe-courier-medium-r-normal-*-*-120-*-*-m-*-iso8859-1") void gedit_prefs_save_settings (void) @@ -177,7 +176,7 @@ #endif settings->font = gnome_config_get_string ("font"); if (settings->font == NULL) - settings->font = g_strdup (DEFAULT_FONT); + settings->font = g_strdup (_(DEFAULT_FONT)); if (mdi) tab_pos (settings->tab_pos);
Fixed in CVS, will be on gedit 0.9.8. Thanks for filing this bug report