Use the new LXQtTranslate modules.
authorLuís Pereira <luis.artur.pereira@gmail.com>
Tue, 4 Nov 2014 20:28:35 +0000 (12:28 -0800)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Tue, 4 Nov 2014 23:29:07 +0000 (15:29 -0800)
Eating our own dog food.

CMakeLists.txt
translations/liblxqt.ts [new file with mode: 0644]
translations/liblxqt.ts.src [deleted file]
translations/source.ts [deleted file]

index 936a9df..ce64112 100644 (file)
@@ -113,13 +113,11 @@ set(FORMS
     addplugindialog/lxqtaddplugindialog.ui
 )
 
-set(TRANSLATION_TEMPLATE "${CMAKE_CURRENT_SOURCE_DIR}/translations/source.ts")
-file(GLOB TS_FILES
-    "${CMAKE_CURRENT_SOURCE_DIR}/translations/liblxqt_*.ts"
-)
-
 # additional cmake files
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+list(APPEND CMAKE_MODULE_PATH
+    ${CMAKE_CURRENT_SOURCE_DIR}/cmake
+    ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules
+)
 
 option(UPDATE_TRANSLATIONS "Update source translation translations/*.ts files" OFF)
 
@@ -135,16 +133,21 @@ find_package(Qt5Xdg REQUIRED)
 message(STATUS "Building with Qt ${Qt5Core_VERSION_STRING}")
 
 QT5_WRAP_UI(UIS ${FORMS})
