Opened 15 years ago

Closed 15 years ago

Last modified 13 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: no UI/UX: no

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 15 years ago.
patch that fixes variable name in uk translation
django_uk_minmax.patch (673 bytes ) - added by 235 15 years ago.
patch that fixes variable name in uk translation

Download all attachments as: .zip

Change History (8)

comment:1 by Alex Gaynor, 15 years ago

Summary: mistakeTypo in the Ukrainian translation

Cleaned up the ticket title.

by 235, 15 years ago

Attachment: django_uk_minmax.2.patch added

patch that fixes variable name in uk translation

comment:2 by 235, 15 years ago

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

tested

comment:3 by Jannis Leidel, 15 years ago

Owner: changed from nobody to Jannis Leidel
Status: newassigned

by 235, 15 years ago

Attachment: django_uk_minmax.patch added

patch that fixes variable name in uk translation

comment:4 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: assignedclosed

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

comment:5 by Jannis Leidel, 15 years ago

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

comment:6 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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