Rename action buttons
Change-Id: I7cb5da5f93bb0609bb3ed5b3238b97d8dd39c537
diff --git a/dev/js/src/match.js b/dev/js/src/match.js
index bca7f09..e88bf98 100644
--- a/dev/js/src/match.js
+++ b/dev/js/src/match.js
@@ -17,10 +17,11 @@
// Localization values
const loc = KorAP.Locale;
- loc.ADDTREE = loc.ADDTREE || 'Add tree view';
loc.SHOWINFO = loc.SHOWINFO || 'Show information';
+ loc.ADDTREE = loc.ADDTREE || 'Relations';
+ loc.SHOWANNO = loc.SHOWANNO || 'Tokens';
loc.CLOSE = loc.CLOSE || 'Close';
- loc.SHOW_META = loc.SHOW_META || 'Show metadata';
+ loc.SHOW_META = loc.SHOW_META || 'Metadata';
// 'corpusID', 'docID', 'textID'
const _matchTerms = ['textSigle', 'matchID', 'available'];
@@ -201,8 +202,8 @@
// TODO: Rename anno
var info = ops.addE('span');
- info.addT(loc.SHOWINFO);
- info.setAttribute('title', loc.SHOWINFO);
+ info.addT(loc.SHOWANNO);
+ info.setAttribute('title', loc.SHOWANNO);
info.classList.add('info');
var tree = ops.addE('span');