[gnote] Make labels for delete actions translatable



commit f8e98d4b2e57663f7e905c55423da57bdd7f8a21
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Mar 17 13:46:10 2013 +0200

    Make labels for delete actions translatable

 src/searchnoteswidget.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp
index 1ddb616..1ab56fd 100644
--- a/src/searchnoteswidget.cpp
+++ b/src/searchnoteswidget.cpp
@@ -135,10 +135,10 @@ void SearchNotesWidget::make_actions()
   m_open_note_new_window_action->signal_activate()
     .connect(sigc::mem_fun(*this, &SearchNotesWidget::on_open_note_new_window));
 
-  m_delete_note_action = Gtk::Action::create("DeleteNoteAction", ("_Delete"));
+  m_delete_note_action = Gtk::Action::create("DeleteNoteAction", _("_Delete"));
   m_delete_note_action->signal_activate().connect(sigc::mem_fun(*this, 
&SearchNotesWidget::delete_selected_notes));
 
-  m_delete_notebook_action = Gtk::Action::create("DeleteNotebookAction", ("_Delete Notebook"));
+  m_delete_notebook_action = Gtk::Action::create("DeleteNotebookAction", _("_Delete Notebook"));
   m_delete_notebook_action->signal_activate().connect(sigc::mem_fun(*this, 
&SearchNotesWidget::on_delete_notebook));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]