Style canges and enabled Spanish
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
= inject_css!
|
||||
- (@stylesheets || []).each do |css|
|
||||
= inject_css! css
|
||||
= stylesheet_link_tag 'i18n-debug' if request.params['i18nDebug']
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'shortcut icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('favicon.ico'), rel: 'icon', type: 'image/x-icon' }
|
||||
%link{ href: asset_path('apple-touch-icon.png'), rel: 'apple-touch-icon' }
|
||||
@@ -36,7 +37,6 @@
|
||||
#content=yield
|
||||
- else
|
||||
= yield
|
||||
= yield :garbage
|
||||
#footer
|
||||
%footer= render 'shared/footer'
|
||||
- if content_for?(:footer_scripts)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user