Skip to content

Commit

Permalink
fix: [new tab] Change translate of new tab
Browse files Browse the repository at this point in the history
Change translate of new tab

Log: fix issue
Bug: https://pms.uniontech.com/bug-view-261915.html
  • Loading branch information
GongHeng2017 committed Jul 1, 2024
1 parent 4a401ba commit 80ef590
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void TitleBarHelper::createSettingsMenu(quint64 id)
action->setData(MenuAction::kNewWindow);
menu->addAction(action);

action = new QAction(QObject::tr("Open in new tab"), menu);
action = new QAction(QObject::tr("New tab"), menu);
action->setData(MenuAction::kOpenInNewTab);
menu->addAction(action);

Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>Desktop</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>New window</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation type="unfinished">New tab</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>Bit</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>Available</translation>
</message>
Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager_bo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>ཅོག་ངོས་མངོན་སྟོན།</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>སྒེའུ་ཁུང་གསར་འཛུགས།</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation>ཤོག་བྱང་གསར་བཟོ།</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>གནས།</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>སྤྱོད་ཆོག</translation>
</message>
Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager_ug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>ئۈستەليۈزى</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>يېڭى كۆزنەك</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation>يىڭى بەت</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>بىت</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>ئىشلەتكىلى بولىدۇ</translation>
</message>
Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>桌面</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>新建窗口</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation>新建标签</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>位</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>可用</translation>
</message>
Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager_zh_HK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>桌面</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>新建窗口</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation>新建標籤</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>位</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>可用</translation>
</message>
Expand Down
10 changes: 7 additions & 3 deletions translations/dde-file-manager_zh_TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<context>
<name>DesktopMain</name>
<message>
<location filename="../src/apps/dde-desktop/main.cpp" line="266"/>
<location filename="../src/apps/dde-desktop/main.cpp" line="278"/>
<source>Desktop</source>
<translation>桌面</translation>
</message>
Expand Down Expand Up @@ -935,7 +935,6 @@
<location filename="../src/plugins/filemanager/core/dfmplugin-computer/utils/computerdatastruct.cpp" line="16"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="326"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-sidebar/utils/sidebarhelper.cpp" line="191"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/views/crumbbar.cpp" line="411"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="67"/>
<location filename="../src/plugins/filemanager/dfmplugin-myshares/myshares.cpp" line="74"/>
Expand Down Expand Up @@ -1374,6 +1373,11 @@
<source>New window</source>
<translation>建立視窗</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="72"/>
<source>New tab</source>
<translation>建立標籤</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/titlebarhelper.cpp" line="78"/>
<source>Connect to Server</source>
Expand Down Expand Up @@ -4911,7 +4915,7 @@
<translation>位</translation>
</message>
<message>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="401"/>
<location filename="../src/plugins/common/core/dfmplugin-propertydialog/views/computerpropertydialog.cpp" line="398"/>
<source>Available</source>
<translation>可用</translation>
</message>
Expand Down

0 comments on commit 80ef590

Please sign in to comment.