Skip to content

Commit

Permalink
fixed string substitution in a translated message
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 18, 2014
1 parent 41cf388 commit 57bc595
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package/yast2-nfs-client.changes
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 18 07:32:59 UTC 2014 - lslezak@suse.cz

- fixed string substitution in a translated message

-------------------------------------------------------------------
Fri Nov 7 17:00:31 CET 2014 - locilka@suse.com

Expand Down
2 changes: 1 addition & 1 deletion src/modules/NfsOptions.rb
Expand Up @@ -148,7 +148,7 @@ def validate(options)
if non_value_option?(key)
next if value.nil?
# To translators: error popup
error_message = _("Unexpected value '#{value}' for option '#{key}'") % { :value => value, :key => key }
error_message = _("Unexpected value '%{value}' for option '%{key}'") % { :value => value, :key => key }
# All unknown options
elsif ! OPTIONS_WITH_VALUE.include?(key)
# To translators: error popup
Expand Down

0 comments on commit 57bc595

Please sign in to comment.