-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新翻译文件
- Loading branch information
Showing
5 changed files
with
55 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |