mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
locales: Fixing wrong labels (#383)
Fixes incorrect labels as well as add new ones to en.json. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
231ba0f457
commit
37c7db48d3
@ -29,6 +29,7 @@
|
||||
"inline": "Inline",
|
||||
"label.about": "About",
|
||||
"label.about.app": "About CloudStack",
|
||||
"label.accept": "Accept",
|
||||
"label.accept.project.invitation": "Accept project invitation",
|
||||
"label.access": "Access",
|
||||
"label.accesskey": "Access Key",
|
||||
@ -429,9 +430,9 @@
|
||||
"label.available.public.ips": "Available Public IP Addresses",
|
||||
"label.back": "Back",
|
||||
"label.backup": "Backups",
|
||||
"label.backup.offerings": "Backup Offerings",
|
||||
"label.backup.offering.assign": "Assign VM to backup offering",
|
||||
"label.backup.offering.remove": "Remove VM from backup offering",
|
||||
"label.backup.offerings": "Backup Offerings",
|
||||
"label.backup.restore": "Restore VM Backup",
|
||||
"label.backupofferingid": "Backup Offering",
|
||||
"label.balance": "Balance",
|
||||
@ -705,7 +706,6 @@
|
||||
"label.dns1": "DNS 1",
|
||||
"label.dns2": "DNS 2",
|
||||
"label.domain": "Domain",
|
||||
"label.domains": "Domain",
|
||||
"label.domain.details": "Domain details",
|
||||
"label.domain.name": "Domain Name",
|
||||
"label.domain.router": "Domain router",
|
||||
@ -948,12 +948,12 @@
|
||||
"label.installwizard.subtitle": "This tour will aid you in setting up your CloudStack™ installation",
|
||||
"label.installwizard.title": "Hello and Welcome to CloudStack™",
|
||||
"label.instance": "Instance",
|
||||
"label.instance.groups": "Instance Groups",
|
||||
"label.instance.name": "Instance Name",
|
||||
"label.instance.scaled.up": "Instance scaled to the requested offering",
|
||||
"label.instancename": "Internal name",
|
||||
"label.instanceport": "Instance Port",
|
||||
"label.instances": "Instances",
|
||||
"label.instance.groups": "Instance Groups",
|
||||
"label.instanciate.template.associate.profile.blade": "Instanciate Template and Associate Profile to Blade",
|
||||
"label.intermediate.certificate": "Intermediate certificate {0}",
|
||||
"label.internal.dns.1": "Internal DNS 1",
|
||||
@ -1020,6 +1020,7 @@
|
||||
"label.iso.id": "ISO ID",
|
||||
"label.iso.name": "ISO name",
|
||||
"label.isoid": "ISO",
|
||||
"label.isolated": "Isolated",
|
||||
"label.isolated.networks": "Isolated networks",
|
||||
"label.isolatedpvlanid": "Secondary Isolated VLAN ID",
|
||||
"label.isolatedpvlantype": "Secondary Isolated VLAN Type",
|
||||
@ -1069,6 +1070,7 @@
|
||||
"label.kubernetesversionid": "Kubernetes version",
|
||||
"label.kubernetesversionname": "Kubernetes version",
|
||||
"label.kvmnetworklabel": "KVM Traffic Label",
|
||||
"label.l2": "L2",
|
||||
"label.l2gatewayserviceuuid": "L2 Gateway Service Uuid",
|
||||
"label.l3gatewayserviceuuid": "L3 Gateway Service Uuid",
|
||||
"label.label": "Label",
|
||||
@ -1393,6 +1395,8 @@
|
||||
"label.patp": "Palo Alto Threat Profile",
|
||||
"label.pavr": "Virtual Router",
|
||||
"label.pcidevice": "GPU",
|
||||
"label.per.account": "Per Account",
|
||||
"label.per.zone": "Per Zone",
|
||||
"label.perfectforwardsecrecy": "Perfect Forward Secrecy",
|
||||
"label.performfreshchecks": "Perform fresh checks",
|
||||
"label.permission": "Permission",
|
||||
@ -1427,6 +1431,7 @@
|
||||
"label.portableipaddress": "Portable IPs",
|
||||
"label.portforwarding": "Port Forwarding",
|
||||
"label.powerstate": "Power State",
|
||||
"label.preferred": "Prefered",
|
||||
"label.presetup": "PreSetup",
|
||||
"label.prev": "Prev",
|
||||
"label.previous": "Previous",
|
||||
@ -1470,6 +1475,9 @@
|
||||
"label.providers": "Providers",
|
||||
"label.provisioning": "Provisioning",
|
||||
"label.provisioningtype": "Provisioning Type",
|
||||
"label.provisioningtype.fat": "Fat Provisioning",
|
||||
"label.provisioningtype.sparse": "Sparse Provisioning",
|
||||
"label.provisioningtype.thin": "Thin Provisioning",
|
||||
"label.public.interface": "Public Interface",
|
||||
"label.public.ip": "Public IP Address",
|
||||
"label.public.ip.addresses": "Public IP Addresses",
|
||||
@ -1491,7 +1499,6 @@
|
||||
"label.quiescevm": "Quiesce VM",
|
||||
"label.quiettime": "Quiet Time (in sec)",
|
||||
"label.quota": "Quota",
|
||||
"label.quota.value": "Quota Value",
|
||||
"label.quota.add.credits": "Add Credits",
|
||||
"label.quota.configuration": "Quota Configuration",
|
||||
"label.quota.configure": "Configure Quota",
|
||||
@ -1515,6 +1522,7 @@
|
||||
"label.quota.tariff.effectivedate": "Effective Date",
|
||||
"label.quota.totalusage": "Total Usage",
|
||||
"label.quota.usage": "Quota Consumption",
|
||||
"label.quota.value": "Quota Value",
|
||||
"label.rados.monitor": "RADOS Monitor",
|
||||
"label.rados.pool": "RADOS Pool",
|
||||
"label.rados.secret": "RADOS Secret",
|
||||
@ -1540,6 +1548,7 @@
|
||||
"label.region": "Region",
|
||||
"label.region.details": "Region details",
|
||||
"label.reinstall.vm": "Reinstall VM",
|
||||
"label.reject": "Reject",
|
||||
"label.related": "Related",
|
||||
"label.relationaloperator": "Operator",
|
||||
"label.release.account": "Release from Account",
|
||||
@ -1668,6 +1677,7 @@
|
||||
"label.secondaryips": "Secondary IPs",
|
||||
"label.secondarystoragelimit": "Secondary Storage limits (GiB)",
|
||||
"label.secretkey": "Secret Key",
|
||||
"label.secured": "Secured",
|
||||
"label.security.group.name": "Security Group Name",
|
||||
"label.security.groups": "Security Groups",
|
||||
"label.security.groups.enabled": "Security Groups Enabled",
|
||||
@ -1817,6 +1827,7 @@
|
||||
"label.storagepool": "Storage Pool",
|
||||
"label.storagetags": "Storage Tags",
|
||||
"label.storagetype": "Storage Type",
|
||||
"label.strict": "Strict",
|
||||
"label.subdomainaccess": "Subdomain Access",
|
||||
"label.submit": "Submit",
|
||||
"label.submitted.by": "[Submitted by: <span id=\"submitted_by\"></span>]",
|
||||
|
||||
@ -177,11 +177,11 @@
|
||||
<div>{{ item.macaddress }}</div>
|
||||
</div>
|
||||
<div class="attribute" v-if="item.ipaddress">
|
||||
<div class="label">{{ $t('label.ip.address') }}</div>
|
||||
<div class="label">{{ $t('label.ipaddress') }}</div>
|
||||
<div>{{ item.ipaddress }}</div>
|
||||
</div>
|
||||
<div class="attribute" v-if="item.secondaryip && item.secondaryip.length > 0 && item.type !== 'L2'">
|
||||
<div class="label">{{ $t('label.secondary.ips') }}</div>
|
||||
<div class="label">{{ $t('label.secondaryips') }}</div>
|
||||
<div>{{ item.secondaryip.map(x => x.ipaddress).join(', ') }}</div>
|
||||
</div>
|
||||
<div class="attribute" v-if="item.netmask">
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<div v-if="this.clusterConfig !== ''">
|
||||
<a-textarea :value="this.clusterConfig" :rows="5" readonly />
|
||||
<div :span="24" class="action-button">
|
||||
<a-button @click="downloadKubernetesClusterConfig" type="primary">{{ this.$t('label.download') }}</a-button>
|
||||
<a-button @click="downloadKubernetesClusterConfig" type="primary">{{ this.$t('label.download.kubernetes.cluster.config') }}</a-button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
</a-tooltip>
|
||||
<a-tooltip placement="top">
|
||||
<template slot="title">
|
||||
{{ $t('label.delete.ssl.certificate') }}
|
||||
{{ $t('label.delete.sslcertificate') }}
|
||||
</template>
|
||||
<a-button
|
||||
type="danger"
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
v-decorator="['url', {
|
||||
rules: [{ required: true, message: 'Please upload an ISO' }]
|
||||
}]"
|
||||
:placeholder="$t('label.iso.url.description')" />
|
||||
:placeholder="apiParams.url.description" />
|
||||
</a-form-item>
|
||||
<a-form-item v-if="currentForm === 'Upload'" :label="$t('label.templatefileupload')">
|
||||
<a-upload-dragger
|
||||
@ -56,7 +56,7 @@
|
||||
v-decorator="['name', {
|
||||
rules: [{ required: true, message: 'Please enter input' }]
|
||||
}]"
|
||||
:placeholder="$t('label.iso.name.description')" />
|
||||
:placeholder="apiParams.name.description" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item :label="$t('label.displaytext')">
|
||||
@ -64,7 +64,7 @@
|
||||
v-decorator="['displaytext', {
|
||||
rules: [{ required: true, message: 'Please enter input' }]
|
||||
}]"
|
||||
:placeholder="$t('label.iso.displaytext.description')" />
|
||||
:placeholder="apiParams.displaytext.description" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item v-if="allowed && currentForm !== 'Upload'" :label="$t('label.directdownload')">
|
||||
@ -88,7 +88,7 @@
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
}"
|
||||
:loading="zoneLoading"
|
||||
:placeholder="$t('label.iso.zoneid.description')">
|
||||
:placeholder="apiParams.zoneid.description">
|
||||
<a-select-option :value="opt.id" v-for="opt in zones" :key="opt.id">
|
||||
<div v-if="currentForm === 'Upload'">
|
||||
<div v-if="opt.name !== $t('label.all.zone')">
|
||||
@ -123,7 +123,7 @@
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
}"
|
||||
:loading="osTypeLoading"
|
||||
:placeholder="$t('label.iso.ostypeid.description')">
|
||||
:placeholder="apiParams.ostypeid.description">
|
||||
<a-select-option :value="opt.description" v-for="(opt, optIndex) in osTypes" :key="optIndex">
|
||||
{{ opt.name || opt.description }}
|
||||
</a-select-option>
|
||||
@ -196,6 +196,11 @@ export default {
|
||||
},
|
||||
beforeCreate () {
|
||||
this.form = this.$form.createForm(this)
|
||||
this.apiConfig = this.$store.getters.apis.registerIso || {}
|
||||
this.apiParams = {}
|
||||
this.apiConfig.params.forEach(param => {
|
||||
this.apiParams[param.name] = param
|
||||
})
|
||||
},
|
||||
created () {
|
||||
this.zones = [
|
||||
|
||||
@ -205,7 +205,7 @@
|
||||
]
|
||||
}]"
|
||||
:loading="rootDisk.loading"
|
||||
:placeholder="$t('label.rootdiskcontroller')">
|
||||
:placeholder="$t('label.rootdiskcontrollertype')">
|
||||
<a-select-option v-for="opt in rootDisk.opts" :key="opt.id">
|
||||
{{ opt.name || opt.description }}
|
||||
</a-select-option>
|
||||
@ -224,7 +224,7 @@
|
||||
]
|
||||
}]"
|
||||
:loading="rootDisk.loading"
|
||||
:placeholder="$t('label.rootdiskcontroller')">
|
||||
:placeholder="$t('label.rootdiskcontrollertype')">
|
||||
<a-select-option v-for="opt in rootDisk.opts" :key="opt.id">
|
||||
{{ opt.name || opt.description }}
|
||||
</a-select-option>
|
||||
|
||||
@ -80,11 +80,11 @@ export default {
|
||||
this.states = [
|
||||
{
|
||||
id: 'Enabled',
|
||||
name: this.$t('label.enabled')
|
||||
name: this.$t('state.enabled')
|
||||
},
|
||||
{
|
||||
id: 'Disabled',
|
||||
name: this.$t('label.disabled')
|
||||
name: this.$t('state.disabled')
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -152,15 +152,15 @@
|
||||
</a-form-item>
|
||||
</div>
|
||||
<div v-if="this.protocolSelected === 'RBD'">
|
||||
<a-form-item :label="$t('label.radosmonitor')">
|
||||
<a-form-item :label="$t('label.rados.monitor')">
|
||||
<a-input v-decorator="['radosmonitor']" />
|
||||
</a-form-item><a-form-item :label="$t('label.radospool')">
|
||||
</a-form-item><a-form-item :label="$t('label.rados.pool')">
|
||||
<a-input v-decorator="['radospool']" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.radosuser')">
|
||||
<a-input v-decorator="['radosuser']" />
|
||||
<a-form-item :label="$t('label.rados.user')">
|
||||
<a-input v-decorator="['rados.user']" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.radossecret')">
|
||||
<a-form-item :label="$t('label.rados.secret')">
|
||||
<a-input v-decorator="['radossecret']" />
|
||||
</a-form-item>
|
||||
</div>
|
||||
|
||||
@ -75,11 +75,11 @@
|
||||
|
||||
<template v-if="selectedClusterHyperVisorType === 'Ovm3'">
|
||||
<div class="form__item">
|
||||
<div class="form__label">{{ $t('label.agentusername') }}</div>
|
||||
<div class="form__label">{{ $t('label.agent.username') }}</div>
|
||||
<a-input v-model="agentusername"></a-input>
|
||||
</div>
|
||||
<div class="form__item required-field">
|
||||
<div class="form__label"><span class="required">* </span>{{ $t('label.agentpassword') }}</div>
|
||||
<div class="form__label"><span class="required">* </span>{{ $t('label.agent.password') }}</div>
|
||||
<span class="required required-label">Required</span>
|
||||
<a-input type="password" v-model="agentpassword"></a-input>
|
||||
</div>
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
</a-list-item>
|
||||
<a-list-item v-if="host.outofbandmanagement">
|
||||
<div>
|
||||
<strong>{{ $t('label.oobm') }}</strong>
|
||||
<strong>{{ $t('label.outofbandmanagement') }}</strong>
|
||||
<div>
|
||||
{{ host.outofbandmanagement.enabled }}
|
||||
</div>
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
}"
|
||||
:loading="zoneLoading"
|
||||
:placeholder="this.$t('label..zoneid')"
|
||||
:placeholder="this.$t('label.zoneid')"
|
||||
@change="val => { this.handleZoneChange(this.zones[val]) }">
|
||||
<a-select-option v-for="(opt, optIndex) in this.zones" :key="optIndex">
|
||||
{{ opt.name || opt.description }}
|
||||
|
||||
@ -100,17 +100,17 @@
|
||||
{{ $t('label.community') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="isolated">
|
||||
{{ $t('label.isolated') }}
|
||||
{{ $t('label.secondary.isolated.vlan.type.isolated') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="promiscuous">
|
||||
{{ $t('label.promiscuous') }}
|
||||
{{ $t('label.secondary.isolated.vlan.type.promiscuous') }}
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.isolatedpvlan')" v-if="this.isolatePvlanType=='community' || this.isolatePvlanType=='isolated'">
|
||||
<a-form-item :label="$t('label.isolatedpvlanid')" v-if="this.isolatePvlanType=='community' || this.isolatePvlanType=='isolated'">
|
||||
<a-input
|
||||
v-decorator="['isolatedpvlan', {}]"
|
||||
:placeholder="this.$t('label.isolatedpvlan')"/>
|
||||
:placeholder="this.$t('label.isolatedpvlanid')"/>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.scope')">
|
||||
<a-radio-group
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
@change="handleTierSelect"
|
||||
>
|
||||
<a-select-option key="all" value="">
|
||||
{{ $t('label.show.all') }}
|
||||
{{ $t('label.view.all') }}
|
||||
</a-select-option>
|
||||
<a-select-option v-for="network in networksList" :key="network.id" :value="network.id">
|
||||
{{ network.name }}
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
</template>
|
||||
<a-collapse-panel :header="$t('label.instances')" key="vm" :style="customStyle">
|
||||
<a-button icon="plus" type="dashed" style="margin-bottom: 15px; width: 100%" @click="$router.push({ path: '/action/deployVirtualMachine?networkid=' + network.id })">
|
||||
{{ $t('label.add.instance') }}
|
||||
{{ $t('label.vm.add') }}
|
||||
</a-button>
|
||||
<a-table
|
||||
class="table"
|
||||
|
||||
@ -75,13 +75,13 @@
|
||||
buttonStyle="solid"
|
||||
@change="selected => { this.handleProvisioningTypeChange(selected.target.value) }">
|
||||
<a-radio-button value="thin">
|
||||
{{ $t('label.thin') }}
|
||||
{{ $t('label.provisioningtype.thin') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="sparse">
|
||||
{{ $t('label.sparse') }}
|
||||
{{ $t('label.provisioningtype.sparse') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="fat">
|
||||
{{ $t('label.fat') }}
|
||||
{{ $t('label.provisioningtype.fat') }}
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
|
||||
@ -59,13 +59,13 @@
|
||||
buttonStyle="solid"
|
||||
@change="selected => { this.handleProvisioningTypeChange(selected.target.value) }">
|
||||
<a-radio-button value="thin">
|
||||
{{ $t('label.thin') }}
|
||||
{{ $t('label.provisioningtype.thin') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="sparse">
|
||||
{{ $t('label.sparse') }}
|
||||
{{ $t('label.provisioningtype.sparse') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="fat">
|
||||
{{ $t('label.fat') }}
|
||||
{{ $t('label.provisioningtype.fat') }}
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
|
||||
@ -197,31 +197,31 @@
|
||||
}]"
|
||||
buttonStyle="solid">
|
||||
<a-radio-button value="peraccount">
|
||||
{{ $t('label.peraccount') }}
|
||||
{{ $t('label.per.account') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="perzone">
|
||||
{{ $t('label.perzone') }}
|
||||
{{ $t('label.per.zone') }}
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.lb.elasticlb')" v-if="this.guestType == 'shared' && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-form-item :label="$t('label.service.lb.elasticlbcheckbox')" v-if="this.guestType == 'shared' && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-switch v-decorator="['elasticlb', {initialValue: false}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.lb.inlinemode')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.firewallServiceChecked && this.lbServiceProvider === 'F5BigIp' && this.firewallServiceProvider === 'JuniperSRX'">
|
||||
<a-form-item :label="$t('label.service.lb.inlinemodedropdown')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.firewallServiceChecked && this.lbServiceProvider === 'F5BigIp' && this.firewallServiceProvider === 'JuniperSRX'">
|
||||
<a-radio-group
|
||||
v-decorator="['inlinemode', {
|
||||
initialValue: 'false'
|
||||
}]"
|
||||
buttonStyle="solid">
|
||||
<a-radio-button value="false">
|
||||
{{ $t('label.side.by.side') }}
|
||||
{{ $t('side.by.side') }}
|
||||
</a-radio-button>
|
||||
<a-radio-button value="true">
|
||||
{{ $t('label.inline') }}
|
||||
{{ $t('inline') }}
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.lb.netscaler.service.packages')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-form-item :label="$t('label.service.lb.netscaler.servicepackages')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-select
|
||||
v-decorator="['netscalerservicepackages', {}]"
|
||||
showSearch
|
||||
@ -230,18 +230,18 @@
|
||||
return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
||||
}"
|
||||
:loading="registeredServicePackageLoading"
|
||||
:placeholder="this.$t('label.netscaler.service.packages')">
|
||||
:placeholder="this.$t('label.service.lb.netscaler.servicepackages')">
|
||||
<a-select-option v-for="(opt, optIndex) in this.registeredServicePackages" :key="optIndex">
|
||||
{{ opt.name || opt.description }}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.lb.netscaler.service.packages.description')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-form-item :label="$t('label.service.lb.netscaler.servicepackages.description')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && this.lbServiceChecked && this.lbServiceProvider === 'Netscaler'">
|
||||
<a-input
|
||||
v-decorator="['netscalerservicepackagesdescription', {}]"
|
||||
:placeholder="this.$t('label.netscaler.service.packages.description')"/>
|
||||
:placeholder="this.$t('label.service.lb.netscaler.servicepackages.description')"/>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.lb.lbisolation')" v-show="false">
|
||||
<a-form-item :label="$t('label.service.lb.lbisolationdropdown')" v-show="false">
|
||||
<a-radio-group
|
||||
v-decorator="['isolation', {
|
||||
initialValue: 'dedicated'
|
||||
@ -255,16 +255,16 @@
|
||||
</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.staticnat.elasticip')" v-if="this.guestType == 'shared' && this.staticNatServiceChecked && this.staticNatServiceProvider === 'Netscaler'">
|
||||
<a-form-item :label="$t('label.service.staticnat.elasticipcheckbox')" v-if="this.guestType == 'shared' && this.staticNatServiceChecked && this.staticNatServiceProvider === 'Netscaler'">
|
||||
<a-switch v-decorator="['elasticip', {initialValue: this.isElasticIp}]" :defaultChecked="this.isElasticIp" @change="val => { this.isElasticIp = val }" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.staticnat.associatepublicip')" v-if="this.isElasticIp && this.staticNatServiceChecked && this.staticNatServiceProvider === 'Netscaler'">
|
||||
<a-switch v-decorator="['associatepublicip', {initialValue: false}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.connectivity.supportsstrechedl2subnet')" v-if="this.connectivityServiceChecked">
|
||||
<a-form-item :label="$t('label.supportsstrechedl2subnet')" v-if="this.connectivityServiceChecked">
|
||||
<a-switch v-decorator="['supportsstrechedl2subnet', {initialValue: false}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.service.connectivity.supportspublicaccess')" v-show="false">
|
||||
<a-form-item :label="$t('label.supportspublicaccess')" v-show="false">
|
||||
<a-switch v-decorator="['supportspublicaccess', {initialValue: false}]" />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.conservemode')" v-if="(this.guestType === 'shared' || this.guestType === 'isolated') && !this.isVpcVirtualRouterForAtLeastOneService">
|
||||
@ -273,7 +273,7 @@
|
||||
<a-form-item :label="$t('label.tags')">
|
||||
<a-input
|
||||
v-decorator="['tags', {}]"
|
||||
:placeholder="this.$t('label.networktags')"/>
|
||||
:placeholder="this.$t('label.tags')"/>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.availability')" v-if="this.requiredNetworkOfferingExists && this.guestType === 'isolated' && this.sourceNatServiceChecked">
|
||||
<a-radio-group
|
||||
|
||||
@ -52,10 +52,10 @@
|
||||
</a-list>
|
||||
</div>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.regionlevelvpc')" v-if="this.connectivityServiceChecked">
|
||||
<a-form-item :label="$t('label.service.connectivity.regionlevelvpccapabilitycheckbox')" v-if="this.connectivityServiceChecked">
|
||||
<a-switch v-decorator="['regionlevelvpc', {initialValue: true}]" defaultChecked />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.distributedrouter')" v-if="this.connectivityServiceChecked">
|
||||
<a-form-item :label="$t('label.service.connectivity.distributedroutercapabilitycheckbox')" v-if="this.connectivityServiceChecked">
|
||||
<a-switch v-decorator="['distributedrouter', {initialValue: true}]" defaultChecked />
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.redundantrouter')" v-if="this.sourceNatServiceChecked">
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
v-decorator="['projectid', {
|
||||
rules: [{ required: true, message: 'Please enter input' }]
|
||||
}]"
|
||||
:placeholder="$t('label.project.projectid.description')"
|
||||
:placeholder="apiParams.projectid.description"
|
||||
/>
|
||||
</a-form-item>
|
||||
<a-form-item :label="$t('label.token')">
|
||||
@ -35,7 +35,7 @@
|
||||
v-decorator="['token', {
|
||||
rules: [{ required: true, message: 'Please enter input' }]
|
||||
}]"
|
||||
:placeholder="$t('label.project.token.description')"
|
||||
:placeholder="apiParams.token.description"
|
||||
/>
|
||||
</a-form-item>
|
||||
<div class="card-footer">
|
||||
@ -55,6 +55,11 @@ export default {
|
||||
name: 'InvitationTokenTemplate',
|
||||
beforeCreate () {
|
||||
this.form = this.$form.createForm(this)
|
||||
this.apiConfig = this.$store.getters.apis.updateProjectInvitation || {}
|
||||
this.apiParams = {}
|
||||
this.apiConfig.params.forEach(param => {
|
||||
this.apiParams[param.name] = param
|
||||
})
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
||||
@ -123,15 +123,15 @@ export default {
|
||||
scopedSlots: { customRender: 'state' },
|
||||
filters: [
|
||||
{
|
||||
text: this.$t('label.pending'),
|
||||
text: this.$t('state.pending'),
|
||||
value: 'Pending'
|
||||
},
|
||||
{
|
||||
text: this.$t('label.completed'),
|
||||
text: this.$t('state.completed'),
|
||||
value: 'Completed'
|
||||
},
|
||||
{
|
||||
text: this.$t('label.declined'),
|
||||
text: this.$t('state.declined'),
|
||||
value: 'Declined'
|
||||
}
|
||||
],
|
||||
|
||||
@ -61,7 +61,7 @@
|
||||
<a-input
|
||||
v-decorator="['size', {
|
||||
rules: [{ required: true, message: 'Please enter custom disk size' }]}]"
|
||||
:placeholder="$t('label.enter.size.in.gb')"/>
|
||||
:placeholder="$t('label.disksize')"/>
|
||||
</a-form-item>
|
||||
</span>
|
||||
<div :span="24" class="action-button">
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
initialValue: selectedDiskOfferingId,
|
||||
rules: [{ required: true, message: 'Please select an option' }]}]"
|
||||
:loading="loading"
|
||||
:placeholder="$t('label.offering.type')"
|
||||
:placeholder="$t('label.diskoffering')"
|
||||
@change="id => (customDiskOffering = offerings.filter(x => x.id === id)[0].iscustomized || false)"
|
||||
>
|
||||
<a-select-option
|
||||
@ -39,7 +39,7 @@
|
||||
<a-input
|
||||
v-decorator="['size', {
|
||||
rules: [{ required: true, message: 'Please enter size in GB' }]}]"
|
||||
:placeholder="$t('label.enter.size')"/>
|
||||
:placeholder="$t('label.disksize')"/>
|
||||
</a-form-item>
|
||||
</div>
|
||||
<a-form-item :label="$t('label.shrinkok')">
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
<div slot="action" class="account-button-action" slot-scope="text, record">
|
||||
<a-tooltip placement="top">
|
||||
<template slot="title">
|
||||
{{ $t('label.delete.schedule') }}
|
||||
{{ $t('label.delete') }}
|
||||
</template>
|
||||
<a-button
|
||||
type="danger"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user