Godwin
7 years ago
2 changed files with 21 additions and 12 deletions
@ -1,13 +1,13 @@ |
|||||
= render :partial => 'application/header', :locals => {:image_file => 'runes.jpg'} |
= render partial: 'application/header', locals: {image_file: 'runes.jpg'} |
||||
= row do |
= row do |
||||
= columns(medium: 12) do |
= columns(medium: 12) do |
||||
%p= _'error.locale_not_available.description', :p, @main_title_vars |
%p= _'error.locale_not_available.description', :p, @main_title_vars |
||||
%ul.locales |
%ul.locales |
||||
- @alt_lang_urls.each do |locale, url| |
- (@alt_lang_urls || I18n.backend.enabled_locales.sort || [:en]).each do |locale, url| |
||||
%li |
%li |
||||
- locale_translation = language_name(locale, true) |
- locale_translation = language_name(locale, true) |
||||
%a.button{href: url, lang: locale} |
%a.button{href: url, lang: locale} |
||||
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale |
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale |
||||
%h2= _'error.locale_not_available.volunteer.title' |
%h2= _'error.locale_not_available.volunteer.title' |
||||
%p= _'error.locale_not_available.volunteer.description' |
%p= _'error.locale_not_available.volunteer.description' |
||||
= render 'contact', cancel_btn: false, contact_reason: :website, locale: :en |
= render 'contact', cancel_btn: false, contact_reason: :website, locale: :en |
||||
|
Loading…
Reference in new issue