Skip to content

Commit 7846ad2

Browse files
GongHeng2017deepin-bot[bot]
authored andcommitted
Feat: [cpu] Add translate for cpu.
-- add translate for cpu. Log: add feature Task: https://pms.uniontech.com/task-view-384577.html
1 parent 6924401 commit 7846ad2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deepin-devicemanager/src/DeviceManager/DeviceCpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ void DeviceCpu::loadTableHeader()
304304
m_TableHeader.append("Vendor");
305305
m_TableHeader.append(frequencyIsRange() ? ("Frequency") : ("Max Frequency"));
306306
if (Common::curCpuType == Common::kSpecialCpuType1)
307-
m_TableHeader.append(tr("Max Boost Clock"));
307+
m_TableHeader.append("Max Boost Clock");
308308
m_TableHeader.append("Architecture");
309309
}
310310

deepin-devicemanager/src/DeviceManager/DeviceInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,8 @@ void DeviceBaseInfo::generatorTranslate()
12451245
<< tr("Speed") \
12461246
<< tr("Type") \
12471247
<< tr("Vendor") \
1248-
<< tr("Processor");
1248+
<< tr("Processor") \
1249+
<< tr("Max Boost Clock");
12491250
}
12501251

12511252
void DeviceBaseInfo::setSysPath(const QString &newSysPath)

0 commit comments

Comments
 (0)