New translations
svn: r651
This commit is contained in:
parent
e85e78fb6c
commit
a893b6aeeb
@ -53,6 +53,7 @@ import RelLib
|
|||||||
import const
|
import const
|
||||||
import sort
|
import sort
|
||||||
import utils
|
import utils
|
||||||
|
import Config
|
||||||
|
|
||||||
class AddSpouse:
|
class AddSpouse:
|
||||||
"""
|
"""
|
||||||
@ -95,6 +96,9 @@ class AddSpouse:
|
|||||||
self.name_list = self.db.getPersonMap().values()
|
self.name_list = self.db.getPersonMap().values()
|
||||||
self.name_list.sort(sort.by_last_name)
|
self.name_list.sort(sort.by_last_name)
|
||||||
|
|
||||||
|
title = _("Choose Spouse/Partner of %s") % Config.nameof(person)
|
||||||
|
self.glade.get_widget("spouseTitle").set_text(title)
|
||||||
|
|
||||||
self.glade.signal_autoconnect({
|
self.glade.signal_autoconnect({
|
||||||
"on_select_spouse_clicked" : self.select_spouse_clicked,
|
"on_select_spouse_clicked" : self.select_spouse_clicked,
|
||||||
"on_new_spouse_clicked" : self.new_spouse_clicked,
|
"on_new_spouse_clicked" : self.new_spouse_clicked,
|
||||||
|
@ -323,8 +323,13 @@
|
|||||||
<name>bookmarks_menu</name>
|
<name>bookmarks_menu</name>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkMenuItem</class>
|
<class>GtkPixmapMenuItem</class>
|
||||||
<name>add_bookmark</name>
|
<name>add_bookmark</name>
|
||||||
|
<accelerator>
|
||||||
|
<modifiers>GDK_CONTROL_MASK</modifiers>
|
||||||
|
<key>GDK_D</key>
|
||||||
|
<signal>activate</signal>
|
||||||
|
</accelerator>
|
||||||
<signal>
|
<signal>
|
||||||
<name>activate</name>
|
<name>activate</name>
|
||||||
<handler>on_add_bookmark_activate</handler>
|
<handler>on_add_bookmark_activate</handler>
|
||||||
@ -332,11 +337,17 @@
|
|||||||
</signal>
|
</signal>
|
||||||
<label>_Add Bookmark</label>
|
<label>_Add Bookmark</label>
|
||||||
<right_justify>False</right_justify>
|
<right_justify>False</right_justify>
|
||||||
|
<stock_icon>GNOME_STOCK_MENU_INDEX</stock_icon>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkMenuItem</class>
|
<class>GtkPixmapMenuItem</class>
|
||||||
<name>edit_bookmarks</name>
|
<name>edit_bookmarks</name>
|
||||||
|
<accelerator>
|
||||||
|
<modifiers>GDK_CONTROL_MASK</modifiers>
|
||||||
|
<key>GDK_B</key>
|
||||||
|
<signal>activate</signal>
|
||||||
|
</accelerator>
|
||||||
<signal>
|
<signal>
|
||||||
<name>activate</name>
|
<name>activate</name>
|
||||||
<handler>on_edit_bookmarks_activate</handler>
|
<handler>on_edit_bookmarks_activate</handler>
|
||||||
@ -344,6 +355,7 @@
|
|||||||
</signal>
|
</signal>
|
||||||
<label>_Edit Bookmarks</label>
|
<label>_Edit Bookmarks</label>
|
||||||
<right_justify>False</right_justify>
|
<right_justify>False</right_justify>
|
||||||
|
<stock_icon>GNOME_STOCK_MENU_BOOK_OPEN</stock_icon>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
@ -446,6 +458,19 @@
|
|||||||
<stock_icon>GNOME_STOCK_MENU_BOOK_BLUE</stock_icon>
|
<stock_icon>GNOME_STOCK_MENU_BOOK_BLUE</stock_icon>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
||||||
|
<widget>
|
||||||
|
<class>GtkPixmapMenuItem</class>
|
||||||
|
<name>gramps_home_page</name>
|
||||||
|
<signal>
|
||||||
|
<name>activate</name>
|
||||||
|
<handler>on_gramps_home_page_activate</handler>
|
||||||
|
<last_modification_time>Thu, 20 Dec 2001 22:44:28 GMT</last_modification_time>
|
||||||
|
</signal>
|
||||||
|
<label>GRAMPS _Home Page</label>
|
||||||
|
<right_justify>False</right_justify>
|
||||||
|
<stock_icon>GNOME_STOCK_MENU_JUMP_TO</stock_icon>
|
||||||
|
</widget>
|
||||||
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>GtkPixmapMenuItem</class>
|
<class>GtkPixmapMenuItem</class>
|
||||||
<name>about1</name>
|
<name>about1</name>
|
||||||
|
@ -154,6 +154,10 @@ def find_goto_to(person):
|
|||||||
goto_active_person()
|
goto_active_person()
|
||||||
update_display(0)
|
update_display(0)
|
||||||
|
|
||||||
|
def on_gramps_home_page_activate(obj):
|
||||||
|
import gnome.url
|
||||||
|
gnome.url.show("http://gramps.sourceforge.net")
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# Merge
|
# Merge
|
||||||
@ -804,6 +808,7 @@ def change_sort(column):
|
|||||||
def sort_person_list():
|
def sort_person_list():
|
||||||
person_list.freeze()
|
person_list.freeze()
|
||||||
person_list.sort()
|
person_list.sort()
|
||||||
|
person_list.sort()
|
||||||
if ListColors.get_enable():
|
if ListColors.get_enable():
|
||||||
try:
|
try:
|
||||||
oddbg = gtk.GdkColor(ListColors.oddbg[0],ListColors.oddbg[1],ListColors.oddbg[2])
|
oddbg = gtk.GdkColor(ListColors.oddbg[0],ListColors.oddbg[1],ListColors.oddbg[2])
|
||||||
@ -893,6 +898,7 @@ def modify_statusbar():
|
|||||||
else:
|
else:
|
||||||
name = pname
|
name = pname
|
||||||
statusbar.set_status(name)
|
statusbar.set_status(name)
|
||||||
|
return 0
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -1309,7 +1315,7 @@ def redisplay_person_list(person):
|
|||||||
|
|
||||||
person_list.set_row_data(0,pos2)
|
person_list.set_row_data(0,pos2)
|
||||||
|
|
||||||
sort_person_list()
|
sort_person_list()
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -1781,6 +1787,9 @@ def on_home_clicked(obj):
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def on_add_bookmark_activate(obj):
|
def on_add_bookmark_activate(obj):
|
||||||
bookmarks.add(active_person)
|
bookmarks.add(active_person)
|
||||||
|
name = Config.nameof(active_person)
|
||||||
|
statusbar.set_status(_("%s has been bookmarked") % name)
|
||||||
|
gtk.timeout_add(5000,modify_statusbar)
|
||||||
|
|
||||||
def on_edit_bookmarks_activate(obj):
|
def on_edit_bookmarks_activate(obj):
|
||||||
bookmarks.edit()
|
bookmarks.edit()
|
||||||
@ -1943,7 +1952,7 @@ def main(arg):
|
|||||||
|
|
||||||
person_list.column_titles_active()
|
person_list.column_titles_active()
|
||||||
set_sort_arrow(sort_column,sort_direct)
|
set_sort_arrow(sort_column,sort_direct)
|
||||||
|
change_sort(sort_column)
|
||||||
|
|
||||||
gtop.signal_autoconnect({
|
gtop.signal_autoconnect({
|
||||||
"delete_event" : delete_event,
|
"delete_event" : delete_event,
|
||||||
@ -2020,6 +2029,7 @@ def main(arg):
|
|||||||
"on_spouselist_changed" : on_spouselist_changed,
|
"on_spouselist_changed" : on_spouselist_changed,
|
||||||
"on_swap_clicked" : on_swap_clicked,
|
"on_swap_clicked" : on_swap_clicked,
|
||||||
"on_tools_clicked" : on_tools_clicked,
|
"on_tools_clicked" : on_tools_clicked,
|
||||||
|
"on_gramps_home_page_activate" : on_gramps_home_page_activate,
|
||||||
"on_writing_extensions_activate" : on_writing_extensions_activate,
|
"on_writing_extensions_activate" : on_writing_extensions_activate,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user