-if (UPDATE_TRANSLATIONS)
-    qt5_create_translation(QM_FILES ${SRCS} ${FORMS} ${TS_FILES} OPTIONS -locations absolute)
-    qt5_create_translation(TS_SOURCE_FILE
-        ${SRCS} ${FORMS}
-        ${TRANSLATION_TEMPLATE}
-        OPTIONS -locations absolute
-    )
-else()
-    QT5_ADD_TRANSLATION(QM_FILES ${TS_FILES})
-endif()
+
+## Translations
+include(LXQtTranslateTs)
+
+lxqt_translate_ts(QM_FILES
+    UPDATE_TRANSLATIONS
+        ${UPDATE_TRANSLATIONS}
+    SOURCES
+        ${SRCS}
+        ${FORMS}
+    INSTALL_DIR
+        ${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}
+)
+
+
 QT5_ADD_DBUS_INTERFACE(SRCS
     dbus/org.freedesktop.Notifications.xml
     notifications_interface
@@ -284,7 +287,6 @@ add_library(${LXQT_LIBRARY_NAME}
            ${dbus_generated}
            ${UIS} ${MOCS}
            ${QM_FILES}
-           ${TS_SOURCE_FILE}
            ${QRC_CXX_SOURCES}
 
 )
@@ -311,7 +313,6 @@ export(TARGETS ${LXQT_LIBRARY_NAME} ${QTXDG_TARGET} FILE ${LXQT_INTREE_TARGETS_F
 
 install(FILES ${PUB_HDRS} DESTINATION "${LXQT_INSTALL_INCLUDE_DIR}/LXQt")
 install(FILES ${INTREE_PORTABLE_HEADERS} DESTINATION "${LXQT_INSTALL_INCLUDE_DIR}/LXQt")
-install(FILES ${QM_FILES} DESTINATION "${LXQT_TRANSLATIONS_DIR}/liblxqt")
 
 #************************************************
 # Create pkgconfig file
diff --git a/translations/liblxqt.ts b/translations/liblxqt.ts
new file mode 100644 (file)
index 0000000..fd42c26
--- /dev/null
@@ -0,0 +1,333 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0">
+<context>
+    <name>AddPluginDialog</name>
+    <message>
+        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="22"/>
+        <source>Search:</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="52"/>
+        <source>Add Widget</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="59"/>
+        <source>Close</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>ConfigDialog</name>
+    <message>
+        <location filename="../configdialog/lxqtconfigdialog.ui" line="14"/>
+        <source>Dialog</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::AboutDialogPrivate</name>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="86"/>
+        <source>Version: %1</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="99"/>
+        <source>Advanced, easy-to-use, and fast desktop environment based on Qt technologies.</source>
+        <comment>About dialog, &apos;About&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="101"/>
+        <source>LXQt would not have been possible without the &lt;a %1&gt;Razor-qt&lt;/a&gt; project and its many contributors.</source>
+        <comment>About dialog, &apos;About&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="103"/>
+        <source>Copyright: %1-%2 %3</source>
+        <comment>About dialog, &apos;About&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="105"/>
+        <source>Homepage: %1</source>
+        <comment>About dialog, &apos;About&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="107"/>
+        <source>License: %1</source>
+        <comment>About dialog, &apos;About&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="117"/>
+        <source>LXQt is developed by the &lt;a %1&gt;LXQt Team and contributors&lt;/a&gt;.</source>
+        <comment>About dialog, &apos;Authors&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="119"/>
+        <source>If you are interested in working with our development team, &lt;a %1&gt;join us&lt;/a&gt;.</source>
+        <comment>About dialog, &apos;Authors&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="137"/>
+        <source>Special thanks to:</source>
+        <comment>About dialog, &apos;Thanks&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="144"/>
+        <source>LXQt is translated into many languages thanks to the work of the translation teams all over the world.</source>
+        <comment>About dialog, &apos;Translations&apos; tab text</comment>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::AddPluginDialog</name>
+    <message>
+        <location filename="../addplugindialog/lxqtaddplugindialog.cpp" line="199"/>
+        <source>(%1 active)</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::MessageBox</name>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="70"/>
+        <source>LxQt Power Manager Error</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="70"/>
+        <source>Hibernate failed.</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::NotificationPrivate</name>
+    <message>
+        <location filename="../lxqtnotification.cpp" line="152"/>
+        <source>Notifications Fallback</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::PowerManager</name>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="113"/>
+        <source>Hibernate</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="120"/>
+        <source>Suspend</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="127"/>
+        <source>Reboot</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="134"/>
+        <source>Shutdown</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="141"/>
+        <source>Logout</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="153"/>
+        <source>LxQt Session Suspend</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="154"/>
+        <source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="163"/>
+        <source>LxQt Session Hibernate</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="164"/>
+        <source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="173"/>
+        <source>LxQt Session Reboot</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="174"/>
+        <source>Do you want to really restart your computer? All unsaved work will be lost...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="183"/>
+        <source>LxQt Session Shutdown</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="184"/>
+        <source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="193"/>
+        <source>LxQt Session Logout</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="194"/>
+        <source>Do you want to really logout? All unsaved work will be lost...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="202"/>
+        <location filename="../lxqtpowermanager.cpp" line="207"/>
+        <source>LxQt Power Manager Error</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="202"/>
+        <source>Hibernate failed.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpowermanager.cpp" line="207"/>
+        <source>Suspend failed.</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>LxQt::ScreenSaver</name>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="52"/>
+        <source>Lock Screen</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="71"/>
+        <location filename="../lxqtscreensaver.cpp" line="79"/>
+        <location filename="../lxqtscreensaver.cpp" line="87"/>
+        <location filename="../lxqtscreensaver.cpp" line="99"/>
+        <location filename="../lxqtscreensaver.cpp" line="107"/>
+        <location filename="../lxqtscreensaver.cpp" line="115"/>
+        <location filename="../lxqtscreensaver.cpp" line="124"/>
+        <source>Screen Saver Activation Error</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="72"/>
+        <source>An error occurred starting screensaver. xdg-screensaver cannot be started due its crash.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="80"/>
+        <source>An error occurred starting screensaver. xdg-screensaver is not installed correctly.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="88"/>
+        <source>An error occurred starting screensaver. xdg-screensaver cannot be started.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="100"/>
+        <source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="108"/>
+        <source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="116"/>
+        <source>An error occurred starting screensaver. Action &apos;activate&apos; failed. Ensure you have xscreensaver installed and running.</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtscreensaver.cpp" line="125"/>
+        <source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver=%1.</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>QObject</name>
+    <message>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="91"/>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="141"/>
+        <source>Power Manager Error</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="92"/>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="142"/>
+        <source>QDBusInterface is invalid</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="106"/>
+        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="156"/>
+        <source>Power Manager Error (D-BUS call)</source>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+<context>
+    <name>about</name>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="165"/>
+        <source>Copy to clipboard</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="14"/>
+        <source> About LXQt</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="66"/>
+        <source>About</source>
+        <comment>About dialog, Tab title </comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="83"/>
+        <source>Authors</source>
+        <comment>About dialog, Tab title</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="100"/>
+        <source>Thanks</source>
+        <comment>About dialog, Tab title</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="117"/>
+        <source>Translations</source>
+        <comment>About dialog, Tab title</comment>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="134"/>
+        <source>Technical Info</source>
+        <comment>About dialog, Tab title</comment>
+        <translation type="unfinished"></translation>
+    </message>
+</context>
+</TS>
diff --git a/translations/liblxqt.ts.src b/translations/liblxqt.ts.src
deleted file mode 100644 (file)
index f0acf86..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="en_US">
-<context>
-    <name>AddPluginDialog</name>
-    <message>
-        <source>Add plugins</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Search:</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Add plugin</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Close</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>MessageBox</name>
-    <message>
-        <source>LxQt Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Hibernate failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::PowerManager</name>
-    <message>
-        <source>Hibernate</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Suspend</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Reboot</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Shutdown</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Logout</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Session Suspend</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Session Hibernate</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Session Reboot</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Do you want to really restart your computer? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Session Shutdown</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Session Logout</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Do you want to really logout? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LxQt Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Hibernate failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Suspend failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>QObject</name>
-    <message>
-        <source>Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>QDBusInterface is invalid</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Power Manager Error (D-BUS call)</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::AboutDialogPrivate</name>
-    <message>
-        <source>Version: %1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Advanced, easy-to-use, and fast desktop environment based on Qt technologies.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Copyright: %1-%2 %3</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Homepage: %1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>License: %1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>LXQt is translated into many languages thanks to the work of the translation teams all over the world.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Yes</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>No</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>&lt;b&gt;LxQt Desktop Toolbox - Technical Info&lt;/b&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Version</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Qt</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Debug Build</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>System Configuration</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Share Directory</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Translations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>&lt;b&gt;User Directories&lt;/b&gt;</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Data Home</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Config Home</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Data Dirs</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Cache Home</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Runtime Home</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Autostart Dirs</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Xdg Autostart Home</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ConfigDialog</name>
-    <message>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::NotificationPrivate</name>
-    <message>
-        <source>Notifications Fallback</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::ShortcutButton</name>
-    <message>
-        <source>Clear</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>None</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::ScreenSaver</name>
-    <message>
-        <source>Lock Screen</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Screen Saver Activation Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. xdg-screensaver cannot be started due its crash.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. xdg-screensaver is not installed correctly.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. xdg-screensaver cannot be started.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. Action &apos;activate&apos; failed. Ensure you have xscreensaver installed and running.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver=%1.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>about</name>
-    <message>
-        <source> About LXQt</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>About</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Authors</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Thanks</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Translations</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <source>Technical Info</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-</TS>
diff --git a/translations/source.ts b/translations/source.ts
deleted file mode 100644 (file)
index fd42c26..0000000
+++ /dev/null
@@ -1,333 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0">
-<context>
-    <name>AddPluginDialog</name>
-    <message>
-        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="22"/>
-        <source>Search:</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="52"/>
-        <source>Add Widget</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../addplugindialog/lxqtaddplugindialog.ui" line="59"/>
-        <source>Close</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>ConfigDialog</name>
-    <message>
-        <location filename="../configdialog/lxqtconfigdialog.ui" line="14"/>
-        <source>Dialog</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::AboutDialogPrivate</name>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="86"/>
-        <source>Version: %1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="99"/>
-        <source>Advanced, easy-to-use, and fast desktop environment based on Qt technologies.</source>
-        <comment>About dialog, &apos;About&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="101"/>
-        <source>LXQt would not have been possible without the &lt;a %1&gt;Razor-qt&lt;/a&gt; project and its many contributors.</source>
-        <comment>About dialog, &apos;About&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="103"/>
-        <source>Copyright: %1-%2 %3</source>
-        <comment>About dialog, &apos;About&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="105"/>
-        <source>Homepage: %1</source>
-        <comment>About dialog, &apos;About&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="107"/>
-        <source>License: %1</source>
-        <comment>About dialog, &apos;About&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="117"/>
-        <source>LXQt is developed by the &lt;a %1&gt;LXQt Team and contributors&lt;/a&gt;.</source>
-        <comment>About dialog, &apos;Authors&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="119"/>
-        <source>If you are interested in working with our development team, &lt;a %1&gt;join us&lt;/a&gt;.</source>
-        <comment>About dialog, &apos;Authors&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="137"/>
-        <source>Special thanks to:</source>
-        <comment>About dialog, &apos;Thanks&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.cpp" line="144"/>
-        <source>LXQt is translated into many languages thanks to the work of the translation teams all over the world.</source>
-        <comment>About dialog, &apos;Translations&apos; tab text</comment>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::AddPluginDialog</name>
-    <message>
-        <location filename="../addplugindialog/lxqtaddplugindialog.cpp" line="199"/>
-        <source>(%1 active)</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::MessageBox</name>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="70"/>
-        <source>LxQt Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="70"/>
-        <source>Hibernate failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::NotificationPrivate</name>
-    <message>
-        <location filename="../lxqtnotification.cpp" line="152"/>
-        <source>Notifications Fallback</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::PowerManager</name>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="113"/>
-        <source>Hibernate</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="120"/>
-        <source>Suspend</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="127"/>
-        <source>Reboot</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="134"/>
-        <source>Shutdown</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="141"/>
-        <source>Logout</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="153"/>
-        <source>LxQt Session Suspend</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="154"/>
-        <source>Do you want to really suspend your computer?&lt;p&gt;Suspends the computer into a low power state. System state is not preserved if the power is lost.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="163"/>
-        <source>LxQt Session Hibernate</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="164"/>
-        <source>Do you want to really hibernate your computer?&lt;p&gt;Hibernates the computer into a low power state. System state is preserved if the power is lost.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="173"/>
-        <source>LxQt Session Reboot</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="174"/>
-        <source>Do you want to really restart your computer? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="183"/>
-        <source>LxQt Session Shutdown</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="184"/>
-        <source>Do you want to really switch off your computer? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="193"/>
-        <source>LxQt Session Logout</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="194"/>
-        <source>Do you want to really logout? All unsaved work will be lost...</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="202"/>
-        <location filename="../lxqtpowermanager.cpp" line="207"/>
-        <source>LxQt Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="202"/>
-        <source>Hibernate failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpowermanager.cpp" line="207"/>
-        <source>Suspend failed.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>LxQt::ScreenSaver</name>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="52"/>
-        <source>Lock Screen</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="71"/>
-        <location filename="../lxqtscreensaver.cpp" line="79"/>
-        <location filename="../lxqtscreensaver.cpp" line="87"/>
-        <location filename="../lxqtscreensaver.cpp" line="99"/>
-        <location filename="../lxqtscreensaver.cpp" line="107"/>
-        <location filename="../lxqtscreensaver.cpp" line="115"/>
-        <location filename="../lxqtscreensaver.cpp" line="124"/>
-        <source>Screen Saver Activation Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="72"/>
-        <source>An error occurred starting screensaver. xdg-screensaver cannot be started due its crash.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="80"/>
-        <source>An error occurred starting screensaver. xdg-screensaver is not installed correctly.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="88"/>
-        <source>An error occurred starting screensaver. xdg-screensaver cannot be started.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="100"/>
-        <source>An error occurred starting screensaver. Syntax error in xdg-screensaver arguments.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="108"/>
-        <source>An error occurred starting screensaver. Ensure you have xscreensaver installed and running.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="116"/>
-        <source>An error occurred starting screensaver. Action &apos;activate&apos; failed. Ensure you have xscreensaver installed and running.</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtscreensaver.cpp" line="125"/>
-        <source>An error occurred starting screensaver. Unknown error - undocumented return value from xdg-screensaver=%1.</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>QObject</name>
-    <message>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="91"/>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="141"/>
-        <source>Power Manager Error</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="92"/>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="142"/>
-        <source>QDBusInterface is invalid</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="106"/>
-        <location filename="../lxqtpower/lxqtpowerproviders.cpp" line="156"/>
-        <source>Power Manager Error (D-BUS call)</source>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-<context>
-    <name>about</name>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="165"/>
-        <source>Copy to clipboard</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="14"/>
-        <source> About LXQt</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="66"/>
-        <source>About</source>
-        <comment>About dialog, Tab title </comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="83"/>
-        <source>Authors</source>
-        <comment>About dialog, Tab title</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="100"/>
-        <source>Thanks</source>
-        <comment>About dialog, Tab title</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="117"/>
-        <source>Translations</source>
-        <comment>About dialog, Tab title</comment>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
-        <location filename="../aboutdialog/lxqtaboutdialog.ui" line="134"/>
-        <source>Technical Info</source>
-        <comment>About dialog, Tab title</comment>
-        <translation type="unfinished"></translation>
-    </message>
-</context>
-</TS>