summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-02 21:27:27 +0300
committermonsta <[email protected]>2017-04-27 16:17:23 +0300
commit3dee2b9e543efe06181708218206f44a3772d1cc (patch)
tree5389df668af974279133f73d8bfb51277720efdb
parent550229e422cd88fe39473f41cebe6cef12f6c8fb (diff)
downloadmate-utils-3dee2b9e543efe06181708218206f44a3772d1cc.tar.bz2
mate-utils-3dee2b9e543efe06181708218206f44a3772d1cc.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 c51bebee..b1fef7d6 100644
--- a/mate-screenshot/src/mate-screenshot.c
+++ b/mate-screenshot/src/mate-screenshot.c
@@ -967,10 +967,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)