translate hatstitle

This commit is contained in:
Carl Chenet 2018-10-20 13:15:57 +02:00
parent 1a697857c1
commit 2e0697d4a3
3 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@ class HatsController < ApplicationController
end
def index
@title = t('.hatstitle')
@title = I18n.t 'controllers.hats_controller.hatstitle'
@hat_groups = {}

View File

@ -2,9 +2,6 @@
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
hats:
index:
hatstitle: "Hats"
time:
formats:
default: "%Y-%m-%d %H:%M:%S"
@ -535,6 +532,8 @@ en:
filters_controller:
filterstitle: "Tag Filters"
flashfilterupdate: "Your filters have been updated."
hats_controller:
hatstitle: "Hats"
home_controller:
recenttitle: "Recent Stories"
abouttitle: "About"

View File

@ -553,6 +553,8 @@ fr:
filters_controller:
filterstitle: "Filtres"
flashfilterupdate: "Vos filtres ont été mis à jour."
hats_controller:
hatstitle: "Chapeaux"
home_controller:
recenttitle: "Infos récentes"
abouttitle: "À propos"