Changes between Version 1 and Version 4 of Ticket #29825
- Timestamp:
- Oct 11, 2018, 10:56:43 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29825
- Property Component Uncategorized → Internationalization
- Property Type Uncategorized → Bug
- Property Triage Stage Unreviewed → Accepted
-
Ticket #29825 – Description
v1 v4 13 13 14 14 The example in OpenStack Horizon (see link below) is that the French bundle contains the following: 15 {{{ 15 16 msgid "Image" 16 17 msgstr "Image" 18 }}} 17 19 18 This should return "Image" ... instead it returns "I" ... the result of django.catalog["Image"] being "Image" , which then breaks into the else block of the following if statement, resulting in a return value of "Image"[0]... or the capital letter "I". For languages where the msgstr does not match a valid key in the file, this problem does not occur.20 This should return "Image" ... instead it returns "I" ... the result of `django.catalog["Image"]` being "Image" , which then breaks into the else block of the following if statement, resulting in a return value of `"Image"[0] `... or the capital letter "I". For languages where the msgstr does not match a valid key in the file, this problem does not occur. 19 21 20 22 see also openstack bug: https://bugs.launchpad.net/horizon/+bug/1778189