mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
Italian translation fix
This commit is contained in:
@@ -609,7 +609,6 @@ function reverseTransformers(val, transformers) {
|
||||
break;
|
||||
case "base64":
|
||||
// Implement base64 decoding logic
|
||||
console.log("💌");
|
||||
if (isBase64(val)) {
|
||||
val = atob(val);
|
||||
}
|
||||
@@ -801,7 +800,7 @@ function genListWithInputSet(options, valuesArray, targetField, transformers, pl
|
||||
if(labelName != '❌None')
|
||||
{
|
||||
labelName = reverseTransformers(labelName, transformers)
|
||||
console.log(transformers);
|
||||
// console.log(transformers);
|
||||
}
|
||||
|
||||
listHtml += `<li ${selected}>
|
||||
|
||||
@@ -416,7 +416,7 @@ if ($ENABLED_DARKMODE === True) {
|
||||
// Generate work-in-progress icons
|
||||
function workInProgress() {
|
||||
|
||||
if($(".work-in-progress").html().trim() == "")
|
||||
if($(".work-in-progress").length > 0 && $(".work-in-progress").html().trim() == "")
|
||||
{
|
||||
$(".work-in-progress").append(`
|
||||
<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