add translation for terms of use frontpage ui
This commit is contained in:
parent
1124d6d239
commit
2d492f29ed
|
@ -17,7 +17,7 @@ class FrontController < ApplicationController
|
||||||
@url = "/#{@name}" if @name.present?
|
@url = "/#{@name}" if @name.present?
|
||||||
|
|
||||||
if (!@site.enable_terms_of_use && @page.first.present?)
|
if (!@site.enable_terms_of_use && @page.first.present?)
|
||||||
render :text => (@site.footer + "<a href='#{@url}'>Terms of Use</a>")
|
render :text => (@site.footer + "<a href='#{@url}'>#{t(:terms_of_use)}</a>")
|
||||||
else
|
else
|
||||||
render :text => @site.footer
|
render :text => @site.footer
|
||||||
end
|
end
|
||||||
|
|
|
@ -488,6 +488,7 @@ en:
|
||||||
template: Template
|
template: Template
|
||||||
templates: Templates
|
templates: Templates
|
||||||
template_name: Template name
|
template_name: Template name
|
||||||
|
terms_of_use: Terms of Use
|
||||||
text: Text
|
text: Text
|
||||||
theme: Theme
|
theme: Theme
|
||||||
themes: Themes
|
themes: Themes
|
||||||
|
|
|
@ -490,6 +490,7 @@ zh_tw:
|
||||||
template: 樣版
|
template: 樣版
|
||||||
templates: 網站模版
|
templates: 網站模版
|
||||||
template_name: 樣版名稱
|
template_name: 樣版名稱
|
||||||
|
terms_of_use: 使用規則
|
||||||
text: 內文
|
text: 內文
|
||||||
theme: 套用頁面樣式
|
theme: 套用頁面樣式
|
||||||
themes: 主題
|
themes: 主題
|
||||||
|
|
Loading…
Reference in New Issue