* src/plugins/Check.py (fix_encoding): Fix mime type string.
In help:
2006-12-01  Alex Roitman  <shura@gramps-project.org>
	* sk/sk.po: Typo.



svn: r7748
This commit is contained in:
Alex Roitman 2006-12-02 07:30:15 +00:00
parent 11335bc6bc
commit bd7e25ee55
4 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,7 @@
parents in case the toolbar is not visible.
2006-12-01 Alex Roitman <shura@gramps-project.org>
* src/plugins/Check.py (fix_encoding): Fix mime type string.
* src/Filters/Rules/_RuleUtils.py (loose_date_cmp): Compare
textual dates.
* src/Filters/Rules/_HasEventBase.py (apply): Do not match empty

View File

@ -1,3 +1,6 @@
2006-12-01 Alex Roitman <shura@gramps-project.org>
* sk/sk.po: Typo.
2006-11-29 Lubo Vasko <pgval@post.sk>
* sk/sk.po: Translation update.

View File

@ -2829,7 +2829,7 @@ msgstr "Používanie pohľadu Rodina"
#: gramps.xml:4433(para)
msgid "When in the Family View (see <xref linkend=\"relationships-view\"/>), you can easily navigate between the members of the displayed family as follows:"
msgstr "V pohľade Rodina (viď <xref linkend=\"family-view\"/>), môžete ľahko prechádzať medzi členmi zobrazenej rodiny takto:"
msgstr "V pohľade Rodina (viď <xref linkend=\"relationships-view\"/>), môžete ľahko prechádzať medzi členmi zobrazenej rodiny takto:"
#: gramps.xml:4439(para)
msgid "To make the currently selected spouse the Active Person, click the double-arrow button to the right of the Active Person box. Alternatively, right-click into the spouse box and select <guilabel>Make the selected spouse an Active Person</guilabel> item from the context menu."

View File

@ -309,6 +309,12 @@ class CheckIntegrity:
obj.path = Utils.fix_encoding( obj.path)
obj.desc = Utils.fix_encoding( obj.desc)
self.db.commit_media_object(obj,self.trans)
# Once we are here, fix the mime string if not str
if type(data[3]) != str:
try:
data[3] = str(data{3])
except:
data[3] = ""
self.progress.step()
def check_for_broken_family_links(self):