mirror of https://github.com/apache/cloudstack.git
Missing detail view widget localization
This commit is contained in:
parent
11fa99493a
commit
ec3ec924b6
|
|
@ -1,5 +1,7 @@
|
|||
#new labels (begin) **********************************************************************************************
|
||||
#cloudstack 3.0 (begin) ********************************************************************************************
|
||||
changed.item.properties=変更された項目のプロパティ
|
||||
label.apply=適用される
|
||||
label.default=デフォルト
|
||||
label.viewing=表示
|
||||
label.move.to.top=トップに移動
|
||||
|
|
@ -76,6 +78,7 @@ message.create.template=あなたがテンプレートを作成してもよろ
|
|||
label.create.template=テンプレートを作成する
|
||||
message.download.volume.confirm=あなたはこのボリュームをダウンロードすることを確認してください。
|
||||
message.detach.disk=あなたは、このディスクをデタッチしてもよろしいですか?
|
||||
state.ready=レディ
|
||||
state.Ready=レディ
|
||||
label.vm.display.name=VMの表示名
|
||||
label.select-view=ビューを選択します。
|
||||
|
|
|
|||
|
|
@ -1845,6 +1845,7 @@ dictionary = {
|
|||
'label.select.a.template': '<fmt:message key="label.select.a.template"/>',
|
||||
'label.setup': '<fmt:message key="label.setup"/>',
|
||||
'state.Allocated': '<fmt:message key="state.Allocated"/>',
|
||||
|
||||
'changed.item.properties': '<fmt:message key="changed.item.properties"/>',
|
||||
'label.apply': '<fmt:message key="label.apply"/>',
|
||||
'label.default': '<fmt:message key="label.default"/>',
|
||||
|
|
|
|||
|
|
@ -287,6 +287,7 @@
|
|||
var $inputs = $detailView.find('input, select');
|
||||
var action = args.actions[args.actionName];
|
||||
var id = $detailView.data('view-args').id;
|
||||
|
||||
var $editButton = $('<div>').addClass('button done').html(_l('label.apply')).hide();
|
||||
var $cancelButton = $('<div>').addClass('button cancel').html(_l('label.cancel')).hide();
|
||||
|
||||
|
|
@ -309,8 +310,10 @@
|
|||
else if ($input.is('input[type=checkbox]')) {
|
||||
var val = $input.is(':checked');
|
||||
|
||||
|
||||
$value.data('detail-view-boolean-value', _s(val));
|
||||
$value.html(_s(val) ? _l('label.yes') : _l('label.no'));
|
||||
|
||||
}
|
||||
else if ($input.is('select')) {
|
||||
$value.html(_s(
|
||||
|
|
|
|||
Loading…
Reference in New Issue