[billreminder] Changed menu entries and shortcuts.
- From: Og B. Maciel <ogmaciel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [billreminder] Changed menu entries and shortcuts.
- Date: Sun, 12 Dec 2010 23:03:49 +0000 (UTC)
commit 3a5723def6fe53f0971208ffaa7396c8b51b8748
Author: Og B. Maciel <ogmaciel gnome org>
Date: Sun Dec 12 17:38:19 2010 -0500
Changed menu entries and shortcuts.
data/main.ui | 8 ++++----
src/gui/maindialog.py | 14 +++++++-------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/data/main.ui b/data/main.ui
index 88f87a0..f064bf0 100644
--- a/data/main.ui
+++ b/data/main.ui
@@ -17,7 +17,7 @@
<child>
<object class="GtkMenuItem" id="menuitem1">
<property name="visible">True</property>
- <property name="label" translatable="yes">_Bill</property>
+ <property name="label" translatable="yes">_File</property>
<property name="use_underline">True</property>
<child type="submenu">
<object class="GtkMenu" id="menu1">
@@ -135,7 +135,7 @@
<child>
<object class="GtkRadioMenuItem" id="showPaid">
<property name="visible">True</property>
- <property name="label" translatable="yes">Paid Only</property>
+ <property name="label" translatable="yes">_Paid Only</property>
<property name="use_underline">True</property>
<property name="draw_as_radio">True</property>
<signal name="toggled" handler="on_showPaid_toggled"/>
@@ -144,7 +144,7 @@
<child>
<object class="GtkRadioMenuItem" id="showNotPaid">
<property name="visible">True</property>
- <property name="label" translatable="yes">Not Paid Only</property>
+ <property name="label" translatable="yes">_Not Paid Only</property>
<property name="use_underline">True</property>
<property name="draw_as_radio">True</property>
<property name="group">showPaid</property>
@@ -154,7 +154,7 @@
<child>
<object class="GtkRadioMenuItem" id="showAll">
<property name="visible">True</property>
- <property name="label" translatable="yes">All Bills</property>
+ <property name="label" translatable="yes">_All Bills</property>
<property name="use_underline">True</property>
<property name="draw_as_radio">True</property>
<property name="group">showPaid</property>
diff --git a/src/gui/maindialog.py b/src/gui/maindialog.py
index 0202fd1..9eacc91 100644
--- a/src/gui/maindialog.py
+++ b/src/gui/maindialog.py
@@ -130,22 +130,22 @@ class MainDialog:
def set_action_strings(self):
# for some reason the actions strings do not get translated yet
# so we define them here so they would be picked up by the pyfile scanner
- self.ui.get_object("newBill").set_label(_("Add New"))
+ self.ui.get_object("newBill").set_label(_("_New"))
self.ui.get_object("newBill").set_tooltip(_("Add new bill"))
- self.ui.get_object("editBill").set_label(_("Edit"))
+ self.ui.get_object("editBill").set_label(_("_Edit"))
self.ui.get_object("editBill").set_tooltip(_("Edit a bill"))
- self.ui.get_object("removeBill").set_label(_("Delete"))
+ self.ui.get_object("removeBill").set_label(_("_Delete"))
self.ui.get_object("removeBill").set_tooltip(_("Delete selected bill"))
- self.ui.get_object("markPaid").set_label(_("Paid"))
+ self.ui.get_object("markPaid").set_label(_("P_aid"))
self.ui.get_object("markPaid").set_tooltip(_("Mark as paid"))
- self.ui.get_object("markNotPaid").set_label(_("Not Paid"))
+ self.ui.get_object("markNotPaid").set_label(_("No_t Paid"))
self.ui.get_object("markNotPaid").set_tooltip(_("Mark as not paid"))
- self.ui.get_object("showToolbar").set_label(_("Show Toolbar"))
+ self.ui.get_object("showToolbar").set_label(_("_Show Toolbar"))
self.ui.get_object("showToolbar").set_tooltip(_("Show the toolbar"))
# Methods: UI
@@ -430,7 +430,7 @@ class MainDialog:
def on_markNotPaid_activate(self, toolbutton):
self.on_markPaid_activate(toolbutton) # forward
-
+
def on_markPaid_activate(self, toolbutton):
if self.currentrecord:
self.toggle_bill_paid()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]