Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#12425 closed (fixed)

Typo in the Ukrainian translation

Reported by: 235 Owned by: Jannis Leidel
Component: Translations Version: 1.1
Severity: Keywords:
Cc: nickzam Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

really nasty typo in variable name in message translation:

in django/conf/locale/uk/LC_MESSAGES/django.po 'min' variable in message was replaced by 'max' that that was causing server error 500:

File "/var/www/virtual/sumno.com/modules/django/forms/fields.py", line 155, in clean
    raise ValidationError(self.error_messages['min_length'] % {'min': self.min_length, 'length': value_length})

  File "/var/www/virtual/sumno.com/modules/django/utils/functional.py", line 222, in __mod__
    return unicode(self) % rhs

KeyError: u'max'

Attachments (2)

django_uk_minmax.2.patch (673 bytes) - added by 235 7 years ago.
patch that fixes variable name in uk translation
django_uk_minmax.patch (673 bytes) - added by 235 7 years ago.
patch that fixes variable name in uk translation

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by Alex Gaynor

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Summary: mistakeTypo in the Ukrainian translation

Cleaned up the ticket title.

Changed 7 years ago by 235

Attachment: django_uk_minmax.2.patch added

patch that fixes variable name in uk translation

comment:2 Changed 7 years ago by 235

sorry, those patches are same, just didn't mark to replace file

tested

comment:3 Changed 7 years ago by Jannis Leidel

Owner: changed from nobody to Jannis Leidel
Status: newassigned

Changed 7 years ago by 235

Attachment: django_uk_minmax.patch added

patch that fixes variable name in uk translation

comment:4 Changed 7 years ago by Jannis Leidel

Resolution: fixed
Status: assignedclosed

(In [11977]) Fixed #12425 - Typo in Ukrainian translation.

comment:5 Changed 7 years ago by Jannis Leidel

(In [11978]) [1.1.X] Fixed #12425 - Typo in Ukrainian translation.

comment:6 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top