/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Range.cpp
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Range.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by cpcp, Wed Oct 23 19:21:41 2002 UTC revision 1.1.2.2 by cpcp, Sun Oct 27 13:18:20 2002 UTC
# Line 67  std::string const GEDCOMParser::DateMana Line 67  std::string const GEDCOMParser::DateMana
67    switch(_type)    switch(_type)
68      {      {
69      case e_Before:      case e_Before:
70        res = _("Before ") + _bound1->getDisplayValue();        if (_bound1 != 0)
71            {
72              res = _("Before ") + _bound1->getDisplayValue();
73            }
74        break;        break;
75      case e_After:      case e_After:
76        res = _("After ") + _bound1->getDisplayValue();        if (_bound1 != 0)
77            {
78              res = _("After ") + _bound1->getDisplayValue();
79            }
80        break;        break;
81      case e_Between:      case e_Between:
82        res = _("Between ") + _bound1->getDisplayValue() + _(" and ") + _bound2->getDisplayValue();        if (_bound1 != 0)
83            {
84              res = _("Between ") + _bound1->getDisplayValue();
85            }
86          if (_bound2 != 0)
87            {
88              res = res + _(" and ") + _bound2->getDisplayValue();
89            }
90        break;        break;
91      default:      default:
92        res = _("Unknown range ");        res = _("Unknown range ");

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26