This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 8815643  infocard: Add missing internationalization on resources tags 
and annotations (#514)
8815643 is described below

commit 881564323fd9bf7eb5cee0fc1e0e8fac2698e93d
Author: Nicolas Vazquez <nicovazque...@gmail.com>
AuthorDate: Wed Jul 8 03:03:07 2020 -0300

    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
---
 src/components/view/InfoCard.vue | 10 +++++-----
 src/locales/en.json              |  1 +
 src/locales/es.json              |  4 +++-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/components/view/InfoCard.vue b/src/components/view/InfoCard.vue
index 067cacb..ec0bfcb 100644
--- a/src/components/view/InfoCard.vue
+++ b/src/components/view/InfoCard.vue
@@ -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>
diff --git a/src/locales/en.json b/src/locales/en.json
index 46eea6e..285fafa 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -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",
diff --git a/src/locales/es.json b/src/locales/es.json
index 36a2dc6..3f80161 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -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)",

Reply via email to