aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/browser.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-02-02 16:32:38 +0100
committerGitHub <noreply@github.com>2023-02-02 16:32:38 +0100
commit2e655b7ee5a9ad66e64dee94c8e22ad800ef38e2 (patch)
tree43f63f4831fd31503bca50494869eabf6dc1ba4c /src/app/js/browser.js
parent4703574ebf54e269c19a0c4c8a5061e35b9727c6 (diff)
parent195319b09a18c2dcc0885950dfba622ade645acd (diff)
downloadViper-2e655b7ee5a9ad66e64dee94c8e22ad800ef38e2.tar.gz
Viper-2e655b7ee5a9ad66e64dee94c8e22ad800ef38e2.zip
Merge pull request #171 from 0neGal/modlist-localization
feat: Localize revamped modlist
Diffstat (limited to 'src/app/js/browser.js')
-rw-r--r--src/app/js/browser.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/app/js/browser.js b/src/app/js/browser.js
index ece28bd..4f8b68a 100644
--- a/src/app/js/browser.js
+++ b/src/app/js/browser.js
@@ -401,10 +401,18 @@ function BrowserEl(properties) {
<div class="text">
<div class="title">${properties.title}</div>
<div class="description">${properties.description}</div>
- <button class="install bg-blue" onclick=''>${installstr}</button>
- <button class="info" onclick="Preview.set('${properties.url}')">${lang('gui.browser.view')}</button>
+ <button class="install bg-blue" onclick=''>
+ ${installstr}
+ </button>
+ <button class="info" onclick="Preview.set('${properties.url}')">
+ ${lang('gui.browser.view')}
+ </button>
+
<button class="visual">${properties.version}</button>
- <button class="visual">${lang("gui.browser.madeby")} ${properties.author}</button>
+ <button class="visual">
+ ${lang("gui.browser.madeby")}
+ ${properties.author}
+ </button>
</div>
`