Bug ID 954505
Summary yast ruby msg extractor (xgettext) does not support format marker
Classification openSUSE
Product openSUSE Tumbleweed
Version 2015*
Hardware x86-64
OS openSUSE 42.1
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter ke@suse.com
QA Contact jsrain@suse.com
CC 5yrnyk@myway.com, ancor@suse.com, dimstar@opensuse.org, ke@suse.com
Depends on 954357
Found By ---
Blocker ---

+++ This bug was initially created as a clone of Bug #954357 +++

When installing Leap 42.1 (or 13.2) with Ukrainian localization the page of
user account setup is skipped with error:

Details: malformed format string - %*[0-9]
Caller:
/usr/lib64/ruby/gems/2.1.0/gems/fast_gettext-0.9.2/lib/fast_gettext/vendor/string.rb:70:in
`%'

Other tried localizations show user account page correctly.
y2logs is attached

=============================================================================

 Karl Eichwalder 2015-11-10 17:36:40 CET

(In reply to Ancor Gonzalez Sosa from comment #5)
> Silly me! I was looking at Estonian .po file (et) and checking the effect in
> Greek language (el). But turns out el!=et. :-)
> 
> In Estonian it's not broken just because the translation is marked as fuzzy
> (so not included in the .mo file)... a missing translation that is not that
> obvious when you are staring at a Greek screen and you see no English text.
> :-D
> 
> So, in the end, it's a bug in the uk/users.po, as expected from the very
> beginning. So reassigning to translations.

Ok, thanks for debugging.  It would work better, if the ruby xgettext extractor
would add formatting markers as it does for other languages such as c or even
ycp:

#, c-format

#, ycp-format

I'm not sure whether that's a general issue or whether our yast xgettext
extractor just does not know about this.  Without such markers we are not
(easily) able to validate the translations -- we usually do this with msgfmt.


You are receiving this mail because: