Clean up fluentd setting translation

This commit is contained in:
uu59 2014-07-28 16:55:13 +09:00
parent 6f992553bc
commit 5e38563cfd
5 changed files with 10 additions and 28 deletions

View File

@ -1,3 +1,3 @@
- page_title t('.page_title')
= render partial: "form", locals: { btn: t(".update"), url: daemon_path(@fluentd), method: :patch }
= render partial: "form", locals: { btn: t("terms.update"), url: daemon_path(@fluentd), method: :patch }

View File

@ -1,3 +1,3 @@
- page_title t('.page_title')
= render partial: "form", locals: { btn: t(".create"), url: daemon_path, method: :post }
= render partial: "form", locals: { btn: t("terms.create"), url: daemon_path, method: :post }

View File

@ -4,4 +4,4 @@
%div.form-group
= text_area_tag "config", @config, class: "form-control", rows: 40
%p.text.text-danger= t('terms.notice_restart_for_config_edit', brand: fluentd_ui_brand)
= submit_tag t(".update"), class: "btn btn-primary"
= submit_tag t("terms.update"), class: "btn btn-primary"

View File

@ -70,9 +70,8 @@ en:
show:
page_title: Password
fluentd: &fluentd
common: &fluentd_common
<<: *terms
fluentd:
common:
start: Start
stop: Stop
restart: Restart
@ -99,20 +98,16 @@ en:
Delete %{brand} setting.
<p>Running %{brand} will be stopped, but log and config file are still exists.</p>
form:
<<: *fluentd_common
show:
page_title: Dashboard
new:
<<: *fluentd_common
page_title: New
edit:
<<: *fluentd_common
page_title: Edit
log:
page_title: log
errors:
page_title: エラーログ
page_title: Error log
error_is_empty: No errors
settings:
source_and_output:
@ -123,7 +118,7 @@ en:
page_title: Config File
in_out_head: In/Out setting
edit:
<<: *fluentd_common
page_title: Edit Config File
out_forward:
option_guide: |
For each config parameter, pelase refer to the <a href="http://docs.fluentd.org/articles/out_forward" target="_blank">Forward output plugin</a> documentation page.
@ -154,7 +149,6 @@ en:
in_tail_option_guide: |
For each config parameter, pelase refer to the <a href="http://docs.fluentd.org/articles/in_tail" target="_blank">Tail iutput plugin</a> documentation page.
in_tail:
<<: *fluentd_common
restart_from_first: Restart from first
grok_manual: |
<p>
@ -193,16 +187,12 @@ en:
</tr>
</table>
show:
<<: *fluentd_common
page_title: "Choose File Path"
after_file_choose:
<<: *fluentd_common
page_title: "Select File Format"
after_format:
<<: *fluentd_common
page_title: "Config Parameters"
confirm:
<<: *fluentd_common
page_title: "Confirmation"
misc:

View File

@ -48,7 +48,6 @@ ja:
plugins:
view_on_rubygems_org: rubygems.orgで見る
common:
<<: *terms
name: プラグイン名
status: 状態
authors: 作者
@ -71,9 +70,8 @@ ja:
show:
page_title: パスワード管理
fluentd: &fluentd
common: &fluentd_common
<<: *terms
fluentd:
common:
start: 開始
stop: 停止
restart: 再起動
@ -99,15 +97,11 @@ ja:
%{brand}の設定を削除します。
<p>起動中の%{brand}は停止し、ログや設定ファイルはそのまま残存します。</p>
form:
<<: *fluentd_common
show:
page_title: "ダッシュボード"
new:
<<: *fluentd_common
page_title: 追加
edit:
<<: *fluentd_common
page_title: 編集
log:
page_title: ログ
@ -115,7 +109,6 @@ ja:
page_title: エラーログ
error_is_empty: エラーはありません
settings:
<<: *fluentd_common
source_and_output:
page_title: ソースと出力先の追加
in: 入力
@ -123,7 +116,7 @@ ja:
show:
page_title: 設定ファイルの編集
edit:
<<: *fluentd_common
page_title: 設定ファイルの編集
out_forward:
option_guide: |
<a target="_blank" href="http://docs.fluentd.org/ja/articles/out_forward">out_forwardプラグインの解説</a>もご参照ください。
@ -157,7 +150,6 @@ ja:
<a target="_blank" href="http://docs.fluentd.org/ja/articles/in_tail">in_tailプラグインの解説ページ</a>や
<a target="_blank" href="http://fluentular.herokuapp.com/">Fluentular</a>もご参照ください。
in_tail:
<<: *fluentd_common
restart_from_first: 最初からやり直す
grok_manual: |
<p>