translate more strings

pull/34/head
Zlatin Balevsky 2019-12-09 15:39:18 +00:00
parent 81d8af57ed
commit e0d006ec69
2 changed files with 6 additions and 2 deletions

View File

@ -20,6 +20,10 @@ public class Util {
// if we had a lot of these we could scan for them in the build and generate // 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. // a file, but it's not worth it for just a handful.
private static final String[] jsStrings = { private static final String[] jsStrings = {
_x("View Certificates"),
_x("Import"),
_x("Imported"),
_x("Unsubscribe"),
_x("Actions"), _x("Actions"),
_x("Browse"), _x("Browse"),
_x("Browsing"), _x("Browsing"),

View File

@ -228,8 +228,8 @@ function refreshLists() {
html += "<td>" + list.distrusted +"</td>" html += "<td>" + list.distrusted +"</td>"
html += "<td>" + list.status + "</td>" html += "<td>" + list.status + "</td>"
html += "<td>" + list.timestamp + "</td>" html += "<td>" + list.timestamp + "</td>"
html += "<td>" + "<a href='#' onclick='window.unsubscribe(\"" + list.userB64 + "\");return false;'>Unsubscribe</a>" + html += "<td>" + "<a href='#' onclick='window.unsubscribe(\"" + list.userB64 + "\");return false;'>" + _t("Unsubscribe") + "</a>" +
" <a href='#' onclick='window.forceUpdate(\"" + list.userB64 + "\");return false;'>Refresh</a>" + " <a href='#' onclick='window.forceUpdate(\"" + list.userB64 + "\");return false;'>" + _t("Refresh") + "</a>" +
"</td>" "</td>"
html += "</tr>" html += "</tr>"
} }