From 6e30693cd95611ddb2107b8c1053c9c721cb8234 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 10 Mar 2004 18:35:07 +0000 Subject: [PATCH] Use an untranslatable "%x" for dates, rather than a custom format. Fixes 2004-03-10 Federico Mena Quintero * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an untranslatable "%x" for dates, rather than a custom format. Fixes #136357. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkfilechooserdefault.c | 3 +-- 6 files changed, 31 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index faac0f94a3..ef3b6db318 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-03-10 Federico Mena Quintero + + * 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 * gtk/gtkfilechooserdefault.c diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index faac0f94a3..ef3b6db318 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-03-10 Federico Mena Quintero + + * 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 * gtk/gtkfilechooserdefault.c diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index faac0f94a3..ef3b6db318 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2004-03-10 Federico Mena Quintero + + * 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 * gtk/gtkfilechooserdefault.c diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index faac0f94a3..ef3b6db318 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-03-10 Federico Mena Quintero + + * 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 * gtk/gtkfilechooserdefault.c diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index faac0f94a3..ef3b6db318 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-03-10 Federico Mena Quintero + + * 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 * gtk/gtkfilechooserdefault.c diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index dc12977fa1..5f0ae23913 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -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"));