recorder: Make screencast filename translateable
The screenshot file name can be translate so should the screencast as well.
This commit is contained in:
parent
7cc1bdb35d
commit
33a6fda6c3
@ -110,7 +110,9 @@ function _initRecorder() {
|
|||||||
} else {
|
} else {
|
||||||
// read the parameters from GSettings always in case they have changed
|
// read the parameters from GSettings always in case they have changed
|
||||||
recorder.set_framerate(recorderSettings.get_int('framerate'));
|
recorder.set_framerate(recorderSettings.get_int('framerate'));
|
||||||
recorder.set_filename('Screencast at %d %t.' + recorderSettings.get_string('file-extension'));
|
/* Translators: this is a filename used for screencast recording */
|
||||||
|
// xgettext:no-c-format
|
||||||
|
recorder.set_filename(_("Screencast at %d %t.") + recorderSettings.get_string('file-extension'));
|
||||||
let pipeline = recorderSettings.get_string('pipeline');
|
let pipeline = recorderSettings.get_string('pipeline');
|
||||||
|
|
||||||
if (!pipeline.match(/^\s*$/))
|
if (!pipeline.match(/^\s*$/))
|
||||||
|
@ -16,6 +16,7 @@ js/ui/endSessionDialog.js
|
|||||||
js/ui/extensionSystem.js
|
js/ui/extensionSystem.js
|
||||||
js/ui/keyboard.js
|
js/ui/keyboard.js
|
||||||
js/ui/lookingGlass.js
|
js/ui/lookingGlass.js
|
||||||
|
js/ui/main.js
|
||||||
js/ui/messageTray.js
|
js/ui/messageTray.js
|
||||||
js/ui/networkAgent.js
|
js/ui/networkAgent.js
|
||||||
js/ui/notificationDaemon.js
|
js/ui/notificationDaemon.js
|
||||||
|
Loading…
Reference in New Issue
Block a user