* src/dates/Date_de.py: Updated translation

svn: r4562
This commit is contained in:
Martin Hawlisch 2005-05-12 07:55:16 +00:00
parent 2f9ebbab0d
commit 39addc1b9b
2 changed files with 7 additions and 6 deletions

View File

@ -2,6 +2,7 @@
* src/plugins/TestcaseGenerator.py: Added generation of multiple date * src/plugins/TestcaseGenerator.py: Added generation of multiple date
formats including invalid dates. formats including invalid dates.
* src/plugins/NavWebPage.py (HomePage): Dont crash on note only object * src/plugins/NavWebPage.py (HomePage): Dont crash on note only object
* src/dates/Date_de.py: Updated translation
2005-05-11 Don Allingham <don@gramps-project.org> 2005-05-11 Don Allingham <don@gramps-project.org>
* src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character * src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character

View File

@ -83,16 +83,16 @@ class DateDisplayDE(DateDisplay):
calendar = ( calendar = (
"", u" (Julianisch)", u" (Hebräisch)", "", u" (Julianisch)", u" (Hebräisch)",
u" (Französischer Republikaner)", u" (Persisch)", u" (Islamisch)" u" (Französisch Republikanisch)", u" (Persisch)", u" (Islamisch)"
) )
_mod_str = ("",u"avant ",u"après ",u"vers ","","","") _mod_str = ("",u"vor ",u"nach ",u"circa ","","","")
_qual_str = ("","calculated ","estimated ") _qual_str = ("",u"errechnet ",u"geschätzt ")
formats = ( formats = (
"JJJJ-MM-DD (ISO)", "Numerisch", "Monat Tag Jahr", "JJJJ-MM-DD (ISO)", "Numerisch", "Monat Tag Jahr",
"MICH Tag Jahr", "Tag Monat Jahr", "Tag MONAT Jahr" "MONAT Tag Jahr", "Tag Monat Jahr", "Tag MONAT Jahr"
) )
def display(self,date): def display(self,date):
@ -113,11 +113,11 @@ class DateDisplayDE(DateDisplay):
elif mod == Date.MOD_SPAN: elif mod == Date.MOD_SPAN:
d1 = self.display_cal[cal](start) d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date()) d2 = self.display_cal[cal](date.get_stop_date())
return "%s%s %s %s %s%s" % (qual_str,u'de',d1,u'à',d2,self.calendar[cal]) return "%s%s %s %s %s%s" % (qual_str,u'von',d1,u'bis',d2,self.calendar[cal])
elif mod == Date.MOD_RANGE: elif mod == Date.MOD_RANGE:
d1 = self.display_cal[cal](start) d1 = self.display_cal[cal](start)
d2 = self.display_cal[cal](date.get_stop_date()) d2 = self.display_cal[cal](date.get_stop_date())
return "%szwischen %s and %s%s" % (qual_str,d1,d2,self.calendar[cal]) return "%szwischen %s und %s%s" % (qual_str,d1,d2,self.calendar[cal])
else: else:
text = self.display_cal[date.get_calendar()](start) text = self.display_cal[date.get_calendar()](start)
return "%s%s%s%s" % (qual_str,self._mod_str[mod],text,self.calendar[cal]) return "%s%s%s%s" % (qual_str,self._mod_str[mod],text,self.calendar[cal])