Skip to content

Commit

Permalink
fix: [setting menu] add Translate
Browse files Browse the repository at this point in the history
add Translate

Log: fix issue
Bug: https://pms.uniontech.com/bug-view-261915.html
  • Loading branch information
GongHeng2017 authored and deepin-bot[bot] committed Jul 1, 2024
1 parent 986fe8a commit bc80f16
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 42 deletions.
20 changes: 13 additions & 7 deletions translations/dde-file-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
<name>PathManager</name>
<message>
<location filename="../src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp" line="238"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-core/utils/corehelper.cpp" line="43"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/crumbinterface.cpp" line="89"/>
<source>Trash</source>
<translation>Trash</translation>
</message>
Expand Down Expand Up @@ -935,7 +937,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 @@ -1364,8 +1365,8 @@
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="349"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="172"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="195"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="167"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="190"/>
<source>Source path</source>
<translation>Source path</translation>
</message>
Expand All @@ -1374,6 +1375,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 @@ -1415,7 +1421,7 @@
<translation>Empty Trash</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="179"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="174"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-workspace/views/private/renamebar_p.cpp" line="85"/>
<source>Location</source>
<translation>Location</translation>
Expand Down Expand Up @@ -4939,7 +4945,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 Expand Up @@ -5724,12 +5730,12 @@
<context>
<name>dfmplugin_trash::TrashHelper</name>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="274"/>
<source>Source Path</source>
<translation type="unfinished">Source Path</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="284"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<source>Time deleted</source>
<translation type="unfinished">Time deleted</translation>
</message>
Expand Down
20 changes: 13 additions & 7 deletions translations/dde-file-manager_bo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
<name>PathManager</name>
<message>
<location filename="../src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp" line="238"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-core/utils/corehelper.cpp" line="43"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/crumbinterface.cpp" line="89"/>
<source>Trash</source>
<translation>སྙིགས་སྣོད།</translation>
</message>
Expand Down Expand Up @@ -935,7 +937,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 @@ -1364,8 +1365,8 @@
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="349"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="172"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="195"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="167"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="190"/>
<source>Source path</source>
<translation>ཐོག་མའི་འགྲོ་ལམ།</translation>
</message>
Expand All @@ -1374,6 +1375,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 @@ -1415,7 +1421,7 @@
<translation>སྙིགས་སྣོད་གཙང་སེལ།</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="179"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="174"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-workspace/views/private/renamebar_p.cpp" line="85"/>
<source>Location</source>
<translation>གནས་ས།</translation>
Expand Down Expand Up @@ -4939,7 +4945,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 Expand Up @@ -5724,12 +5730,12 @@
<context>
<name>dfmplugin_trash::TrashHelper</name>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="274"/>
<source>Source Path</source>
<translation>ཐོག་མའི་འགྲོ་ལམ།</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="284"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<source>Time deleted</source>
<translation>བསུབས་པའི་དུས་ཚོད།</translation>
</message>
Expand Down
20 changes: 13 additions & 7 deletions translations/dde-file-manager_ug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
<name>PathManager</name>
<message>
<location filename="../src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp" line="238"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-core/utils/corehelper.cpp" line="43"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/crumbinterface.cpp" line="89"/>
<source>Trash</source>
<translation>ئەخلەت</translation>
</message>
Expand Down Expand Up @@ -935,7 +937,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 @@ -1364,8 +1365,8 @@
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="349"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="172"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="195"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="167"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="190"/>
<source>Source path</source>
<translation>ئەسلى ئورنى</translation>
</message>
Expand All @@ -1374,6 +1375,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 @@ -1415,7 +1421,7 @@
<translation>سىۋەتنى قۇرۇقداش</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="179"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="174"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-workspace/views/private/renamebar_p.cpp" line="85"/>
<source>Location</source>
<translation>ئورۇن</translation>
Expand Down Expand Up @@ -4939,7 +4945,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 Expand Up @@ -5724,12 +5730,12 @@
<context>
<name>dfmplugin_trash::TrashHelper</name>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="274"/>
<source>Source Path</source>
<translation>ئەسلى ئادېرسى</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="284"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<source>Time deleted</source>
<translation>ئۆچۈرۈلگەن ۋاقتى</translation>
</message>
Expand Down
20 changes: 13 additions & 7 deletions translations/dde-file-manager_zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@
<name>PathManager</name>
<message>
<location filename="../src/plugins/common/core/dfmplugin-trashcore/trashfileinfo.cpp" line="238"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-core/utils/corehelper.cpp" line="43"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-titlebar/utils/crumbinterface.cpp" line="89"/>
<source>Trash</source>
<translation>回收站</translation>
</message>
Expand Down Expand Up @@ -935,7 +937,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 @@ -1364,8 +1365,8 @@
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-recent/utils/recentmanager.cpp" line="349"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="172"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="195"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="167"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="190"/>
<source>Source path</source>
<translation>原始路径</translation>
</message>
Expand All @@ -1374,6 +1375,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 @@ -1415,7 +1421,7 @@
<translation>清空回收站</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="179"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="174"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-workspace/views/private/renamebar_p.cpp" line="85"/>
<source>Location</source>
<translation>位置</translation>
Expand Down Expand Up @@ -4939,7 +4945,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 Expand Up @@ -5724,12 +5730,12 @@
<context>
<name>dfmplugin_trash::TrashHelper</name>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="274"/>
<source>Source Path</source>
<translation>原始路径</translation>
</message>
<message>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="284"/>
<location filename="../src/plugins/filemanager/core/dfmplugin-trash/utils/trashhelper.cpp" line="279"/>
<source>Time deleted</source>
<translation>删除时间</translation>
</message>
Expand Down
Loading

0 comments on commit bc80f16

Please sign in to comment.