Skip to content

Commit

Permalink
fix: translation lost
Browse files Browse the repository at this point in the history
  • Loading branch information
Clauszy committed Oct 8, 2023
1 parent 35d77db commit 3e73f8a
Show file tree
Hide file tree
Showing 82 changed files with 718 additions and 476 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ Makefile*

# QtCtreator CMake
CMakeLists.txt.user

customscreensaver/deepin-custom-screensaver/deepin-custom-screensaver_translation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ HEADERS += \
src/slideshowconfig.h

#!! 放开注释来更新json配置文件所生成的ts文件
#DTK_SETTINGS = $${QT.dtkcore.tools}/dtk-settings
#system($$DTK_SETTINGS -o deepin-custom-screensaver_translation.cpp $$PWD/data/deepin-custom-screensaver.json)
#system(lupdate deepin-custom-screensaver_translation.cpp -ts $$PWD/translations/$${TARGET}.ts)
DTK_SETTINGS = $${QT.dtkcore.tools}/dtk-settings
system($$DTK_SETTINGS -o deepin-custom-screensaver_translation.cpp $$PWD/data/deepin-custom-screensaver.json)
SOURCES += deepin-custom-screensaver_translation.cpp

TRANSLATIONS += $$PWD/translations/$${TARGET}.ts \
$$PWD/translations/$${TARGET}_zh_CN.ts
Expand Down
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="ady" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ady" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
<source>Path</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="af" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="af" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
<source>Path</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="am_ET" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="am_ET" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
Expand All @@ -19,14 +21,15 @@
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="ar" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ar" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
Expand All @@ -19,14 +21,15 @@
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="ast" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ast" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
Expand All @@ -19,14 +21,15 @@
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="az" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="az" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
Expand All @@ -25,8 +27,9 @@
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="vanished">Şəkil tapılmadı</translation>
<translation>Şəkil tapılmadı</translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="bg" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bg" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
Expand All @@ -19,14 +21,15 @@
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="bn" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bn" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="7"/>
<source>Shuffle</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="8"/>
<source>Custom Screensaver</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="9"/>
<source>Path</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../deepin-custom-screensaver_translation.cpp" line="10"/>
<source>Slideshow</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="unfinished"/>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
</TS>
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="bo" sourcelanguage="en">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="bo" sourcelanguage="en">
<context>
<name>QObject</name>
<message>
Expand All @@ -25,8 +27,9 @@
<context>
<name>SlideshowScreenSaver</name>
<message>
<location filename="../src/slideshowscreensaver.cpp" line="143"/>
<source>Picture not found</source>
<translation type="vanished">པར་རིས་མ་ཪྙེད།</translation>
<translation>པར་རིས་མ་ཪྙེད།</translation>
</message>
</context>
</TS>
</TS>
Loading

0 comments on commit 3e73f8a

Please sign in to comment.