Yangman - tooltip text not translated 05/43705/1
authormichal.kovacik <mikovaci@cisco.com>
Thu, 11 Aug 2016 10:55:43 +0000 (12:55 +0200)
committermichal.kovacik <mikovaci@cisco.com>
Thu, 11 Aug 2016 10:56:37 +0000 (12:56 +0200)
Change-Id: Ibf26ea8cb28df57b43bf73f8a1cea083071fea1f
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
modules/yangman-resources/src/main/resources/yangman/assets/data/locale-en_US.json
modules/yangman-resources/src/main/resources/yangman/views/directives/yang-form-menu.tpl.html
modules/yangman-resources/src/main/resources/yangman/views/rightpanel/form/config/list-filtered-data-top.tpl.html
modules/yangman-resources/src/main/resources/yangman/views/rightpanel/form/list-data-top.tpl.html

index 46dcd9e1a2c6a72634ea00096dcc055beba04730..4b675d80fca4f28c508c1615afe3a2724024d47e 100644 (file)
@@ -91,5 +91,7 @@
   "YANGMAN_INPUT_REQUIRED": "Required",
   "YANGMAN_ERROR_EMPTY_IDENTIFIERS": "Identifiers in path are required. Please fill empty identifiers for successful request execution.",
   "YANGMAN_SORT_COLLECTIONS_DESC": "Sort collections descending",
-  "YANGMAN_SORT_COLLECTIONS_ASC": "Sort collections ascending"
+  "YANGMAN_SORT_COLLECTIONS_ASC": "Sort collections ascending",
+  "YANGMAN_LIST_DELETE_ITEM": "Delete list item",
+  "YANGMAN_LIST_INDEX_DUPLICATE": "Duplicated index"
 }
index 536e79e5f3d83e474b4b8d37e9f933ab1f1b2a78..547889f8d1fc3fd2275744124fb8c863628ab314 100644 (file)
@@ -72,7 +72,7 @@
 
                         <!-- duplicated key -->
                         <md-icon md-font-set="material-icons" ng-show="node.doubleKeyIndexes.indexOf($index) > -1">
-                            <md-tooltip md-direction="top">{{ 'LIST_INDEX_DUPLICATE' | translate }}</md-tooltip>
+                            <md-tooltip md-direction="top">{{ 'YANGMAN_LIST_INDEX_DUPLICATE' | translate }}</md-tooltip>
                             error_outline
                         </md-icon>
 
@@ -81,7 +81,7 @@
                                  class="pointer"
                                  ng-if="addListItem"
                                  ng-click="yangList.removeListElem($index)">
-                            <md-tooltip md-direction="top">{{ 'LIST_DELETE_ITEM' | translate }}</md-tooltip>
+                            <md-tooltip md-direction="top">{{ 'YANGMAN_LIST_DELETE_ITEM' | translate }}</md-tooltip>
                             remove_circle_outline
                         </md-icon>
 
@@ -91,4 +91,4 @@
             </div>
         </div>
     </div>
-</div>
\ No newline at end of file
+</div>
index ab45fc081953915aef8f1f532f89fdd72e2abab7..36a2fff83ab0018e59b06832b581e02251c86461 100644 (file)
 
     <!-- delete button -->
     <button class="yangButton iconClose"
-            tooltip="{{ 'LIST_DELETE_ITEM' | translate }}"
+            tooltip="{{ 'YANGMAN_LIST_DELETE_ITEM' | translate }}"
             ng-click='removeListElem(currentDisplayIndex + offset,true)'></button>
 
     <!-- duplicate indicator -->
     <button class="yangButton iconDanger"
-            tooltip="{{ 'LIST_INDEX_DUPLICATE' | translate }}"
+            tooltip="{{ 'YANGMAN_LIST_INDEX_DUPLICATE' | translate }}"
             ng-show="node.doubleKeyIndexes.indexOf(currentDisplayIndex + offset)>-1"></button>
 </div>
 
@@ -30,4 +30,4 @@
 <button ng-click="shiftDisplayNext('filteredListData')"
         ng-show="showNextButton('filteredListData')"
         tooltip="{{ 'LIST_NEXT_ITEM' | translate }}"
-        class="yangButton iconNext"></button>
\ No newline at end of file
+        class="yangButton iconNext"></button>
index 10c4b929870b23553d9764b58faeefc8109fd527..de1bc7e08b5b435e95e317e468e4baa07a929287 100644 (file)
@@ -29,7 +29,7 @@
              class="pointer"
              ng-click="yangList.removeListElem(yangList.currentDisplayIndex + offset,false)"
              ng-if="selectedDatastore.label === yangList.constants.DATA_STORE_CONFIG && !yangList.disableAddingListElement">
-        <md-tooltip md-direction="top">{{ 'LIST_DELETE_ITEM' | translate }}</md-tooltip>
+        <md-tooltip md-direction="top">{{ 'YANGMAN_LIST_DELETE_ITEM' | translate }}</md-tooltip>
         remove_circle_outline
     </md-icon>
 
@@ -37,7 +37,7 @@
     <md-icon md-font-set="material-icons"
              ng-show="node.doubleKeyIndexes.indexOf(yangList.currentDisplayIndex + offset) > -1"
              ng-if="selectedDatastore.label === yangList.constants.DATA_STORE_CONFIG">
-        <md-tooltip md-direction="top">{{ 'LIST_INDEX_DUPLICATE' | translate }}</md-tooltip>
+        <md-tooltip md-direction="top">{{ 'YANGMAN_LIST_INDEX_DUPLICATE' | translate }}</md-tooltip>
         error_outline
     </md-icon>
 </section>