[gnome-shell] screenshot-ui: Put screencasts into a subdirectory



commit 1e4bbc9cd43ee31219fe4e08fdce7528e259f1a7
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Fri Dec 17 10:17:52 2021 +0300

    screenshot-ui: Put screencasts into a subdirectory
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2103>

 js/ui/screenshot.js | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js
index 45417a3b54..c0e0cfd444 100644
--- a/js/ui/screenshot.js
+++ b/js/ui/screenshot.js
@@ -1888,11 +1888,16 @@ var ScreenshotUI = GObject.registerClass({
             }
 
             method(
-                /* Translators: this is a filename used for screencast
-                 * recording, where "%d" and "%t" date and time, e.g.
-                 * "Screencast from 07-17-2013 10:00:46 PM.webm" */
-                /* xgettext:no-c-format */
-                _('Screencast from %d %t.webm'),
+                GLib.build_filenamev([
+                    /* Translators: this is the folder where recorded
+                       screencasts are stored. */
+                    _('Screencasts'),
+                    /* Translators: this is a filename used for screencast
+                     * recording, where "%d" and "%t" date and time, e.g.
+                     * "Screencast from 07-17-2013 10:00:46 PM.webm" */
+                    /* xgettext:no-c-format */
+                    _('Screencast from %d %t.webm'),
+                ]),
                 { 'draw-cursor': new GLib.Variant('b', drawCursor) },
                 ([success, path], error) => {
                     if (error !== null) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]