* src/dates/Date_de.py: Updated translation
svn: r4562
This commit is contained in:
parent
2f9ebbab0d
commit
39addc1b9b
@ -2,6 +2,7 @@
|
||||
* src/plugins/TestcaseGenerator.py: Added generation of multiple date
|
||||
formats including invalid dates.
|
||||
* 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>
|
||||
* src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character
|
||||
|
@ -83,16 +83,16 @@ class DateDisplayDE(DateDisplay):
|
||||
|
||||
calendar = (
|
||||
"", 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 = (
|
||||
"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):
|
||||
@ -113,11 +113,11 @@ class DateDisplayDE(DateDisplay):
|
||||
elif mod == Date.MOD_SPAN:
|
||||
d1 = self.display_cal[cal](start)
|
||||
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:
|
||||
d1 = self.display_cal[cal](start)
|
||||
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:
|
||||
text = self.display_cal[date.get_calendar()](start)
|
||||
return "%s%s%s%s" % (qual_str,self._mod_str[mod],text,self.calendar[cal])
|
||||
|
Loading…
Reference in New Issue
Block a user