Internationalize Views::Layout templates

This commit is contained in:
benjamin wil
2021-12-30 16:06:31 -08:00
parent f90e7a81b8
commit 1548034a06
2 changed files with 9 additions and 7 deletions
+2
View File
@@ -21,3 +21,5 @@ en:
previous: Previous
precious/views/latest_changes:
title: Latest Changes (Globally)
precious/views/layout:
title: Home
+7 -7
View File
@@ -20,7 +20,7 @@ module Precious
end
def title
"Home"
t[:title]
end
def has_path
@@ -58,11 +58,11 @@ module Precious
def js # custom js
@js
end
def critic_markup
@critic_markup
end
def per_page_uploads
@per_page_uploads
end
@@ -75,19 +75,19 @@ module Precious
def search
false
end
def history
false
end
def overview
false
end
def latest_changes
false
end
end
end
end