Bug 1071756

Summary: yast2-apparmor: translation / english string export broken?
Product: [openSUSE] openSUSE Tumbleweed Reporter: Christian Boltz <suse-beta>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: igonzalezsosa
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE 42.2   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Boltz 2017-12-07 12:54:33 UTC
https://l10n.opensuse.org/translate/yast-apparmor/master/de/?type=todo&offset=1 (URL might change if someone does translations) asks to translate the string

    Profile for  generated

Note that there are two spaces after "for", and that the text doesn't make too much sense - there's something missing.

That string comes from
https://github.com/yast/yast-apparmor/blob/master/src/lib/apparmor/genprof.rb#L32
but it's different there:

    Profile for #{@program} generated

That makes more sense ;-)

Can you please check where and why it broke? ;-)
Comment 1 Imobach Gonzalez Sosa 2017-12-07 13:49:08 UTC
Hi Christian,

Yes, you are right, it is wrong. We've fixed that problem (and a similar one) so yast2-apparmor should fix the issue: https://github.com/yast/yast-apparmor/pull/23

On the other hand, it looks like it was introduced when adding support to genprof and when adding a logprof interface.

Thanks!