From 365019de2dace8ee8a0ff4c108805c96fa081b62 Mon Sep 17 00:00:00 2001 From: likehomedream Date: Wed, 20 Dec 2023 10:56:37 +0800 Subject: [PATCH] fix name error --- kylin-theme-builder.desktop | 2 +- src/titlebar.cpp | 2 +- translation/themebuilder_en_US.ts | 5 +++++ translation/themebuilder_zh_CN.qm | Bin 6855 -> 6925 bytes translation/themebuilder_zh_CN.ts | 9 +++++++-- 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/kylin-theme-builder.desktop b/kylin-theme-builder.desktop index f0504fe..284819d 100644 --- a/kylin-theme-builder.desktop +++ b/kylin-theme-builder.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Name=Theme-Builder +Name=Kylin-Theme-Builder Name[zh_CN]=主题制作工坊 Comment=Kylin Theme Builder is a theme maker Comment[zh_CN]=主题制作工坊 diff --git a/src/titlebar.cpp b/src/titlebar.cpp index d7400f4..fb0f858 100644 --- a/src/titlebar.cpp +++ b/src/titlebar.cpp @@ -24,7 +24,7 @@ TitleBar::TitleBar(QWidget *parent) : QWidget(parent) QPixmap pixmap = scaledIcon.pixmap(QSize(30, 30)); iconlabel->setPixmap(pixmap); - QLabel *title = new QLabel("主题制作工坊"); + QLabel *title = new QLabel(tr("Kylin-Theme-Builder")); m_gohomebtn = new QPushButton(); m_gohomebtn->setFixedSize(30,30); diff --git a/translation/themebuilder_en_US.ts b/translation/themebuilder_en_US.ts index e549638..6143571 100644 --- a/translation/themebuilder_en_US.ts +++ b/translation/themebuilder_en_US.ts @@ -486,6 +486,11 @@ TitleBar + + + Kylin-Theme-Builder + + Return diff --git a/translation/themebuilder_zh_CN.qm b/translation/themebuilder_zh_CN.qm index f49fc9b475a0495243bff2e6ca7cb035c4c37d97..ed0967749f33045aef2b8cbcd50fb8d77474d5bc 100644 GIT binary patch delta 221 zcmX?Z+G{3ivm-^~)cZM8&nn97PguD3t`h?TGs8qtdB@cZY%97M7})q2*v_*sFo>5i zu)Q$=(z6-7%%(Chh{-VoxVZx93k*RWSAm+YGK9-EF@Qk0>>{AJ%fwuH#(;^v{~3Qz z?qxJ*JTUnvV?ATTWLKs#CUK?7dznHQKW`Rd{wmB7Wab|e`!w8ZGr#y_Mq!~+`6K~` z6oyoWq+r(G_wgXm$#AFx(++2b5B!-}ls|*axR~f=(n;3v#VyQf%(8Q_#8TU?}%4p8m zH2ExJJ)_fPU#2o9u_u#{GKDa1og62ru-S_FsxU`Va4>7^)4=l0;^L1P1qDjwlLQ!2 Y7*ZLMf?0dt$G1%8l?>fHPcoko0I`)cJOBUy diff --git a/translation/themebuilder_zh_CN.ts b/translation/themebuilder_zh_CN.ts index 409714f..14d01ea 100644 --- a/translation/themebuilder_zh_CN.ts +++ b/translation/themebuilder_zh_CN.ts @@ -387,7 +387,7 @@ kylin-theme-builder - 主题打包工具 + 主题制作工坊 @@ -490,7 +490,7 @@ Storage Path: - 生成deb包路径 + 生成deb包路径: @@ -510,6 +510,11 @@ TitleBar + + + Kylin-Theme-Builder + 主题制作工坊 + Return