Skip to content

Commit

Permalink
Removed unneeded '+' which breaks translatable string
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Jan 3, 2017
1 parent 7217d71 commit 2679eb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions localflavor/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: django-localflavor\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-29 10:55+0100\n"
"POT-Creation-Date: 2017-01-03 18:38+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -8554,7 +8554,9 @@ msgid "Enter a valid CNP."
msgstr ""

#: ro/forms.py:210
msgid "Phone numbers may only have 7 or 10 digits, except the "
msgid ""
"Phone numbers may only have 7 or 10 digits, except the national short "
"numbers which have 3 to 6 digits"
msgstr ""

#: ro/forms.py:213
Expand Down
2 changes: 1 addition & 1 deletion localflavor/ro/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class ROPhoneNumberField(RegexField, DeprecatedPhoneNumberFormFieldMixin):

default_error_messages = {
'invalid_length':
_('Phone numbers may only have 7 or 10 digits, except the ' +
_('Phone numbers may only have 7 or 10 digits, except the '
'national short numbers which have 3 to 6 digits'),
'invalid_long_format':
_('Normal phone numbers (7 or 10 digits) must begin with "0"'),
Expand Down

0 comments on commit 2679eb7

Please sign in to comment.