diff --git a/src/maininterface.cpp b/src/maininterface.cpp index d430129..25d3261 100644 --- a/src/maininterface.cpp +++ b/src/maininterface.cpp @@ -171,8 +171,7 @@ void MainInterface::initLeftBar() m_grubbtn->setText(tr("GrubTheme")); m_buildbtn = new QPushButton(m_navigationwidget); - m_buildbtn->setText(tr("Start Building")); - + m_buildbtn->setFont(QFont("Arial" , 12)); buttonGroup->addButton(m_globalbtn); buttonGroup->addButton(m_iconbtn); buttonGroup->addButton(m_cursorbtn); @@ -204,6 +203,7 @@ void MainInterface::setGlobalTheme() m_cursorbtn->setHidden(false); m_plymouthbtn->setHidden(false); m_grubbtn->setHidden(false); + m_buildbtn->setText(tr("Start Global Theme Building")); FileProcess::g_createThemeType = "globalTheme"; } @@ -216,6 +216,7 @@ void MainInterface::setIconTheme() m_cursorbtn->setHidden(true); m_plymouthbtn->setHidden(true); m_grubbtn->setHidden(true); + m_buildbtn->setText(tr("Start Icon Theme Building")); FileProcess::g_createThemeType = "iconTheme"; } @@ -228,6 +229,7 @@ void MainInterface::setCursorTheme() m_cursorbtn->setChecked(true); m_plymouthbtn->setHidden(true); m_grubbtn->setHidden(true); + m_buildbtn->setText(tr("Start Cursor Theme Building")); FileProcess::g_createThemeType = "cursorTheme"; } @@ -241,6 +243,7 @@ void MainInterface::setPlymouthTheme() m_plymouthbtn->setHidden(false); m_plymouthbtn->setChecked(true); m_grubbtn->setHidden(true); + m_buildbtn->setText(tr("Start Plymouth Theme Building")); FileProcess::g_createThemeType = "plymouthTheme"; } @@ -253,6 +256,7 @@ void MainInterface::setGrubTheme() m_plymouthbtn->setHidden(true); m_grubbtn->setHidden(false); m_grubbtn->setChecked(true); + m_buildbtn->setText(tr("Start Grub Theme Building")); FileProcess::g_createThemeType = "grubTheme"; } diff --git a/translation/themebuilder_en_US.ts b/translation/themebuilder_en_US.ts index 6dba30d..b510cd8 100644 --- a/translation/themebuilder_en_US.ts +++ b/translation/themebuilder_en_US.ts @@ -4,14 +4,14 @@ CursorThemeWidget - - + + Select SVG file - - + + SVG file (*.svg) @@ -50,109 +50,109 @@ GlobalThemeWidget - + Overall theme rendering - - + + Select picture file - - + + Picture file (*.png *.jpg) - + Desktop wallpaper - + Window appearance - + light - + dark - + Control fillet - + Accent colour - + daybreakBlue - + jamPurple - + magenta - + sunRed - + sunsetOrange - + dustGold - + polarGreen - + Window transparency - + Window fillet - + Large - + Medium - + Small @@ -160,12 +160,12 @@ GrubThemeWidget - + Select picture file - + Picture file (*.png *.jpg) @@ -173,12 +173,12 @@ HistoryWidget - + Historical record - + Records are kept for 30 days only @@ -186,24 +186,24 @@ IconThemeWidget - - + + Select SVG file - - + + SVG file (*.svg) - + APP - + System setting @@ -211,50 +211,50 @@ InfoCreateWidget - + ThemeName-CN - + ThemeName-EN - + Builder Name - + Builder Mail - + Back - + OK - + Create - - - + + + Input format error! - - + + Input is empty! @@ -262,95 +262,115 @@ MainInterface - + GlobalTheme - + IconTheme - + CursorTheme - + PlymouthTheme - + GrubTheme - - Start Building + + Start Global Theme Building + + + + + Start Icon Theme Building + + + + + Start Cursor Theme Building + + + + + Start Plymouth Theme Building + + + + + Start Grub Theme Building MainWindow - + kylin-theme-builder - + User guide - + Global Theme - + Topics include basic styles for windows and controls, icons, cursors, and more! - + Icon Theme - + The icon theme includes multiple application icons and system settings homepage icons. - + Cursor Theme - + Cursor theme for pointer cursor icon - + Plymouth Theme - + Boot animation can be customized to boot screen effect - + GRUB Theme - + Modify GURB background wallpaper @@ -358,12 +378,12 @@ PlymouthThemeWidget - + Select MP4 file - + MP4 file (*.svg *.png *.gif *.mp4) @@ -371,29 +391,37 @@ TitleBar - + Menu - + Save path - + about - + help - + exit + + cacheConfirmedWidget + + + cancel + + + diff --git a/translation/themebuilder_zh_CN.qm b/translation/themebuilder_zh_CN.qm index cbf4281..3703b30 100644 Binary files a/translation/themebuilder_zh_CN.qm and b/translation/themebuilder_zh_CN.qm differ diff --git a/translation/themebuilder_zh_CN.ts b/translation/themebuilder_zh_CN.ts index e1552c1..4bfd25c 100644 --- a/translation/themebuilder_zh_CN.ts +++ b/translation/themebuilder_zh_CN.ts @@ -4,14 +4,14 @@ CursorThemeWidget - - + + Select SVG file 选择SVG文件 - - + + SVG file (*.svg) SVG 文件 (*.svg) @@ -50,109 +50,109 @@ GlobalThemeWidget - + Overall theme rendering 全局主题效果图 - - + + Select picture file 选择图片文件 - - + + Picture file (*.png *.jpg) 图片文件 (*.png *.jpg) - + Desktop wallpaper 桌面壁纸 - + Window appearance 窗口外观 - + light 浅色 - + dark 深色 - + Control fillet 控件圆角 - + Accent colour 强调色 - + daybreakBlue 拂晓蓝 - + jamPurple 果酱紫 - + magenta 玫瑰红 - + sunRed 烈日红 - + sunsetOrange 日暮橙 - + dustGold 薄雾金 - + polarGreen 极光绿 - + Window transparency 窗口透明度 - + Window fillet 窗口圆角 - + Large - + Medium - + Small @@ -160,12 +160,12 @@ GrubThemeWidget - + Select picture file 选择图片文件 - + Picture file (*.png *.jpg) 图片文件 (*.png *.jpg) @@ -173,12 +173,12 @@ HistoryWidget - + Historical record 历史记录 - + Records are kept for 30 days only 仅保留30天内的记录 @@ -186,24 +186,24 @@ IconThemeWidget - - + + Select SVG file 选择SVG文件 - - + + SVG file (*.svg) SVG 文件 (*.svg) - + APP APP - + System setting 系统设置 @@ -211,50 +211,50 @@ InfoCreateWidget - + ThemeName-CN 主题名称-中文 - + ThemeName-EN 主题名称-英文 - + Builder Name 创作者 - + Builder Mail 联系邮箱 - + Back 取消 - + OK 确定 - + Create 创建 - - - + + + Input format error! 输入格式错误! - - + + Input is empty! 输入为空! @@ -262,95 +262,119 @@ MainInterface - + GlobalTheme 全局样式 - + IconTheme 图标主题 - + CursorTheme 光标主题 - + PlymouthTheme 开机动画 - + GrubTheme 启动个性化 - + + Start Global Theme Building + 开始制作全局主题 + + + + Start Icon Theme Building + 开始制作图标主题 + + + + Start Cursor Theme Building + 开始制作光标主题 + + + + Start Plymouth Theme Building + 开始制作开机动画主题 + + + + Start Grub Theme Building + 开始制作Grub主题 + + Start Building - 制作全局主题 + 制作全局主题 MainWindow - + kylin-theme-builder 主题打包工具 - + User guide 使用指南 - + Global Theme 全局主题 - + Topics include basic styles for windows and controls, icons, cursors, and more! 主题包含窗口与控件基础样式、图标、光标等内容 - + Icon Theme 图标主题 - + The icon theme includes multiple application icons and system settings homepage icons. 图标主题包含系统自带多个应用图标和系统设置首页图标 - + Cursor Theme 光标主题 - + Cursor theme for pointer cursor icon 光标主题为指针光标图标 - + Plymouth Theme 开机动画 - + Boot animation can be customized to boot screen effect 开机动画可以自定义开机界面效果 - + GRUB Theme GRUB背景 - + Modify GURB background wallpaper 修改GURB背景壁纸 @@ -370,12 +394,12 @@ 图片文件 (*.svg *.png *.gif *.mp4) - + Select MP4 file 选择MP4文件 - + MP4 file (*.svg *.png *.gif *.mp4) 选择MP4文件(*.mp4) @@ -383,29 +407,37 @@ TitleBar - + Menu 菜单 - + Save path 保存路径 - + about 关于 - + help 帮助 - + exit 退出 + + cacheConfirmedWidget + + + cancel + + +