From 26a0492cbe6e383e4fe05476efe0a899ad8721f8 Mon Sep 17 00:00:00 2001 From: will Date: Tue, 25 Jan 2011 16:49:17 -0800 Subject: [PATCH] bug 4456: localized string replacement for networkoffering.jsp, pod.jsp - Standardized some vCenter naming conventions. --- .../classes/resources/messages.properties | 27 ++- ui/jsp/cluster.jsp | 6 +- ui/jsp/host.jsp | 4 +- ui/jsp/networkoffering.jsp | 64 ++++--- ui/jsp/pod.jsp | 157 ++++++++---------- 5 files changed, 129 insertions(+), 129 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index b5b4b0f5b36..755a0810d08 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -20,8 +20,8 @@ label.add.zone=Add Zone label.adding.zone=Adding Zone label.add.host=Add Host label.add.cluster=Add Cluster -label.add.primarystorage=Add Primary Storage -label.add.secondarystorage=Add Secondary Storage +label.add.primary.storage=Add Primary Storage +label.add.secondary.storage=Add Secondary Storage label.add.pod=Add Pod label.adding.pod=Adding Pod label.add.vlan=Add VLAN @@ -80,11 +80,12 @@ label.hypervisor=Hypervisor label.cluster.type=Cluster Type label.host.name=Host Name label.vcenter.datastore=vCenter Datastore -label.vcenter.address=vCenter Address +label.vcenter.host=vCenter Host label.vcenter.username=vCenter Username label.vcenter.password=vCenter Password label.vcenter.datacenter=vCenter Datacenter -label.vcenter.host=vCenter Host +label.vcenter.cluster=vCenter Cluster +label.esx.host=ESX/ESXi Host label.protocol=Protocol label.nfs=NFS label.iscsi=iSCSI @@ -100,6 +101,8 @@ label.allocated=Allocated label.private.ips=Private IP Addresses label.private.ip=Private IP Address label.guest.ip=Guest IP Address +label.guest.ip.range=Guest IP Range +label.guest.netmask=Guest Netmask label.memory.allocated=Memory Allocated label.memory.used=Memory Used label.cpu.allocated=CPU Allocated @@ -259,6 +262,18 @@ label.network.desc=Network Desc label.zone.wide=Zone-Wide label.account.specific=Account-Specific label.ip.range=IP Range +label.network.offering=Network Offering +label.availability=Availability +label.require=Required +label.optional=Optional +label.unavailable=Unavailable +label.specify.vlan=Specify VLAN +label.network.rate=Network Rate +label.by.availability=By Availability +label.by.traffic.type=By Traffic Type +label.private.ip.range=Private IP Range +label.cloud.managed=Cloud.com Managed +label.vsphere.managed=vSphere Managed label.lang.english=English label.lang.chinese=Chinese @@ -366,6 +381,10 @@ message.add.firewall=Add a firewall to zone message.add.load.balancer=Add a load balancer to zone message.add.ip.range.direct.network=Add an IP range to direct network in zone message.add.network=Add a new network for zone: +message.add.host=Add a host for zone , pod +message.add.cluster=Add a hypervisor managed cluster for zone , pod +message.add.primary.storage=Add a new Primary Storage for zone , pod +message.add.ip.range.to.pod=

Add an IP range to pod:

#Errors error.login=Your username/password does not match our records. diff --git a/ui/jsp/cluster.jsp b/ui/jsp/cluster.jsp index 5990af21dd7..94bbf19f32d 100644 --- a/ui/jsp/cluster.jsp +++ b/ui/jsp/cluster.jsp @@ -132,7 +132,7 @@
Add Primary Storage
@@ -177,7 +177,7 @@
  • + : @@ -205,7 +205,7 @@
  • + : diff --git a/ui/jsp/host.jsp b/ui/jsp/host.jsp index cb3e4e5e645..4e0b7fc59e1 100644 --- a/ui/jsp/host.jsp +++ b/ui/jsp/host.jsp @@ -684,7 +684,7 @@
  • + : @@ -712,7 +712,7 @@
  • + : diff --git a/ui/jsp/networkoffering.jsp b/ui/jsp/networkoffering.jsp index 0ad8d34350a..cd648c99e6e 100644 --- a/ui/jsp/networkoffering.jsp +++ b/ui/jsp/networkoffering.jsp @@ -1,13 +1,9 @@ - -<%@ page import="java.util.*" %> - -<%@ page import="com.cloud.utils.*" %> - -<% - Locale browserLocale = request.getLocale(); - CloudResourceBundle t = CloudResourceBundle.getBundle("resources/resource", browserLocale); -%> - +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> + + + +
    @@ -16,7 +12,7 @@ Network Offering

    - Network Offering +

    @@ -26,7 +22,7 @@
    - <%=t.t("details")%>
    +
    (title)
    -
    - <%=t.t("ID")%>:
    + :
    @@ -69,7 +65,7 @@
    - <%=t.t("name")%>:
    + :
    @@ -81,7 +77,7 @@
    - <%=t.t("display.text")%>:
    + :
    @@ -94,15 +90,15 @@
    - Availability:
    + :
    @@ -110,7 +106,7 @@
    - Is Default:
    + :
    @@ -121,7 +117,7 @@
    - Specify VLAN:
    + :
    @@ -132,7 +128,7 @@
    - Network Rate:
    + :
    @@ -143,7 +139,7 @@
    - Traffic Type:
    + :
    @@ -153,8 +149,8 @@
    - - + +
    @@ -169,15 +165,15 @@
    1. + :
    2. + :
    3. + :
    4. + :
    5. + :
    6. + :
    7. + :
    8. + : @@ -355,7 +342,7 @@

      - Adding....

      + ....

    @@ -371,14 +358,13 @@