Bug 979781

Summary: Translation error in yast2-journal/yast2-trans-de
Product: [openSUSE] openSUSE Tumbleweed Reporter: Björn Voigt <bjoernv>
Component: TranslationsAssignee: Karl Eichwalder <ke>
Status: RESOLVED FIXED QA Contact: Karl Eichwalder <ke>
Severity: Normal    
Priority: P5 - None CC: ada.lovelace
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.