From ce653cc7823c8d40f79e3f4891c9f525cda8d192 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 14 Feb 2012 17:09:22 -0800 Subject: [PATCH] cloudstack 3.0 new UI - system page - localize network providers section. --- client/WEB-INF/classes/resources/messages.properties | 1 - client/WEB-INF/classes/resources/messages_ja.properties | 4 ---- ui/scripts/system.js | 5 +++-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index a3dffd16944..00090fa0d81 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -1380,4 +1380,3 @@ error.menu.select=Unable to perform action due to no items being selected. error.mgmt.server.inaccessible=The Management Server is unaccessible. Please try again later. error.session.expired=Your session has expired. error.unresolved.internet.name=Your internet name cannot be resolved. - diff --git a/client/WEB-INF/classes/resources/messages_ja.properties b/client/WEB-INF/classes/resources/messages_ja.properties index 67217b246c9..362305e6eb6 100644 --- a/client/WEB-INF/classes/resources/messages_ja.properties +++ b/client/WEB-INF/classes/resources/messages_ja.properties @@ -1581,7 +1581,3 @@ error.menu.select=項目が選択されていないため操作を実行でき error.mgmt.server.inaccessible=管理サーバーにアクセスできません。後で再実行してください。 error.session.expired=セッションの有効期限が切れました。 error.unresolved.internet.name=インターネット名を解決できません。 - - - - diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 98a80ca3b3f..408c66193ae 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1634,7 +1634,7 @@ }, tabs: { details: { - title: 'label.details', + title: 'label.details', preFilter: function(args) { var hiddenFields = []; if(selectedZoneObj.networktype == "Basic") { @@ -1898,6 +1898,7 @@ physicalnetworkid: { label: 'label.physical.network.ID' }, destinationphysicalnetworkid: { label: 'label.destination.physical.network.id' }, supportedServices: { label: 'label.supported.services' } + } ], dataProvider: function(args) { @@ -3206,7 +3207,7 @@ } } }, - show: cloudStack.uiCustom.physicalResources({ + show: cloudStack.uiCustom.physicalResources({//Jes sections: { physicalResources: { type: 'select',