[gnome-utils] gnome-screenshot: Don't translate the timestamp in the filename
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] gnome-screenshot: Don't translate the timestamp in the filename
- Date: Wed, 14 Sep 2011 21:30:26 +0000 (UTC)
commit 5f6d6081324fc1b2442b38d111740a06488b5854
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 14 12:19:50 2011 -0400
gnome-screenshot: Don't translate the timestamp in the filename
That leads to formats like MM/DD/YYYY, which cause problems in
filenames.
https://bugzilla.gnome.org/show_bug.cgi?id=659038
gnome-screenshot/gnome-screenshot.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gnome-screenshot/gnome-screenshot.c b/gnome-screenshot/gnome-screenshot.c
index 89d5f17..9c6fca0 100644
--- a/gnome-screenshot/gnome-screenshot.c
+++ b/gnome-screenshot/gnome-screenshot.c
@@ -1002,10 +1002,7 @@ build_uri (AsyncExistenceJob *job)
GDateTime *d;
d = g_date_time_new_now_local ();
- /* Translators: This is a strftime format string.
- * It is used to display the time in 24-hours format (eg, like
- * in France: 20:10). */
- timestamp = g_date_time_format (d, _("%Y-%m-%d %H:%M:%S"));
+ timestamp = g_date_time_format (d, "%Y-%m-%d %H:%M:%S");
g_date_time_unref (d);
if (job->iteration == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]