Bug 1151236 - Translation and language issues
Summary: Translation and language issues
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-09 20:42 UTC by Göran Uddeborg
Modified: 2017-12-12 10:14 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:14:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Göran Uddeborg 2014-10-09 20:42:18 UTC
I probably should have reported these upstreams, but I'm not sure exactly where that would be.  So I try here, and hope it can be forwarded.

While translating policycoreutils for F21, we found the following incorrect messages.

> msgid "Module does not exists %s "

That would be "exist" unless I'm mistaken.  And maybe the intention was to put a colon after "exist"?

> "In some distributions it is included in the policycoreutils-devel patckage.\n"

A spurious "t" in "package".

> msgid "Determine whether can antivirus programs use JIT compiler."

The word "can" is probably better places after "programs".  And maybe a "the" (or "a"?) before "JIT"?

> msgid "Allow unprivledged user to create and transition to svirt domains."

A missing "i" in "unpriviledged.

> msgid "To disable this transition, go to the "

Checking the code, this seems to come from a construct like this:

_("To disable this transition, go to the " + markup % _("Boolean section."))

But the argument to this call of _() will never be only the string "To disable this transition, go to the ", and thus this message will never appear translated.  It could be fixed by ending the call after "the".  Usually however, it's not a good idea to programatically compose messages in this way if you want them to be translatable.  A better approach could be to have the complete message, but %s substitution for the markup.

_("To disable this transition, go to the %sBoolean section.%s" % markup

where "markup" would be something like the tuple

('<span foreground="blue"><u>','</u></span>')

Comment 1 Anders Jonsson 2014-10-09 20:55:41 UTC
(In reply to Göran Uddeborg from comment #0)
> 
> > msgid "Allow unprivledged user to create and transition to svirt domains."
> 
> A missing "i" in "unpriviledged.
> 

Now that I look closer I see that there is one more typo in that word, the correct spelling is "unprivileged".

Comment 2 Anders Jonsson 2015-03-22 17:21:09 UTC
Saw one more string that could be improved in policycoreutils: 

#: ../sepolicy/sepolicy/sepolicy.glade:3894
#: ../sepolicy/sepolicy/sepolicy.glade:3911
#: ../sepolicy/sepolicy/sepolicy.glade:3974
An permissive domain is a process label[...]


^ Here it should start with "A permissive domain"

Comment 3 Fedora End Of Life 2015-11-04 13:02:26 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Göran Uddeborg 2015-11-06 19:23:18 UTC
Most of these problems remain in policycoreutils-2.4-10.fc23.x86_64 in F23.  (I do not find the "To disable …" and "An permissive …" strings in the current catalog.)

Comment 5 Fedora End Of Life 2016-11-24 11:15:19 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Göran Uddeborg 2016-11-29 12:53:30 UTC
The following incorrect messages still remain:

"Module does not exists %s "

"In some distributions it is included in the policycoreutils-devel patckage.\n"

"Determine whether can antivirus programs use JIT compiler."

"An permissive domain is a process label that allows the process to do what "


In addition, the following string still has the problem explained in comment 0:

"To disable this transition, go to the "

Comment 7 Vit Mojzis 2016-12-12 14:53:22 UTC
Thank you for reporting, fix has been accepted upstream and will be released to Fedora shortly.
For more information on the patch, please see:
https://github.com/fedora-selinux/selinux/pull/32

Comment 8 Göran Uddeborg 2017-10-07 11:52:45 UTC
It seems something failed in the release.  Checking the current version on Zanata, all the issues in comment 6 remain.

Comment 9 Fedora End Of Life 2017-11-16 19:17:10 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 10 Göran Uddeborg 2017-11-20 15:42:01 UTC
The code in the package looks correct now.  The translation files have not incorporated the changes.  I'll file a case in github about that, but this particular bugzilla can be closed.

Comment 11 Fedora End Of Life 2017-12-12 10:14:37 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.