aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-11-08 15:34:46 +0100
committer0neGal <mail@0negal.com>2023-11-08 15:34:46 +0100
commit6330e27d3859ca288ead7bf99031d645b4f77619 (patch)
tree37a8b90384e71ab0b4666b592bf9978237e81a55
parented9c6c3e21b0c663b83c55ca3cb295c9c2a65521 (diff)
downloadViper-6330e27d3859ca288ead7bf99031d645b4f77619.tar.gz
Viper-6330e27d3859ca288ead7bf99031d645b4f77619.zip
fixed using incorrect localization strings
-rw-r--r--src/app/js/browser.js6
-rw-r--r--src/app/js/mods.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index 8283e9b..cd162e6 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -200,7 +200,7 @@ var Browser = {
},
loading: (string) => {
if (Browser.filters.get().unfiltered.length == 0) {
- string = lang("gui.browser.noresults");
+ string = lang("gui.browser.no_results");
}
if (string) {
@@ -242,7 +242,7 @@ var Browser = {
let res = fuse.search(string);
if (res.length < 1) {
- Browser.loading(lang("gui.browser.noresults"));
+ Browser.loading(lang("gui.browser.no_results"));
return
}
@@ -257,7 +257,7 @@ var Browser = {
}
if (count < 1) {
- Browser.loading(lang("gui.browser.noresults"));
+ Browser.loading(lang("gui.browser.no_results"));
}
},
setbutton: (mod, string) => {
diff --git a/src/app/js/mods.js b/src/app/js/mods.js
index b17cadd..445fc84 100644
--- a/src/app/js/mods.js
+++ b/src/app/js/mods.js
@@ -187,7 +187,7 @@ mods.remove = (mod) => {
return;
}
} else if (mod == "allmods") {
- if (! confirm(lang("gui.mods.remove_all.confirm"))) {
+ if (! confirm(lang("gui.mods.remove_all_confirm"))) {
return;
}
}