mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-06 03:16:11 +02:00
Fix text: terms.update -> terms.save
This commit is contained in:
parent
dce4a046eb
commit
b94cc5eadb
@ -15,7 +15,7 @@
|
||||
<button v-if="mode == 'default'" class="btn btn-default" v-on="click: onEdit"><%= t('terms.edit') %></button>
|
||||
<button v-if="mode == 'default'" class="btn btn-danger" v-on="click: onDelete"><%= t('terms.destroy') %></button>
|
||||
<button v-if="mode != 'default'" class="btn btn-default" v-on="click: onCancel"><%= t('terms.cancel') %></button>
|
||||
<button v-if="mode == 'edit'" class="btn btn-primary" v-on="click: onSubmit"><%= t('terms.update') %></button>
|
||||
<button v-if="mode == 'edit'" class="btn btn-primary" v-on="click: onSubmit"><%= t('terms.save') %></button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -34,6 +34,7 @@ en:
|
||||
cancel: Cancel
|
||||
create: Create
|
||||
update: Update & Restart
|
||||
save: Save
|
||||
edit: Edit
|
||||
destroy: Destroy
|
||||
new: New
|
||||
|
||||
@ -34,6 +34,7 @@ ja:
|
||||
cancel: キャンセル
|
||||
create: 作成
|
||||
update: 更新
|
||||
save: 保存
|
||||
edit: 編集
|
||||
destroy: 削除
|
||||
new: 新規作成
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user