Compare commits

..

2 commits

Author SHA1 Message Date
caeae71203 ChatGPT advice 2023-03-06 01:43:27 +01:00
7652f6623c update 2023-03-06 01:22:24 +01:00
3 changed files with 12 additions and 14 deletions

View file

@ -1,13 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>fateforge-tools</title>
<link rel="stylesheet" href="css/water.css" />
<link href="css/all.min.css" rel="stylesheet" />
<link rel="icon" type="image/x-icon" href="/img/FateforgeTool_logo_80.png">
<link rel="icon" type="image/png" href="/img/FateforgeTool_logo_80.png">
</head>
<body>
@ -66,7 +65,7 @@
<script type="text/javascript" src="lib/jquery.localize.js"></script>
<script type="text/javascript" src="js/language.js"></script>
<script src="https://kit.fontawesome.com/126cdd0e29.js" crossorigin="anonymous"></script>
<script rel="preload src="https://kit.fontawesome.com/126cdd0e29.js" crossorigin="anonymous"></script>
</body>

View file

@ -1,14 +1,12 @@
// this code localizes all elements with a "data-localize" attribute
$("[data-localize]").localize("main", { pathPrefix: "lang" });
// You can also override the language detection, and pass in a language code
//$("[data-localize]").localize("main", { language: "fr" });
function changeLangFR() {
$("[data-localize]").localize("main", {
pathPrefix: "lang",
language: "fr",
});
}
// You can also override the language detection and specify a language code. This code defines a function that sets the language to French.
function changeLangFR() { $("[data-localize]").localize("main", { pathPrefix: "lang", language: "fr", }); }
// This code defines a function that sets the language to English.
function changeLangEN() {
$("[data-localize]").localize("main", {
pathPrefix: "lang",

View file

@ -25,6 +25,7 @@ fetch(jsonsource)
selectColumn: true
},
multiSelect: true,
liveSearch: true,
multiSearch: true,
fixedBody: false,
records: test,