infocard: Add missing internationalization on resources tags and annotations (#514)

* Add missing internationalization on instance view and instance detail view
* Remove scale VM translation from this PR

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Nicolas Vazquez 2020-07-08 03:03:07 -03:00 committed by Rohit Yadav
parent dcd595d41e
commit b48ede58e9
3 changed files with 9 additions and 6 deletions

View File

@ -559,9 +559,9 @@
@blur="handleInputConfirm"
@keyup.enter="handleInputConfirm"
compact>
<a-input ref="input" :value="inputKey" @change="handleKeyChange" style="width: 30%; text-align: center" placeholder="Key" />
<a-input ref="input" :value="inputKey" @change="handleKeyChange" style="width: 30%; text-align: center" :placeholder="$t('label.key')" />
<a-input style=" width: 30px; border-left: 0; pointer-events: none; backgroundColor: #fff" placeholder="=" disabled />
<a-input :value="inputValue" @change="handleValueChange" style="width: 30%; text-align: center; border-left: 0" placeholder="Value" />
<a-input :value="inputValue" @change="handleValueChange" style="width: 30%; text-align: center; border-left: 0" :placeholder="$t('label.value')" />
<a-button shape="circle" size="small" @click="handleInputConfirm">
<a-icon type="check"/>
</a-button>
@ -571,7 +571,7 @@
</a-input-group>
</div>
<a-tag @click="showInput" style="background: #fff; borderStyle: dashed;" v-else-if="'createTags' in $store.getters.apis">
<a-icon type="plus" /> New Tag
<a-icon type="plus" /> {{ $t('label.new.tag') }}
</a-tag>
</div>
</div>
@ -579,7 +579,7 @@
<div class="account-center-team" v-if="annotationType && 'listAnnotations' in $store.getters.apis">
<a-divider :dashed="true"/>
<div class="title">
Comments ({{ notes.length }})
{{ $t('label.comments') }} ({{ notes.length }})
</div>
<a-list
v-if="notes.length"
@ -622,7 +622,7 @@
@click="saveNote"
type="primary"
>
Save
{{ $t('label.save') }}
</a-button>
</div>
</a-comment>

View File

@ -530,6 +530,7 @@
"label.clustertype": "Cluster Type",
"label.clvm": "CLVM",
"label.code": "Code",
"label.comments": "Comments",
"label.community": "Community",
"label.compute": "Compute",
"label.compute.and.storage": "Compute and Storage",

View File

@ -478,6 +478,7 @@
"label.clustertype": "Tipo de Cl\u00faster",
"label.clvm": "CLVM",
"label.code": "C\u00f3digo",
"label.comments": "Comentarios",
"label.community": "Comunidad",
"label.compute": "Computo",
"label.compute.and.storage": "Computo y Almacenamiento",
@ -947,7 +948,7 @@
"label.japanese.keyboard": "Teclado Japones",
"label.keep": "Mantener",
"label.keep.colon": "Conservar:",
"label.key": "Llave",
"label.key": "Clave",
"label.keyboard": "Lenguaje del Teclado",
"label.keyboardtype": "Tipo de teclado",
"label.keypair": "Par de Claves SSH",
@ -1157,6 +1158,7 @@
"label.new.instance.group": "Nuevo Grupo de Instancias",
"label.new.password": "Nueva contrase\u00f1a",
"label.new.project": "Nuevo Proyecto",
"label.new.tag": "Nueva Etiqueta",
"label.new.vm": "Nueva MV",
"label.newdiskoffering": "Nueva Oferta",
"label.newsize": "Nuevo Tama\u00f1o (GB)",