Skip to content

Commit

Permalink
katello - fix gettext wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Chalupa committed Jun 20, 2012
1 parent f264ae3 commit 20e138c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/models/glue/provider.rb
Expand Up @@ -183,13 +183,13 @@ def queue_import_manifest zip_file_path, options

if options[:notify]
message = if AppConfig.katello?
"Subscription manifest uploaded successfully for provider '%s'. " +
_("Subscription manifest uploaded successfully for provider '%s'. " +
"Please enable the repositories you want to sync by selecting 'Enable Repositories' and " +
"selecting individual repositories to be enabled."
"selecting individual repositories to be enabled.")
else
"Subscription manifest uploaded successfully for provider '%s'."
_("Subscription manifest uploaded successfully for provider '%s'.")
end
notice _(message) % self.name,
notice message % self.name,
:synchronous_request => false, :request_type => 'providers__update_redhat_provider'
end
return true
Expand Down

0 comments on commit 20e138c

Please sign in to comment.