Remove unnecessary i18n entries

Change-Id: I834f150011cf0cda60549406209585eb72facf91
This commit is contained in:
Hualet Wang 2016-12-27 14:26:47 +08:00
parent ccab782b99
commit 192c4f92d1
Notes: Deepin Code Review 2016-12-27 15:25:34 +08:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: 石博文 <sbw@sbw.so>
Submitted-by: Hualet Wang <mr.asianwang@gmail.com>
Submitted-at: Tue, 27 Dec 2016 15:25:34 +0800
Reviewed-on: https://cr.deepin.io/18775
Project: dde/dde-dock
Branch: refs/heads/master
3 changed files with 5 additions and 18 deletions

View File

@ -102,7 +102,7 @@ void DatetimePlugin::updateCurrentTimeString()
{
const QDateTime currentDateTime = QDateTime::currentDateTime();
m_dateTipsLabel->setText(currentDateTime.date().toString(Qt::SystemLocaleLongDate) + currentDateTime.toString(tr(" HH:mm:ss")));
m_dateTipsLabel->setText(currentDateTime.date().toString(Qt::SystemLocaleLongDate) + currentDateTime.toString(" HH:mm:ss"));
const QString currentString = currentDateTime.toString("mm");

View File

@ -39,7 +39,7 @@ void DatetimeWidget::paintEvent(QPaintEvent *e)
if (displayMode == Dock::Efficient)
{
painter.setPen(Qt::white);
painter.drawText(rect(), Qt::AlignCenter, current.toString(tr("HH:mm")));
painter.drawText(rect(), Qt::AlignCenter, current.toString("HH:mm"));
return;
}

View File

@ -8,19 +8,6 @@
<source>Time Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../plugins/datetime/datetimeplugin.cpp" line="105"/>
<source> HH:mm:ss</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DatetimeWidget</name>
<message>
<location filename="../plugins/datetime/datetimewidget.cpp" line="42"/>
<source>HH:mm</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DeviceItem</name>
@ -358,17 +345,17 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="143"/>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="147"/>
<source>Wireless Network</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="145"/>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="149"/>
<source>Wireless Network %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="370"/>
<location filename="../plugins/network/item/applet/wirelessapplet.cpp" line="378"/>
<source>Password required to connect to &lt;font color=&quot;#faca57&quot;&gt;%1&lt;/font&gt;</source>
<translation type="unfinished"></translation>
</message>