diff --git a/app/views/shared/vue/_setting.html.erb b/app/views/shared/vue/_setting.html.erb index ed23cce..513c27e 100644 --- a/app/views/shared/vue/_setting.html.erb +++ b/app/views/shared/vue/_setting.html.erb @@ -15,7 +15,7 @@ - +
diff --git a/config/locales/translation_en.yml b/config/locales/translation_en.yml index 1af576b..9fad53e 100644 --- a/config/locales/translation_en.yml +++ b/config/locales/translation_en.yml @@ -34,6 +34,7 @@ en: cancel: Cancel create: Create update: Update & Restart + save: Save edit: Edit destroy: Destroy new: New diff --git a/config/locales/translation_ja.yml b/config/locales/translation_ja.yml index 51dcf07..0e77d10 100644 --- a/config/locales/translation_ja.yml +++ b/config/locales/translation_ja.yml @@ -34,6 +34,7 @@ ja: cancel: キャンセル create: 作成 update: 更新 + save: 保存 edit: 編集 destroy: 削除 new: 新規作成 diff --git a/spec/features/fluentd/setting/source_and_output_spec.rb b/spec/features/fluentd/setting/source_and_output_spec.rb index 5cb7d95..089cded 100644 --- a/spec/features/fluentd/setting/source_and_output_spec.rb +++ b/spec/features/fluentd/setting/source_and_output_spec.rb @@ -128,7 +128,7 @@ describe "source_and_output", js: true do page.should have_css('.input textarea') find('.input textarea').value.should == config_contents find('.input textarea').set new_config - find(".btn", text: I18n.t('terms.update')).click + find(".btn", text: I18n.t('terms.save')).click content = wait_until do page.evaluate_script("document.querySelector('.input pre').textContent") end