paperbox r216 - in trunk: . src
- From: markoa svn gnome org
- To: svn-commits-list gnome org
- Subject: paperbox r216 - in trunk: . src
- Date: Mon, 10 Nov 2008 21:35:14 +0000 (UTC)
Author: markoa
Date: Mon Nov 10 21:35:14 2008
New Revision: 216
URL: http://svn.gnome.org/viewvc/paperbox?rev=216&view=rev
Log:
Marked new strings for translation
Modified:
trunk/ChangeLog
trunk/src/main-window.cc
Modified: trunk/src/main-window.cc
==============================================================================
--- trunk/src/main-window.cc (original)
+++ trunk/src/main-window.cc Mon Nov 10 21:35:14 2008
@@ -232,14 +232,14 @@
action_group_ = Gtk::ActionGroup::create();
// actions
- action_group_->add(Gtk::Action::create("DocumentMenu", "_Document"));
+ action_group_->add(Gtk::Action::create("DocumentMenu", _("_Document")));
action_group_->add(
Gtk::Action::create("DocumentOpen", Gtk::Stock::OPEN),
sigc::mem_fun(*this, &MainWindow::on_menu_document_open));
action_group_->add(
- Gtk::Action::create("DocumentTag", Gtk::Stock::ADD, "Add _Tag"),
+ Gtk::Action::create("DocumentTag", Gtk::Stock::ADD, _("Add _Tag")),
Gtk::AccelKey("<control>T"),
sigc::mem_fun(*this, &MainWindow::on_menu_document_tag));
@@ -247,7 +247,7 @@
Gtk::Action::create("DocumentQuit", Gtk::Stock::QUIT),
sigc::mem_fun(*this, &MainWindow::on_menu_document_quit));
- action_group_->add(Gtk::Action::create("HelpMenu", "_Help"));
+ action_group_->add(Gtk::Action::create("HelpMenu", _("_Help")));
action_group_->add(
Gtk::Action::create("HelpAbout", Gtk::Stock::ABOUT),
@@ -298,11 +298,11 @@
void
MainWindow::init_sorting_area()
{
- sorting_label_.set_text("Browse");
+ sorting_label_.set_text(_("Browse"));
- sorting_combo_.append_text("alphabetically");
- sorting_combo_.append_text("by date, oldest first");
- sorting_combo_.append_text("by date, newest first");
+ sorting_combo_.append_text(_("alphabetically"));
+ sorting_combo_.append_text(_("by date, oldest first"));
+ sorting_combo_.append_text(_("by date, newest first"));
sorting_combo_.signal_changed().connect(
sigc::mem_fun(*this, &MainWindow::on_sorting_changed));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]