Changes between Version 1 and Version 4 of Ticket #29825


Ignore:
Timestamp:
Oct 11, 2018, 10:56:43 AM (6 years ago)
Author:
Tim Graham
Comment:

Tentatively accepting for investigation.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29825

    • Property Component UncategorizedInternationalization
    • Property Type UncategorizedBug
    • Property Triage Stage UnreviewedAccepted
  • Ticket #29825 – Description

    v1 v4  
    1313
    1414The example in OpenStack Horizon (see link below) is that the French bundle contains the following:
     15{{{
    1516msgid "Image"
    1617msgstr "Image"
     18}}}
    1719
    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.
     20This 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.
    1921
    2022see also openstack bug: https://bugs.launchpad.net/horizon/+bug/1778189
Back to Top