mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
refactor(sound):amendment translation copywriting
电池过放后接电源,OS下电池图标显示“电量0%...” 修正翻译文案 task:21671 (cherry picked from commit 0b22d1466975f4652cae4d8a7305c6cb3c6027fe)
This commit is contained in:
parent
512eccf0b8
commit
5c9cedca3c
@ -234,8 +234,8 @@ void PowerPlugin::refreshTipsData()
|
||||
uint hour = time.toString("hh").toUInt();
|
||||
uint min = time.toString("mm").toUInt();
|
||||
QString tips;
|
||||
if (timeToFull == 0) {
|
||||
tips = tr("Charging %1 ....").arg(value);
|
||||
if(timeToFull == 0) { // 电量已充満或电量计算中,剩余充满时间会返回0
|
||||
tips = tr("Capacity %1 ....").arg(value);
|
||||
} else if (hour == 0) {
|
||||
tips = tr("Charging %1, %2 min until full").arg(value).arg(min);
|
||||
} else {
|
||||
|
@ -221,6 +221,10 @@
|
||||
<source>Charged</source>
|
||||
<translation>Charged</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Capacity %1 ....</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ShowDesktopPlugin</name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user