Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12425 closed (fixed)

Typo in the Ukrainian translation

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

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from mistake to Typo in the Ukrainian translation

Cleaned up the ticket title.

Changed 5 years ago by 235

patch that fixes variable name in uk translation

comment:2 Changed 5 years ago by 235

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

tested

comment:3 Changed 5 years ago by jezdez

  • Owner changed from nobody to jezdez
  • Status changed from new to assigned

Changed 5 years ago by 235

patch that fixes variable name in uk translation

comment:4 Changed 5 years ago by jezdez

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:5 Changed 5 years ago by jezdez

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

comment:6 Changed 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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