Rename action buttons
Change-Id: I7cb5da5f93bb0609bb3ed5b3238b97d8dd39c537
diff --git a/dev/js/src/loc/de.js b/dev/js/src/loc/de.js
index 631c55e..bcb75a1 100644
--- a/dev/js/src/loc/de.js
+++ b/dev/js/src/loc/de.js
@@ -25,12 +25,13 @@
];
// Match view
- loc.ADDTREE = 'Baumansicht hinzufügen';
+ loc.ADDTREE = 'Relationen';
+ loc.SHOWANNO = 'Token';
loc.SHOWINFO = 'Informationen';
loc.CLOSE = 'Schließen';
loc.TOGGLE_ALIGN = 'tausche Textausrichtung';
loc.SHOW_KQ = 'zeige KoralQuery';
- loc.SHOW_META = 'zeige Metadaten';
+ loc.SHOW_META = 'Metadaten';
loc.NEW_QUERY = 'Neue Anfrage';
});
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');