refactor(sound):amendment translation copywriting

电池过放后接电源,OS下电池图标显示“电量0%...” 修正翻译文案 task:21671

(cherry picked from commit 0b22d1466975f4652cae4d8a7305c6cb3c6027fe)
This commit is contained in:
zhaolong 2020-05-12 13:10:00 +08:00
parent 512eccf0b8
commit 5c9cedca3c
2 changed files with 6 additions and 2 deletions

View File

@ -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 {

View File

@ -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>