filename clean up
svn: r1408
This commit is contained in:
parent
0ce2942e6c
commit
27d3985fb9
@ -126,7 +126,7 @@ class DbPrompter:
|
|||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
def ok_button_clicked(self,obj):
|
def ok_button_clicked(self,obj):
|
||||||
filename = self.dbname.get_full_path(0).encode('iso8859-1')
|
filename = self.dbname.get_full_path(0)
|
||||||
|
|
||||||
if not filename:
|
if not filename:
|
||||||
return
|
return
|
||||||
|
@ -56,7 +56,7 @@ except:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
def importData(database, filename, callback):
|
def importData(database, filename, callback):
|
||||||
|
|
||||||
filename = os.path.normpath(filename).encode('iso8859-1')
|
filename = os.path.normpath(filename)
|
||||||
basefile = os.path.dirname(filename)
|
basefile = os.path.dirname(filename)
|
||||||
database.smap = {}
|
database.smap = {}
|
||||||
database.pmap = {}
|
database.pmap = {}
|
||||||
|
@ -701,6 +701,8 @@ class Gramps:
|
|||||||
dbname = obj.get_data("dbname")
|
dbname = obj.get_data("dbname")
|
||||||
getoldrev = obj.get_data("getoldrev")
|
getoldrev = obj.get_data("getoldrev")
|
||||||
filename = dbname.get_full_path(0)
|
filename = dbname.get_full_path(0)
|
||||||
|
print filename
|
||||||
|
|
||||||
Utils.destroy_passed_object(obj)
|
Utils.destroy_passed_object(obj)
|
||||||
|
|
||||||
if filename == "" or filename == None:
|
if filename == "" or filename == None:
|
||||||
|
@ -261,7 +261,7 @@ msgstr "(en|tot|-)"
|
|||||||
|
|
||||||
#: Date.py:228 Date.py:241
|
#: Date.py:228 Date.py:241
|
||||||
msgid "from %(start_date)s to %(stop_date)s"
|
msgid "from %(start_date)s to %(stop_date)s"
|
||||||
msgstr "van %(begin_datum)s tot %(eind_datum)s"
|
msgstr "van %(start_date)s tot %(stop_date)s"
|
||||||
|
|
||||||
#: DbPrompter.py:65 DbPrompter.py:117 gramps_main.py:987 revision.glade:131
|
#: DbPrompter.py:65 DbPrompter.py:117 gramps_main.py:987 revision.glade:131
|
||||||
msgid "Open a database"
|
msgid "Open a database"
|
||||||
@ -349,7 +349,7 @@ msgstr "Geen"
|
|||||||
|
|
||||||
#: EditPerson.py:413 EditSource.py:141
|
#: EditPerson.py:413 EditSource.py:141
|
||||||
msgid "%(father)s and %(mother)s"
|
msgid "%(father)s and %(mother)s"
|
||||||
msgstr "%(vader)s en %(moeder)s"
|
msgstr "%(father)s en %(mother)s"
|
||||||
|
|
||||||
#: EditPerson.py:421 const.py:144 plugins/FamilyGroup.py:385
|
#: EditPerson.py:421 const.py:144 plugins/FamilyGroup.py:385
|
||||||
#: plugins/IndivComplete.py:259 plugins/IndivSummary.py:155
|
#: plugins/IndivComplete.py:259 plugins/IndivSummary.py:155
|
||||||
@ -4344,7 +4344,7 @@ msgstr "Genereert relatiegrafieken, momenteel alleen in GraphViz-formaat. GraphV
|
|||||||
|
|
||||||
#: plugins/IndivComplete.py:117
|
#: plugins/IndivComplete.py:117
|
||||||
msgid "%(date)s in %(place)s."
|
msgid "%(date)s in %(place)s."
|
||||||
msgstr "%(datum)s in %(plaats)en"
|
msgstr "%(date)s in %(place)en"
|
||||||
|
|
||||||
#: plugins/IndivComplete.py:149 plugins/WebPage.py:463
|
#: plugins/IndivComplete.py:149 plugins/WebPage.py:463
|
||||||
msgid "Notes"
|
msgid "Notes"
|
||||||
|
Loading…
Reference in New Issue
Block a user