i18n: swal
This commit is contained in:
parent
0f3ba8c3cb
commit
3c54571719
@ -138,6 +138,11 @@ html(lang="en")
|
||||
div
|
||||
div
|
||||
|
||||
div(
|
||||
id="swal-content-text"
|
||||
hidden
|
||||
data-trans="success")
|
||||
|
||||
if analytics
|
||||
each provider in analytics
|
||||
if provider.type && provider.url && provider.url
|
||||
|
@ -223,5 +223,6 @@
|
||||
"hublStatus": {
|
||||
"private": "Private",
|
||||
"public": "Public"
|
||||
}
|
||||
},
|
||||
"success": "Success!"
|
||||
}
|
||||
|
@ -223,5 +223,6 @@
|
||||
"hublStatus": {
|
||||
"private": "Privado",
|
||||
"public": "Público"
|
||||
}
|
||||
},
|
||||
"success": "¡Éxito!"
|
||||
}
|
||||
|
@ -224,5 +224,6 @@
|
||||
"hublStatus": {
|
||||
"private": "Privé",
|
||||
"public": "Public"
|
||||
}
|
||||
},
|
||||
"success": "Succès!"
|
||||
}
|
||||
|
@ -9,11 +9,11 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
toast.addEventListener('mouseenter', Swal.stopTimer)
|
||||
toast.addEventListener('mouseleave', Swal.resumeTimer)
|
||||
}
|
||||
})
|
||||
});
|
||||
document.addEventListener("save", () => {
|
||||
Toast.fire({
|
||||
icon: 'success',
|
||||
title: 'Succès!'
|
||||
title: document.querySelector('#swal-content-text').innerHTML
|
||||
})
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user