screenshot-ui: Put screencasts into a subdirectory

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2103>
This commit is contained in:
Ivan Molodetskikh 2021-12-17 10:17:52 +03:00 committed by Marge Bot
parent 6f252657fd
commit 1e4bbc9cd4

View File

@ -1888,11 +1888,16 @@ var ScreenshotUI = GObject.registerClass({
} }
method( method(
/* Translators: this is a filename used for screencast GLib.build_filenamev([
* recording, where "%d" and "%t" date and time, e.g. /* Translators: this is the folder where recorded
* "Screencast from 07-17-2013 10:00:46 PM.webm" */ screencasts are stored. */
/* xgettext:no-c-format */ _('Screencasts'),
_('Screencast from %d %t.webm'), /* 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) }, { 'draw-cursor': new GLib.Variant('b', drawCursor) },
([success, path], error) => { ([success, path], error) => {
if (error !== null) { if (error !== null) {