Commit 2e0697d4 authored by Carl Chenet's avatar Carl Chenet

translate hatstitle

parent 1a697857
......@@ -10,7 +10,7 @@ class HatsController < ApplicationController
end
def index
@title = t('.hatstitle')
@title = I18n.t 'controllers.hats_controller.hatstitle'
@hat_groups = {}
......
......@@ -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"
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment