Commit 0b71b10e authored by Yosef Or Boczko's avatar Yosef Or Boczko

Mark more some strings to translatable

parent 237ee81e
......@@ -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' });
......
......@@ -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));
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment