Fixed deployment and added Spanish translations

This commit is contained in:
Godwin
2016-05-21 14:02:22 -07:00
parent 29235633a6
commit 1bf6faf54b
4 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
- if locale.to_s != I18n.locale.to_s # don't show the current locale
%li
- locale_translation = _("languages.#{locale}", locale: locale)
%a{href: url_for(params.merge(url_params(locale)))}
%a{href: url_for_locale(locale)}
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale
.copy
=_'links.footer.help_text.contributors', 'Who contributed to building this website' do |title|