[gnome-shell] recorder: Make screencast filename translateable
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] recorder: Make screencast filename translateable
- Date: Fri, 24 Feb 2012 23:52:30 +0000 (UTC)
commit 33a6fda6c3557a90dadd0dd0800744ce53b8bea9
Author: Adel Gadllah <adel gadllah gmail com>
Date: Sat Feb 25 00:51:44 2012 +0100
recorder: Make screencast filename translateable
The screenshot file name can be translate so should the screencast as well.
js/ui/main.js | 4 +++-
po/POTFILES.in | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 66a4344..0a2d425 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -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*$/))
diff --git a/po/POTFILES.in b/po/POTFILES.in
index dea54a7..6991a99 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]