Skip to content

Commit

Permalink
Merge pull request #577 from yast/translation_fix
Browse files Browse the repository at this point in the history
Translation fix (bsc#1038077)
  • Loading branch information
lslezak committed May 18, 2017
2 parents 7b26e54 + c0ea04e commit 81bb533
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/packages/src/lib/packages/update_messages_view.rb
Expand Up @@ -20,8 +20,8 @@ def initialize(messages)
#
# @return [String] Richtext representation of the list of messages
def richtext
text = "<h1>#{_("Packages notifications")}</h1>\n" \
"<p>#{_("You have notifications from the following packages:")}</p>"
text = "<h1>" + _("Packages notifications") + "</h1>\n<p>" \
+ _("You have notifications from the following packages:") + "</p>"
text << richtext_toc(@messages) if @messages.size > 1
text << @messages.map { |m| message_to_richtext(m) }.join("<hr>")
end
Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 18 13:35:05 UTC 2017 - lslezak@suse.cz

- Translation fix: Ruby gettext cannot extract translatable texts
from interpolated strings (bsc#1038077)
- 3.2.30

-------------------------------------------------------------------
Tue May 16 12:04:40 UTC 2017 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 3.2.29
Version: 3.2.30
Release: 0
Summary: YaST2 - Main Package
License: GPL-2.0
Expand Down

0 comments on commit 81bb533

Please sign in to comment.