mirror of
https://github.com/imputnet/cobalt.git
synced 2026-01-23 07:11:31 +00:00
4.8: new about popup and other visual improvements
This commit is contained in:
@@ -15,7 +15,7 @@ export function loadLoc() {
|
||||
}
|
||||
loadLoc();
|
||||
export function replaceBase(s) {
|
||||
return s.replace(/\n/g, '<br/>').replace(/{appName}/g, appName).replace(/{repo}/g, repo).replace(/{bS}/g, '<div class=\"bullpadding\">').replace(/{bE}/g, '</div>').replace(/\*;/g, "•");
|
||||
return s.replace(/\n/g, '<br/>').replace(/{appName}/g, appName).replace(/{repo}/g, repo).replace(/\*;/g, "•");
|
||||
}
|
||||
export function replaceAll(lang, str, string, replacement) {
|
||||
let s = replaceBase(str[string])
|
||||
|
||||
Reference in New Issue
Block a user