summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-02 21:27:27 +0300
committermonsta <[email protected]>2017-04-03 16:55:38 +0300
commit554872c8c0425e456fe8181888771602a33f23ac (patch)
tree4766e4acc72831b1efd9c192d88046eab6416bcf
parenta3c64fdcbb6b16bfae2e9b1fa8df9126f2fbeb1e (diff)
downloadmate-utils-554872c8c0425e456fe8181888771602a33f23ac.tar.bz2
mate-utils-554872c8c0425e456fe8181888771602a33f23ac.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)