2006-10-27 Don Allingham <don@gramps-project.org>

* src/GrampsCfg.py: remove unused online maps string
	* src/Editors/_EditRepoRef.py: fixed transation strings
	* src/Editors/_EditName.py: fixed transation strings
	* src/Editors/_EditChildRef.py: fixed transation strings
	* src/ScratchPad.py: fixed transation strings
	* help/C/gramps.xml: update
	* help/C/figures/prefs.png: update
	* help/C/figures/select-person.py: update



svn: r7460
This commit is contained in:
Don Allingham 2006-10-28 03:53:46 +00:00
parent 551c523937
commit 81fd55aff4
9 changed files with 56 additions and 419 deletions

View File

@ -1,3 +1,13 @@
2006-10-27 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: remove unused online maps string
* src/Editors/_EditRepoRef.py: fixed transation strings
* src/Editors/_EditName.py: fixed transation strings
* src/Editors/_EditChildRef.py: fixed transation strings
* src/ScratchPad.py: fixed transation strings
* help/C/gramps.xml: update
* help/C/figures/prefs.png: update
* help/C/figures/select-person.py: update
2006-10-27 Morten Bo Johansen <mbj@spamcop.net>
* src/data/tips.xml.in: Update tips.
* src/plugins/rel_da.py: Update.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because it is too large Load Diff

View File

@ -126,7 +126,7 @@ class EditChildRef(EditSecondary):
self.top.get_widget('vbox').pack_start(notebook,True)
def build_menu_names(self,obj):
return (_('ChildRef'),_('ChildRef Editor'))
return (_('Child Reference'),_('Child Reference Editor'))
def save(self,*obj):
"""

View File

@ -190,7 +190,7 @@ class EditName(EditSecondary):
def build_menu_names(self,name):
if name:
ntext = NameDisplay.displayer.display_name(name)
submenu_label = _('%s: %s') % (_('Name'),ntext)
submenu_label = '%s: %s' % (_('Name'),ntext)
else:
submenu_label = _('New Name')
menu_label = _('Name Editor')

View File

@ -147,9 +147,9 @@ class EditRepoRef(EditReference):
def build_menu_names(self,sourceref):
if self.source:
source_name = self.source.get_name()
submenu_label = _('Repo: %s') % source_name
submenu_label = _('Repository: %s') % source_name
else:
submenu_label = _('New Repo')
submenu_label = _('New Repository')
return (_('Repo Reference Editor'),submenu_label)
def ok_clicked(self,obj):
@ -157,10 +157,10 @@ class EditRepoRef(EditReference):
trans = self.db.transaction_begin()
if self.source.handle:
self.db.commit_repository(self.source,trans)
self.db.transaction_commit(trans,_("Modify Repo"))
self.db.transaction_commit(trans,_("Modify Repository"))
else:
self.db.add_repository(self.source,trans)
self.db.transaction_commit(trans,_("Add Repo"))
self.db.transaction_commit(trans,_("Add Repository"))
self.source_ref.ref = self.source.handle
if self.update:

View File

@ -494,12 +494,12 @@ class GrampsPreferences(ManagedWindow.ManagedWindow):
2, Config.SPELLCHECK)
self.add_checkbox(table, _('Display Tip of the Day'),
3, Config.USE_TIPS)
self.add_checkbox(table, _('Download maps online'),
4, Config.ONLINE_MAPS)
# self.add_checkbox(table, _('Download maps online'),
# 4, Config.ONLINE_MAPS)
self.add_checkbox(table, _('Use shading in Relationship View'),
5, Config.RELATION_SHADE)
4, Config.RELATION_SHADE)
self.add_checkbox(table, _('Enable database transactions'),
6, Config.TRANSACTIONS)
5, Config.TRANSACTIONS)
return table

View File

@ -399,7 +399,7 @@ class ScratchPadSourceRef(ScratchPadGrampsTypeWrapper):
"\t<b>%s:</b>\t%s\n"\
"\t<b>%s:</b>\t%s\n"\
"\t<b>%s:</b>\t%s" % (
_("SourceRef"),
_("Source Reference"),
_("Title"),escape(base.get_title()),
_("Page"), escape(self._obj.get_page()),
_("Text"), escape(self._obj.get_text()),
@ -432,7 +432,7 @@ class ScratchPadEventRef(ScratchPadGrampsTypeWrapper):
def __init__(self, db, obj):
ScratchPadGrampsTypeWrapper.__init__(self, db, obj)
self._type = _("EventRef")
self._type = _("Event Reference")
base = self._db.get_event_from_handle(self._obj.ref)
self._title = base.get_description()