* src/dates/Date_fr.py: Add formats and quality.
* src/dates/Date_es.py: Add formats and quality. svn: r3938
This commit is contained in:
parent
ff42dac0d1
commit
d47d5e7f5a
@ -43,6 +43,9 @@
|
|||||||
* src/plugins/StatisticsChart.py: Use ReportUtils.
|
* src/plugins/StatisticsChart.py: Use ReportUtils.
|
||||||
* src/plugins/TimeLine.py: Use ReportUtils.
|
* src/plugins/TimeLine.py: Use ReportUtils.
|
||||||
|
|
||||||
|
* src/dates/Date_fr.py: Add formats and quality.
|
||||||
|
* src/dates/Date_es.py: Add formats and quality.
|
||||||
|
|
||||||
2005-01-17 Don Allingham <dallingham@users.sourceforge.net>
|
2005-01-17 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/ReportUtils.py: Added
|
* src/ReportUtils.py: Added
|
||||||
* src/BaseDoc.py: support for graphs
|
* src/BaseDoc.py: support for graphs
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004 Donald N. Allingham
|
# Copyright (C) 2004-2005 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -119,6 +119,13 @@ class DateDisplayES(DateDisplay):
|
|||||||
|
|
||||||
_mod_str = ("",u"antes de ",u"después de ",u"hacia ","","","")
|
_mod_str = ("",u"antes de ",u"después de ",u"hacia ","","","")
|
||||||
|
|
||||||
|
_qual_str = ("","calculado ","estimado ")
|
||||||
|
|
||||||
|
formats = (
|
||||||
|
"AAAA-MM-DD (ISO)", "Numérica", "Mes Día, Año",
|
||||||
|
"MES Día, Año", "Día Mes, Año", "Día MES, Año"
|
||||||
|
)
|
||||||
|
|
||||||
def display(self,date):
|
def display(self,date):
|
||||||
"""
|
"""
|
||||||
Returns a text string representing the date.
|
Returns a text string representing the date.
|
||||||
@ -153,4 +160,3 @@ class DateDisplayES(DateDisplay):
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from DateHandler import register_datehandler
|
from DateHandler import register_datehandler
|
||||||
register_datehandler(('es_ES','spanish'),DateParserES, DateDisplayES)
|
register_datehandler(('es_ES','spanish'),DateParserES, DateDisplayES)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004 Donald N. Allingham
|
# Copyright (C) 2004-2005 Donald N. Allingham
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@ -113,6 +113,13 @@ class DateDisplayFR(DateDisplay):
|
|||||||
|
|
||||||
_mod_str = ("",u"avant ",u"après ",u"vers ","","","")
|
_mod_str = ("",u"avant ",u"après ",u"vers ","","","")
|
||||||
|
|
||||||
|
_qual_str = ("","calculated ","estimated ")
|
||||||
|
|
||||||
|
formats = (
|
||||||
|
"Y\AAAA-MM-DD (ISO)", "Numérique", "Mois Jour, Année",
|
||||||
|
"MOI Jour, Année", "Jour Mois, Année", "Jour MOIS Année"
|
||||||
|
)
|
||||||
|
|
||||||
def display(self,date):
|
def display(self,date):
|
||||||
"""
|
"""
|
||||||
Returns a text string representing the date.
|
Returns a text string representing the date.
|
||||||
|
Loading…
Reference in New Issue
Block a user