Skip to content

Commit

Permalink
chore: update translation
Browse files Browse the repository at this point in the history
更新翻译文件
  • Loading branch information
myml committed Nov 22, 2024
1 parent 9047b31 commit 1b90512
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 39 deletions.
18 changes: 18 additions & 0 deletions deepin-home.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,34 @@ X-Deepin-TurboType=dtkqml

# Translations:
# Do not manually modify!
GenericName[ca]=Missatge
GenericName[de]=Nachricht
GenericName[es]=Mensaje
GenericName[fi]=Viesti
GenericName[gl_ES]=Mensaxe
GenericName[hu]=Üzenetek
GenericName[it]=Messaggi
GenericName[nl]=Bericht
GenericName[pl]=Wiadomość
GenericName[pt_BR]=Mensagem
GenericName[ro]=Mesaj
GenericName[sk]=Správa
GenericName[sq]=Mesazh
GenericName[tr]=İleti
GenericName[zh_CN]=消息
Name[ca]=Inici del Deepin
Name[de]=Deepin Home
Name[es]=Centro de comentarios
Name[fi]=Deepin Home
Name[gl_ES]=Deepin Home
Name[hu]=Deepin® Központ
Name[it]=Deepin Home
Name[nl]=Deepin Thuis
Name[pl]=Główna Deepin
Name[pt_BR]=Comunidade
Name[ro]=Deepin Acasă
Name[sk]=Deepin Domov
Name[sq]=Kreu i Deepin-it
Name[tr]=Deepin Anasayfa
Name[zh_CN]=深度之家

10 changes: 5 additions & 5 deletions translations/deepin-home-daemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
<context>
<name>HomeDaemon</name>
<message>
<location filename="../src/main/homeDaemon.cpp" line="55"/>
<location filename="../src/main/homeDaemon.cpp" line="71"/>
<source>Deepin Home</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main/homeDaemon.cpp" line="57"/>
<location filename="../src/main/homeDaemon.cpp" line="83"/>
<source>Show main window</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main/homeDaemon.cpp" line="72"/>
<location filename="../src/main/homeDaemon.cpp" line="89"/>
<source>Communication</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main/homeDaemon.cpp" line="75"/>
<location filename="../src/main/homeDaemon.cpp" line="92"/>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main/homeDaemon.cpp" line="315"/>
<location filename="../src/main/homeDaemon.cpp" line="333"/>
<source>View</source>
<translation type="unfinished"></translation>
</message>
Expand Down
70 changes: 37 additions & 33 deletions translations/deepin-home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@
<context>
<name>AccountButton</name>
<message>
<source>My Favorites</source>
<source>Unlogged</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sign out</source>
<source>My Favorites</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unlogged</source>
<source>My Feedbacks</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sign in</source>
<source>Sign out</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My Feedbacks</source>
<source>Sign in</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down Expand Up @@ -98,39 +98,39 @@
<translation type="unfinished"></translation>
</message>
<message>
<source>All</source>
<source>Type:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bug</source>
<source>All</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Suggestions</source>
<source>Bug</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Newest</source>
<source>Suggestions</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Favorite</source>
<source>Version:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Urge</source>
<source>Sort:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Type:</source>
<source>Newest</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Version:</source>
<source>Favorite</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Sort:</source>
<source>Urge</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down Expand Up @@ -176,6 +176,10 @@
<source>Internal Testing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Global Translation</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Community News</source>
<translation type="unfinished"></translation>
Expand All @@ -184,15 +188,15 @@
<context>
<name>List</name>
<message>
<source>Messages</source>
<source>No more items</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Questionaires</source>
<source>Messages</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No more items</source>
<source>Questionaires</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down Expand Up @@ -280,6 +284,10 @@
<source>Pending</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reproducing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Confirmed</source>
<translation type="unfinished"></translation>
Expand All @@ -304,10 +312,6 @@
<source>Completed</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Reproducing</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>The issue has not been processed and will not be displayed in the public listing.</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -363,10 +367,6 @@
<source>The image file format is not supported for uploading.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Submit Feedback</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[Current Status of the Product]:
[Desired Product]: </source>
Expand All @@ -379,6 +379,10 @@
[Actual Results]: </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Submit Feedback</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Type:</source>
<translation type="unfinished"></translation>
Expand All @@ -403,6 +407,10 @@
<source>Content:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do not fill in multiple issues in one feedback</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do not fill in multiple requirements in one feedback</source>
<translation type="unfinished"></translation>
Expand All @@ -411,6 +419,10 @@
<source>Email:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please enter your email</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>System Version:</source>
<translation type="unfinished"></translation>
Expand Down Expand Up @@ -479,14 +491,6 @@
<source>Device Information</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please enter your email</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do not fill in multiple issues in one feedback</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>TabButton</name>
Expand Down
6 changes: 6 additions & 0 deletions translations/ts2desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# 生成 desktop 文件
cd translations
deepin-desktop-ts-convert ts2desktop ../deepin-home.desktop deepin-home-desktop deepin-home.desktop
mv deepin-home.desktop ../
3 changes: 2 additions & 1 deletion translations/update
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
# deepin-home 翻译文本生成
lupdate src/maincomponentplugin/*.cpp src/maincomponentplugin/**/*.qml src/preloadplugin/*.qml -ts translations/deepin-home.ts
lupdate src/maincomponentplugin/*.cpp src/maincomponentplugin/**/*.qml src/preloadplugin/*.qml -ts translations/deepin-home.ts
# deepin-home-daemon 翻译文本生成
lupdate src/main/*.cpp -ts translations/deepin-home-daemon.ts
# deepin-home.desktop 翻译文本生成
deepin-desktop-ts-convert desktop2ts deepin-home.desktop translations
mv translations/desktop.ts translations/deepin-home-desktop.ts

0 comments on commit 1b90512

Please sign in to comment.