diff options
author | Dennis Schubert <mail@dennis-schubert.de> | 2016-04-21 07:50:13 +0300 |
---|---|---|
committer | Dennis Schubert <mail@dennis-schubert.de> | 2016-04-21 07:50:57 +0300 |
commit | d6171e53c33fc04f09556f2b69488c2dd2d84728 (patch) | |
tree | 00827bae80e85202641305c0e757eb18bca2a983 /app/helpers | |
parent | b0e608aa38a9997c63b8ce067e892c4de0cff438 (diff) | |
parent | b9cf5995b81dd7f28dc327db21131276486520e5 (diff) |
Merge pull request #6778 from Zauberstuhl/facebook_review_changes
Changes for my successful facebook reviews
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/publisher_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/publisher_helper.rb b/app/helpers/publisher_helper.rb index 3935bc52c..1e7e326a9 100644 --- a/app/helpers/publisher_helper.rb +++ b/app/helpers/publisher_helper.rb @@ -12,9 +12,12 @@ module PublisherHelper end def service_button(service) + provider_title = I18n.t( + "services.index.share_to", + provider: service.provider.titleize) content_tag :div, class: "btn btn-link service_icon dim", - title: "#{service.provider.titleize} (#{service.nickname})", + title: "#{provider_title} (#{service.nickname})", id: "#{service.provider}", maxchar: "#{service.class::MAX_CHARACTERS}", data: {toggle: "tooltip", placement: "bottom"} do |