Skip to content

Commit f58cec8

Browse files
committed
bug 13702
Fix missing labels for instance state/actions
1 parent 86ce1b0 commit f58cec8

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎client/WEB-INF/classes/resources/messages.properties‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#new labels (begin) **********************************************************************************************
2+
state.Stopping=Stopping
23
message.add.load.balancer.under.ip=The load balancer rule has been added under IP:
34
message.select.instance=Please select an instance.
45
label.select=Select

‎client/WEB-INF/classes/resources/messages_ja.properties‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#new labels (begin) **********************************************************************************************
2+
state.Stopping=停止
23
message.add.load.balancer.under.ip=ロードバランサのルールは、IPの下に追加されました。
34
message.select.instance=インスタンスを選択してください。
45
label.select=選択する

‎ui/index.jsp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,7 @@
16141614

16151615
<script language="javascript">
16161616
dictionary = {
1617+
'state.Stopping': '<fmt:message key="state.Stopping"/>',
16171618
'message.add.load.balancer.under.ip': '<fmt:message key="message.add.load.balancer.under.ip"/>',
16181619
'message.select.instance': '<fmt:message key="message.select.instance"/>',
16191620
'label.select': '<fmt:message key="label.select"/>',

‎ui/scripts/instances.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@
560560
return 'message.action.start.instance';
561561
},
562562
notification: function(args) {
563-
return 'message.notification.start.instance';
563+
return 'label.action.start.instance';
564564
}
565565
},
566566
notification: {
@@ -611,7 +611,7 @@
611611
},
612612

613613
notification: function(args) {
614-
return 'message.notification.stop.instance';
614+
return 'label.action.stop.instance';
615615
}
616616
},
617617
notification: {
@@ -647,7 +647,7 @@
647647
return 'message.action.reboot.instance';
648648
},
649649
notification: function(args) {
650-
return 'message.notification.reboot.instance';
650+
return 'instances.actions.reboot.label';
651651
}
652652
},
653653
notification: {

0 commit comments

Comments
 (0)