From f1441cc1e76a4dca27004876b080fd9282217d0b Mon Sep 17 00:00:00 2001 From: justforlxz Date: Wed, 22 May 2019 18:02:01 +0800 Subject: [PATCH] fix(overlay): polkit dialog not translation message --- .../com.deepin.dde.dock.overlay.policy | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/plugins/overlay-warning/com.deepin.dde.dock.overlay.policy b/plugins/overlay-warning/com.deepin.dde.dock.overlay.policy index fda311257..f129cd0ad 100644 --- a/plugins/overlay-warning/com.deepin.dde.dock.overlay.policy +++ b/plugins/overlay-warning/com.deepin.dde.dock.overlay.policy @@ -13,9 +13,20 @@ auth_admin_keep 本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启? - /usr/sbin/overlayroot-disable /sbin/overlayroot-disable true + + dialog-warning + The system is in overlay mode, and all your work will not be saved. Do you want to exit this mode and restart? + + no + no + auth_admin_keep + + 本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启? + /usr/sbin/overlayroot-disable + true +