Simplify the text of pool edit button

Change the text from "Edit Pool" to "Edit", so all the resource edit
buttons looks the same.

Change-Id: I4d0c2b61d6310ea0414f7864991154c7e661d922
This commit is contained in:
Jacky Hu 2017-11-19 19:41:34 +08:00
parent d84210567c
commit 84586f0bc5
7 changed files with 2 additions and 17 deletions

View File

@ -376,9 +376,6 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "Bearbeiten" msgstr "Bearbeiten"
msgid "Edit Pool"
msgstr "Pool bearbeiten"
msgid "Error" msgid "Error"
msgstr "Fehler" msgstr "Fehler"

View File

@ -387,9 +387,6 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "Edit" msgstr "Edit"
msgid "Edit Pool"
msgstr "Edit Pool (edit kolam)"
msgid "Error" msgid "Error"
msgstr "Error (kesalahan)" msgstr "Error (kesalahan)"

View File

@ -210,9 +210,6 @@ msgstr "ロードバランサー:%sからFloating IP アドレスの割り当て
msgid "Edit" msgid "Edit"
msgstr "編集" msgstr "編集"
msgid "Edit Pool"
msgstr "プールの編集"
msgid "Error" msgid "Error"
msgstr "エラー" msgstr "エラー"

View File

@ -317,9 +317,6 @@ msgstr "Отвязать Назначаемый IP"
msgid "Edit" msgid "Edit"
msgstr "Редактировать" msgstr "Редактировать"
msgid "Edit Pool"
msgstr "Редактировать пул"
msgid "Error" msgid "Error"
msgstr "Ошибка" msgstr "Ошибка"

View File

@ -352,9 +352,6 @@ msgstr ""
msgid "Edit" msgid "Edit"
msgstr "编辑" msgstr "编辑"
msgid "Edit Pool"
msgstr "编辑资源池"
msgid "Error" msgid "Error"
msgstr "错误" msgstr "错误"

View File

@ -67,7 +67,7 @@
return [{ return [{
service: editService.init(loadBalancerIsActionable).edit, service: editService.init(loadBalancerIsActionable).edit,
template: { template: {
text: gettext('Edit Pool') text: gettext('Edit')
} }
},{ },{
service: createService.init(loadbalancerId, listenerId, loadBalancerIsActionable).create, service: createService.init(loadbalancerId, listenerId, loadBalancerIsActionable).create,

View File

@ -36,7 +36,7 @@
it('should define correct table row actions', function() { it('should define correct table row actions', function() {
expect(actions.length).toBe(3); expect(actions.length).toBe(3);
expect(actions[0].template.text).toBe('Edit Pool'); expect(actions[0].template.text).toBe('Edit');
expect(actions[1].template.text).toBe('Create Health Monitor'); expect(actions[1].template.text).toBe('Create Health Monitor');
expect(actions[2].template.text).toBe('Delete Pool'); expect(actions[2].template.text).toBe('Delete Pool');
}); });