From d9197d7e32a97f29829ffd4cf4371b1853e51fa2 Mon Sep 17 00:00:00 2001 From: Inverle Date: Fri, 8 Aug 2025 17:39:38 +0200 Subject: New JS attribute: `data-auto-leave-validation` (#7785) Instead of a repeating pattern like: ``, you can now put a `data-auto-leave-validation="1"` attribute on a `
` 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 Co-authored-by: Frans de Jonge --- app/i18n/zh-cn/gen.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/i18n/zh-cn/gen.php') diff --git a/app/i18n/zh-cn/gen.php b/app/i18n/zh-cn/gen.php index ec910a012..91b38d9e0 100644 --- a/app/i18n/zh-cn/gen.php +++ b/app/i18n/zh-cn/gen.php @@ -145,6 +145,7 @@ return array( 'category_empty' => '清空分类', 'confirm_action' => '你确定要执行此操作吗?这将不可撤销!', 'confirm_action_feed_cat' => '你确定要执行此操作吗?你将丢失相关的收藏和自定义查询,这将不可撤销!', + 'confirm_exit_slider' => 'Are you sure you want to discard unsaved settings?', // TODO 'feedback' => array( 'body_new_articles' => 'FreshRSS 中有 %%d 篇文章等待阅读。', 'body_unread_articles' => '(未读: %%d)', -- cgit v1.2.3