-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to remove the link text "Share to>" from buttons? #36
Comments
There looks like not have I18n file You need: rails generate social_share_button:install |
Thanks for your prompt answer huacnlee but what your are saying doesn't make sense, because i've done that, i've done every step in the read me of the gem and i still have the social button with the text "share to>" at the end of it. Would you pleaase help me on that? how can i remove it? thanks, and i don't know why this it's closed when that wasn't the solution =/ |
What is you Rails locale config application.rb config.i18n.default_locale = "en" social-share-button just only have 3 I18n files: |
Thank you!!! that was the proper solution to my problem!! I was using an "es" language, that's why i was having a wrong behavior, the only thing that i have to do is create a file named like this example with this content and everything works great: social_share_button.es.ymles: IMHO i think that this could be in the readme for the ones that creates pages in other languages. Many thanks :D |
Thank you to @pablosalgadom to provide the trick, i also use 'es' and i had the same problem. I think that @huacnlee could add this to the readme to help the users of the gem. |
Hello everyone,
I'm using this gem but when the icons link to share have a text "Share to>" and i don't know to remove, i've tryed removing line "share_to: Share to %{name}" from the "social_share_button.en.yml" but nothing happens.
I also look into the javascript file, but it isn't there, can someone help me on this?
Thank you!
The text was updated successfully, but these errors were encountered: