From e0d006ec691666c9fa7067d67e8f532ed17d7059 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Mon, 9 Dec 2019 15:39:18 +0000 Subject: [PATCH] translate more strings --- webui/src/main/java/com/muwire/webui/Util.java | 4 ++++ webui/src/main/js/trustLists.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/webui/src/main/java/com/muwire/webui/Util.java b/webui/src/main/java/com/muwire/webui/Util.java index 4fd95619..a4842c3f 100644 --- a/webui/src/main/java/com/muwire/webui/Util.java +++ b/webui/src/main/java/com/muwire/webui/Util.java @@ -20,6 +20,10 @@ public class Util { // if we had a lot of these we could scan for them in the build and generate // a file, but it's not worth it for just a handful. private static final String[] jsStrings = { + _x("View Certificates"), + _x("Import"), + _x("Imported"), + _x("Unsubscribe"), _x("Actions"), _x("Browse"), _x("Browsing"), diff --git a/webui/src/main/js/trustLists.js b/webui/src/main/js/trustLists.js index bb087087..d268ea4b 100644 --- a/webui/src/main/js/trustLists.js +++ b/webui/src/main/js/trustLists.js @@ -228,8 +228,8 @@ function refreshLists() { html += "" + list.distrusted +"" html += "" + list.status + "" html += "" + list.timestamp + "" - html += "" + "Unsubscribe" + - " Refresh" + + html += "" + "" + _t("Unsubscribe") + "" + + " " + _t("Refresh") + "" + "" html += "" }