Mailinglist Archive: opensuse-bugs (4258 mails)

< Previous Next >
[Bug 1021982] Ruby/Yast2 error on font changing
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 26 Jan 2017 10:37:08 +0000
  • Message-id: <bug-1021982-21960-i3LMjMpAsN@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1021982
http://bugzilla.opensuse.org/show_bug.cgi?id=1021982#c2

Josef Reidinger <jreidinger@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jreidinger@xxxxxxxx

--- Comment #2 from Josef Reidinger <jreidinger@xxxxxxxx> ---
In fact, if there is a bug in translation it report error. From yast POV, we do
not plan to enclose all _("%{b}") % {:a=>'b'} into rescue as it basically
breaks exceptions idea. If there is a bug, then be verbose, that there is a
bug.
I am not sure if it is better to show "%{b}" instead of error.

And in fact it is not problem of gettext gem at all. As it do its purpose to
translate string.

This sound quite similar to https://bugzilla.novell.com/show_bug.cgi?id=980329
which mention that gettext do not have strong enough validation of string
interpolation for ruby. ( so e.g. gettext have to complain if %{a} is
translated to %{b} as it is protected key )

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References