Bug 979781 - Translation error in yast2-journal/yast2-trans-de
Summary: Translation error in yast2-journal/yast2-trans-de
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Translations (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Karl Eichwalder
QA Contact: Karl Eichwalder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-12 19:26 UTC by Björn Voigt
Modified: 2017-01-16 11:36 UTC (History)
1 user (show)

See Also:
Found By: ---
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 Björn Voigt 2016-05-12 19:26:22 UTC
The German translation of module yast2-journal contains an error:

msgid "Between %{since} and %{until}"
msgstr "Zwischen %{seit} und %{bis}"

"since" and "until" should not be translated. See this code:

/usr/share/YaST2/lib/systemd_journal/query_presenter.rb (yast2-journal)

        dates = {
          since: Yast::Builtins.strftime(interval[:since], TIME_FORMAT),
          until: Yast::Builtins.strftime(interval[:until], TIME_FORMAT)
        }
        _("Between %{since} and %{until}") % dates

The result is, that Yast2 Journal module shows "- Zwischen %{seit} und %{bin}" with the placeholders.

The right translation is:

msgid "Between %{since} and %{until}"
msgstr "Zwischen %{since} und %{until}"

I tested this successful.
Comment 1 Sarah Kriesch 2016-10-12 15:46:38 UTC
That's fixed in Weblate now. Thanks for the hint!
Comment 2 Karl Eichwalder 2017-01-16 11:35:52 UTC
Thanks for fixing!  Unfortunately, bug 980329 is still open.
Comment 3 Karl Eichwalder 2017-01-16 11:36:29 UTC
Sarah fixed it.