Italian translation fix
This commit is contained in:
@@ -609,7 +609,6 @@ function reverseTransformers(val, transformers) {
|
|||||||
break;
|
break;
|
||||||
case "base64":
|
case "base64":
|
||||||
// Implement base64 decoding logic
|
// Implement base64 decoding logic
|
||||||
console.log("💌");
|
|
||||||
if (isBase64(val)) {
|
if (isBase64(val)) {
|
||||||
val = atob(val);
|
val = atob(val);
|
||||||
}
|
}
|
||||||
@@ -801,7 +800,7 @@ function genListWithInputSet(options, valuesArray, targetField, transformers, pl
|
|||||||
if(labelName != '❌None')
|
if(labelName != '❌None')
|
||||||
{
|
{
|
||||||
labelName = reverseTransformers(labelName, transformers)
|
labelName = reverseTransformers(labelName, transformers)
|
||||||
console.log(transformers);
|
// console.log(transformers);
|
||||||
}
|
}
|
||||||
|
|
||||||
listHtml += `<li ${selected}>
|
listHtml += `<li ${selected}>
|
||||||
|
|||||||
@@ -416,7 +416,7 @@ if ($ENABLED_DARKMODE === True) {
|
|||||||
// Generate work-in-progress icons
|
// Generate work-in-progress icons
|
||||||
function workInProgress() {
|
function workInProgress() {
|
||||||
|
|
||||||
if($(".work-in-progress").html().trim() == "")
|
if($(".work-in-progress").length > 0 && $(".work-in-progress").html().trim() == "")
|
||||||
{
|
{
|
||||||
$(".work-in-progress").append(`
|
$(".work-in-progress").append(`
|
||||||
<a href="https://github.com/jokob-sk/NetAlertX/issues" target="_blank">
|
<a href="https://github.com/jokob-sk/NetAlertX/issues" target="_blank">
|
||||||
|
|||||||
@@ -103,7 +103,8 @@ function lang($key)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
// HTML encode the result before returning
|
||||||
|
return str_replace("'", ''', $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user