Ignore:
Timestamp:
19 Feb 2012, 10:05:19 (13 years ago)
Author:
Henrik Bettermann
Message:

We don't need translations for some strings.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/widgets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/widgets/datewidget.py

    r7599 r7668  
    4545                value = datetime.strptime(input, self.date_format)
    4646            except (ValueError, IndexError), v:
    47                 raise ConversionError(_("Invalid datetime data"), v)
     47                raise ConversionError("Invalid datetime data", v)
    4848        return value.date()
    4949
  • main/waeup.sirp/trunk/src/waeup/sirp/widgets/phonewidget.py

    r7494 r7668  
    4747
    4848    country = schema.TextLine(
    49         title=_('Country Code'),
    50         description=_('The country code of the phone number.'),
     49        title=u'Country Code',
     50        description=u'The country code of the phone number.',
    5151        min_length=1,
    5252        constraint=re.compile(r'^[0-9]+$').search,
     
    5555
    5656    area = schema.TextLine(
    57         title=_('Area Code'),
    58         description=_('The area code of the phone number.'),
     57        title=u'Area Code',
     58        description=u'The area code of the phone number.',
    5959        min_length=1,
    6060        constraint=re.compile(r'^[0-9]+$').search,
     
    6262
    6363    extension = schema.TextLine(
    64         title=_('Direct Line'),
    65         description=_('The direct line of the phone number.'),
     64        title=u'Direct Line',
     65        description=u'The direct line of the phone number.',
    6666        min_length=3,
    6767        constraint=re.compile(r'^[0-9]{3,}$').search,
Note: See TracChangeset for help on using the changeset viewer.