Internationalize Views::Layout templates
This commit is contained in:
@@ -21,3 +21,5 @@ en:
|
|||||||
previous: Previous
|
previous: Previous
|
||||||
precious/views/latest_changes:
|
precious/views/latest_changes:
|
||||||
title: Latest Changes (Globally)
|
title: Latest Changes (Globally)
|
||||||
|
precious/views/layout:
|
||||||
|
title: Home
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ module Precious
|
|||||||
end
|
end
|
||||||
|
|
||||||
def title
|
def title
|
||||||
"Home"
|
t[:title]
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_path
|
def has_path
|
||||||
@@ -58,11 +58,11 @@ module Precious
|
|||||||
def js # custom js
|
def js # custom js
|
||||||
@js
|
@js
|
||||||
end
|
end
|
||||||
|
|
||||||
def critic_markup
|
def critic_markup
|
||||||
@critic_markup
|
@critic_markup
|
||||||
end
|
end
|
||||||
|
|
||||||
def per_page_uploads
|
def per_page_uploads
|
||||||
@per_page_uploads
|
@per_page_uploads
|
||||||
end
|
end
|
||||||
@@ -75,19 +75,19 @@ module Precious
|
|||||||
def search
|
def search
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
def history
|
def history
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
def overview
|
def overview
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
def latest_changes
|
def latest_changes
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user