Bug 1071756 - yast2-apparmor: translation / english string export broken?
yast2-apparmor: translation / english string export broken?
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Current
Other openSUSE 42.2
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
Jiri Srain
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-07 12:54 UTC by Christian Boltz
Modified: 2017-12-07 13:49 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!