locales: migrate old keys to new keys

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-05-31 11:05:43 +05:30
parent 2f02da1c95
commit 14f0beb25c
7 changed files with 19 additions and 19 deletions

View File

@ -90,7 +90,7 @@
<a-collapse-panel :header="'Network Adapter(s): ' + (vm && vm.nic ? vm.nic.length : 0)" key="3" >
<a-button type="primary" @click="showAddModal" :loading="loadingNic">
<a-icon type="plus"></a-icon> {{ $t('label.network.addVM') }}
<a-icon type="plus"></a-icon> {{ $t('label.network.addvm') }}
</a-button>
<a-divider class="divider-small" />
<a-list
@ -141,7 +141,7 @@
@click="fetchSecondaryIPs(item.id)" />
</a-tooltip>
<a-popconfirm
:title="$t('message.network.removeNIC')"
:title="$t('message.network.removenic')"
@confirm="removeNIC(item)"
okText="Yes"
cancelText="No"
@ -204,10 +204,10 @@
<a-modal
:visible="showAddNetworkModal"
:title="$t('label.network.addVM')"
:title="$t('label.network.addvm')"
@cancel="closeModals"
@ok="submitAddNetwork">
{{ $t('message.network.addVM.desc') }}
{{ $t('message.network.addvm.desc') }}
<div class="modal-form">
<p class="modal-form__label">{{ $t('label.network') }}:</p>
@ -231,7 +231,7 @@
@cancel="closeModals"
@ok="submitUpdateIP"
>
{{ $t('message.network.updateIp') }}
{{ $t('message.network.updateip') }}
<div class="modal-form">
<p class="modal-form__label">{{ $t('label.publicip') }}:</p>
@ -248,7 +248,7 @@
class="wide-modal"
>
<p>
{{ $t('message.network.secondaryIP') }}
{{ $t('message.network.secondaryip') }}
</p>
<a-divider />
<a-input placeholder="Enter new secondary IP address" v-model="newSecondaryIp"></a-input>

View File

@ -71,7 +71,7 @@
<a-modal
v-if="'copyIso' in $store.getters.apis"
style="top: 20px;"
:title="$t('label.action.copy.ISO')"
:title="$t('label.action.copy.iso')"
:visible="showCopyActionForm"
:closable="true"
@ok="handleCopyIsoSubmit"
@ -226,7 +226,7 @@ export default {
api('deleteIso', params).then(json => {
const jobId = json.deleteisoresponse.jobid
this.$store.dispatch('AddAsyncJob', {
title: this.$t('label.action.delete.ISO'),
title: this.$t('label.action.delete.iso'),
jobid: jobId,
description: this.resource.name,
status: 'progress'
@ -289,7 +289,7 @@ export default {
api('copyIso', params).then(json => {
const jobId = json.copytemplateresponse.jobid
this.$store.dispatch('AddAsyncJob', {
title: this.$t('label.action.copy.ISO'),
title: this.$t('label.action.copy.iso'),
jobid: jobId,
description: this.resource.name,
status: 'progress'

View File

@ -73,7 +73,7 @@
}
]
}]"
:placeholder="$t('label.start.IP')"
:placeholder="$t('label.start.ip')"
/>
</a-form-item>
<a-form-item :style="{ display: 'inline-block', width: '14%' }">
@ -90,7 +90,7 @@
message: 'Please enter a valid IPv4 address.'
}]
}]"
:placeholder="$t('label.end.IP')"
:placeholder="$t('label.end.ip')"
/>
</a-form-item>
<a-form-item :style="{ display: 'inline-block', width: '14%' }">
@ -117,7 +117,7 @@
@cancel="() => { showError = false }"
centered
>
<span>{{ $t('message.required.add.least.IP') }}</span>
<span>{{ $t('message.required.add.least.ip') }}</span>
</a-modal>
</div>
</template>
@ -166,12 +166,12 @@ export default {
width: 120
},
{
title: this.$t('label.start.IP'),
title: this.$t('label.start.ip'),
dataIndex: 'startIp',
width: 130
},
{
title: this.$t('label.end.IP'),
title: this.$t('label.end.ip'),
dataIndex: 'endIp',
width: 130
},

View File

@ -58,7 +58,7 @@
class="step-error"
v-if="step.status===status.FAILED"
>
<div><strong>{{ $t('error.something.went.wrong.please.correct.the.following') }}:</strong></div>
<div><strong>{{ $t('label.error.something.went.wrong.please.correct.the.following') }}:</strong></div>
<div>{{ messageError }}</div>
</a-card>
</a-step>

View File

@ -51,7 +51,7 @@
</a-select>
</div>
<div class="form__item">
<div class="form__label" style="white-space: nowrap;">{{ $t('label.add.VMs') }}</div>
<div class="form__label" style="white-space: nowrap;">{{ $t('label.add.vms') }}</div>
<a-button type="primary" @click="handleOpenAddVMModal">Add</a-button>
</div>
</div>
@ -414,7 +414,7 @@ export default {
scopedSlots: { customRender: 'stickiness' }
},
{
title: this.$t('label.add.VMs'),
title: this.$t('label.add.vms'),
scopedSlots: { customRender: 'add' }
},
{

View File

@ -63,7 +63,7 @@
</a-select>
</div>
<div class="form__item" style="margin-left: auto;">
<div class="form__label">{{ $t('label.add.VM') }}</div>
<div class="form__label">{{ $t('label.add.vm') }}</div>
<a-button type="primary" @click="openAddVMModal">{{ $t('label.add') }}</a-button>
</div>
</div>

View File

@ -219,7 +219,7 @@
@change="changePage"
@showSizeChange="changePageSize"
showSizeChanger/>
<a-modal v-model="modals.vpnConnection" :title="$t('label.create.VPN.connection')" @ok="handleVpnConnectionFormSubmit">
<a-modal v-model="modals.vpnConnection" :title="$t('label.create.vpn.connection')" @ok="handleVpnConnectionFormSubmit">
<a-spin :spinning="modals.vpnConnectionLoading">
<a-form @submit.prevent="handleVpnConnectionFormSubmit" :form="vpnConnectionForm">
<a-form-item :label="$t('label.vpncustomergatewayid')">