The setNames and getNames functions in the resource registry were
calling ngettext() on already translated strings that were marked for
translation with gettext() and not ngetttext(). That lead to some
page titles in some locales being displayed as single characters.
Reviewed: https:/ /review. opendev. org/696321 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=ef4055e2888 bb0fe67d64e9c42 2a31f925469200
Committed: https:/
Submitter: Zuul
Branch: master
commit ef4055e2888bb0f e67d64e9c422a31 f925469200
Author: Radomir Dopieralski <email address hidden>
Date: Wed Nov 27 15:07:41 2019 +0100
Fix use of ngettext in registry getName
The setNames and getNames functions in the resource registry were
calling ngettext() on already translated strings that were marked for
translation with gettext() and not ngetttext(). That lead to some
page titles in some locales being displayed as single characters.
Closes-Bug: #1762089 e27a2e80bcb5257 132f8c6ba29
Change-Id: I0ef365e0c0de6a