fix(overlay): polkit dialog not translation message

This commit is contained in:
justforlxz 2019-05-22 18:02:01 +08:00
parent 2b51e164aa
commit f1441cc1e7
No known key found for this signature in database
GPG Key ID: 593AFD577C1B1A60

View File

@ -13,9 +13,20 @@
<allow_active>auth_admin_keep</allow_active>
</defaults>
<message xml:lang="zh_CN">本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启?</message>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/overlayroot-disable</annotate>
<annotate key="org.freedesktop.policykit.exec.path">/sbin/overlayroot-disable</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
<action id="com.deepin.dde.dock.overlay1">
<icon_name>dialog-warning</icon_name>
<message>The system is in overlay mode, and all your work will not be saved. Do you want to exit this mode and restart?</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<message xml:lang="zh_CN">本次启动处于 overlay 保护模式下,您的所有操作将不会被保存,是否要关闭此模式并重启?</message>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/overlayroot-disable</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>