Use an untranslatable "%x" for dates, rather than a custom format. Fixes

2004-03-10  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
	untranslatable "%x" for dates, rather than a custom format.  Fixes
	#136357.
This commit is contained in:
Federico Mena Quintero 2004-03-10 18:35:07 +00:00 committed by Federico Mena Quintero
parent 5babb8607f
commit 6e30693cd9
6 changed files with 31 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format. Fixes
#136357.
2004-03-10 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c

View File

@ -1,3 +1,9 @@
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format. Fixes
#136357.
2004-03-10 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c

View File

@ -1,3 +1,9 @@
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format. Fixes
#136357.
2004-03-10 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c

View File

@ -1,3 +1,9 @@
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format. Fixes
#136357.
2004-03-10 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c

View File

@ -1,3 +1,9 @@
2004-03-10 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
untranslatable "%x" for dates, rather than a custom format. Fixes
#136357.
2004-03-10 Morten Welinder <terra@gnome.org>
* gtk/gtkfilechooserdefault.c

View File

@ -4180,8 +4180,7 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
if (days_diff > 1 && days_diff < 7)
format = "%A"; /* Days from last week */
else
/* FIXME: Get the right format for the locale */
format = _("%d/%b/%Y"); /* Any other date */
format = "%x"; /* Any other date */
if (g_date_strftime (buf, sizeof (buf), format, &mtime) == 0)
strcpy (buf, _("Unknown"));