recorder: Make screencast filename translateable

The screenshot file name can be translate so should the screencast as well.
This commit is contained in:
Adel Gadllah 2012-02-25 00:51:44 +01:00
parent 7cc1bdb35d
commit 33a6fda6c3
2 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,9 @@ function _initRecorder() {
} else {
// read the parameters from GSettings always in case they have changed
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');
if (!pipeline.match(/^\s*$/))

View File

@ -16,6 +16,7 @@ js/ui/endSessionDialog.js
js/ui/extensionSystem.js
js/ui/keyboard.js
js/ui/lookingGlass.js
js/ui/main.js
js/ui/messageTray.js
js/ui/networkAgent.js
js/ui/notificationDaemon.js