summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-02 21:27:27 +0300
committermonsta <[email protected]>2017-04-02 21:27:27 +0300
commit106fdfe005552a5bbc8bfa3e1994a71156beedb0 (patch)
tree8f26ba6ba76c5af10cb906c4a11a5c206a51c393
parent113a7c0300706c3f770d819905c7491eb767eaa1 (diff)
downloadmate-utils-106fdfe005552a5bbc8bfa3e1994a71156beedb0.tar.bz2
mate-utils-106fdfe005552a5bbc8bfa3e1994a71156beedb0.tar.xz
screenshot: don't translate the timestamp in the filename
fixes https://github.com/mate-desktop/mate-utils/issues/166 same as done in: https://git.gnome.org/browse/gnome-screenshot/commit/?id=31ff64e51ec0a36d82f2c16e47e9eabc371f302e
-rw-r--r--mate-screenshot/src/mate-screenshot.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mate-screenshot/src/mate-screenshot.c b/mate-screenshot/src/mate-screenshot.c
index 2a8d0db0..338337d7 100644
--- a/mate-screenshot/src/mate-screenshot.c
+++ b/mate-screenshot/src/mate-screenshot.c
@@ -903,10 +903,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) but using hyphens in place of colons. */
- 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)