launcher item translation

Change-Id: I56bfa3fe17a0907dcaca5b64ee983fc2a9d51ae3
This commit is contained in:
Hualet Wang 2015-10-08 20:33:40 +08:00
parent a78f4d8bd9
commit 401b77b8db
Notes: Deepin Code Review 2016-06-14 07:19:47 +00:00
Code-Review+2: <mr.asianwang@gmail.com>
Verified+1: <mr.asianwang@gmail.com>
Submitted-by: <mr.asianwang@gmail.com>
Submitted-at: Thu, 08 Oct 2015 20:20:57 +0800
Reviewed-on: https://cr.deepin.io/7595
Project: dde/dde-dock
Branch: refs/heads/master
4 changed files with 19 additions and 3 deletions

View File

@ -19,9 +19,9 @@ public:
explicit LauncherItem(QWidget *parent = 0);
~LauncherItem();
QString getTitle(){return "Launcher";}
QWidget * getApplet(){return NULL;}
bool moveable(){return false;}
QString getTitle() { return tr("Launcher"); }
QWidget * getApplet() { return NULL; }
bool moveable() { return false; }
protected:
void enterEvent(QEvent *);

View File

@ -42,6 +42,14 @@
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LauncherItem</name>
<message>
<location filename="../dde-dock/src/widgets/launcheritem.h" line="22"/>
<source>Launcher</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainItem</name>
<message>

Binary file not shown.

View File

@ -42,6 +42,14 @@
<translation></translation>
</message>
</context>
<context>
<name>LauncherItem</name>
<message>
<location filename="../dde-dock/src/widgets/launcheritem.h" line="22"/>
<source>Launcher</source>
<translation></translation>
</message>
</context>
<context>
<name>MainItem</name>
<message>