ONOS-6730: Topo View i18n for:
- select map dialog
- oblique view
- overlay

Change-Id: Ib8cbb5f942ff010ba24f552f0948b3cffc79060d
diff --git a/web/gui/src/main/webapp/app/view/topo/topoOblique.js b/web/gui/src/main/webapp/app/view/topo/topoOblique.js
index 6390758..1155ffa 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoOblique.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoOblique.js
@@ -59,6 +59,10 @@
         plane = {},
         oldNodeLock;
 
+    // function to be replaced by the localization bundle function
+    var topoLion = function (x) {
+        return '#tobq#' + x + '#';
+    };
 
     function planeId(tag) {
         return 'topo-obview-' + tag + 'Plane';
@@ -214,6 +218,10 @@
         rem('pkt');
     }
 
+    // invoked after the localization bundle has been received from the server
+    function setLionBundle(bundle) {
+        topoLion = bundle;
+    }
 
 // === -----------------------------------------------------
 // === MODULE DEFINITION ===
@@ -236,10 +244,10 @@
             oblique = !oblique;
             if (oblique) {
                 api.force().stop();
-                flash.flash('Oblique view');
+                flash.flash(topoLion('fl_oblique_view'));
                 toObliqueView();
             } else {
-                flash.flash('Normal view');
+                flash.flash(topoLion('fl_normal_view'));
                 toNormalView();
             }
         }
@@ -250,6 +258,7 @@
 
             isOblique: function () { return oblique; },
             toggleOblique: toggleOblique,
+            setLionBundle: setLionBundle,
         };
     }]);
 }());