Add ja-translatoin

This commit is contained in:
鳥井 雪 2015-02-04 13:03:26 +09:00
parent dc35729c74
commit 526d28e996
3 changed files with 13 additions and 7 deletions

View File

@ -16,7 +16,7 @@
.row
.col-xs-12
%h2
="Target Config(#{params[:id]})"
="#{t('.target_config')}(#{params[:id]})"
%pre
= preserve do
= @backup_file.content
@ -24,10 +24,8 @@
.col-xs-12.diff
%h2
Diff:
%p
diff between
= " "
= link_to "current conf", daemon_setting_path(@fluentd)
= " and "
= "target conf(#{params[:id]})"
%div
= t(".diff_discription", file_name: params[:id] )
%div.pull-right
= link_to t(".show_current"), daemon_setting_path(@fluentd)
= preserve render "diff"

View File

@ -261,6 +261,10 @@ en:
page_title: "Setting Histories"
show:
page_title: "Reuse Setting History"
target_config: "Target Config"
current_config: "Current Config"
diff_discription: "diff between current config and target config(%{file_name})"
show_current: "> see current config"
running_backup:
title: "Running Config"
show:

View File

@ -266,6 +266,10 @@ ja:
page_title: "設定履歴 | 一覧"
show:
page_title: "設定履歴 | 詳細"
target_config: "対象設定"
current_config: "現在の設定"
diff_discription: "現在の設定と対象設定(%{file_name})の差分"
show_current: "> 現在の設定を見る"
running_backup:
title: "使用中の設定"
show: