Re: [Spice-devel] [PATCH spice-gtk v2] gettext: fix ngettext usage

2019-04-18 Thread Frediano Ziglio
- Original Message - > From: "Jakub Janků" > To: spice-devel@lists.freedesktop.org > Sent: Wednesday, 17 April, 2019 10:46:57 PM > Subject: [Spice-devel] [PATCH spice-gtk v2] gettext: fix ngettext usage > > _() should not be used in conjunction with

[Spice-devel] [PATCH spice-gtk v2] gettext: fix ngettext usage

2019-04-17 Thread Jakub Janků
_() should not be used in conjunction with ngettext(), otherwise it's impossible to properly translate the message into languages that have multiple plural forms, such as Czech. Additionally, spice-gtk must use dngettext instead of ngettext, otherwise the translation strings are searched within a