change "Power" to "Shutdown"

Change-Id: I78e988dc29b18808837da39cfd49bb96d785172f
This commit is contained in:
Hualet Wang 2015-12-17 16:50:19 +08:00
parent 3b7b5a6405
commit 0cfa9b1a10
Notes: Deepin Code Review 2016-06-14 07:19:47 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+1: <ccrr1314@live.com>
Code-Review+2: <mr.asianwang@gmail.com>
Submitted-by: <mr.asianwang@gmail.com>
Submitted-at: Thu, 17 Dec 2015 19:10:28 +0800
Reviewed-on: https://cr.deepin.io/9783
Project: dde/dde-dock
Branch: refs/heads/master
3 changed files with 16 additions and 8 deletions

View File

@ -14,7 +14,7 @@ ShutdownPlugin::ShutdownPlugin(QObject *parent)
QString ShutdownPlugin::getPluginName()
{
return QString(tr("Power"));
return QString(tr("Shutdown"));
}
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)

View File

@ -53,7 +53,7 @@
<context>
<name>MainItem</name>
<message>
<location filename="../dde-dock-trash-plugin/mainitem.cpp" line="96"/>
<location filename="../dde-dock-trash-plugin/mainitem.cpp" line="123"/>
<source>Are you sure to uninstall %1?</source>
<translation type="unfinished"></translation>
</message>
@ -99,12 +99,12 @@
<context>
<name>PluginItemWrapper</name>
<message>
<location filename="../dde-dock/src/controller/plugins/pluginitemwrapper.cpp" line="92"/>
<location filename="../dde-dock/src/controller/plugins/pluginitemwrapper.cpp" line="103"/>
<source>_Run</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../dde-dock/src/controller/plugins/pluginitemwrapper.cpp" line="93"/>
<location filename="../dde-dock/src/controller/plugins/pluginitemwrapper.cpp" line="104"/>
<source>_Undock</source>
<translation type="unfinished"></translation>
</message>
@ -112,11 +112,19 @@
<context>
<name>PluginsSettingFrame</name>
<message>
<location filename="../dde-dock/src/controller/plugins/pluginssettingframe.cpp" line="149"/>
<location filename="../dde-dock/src/controller/plugins/pluginssettingframe.cpp" line="173"/>
<source>Notification Area Settings</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ShutdownPlugin</name>
<message>
<location filename="../dde-dock-shutdown-plugin/shutdownplugin.cpp" line="17"/>
<source>Shutdown</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TrashPlugin</name>
<message>

View File

@ -112,7 +112,7 @@
<context>
<name>PluginsSettingFrame</name>
<message>
<location filename="../dde-dock/src/controller/plugins/pluginssettingframe.cpp" line="170"/>
<location filename="../dde-dock/src/controller/plugins/pluginssettingframe.cpp" line="173"/>
<source>Notification Area Settings</source>
<translation></translation>
</message>
@ -121,8 +121,8 @@
<name>ShutdownPlugin</name>
<message>
<location filename="../dde-dock-shutdown-plugin/shutdownplugin.cpp" line="17"/>
<source>Power</source>
<translation></translation>
<source>Shutdown</source>
<translation></translation>
</message>
</context>
<context>