[gnome-sound-recorder] Mark more some strings to translatable
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder] Mark more some strings to translatable
- Date: Thu, 23 Jan 2014 23:17:07 +0000 (UTC)
commit 0b71b10e09dee894484a5d079e91fc98f3169901
Author: Yosef Or Boczko <yoseforb src gnome org>
Date: Fri Jan 24 01:13:24 2014 +0200
Mark more some strings to translatable
src/main.js | 6 +++---
src/mainWindow.js | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/main.js b/src/main.js
index f08e260..cb467ee 100644
--- a/src/main.js
+++ b/src/main.js
@@ -59,9 +59,9 @@ const Application = new Lang.Class({
_initAppMenu: function() {
let menu = new Gio.Menu();
- menu.append("Preferences", 'app.preferences');
- menu.append('About Sound Recorder', 'app.about');
- menu.append("Quit",'app.quit');
+ menu.append(_("Preferences"), 'app.preferences');
+ menu.append(_("About Sound Recorder"), 'app.about');
+ menu.append(_("Quit"),'app.quit');
this.set_app_menu(menu);
let preferences = new Gio.SimpleAction({ name: 'preferences' });
diff --git a/src/mainWindow.js b/src/mainWindow.js
index b1007de..4dffd11 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -103,7 +103,7 @@ const MainWindow = new Lang.Class({
show_close_button: true });
this.set_titlebar(header);
- recordButton = new RecordButton({ label: "Record",
+ recordButton = new RecordButton({ label: _("Record"),
margin_bottom: 4,
margin_top: 6,
margin_left: 6,
@@ -281,7 +281,7 @@ const MainView = new Lang.Class({
this.toolbarStart.get_style_context().add_class(Gtk.STYLE_CLASS_LINKED);
// finish button (stop recording)
- let stopRecord = new Gtk.Button({ label: "Finish",
+ let stopRecord = new Gtk.Button({ label: _("Finish"),
margin_bottom: 4,
margin_top: 6,
margin_left: 6,
@@ -747,7 +747,7 @@ const RecordButton = new Lang.Class({
this.parent();
this.image = Gtk.Image.new_from_icon_name('media-record-symbolic', Gtk.IconSize.BUTTON);
this.set_always_show_image(true);
- this.set_label("Record");
+ this.set_label(_("Record"));
this.connect("clicked", Lang.bind(this, this._onRecord));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]