Skip to content

Commit

Permalink
hunt down translations #31
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Oct 7, 2020
1 parent d3eb274 commit f4d988d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/controllers/admin/site_settings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,35 @@ def set_site_setting
def site_setting_params
params.require(:site_setting).permit(:key, :value, :image)
end

# i18n-tasks-use t('site_settings.about_us.default')
# i18n-tasks-use t('site_settings.about_us.help')
# i18n-tasks-use t('site_settings.copyright_notice.default')
# i18n-tasks-use t('site_settings.copyright_notice.help')
# i18n-tasks-use t('site_settings.courses_general.default')
# i18n-tasks-use t('site_settings.courses_general.help')
# i18n-tasks-use t('site_settings.explanation.default')
# i18n-tasks-use t('site_settings.explanation.help')
# i18n-tasks-use t('site_settings.favicon-apple-touch.help')
# i18n-tasks-use t('site_settings.favicon-png.help')
# i18n-tasks-use t('site_settings.favicon.help')
# i18n-tasks-use t('site_settings.impressum.default')
# i18n-tasks-use t('site_settings.impressum.help')
# i18n-tasks-use t('site_settings.intro.default')
# i18n-tasks-use t('site_settings.intro.help')
# i18n-tasks-use t('site_settings.intro_background.help')
# i18n-tasks-use t('site_settings.logo.help')
# i18n-tasks-use t('site_settings.news_line.help')
# i18n-tasks-use t('site_settings.payment_details.default')
# i18n-tasks-use t('site_settings.payment_details.help')
# i18n-tasks-use t('site_settings.privacy_statement.default')
# i18n-tasks-use t('site_settings.privacy_statement.help')
# i18n-tasks-use t('site_settings.register_cta.default')
# i18n-tasks-use t('site_settings.register_cta.help')
# i18n-tasks-use t('site_settings.terms.default')
# i18n-tasks-use t('site_settings.terms.help')
# i18n-tasks-use t('site_settings.title.help')
# i18n-tasks-use t('site_settings.trial_period_cta.default')
# i18n-tasks-use t('site_settings.trial_period_cta.help')
# i18n-tasks-use t('site_settings.your_name.help')
end
3 changes: 3 additions & 0 deletions app/views/admin/places/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@

%p
%b
# i18n-tasks-use t('activerecord.attributes.place.name')
= Place.human_attribute_name :name
\:
= @place.name
%p
# i18n-tasks-use t('activerecord.attributes.place.building_name')
%b= Place.human_attribute_name :building_name
= @place.building_name
%p
# i18n-tasks-use t('activerecord.attributes.place.note')
%b= Place.human_attribute_name :note
= @place.note

Expand Down

0 comments on commit f4d988d

Please sign in to comment.