Change translate function
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 4s

This commit is contained in:
2026-04-30 22:13:26 +02:00
parent 2a14fad95b
commit 60483765c9
8 changed files with 19 additions and 77 deletions

16
dist/sigpro-ui.esm.js vendored
View File

@@ -506,20 +506,10 @@ var rand = (r) => `${r}-${Math.random().toString(36).slice(2, 9)}`;
var hide = () => document.activeElement?.blur();
var i18n = {
es: {
close: "Cerrar",
confirm: "Confirmar",
cancel: "Cancelar",
search: "Buscar...",
loading: "Cargando...",
nodata: "Sin datos"
uploadFiles: "Arrastrar y soltar o click para seleccionar..."
},
en: {
close: "Close",
confirm: "Confirm",
cancel: "Cancel",
search: "Search...",
loading: "Loading...",
nodata: "No data"
uploadFiles: "DRag and drop or click to select"
}
};
var currentLocale = P("en");
@@ -901,7 +891,7 @@ var Fileinput = (p) => {
}, [
A("div", { class: "flex items-center gap-3 w-full" }, [
A("span", { class: "icon-[lucide--upload]" }),
A("span", { class: "text-sm opacity-70 truncate grow text-left" }, "Drag and drop..."),
A("span", { class: "text-sm opacity-70 truncate grow text-left" }, tt("uploadFiles")),
A("span", { class: "text-[10px] opacity-40 shrink-0" }, `Máx ${p.max || 2}MB`)
]),
A("input", {

File diff suppressed because one or more lines are too long

16
dist/sigpro-ui.js vendored
View File

@@ -536,20 +536,10 @@
var hide = () => document.activeElement?.blur();
var i18n = {
es: {
close: "Cerrar",
confirm: "Confirmar",
cancel: "Cancelar",
search: "Buscar...",
loading: "Cargando...",
nodata: "Sin datos"
uploadFiles: "Arrastrar y soltar o click para seleccionar..."
},
en: {
close: "Close",
confirm: "Confirm",
cancel: "Cancel",
search: "Search...",
loading: "Loading...",
nodata: "No data"
uploadFiles: "DRag and drop or click to select"
}
};
var currentLocale = P("en");
@@ -931,7 +921,7 @@
}, [
A("div", { class: "flex items-center gap-3 w-full" }, [
A("span", { class: "icon-[lucide--upload]" }),
A("span", { class: "text-sm opacity-70 truncate grow text-left" }, "Drag and drop..."),
A("span", { class: "text-sm opacity-70 truncate grow text-left" }, tt("uploadFiles")),
A("span", { class: "text-[10px] opacity-40 shrink-0" }, `Máx ${p.max || 2}MB`)
]),
A("input", {

File diff suppressed because one or more lines are too long