From 12db8ca6133732dd91a507d651fa2469da97cfcf Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Sun, 3 Oct 2010 19:31:56 -0700 Subject: [PATCH] new UI - accounts page - localize resource limits dialog, disable account dialog, lock account dialog, enable account dialog. --- .../classes/resources/resource.properties | 10 +++++++ ui/new/jsp/account.jsp | 26 ++++++++++++------- ui/new/scripts/cloud.core2.account.js | 24 +++-------------- ui/new/scripts/cloud.core2.instance.js | 10 ++----- ui/new/scripts/cloud.core2.js | 23 +++++++++++----- 5 files changed, 49 insertions(+), 44 deletions(-) diff --git a/client/WEB-INF/classes/resources/resource.properties b/client/WEB-INF/classes/resources/resource.properties index 53a3f177047..8b1c06f5ec1 100644 --- a/client/WEB-INF/classes/resources/resource.properties +++ b/client/WEB-INF/classes/resources/resource.properties @@ -24,4 +24,14 @@ the.ISO.is.used.by.all.zones.please.confirm.you.want.to.delete.it.from.all.zones please.confirm.you.want.to.delete.the.ISO = Please confirm you want to delete the ISO the.template.is.used.by.all.zones.please.confirm.you.want.to.delete.it.from.all.zones = The template is used by all zones. Please confirm you want to delete it from all zones. please.confirm.you.want.to.delete.the.template = Please confirm you want to delete the template +please.specify.limits.to.the.various.resources.-1.means.the.resource.has.no.limits = Please specify limits to the various resources. -1 means the resource has no limits. +instance.limit = Instance Limit +public.ip.limit = Public IP Limit +disk.volume.limit = Disk Volume Limit +snapshot.limit = Snapshot Limit +template.limit = Template Limit +please.confirm.you.want.to.disable.account.that.will.prevent.account.access.to.the.cloud.and.shut.down.all.existing.virtual.machines = Please confirm you want to disable account that will prevent account access to the cloud and shut down all existing virtual machines. +please.confirm.you.want.to.lock.account.that.will.prevent.account.access.to.the.cloud = Please confirm you want to lock account that will prevent account access to the cloud. +please.confirm.you.want.to.enable.account = Please confirm you want to enable account. + diff --git a/ui/new/jsp/account.jsp b/ui/new/jsp/account.jsp index 9b39eddd060..99446c9aed3 100644 --- a/ui/new/jsp/account.jsp +++ b/ui/new/jsp/account.jsp @@ -142,32 +142,34 @@