diff options
| author | 2025-08-08 17:39:38 +0200 | |
|---|---|---|
| committer | 2025-08-08 17:39:38 +0200 | |
| commit | d9197d7e32a97f29829ffd4cf4371b1853e51fa2 (patch) | |
| tree | 83549245e159f9cbdad05868a359afcf278bec79 /app/i18n/oc/gen.php | |
| parent | a3854c2f5978ab40c023c8bdf9b4be96eca3ef22 (diff) | |
New JS attribute: `data-auto-leave-validation` (#7785)
Instead of a repeating pattern like: `<input type="text" value="something" data-leave-validation="something">`, you can now put a `data-auto-leave-validation="1"` attribute on a `<form>` for example, and it will automatically set the `data-leave-validation` attributes inside the form elements.
`data_auto_leave_validation(parent)` from `extra.js` is called on slider open and page load.
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'app/i18n/oc/gen.php')
| -rw-r--r-- | app/i18n/oc/gen.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/i18n/oc/gen.php b/app/i18n/oc/gen.php index 22d9918e7..14146c291 100644 --- a/app/i18n/oc/gen.php +++ b/app/i18n/oc/gen.php @@ -145,6 +145,7 @@ return array( 'category_empty' => 'Categoria voida', 'confirm_action' => 'Volètz vertadièrament contunhar ? Aquesta accion se pòt pas anullar !', 'confirm_action_feed_cat' => 'Volètz vertadièrament contunhar ? Perdretz los favorits e filtres ligats. Aquesta accion se pòt pas anullar !', + 'confirm_exit_slider' => 'Are you sure you want to discard unsaved settings?', // TODO 'feedback' => array( 'body_new_articles' => 'I a %%d nòus articles per legir sus FreshRSS.', 'body_unread_articles' => '(unread: %%d)', // TODO |
