Skip to content

Commit

Permalink
fixed using incorrect localization strings
Browse files Browse the repository at this point in the history
  • Loading branch information
0neGal committed Nov 8, 2023
1 parent ed9c6c3 commit 6330e27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/app/js/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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
}

Expand All @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/js/mods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 6330e27

Please sign in to comment.