Style canges and enabled Spanish

This commit is contained in:
Godwin
2016-05-15 12:51:50 -07:00
parent 13541537cc
commit 6ad06697c5
180 changed files with 568 additions and 59627 deletions
+2 -2
View File
@@ -13,9 +13,9 @@
-I18n.backend.enabled_locales.each do |locale|
- if locale.to_s != I18n.locale.to_s # don't show the current locale
%li
- locale_translation = I18n.t("languages.#{locale}", locale: locale, context: I18n.t("languages.#{locale}"))
- locale_translation = _("languages.#{locale}", locale: locale)
%a{href: url_for(params.merge(url_params(locale)))}
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {locale: locale_translation}
=_'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|
=link_to :humans_txt, {title: title} do