From 6330e27d3859ca288ead7bf99031d645b4f77619 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Wed, 8 Nov 2023 15:34:46 +0100 Subject: fixed using incorrect localization strings --- src/app/js/browser.js | 6 +++--- src/app/js/mods.js | 2 +- 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; } } -- cgit v1.2.3