translate hatstitle
This commit is contained in:
parent
1a697857c1
commit
2e0697d4a3
|
@ -10,7 +10,7 @@ class HatsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@title = t('.hatstitle')
|
@title = I18n.t 'controllers.hats_controller.hatstitle'
|
||||||
|
|
||||||
@hat_groups = {}
|
@hat_groups = {}
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
||||||
|
|
||||||
en:
|
en:
|
||||||
hats:
|
|
||||||
index:
|
|
||||||
hatstitle: "Hats"
|
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
default: "%Y-%m-%d %H:%M:%S"
|
default: "%Y-%m-%d %H:%M:%S"
|
||||||
|
@ -535,6 +532,8 @@ en:
|
||||||
filters_controller:
|
filters_controller:
|
||||||
filterstitle: "Tag Filters"
|
filterstitle: "Tag Filters"
|
||||||
flashfilterupdate: "Your filters have been updated."
|
flashfilterupdate: "Your filters have been updated."
|
||||||
|
hats_controller:
|
||||||
|
hatstitle: "Hats"
|
||||||
home_controller:
|
home_controller:
|
||||||
recenttitle: "Recent Stories"
|
recenttitle: "Recent Stories"
|
||||||
abouttitle: "About"
|
abouttitle: "About"
|
||||||
|
|
|
@ -553,6 +553,8 @@ fr:
|
||||||
filters_controller:
|
filters_controller:
|
||||||
filterstitle: "Filtres"
|
filterstitle: "Filtres"
|
||||||
flashfilterupdate: "Vos filtres ont été mis à jour."
|
flashfilterupdate: "Vos filtres ont été mis à jour."
|
||||||
|
hats_controller:
|
||||||
|
hatstitle: "Chapeaux"
|
||||||
home_controller:
|
home_controller:
|
||||||
recenttitle: "Infos récentes"
|
recenttitle: "Infos récentes"
|
||||||
abouttitle: "À propos"
|
abouttitle: "À propos"
|
||||||
|
|
Loading…
Reference in a new issue