Skip to content

Commit

Permalink
Translation fix (bsc#1038077)
Browse files Browse the repository at this point in the history
Ruby gettext cannot extract translatable texts
from interpolated strings.
  • Loading branch information
lslezak committed May 19, 2017
1 parent 85be658 commit 1c141c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/connect_helpers_spec.rb
Expand Up @@ -11,7 +11,7 @@
details = _("Make sure that the registration server is reachable and\n" \
"the connection is reliable.")
expect(Yast::Report).to receive(:Error).with(
"Registration: #{_("Connection time out.")}\n\n\nDetails: #{details}"
"Registration: " + _("Connection time out.") + "\n\n\nDetails: #{details}"
)

helpers.catch_registration_errors(message_prefix: "Registration: ") do
Expand Down

0 comments on commit 1c141c7

Please sign in to comment.