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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user