mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
try QT5_CREATE_TRANSLATION instead of QT5_ADD_TRANSLATION
This commit is contained in:
parent
26f4093f8d
commit
d7f109989f
@ -17,7 +17,7 @@ if(Qt5LinguistTools_FOUND)
|
||||
|
||||
file( WRITE ${CMAKE_BINARY_DIR}/lang/snore_i18n.qrc.in "${snore_i18n_content}" )
|
||||
|
||||
qt5_add_translation(libsnore_lang ${TS_FILES})
|
||||
QT5_CREATE_TRANSLATION(libsnore_lang ${TS_FILES} ${PROJECT_SOURCE_DIR}/src)
|
||||
|
||||
add_custom_command(OUTPUT snore_i18n.qrc
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
|
36
lang/de.ts
36
lang/de.ts
@ -12,12 +12,12 @@
|
||||
<context>
|
||||
<name>FreedesktopFrontend</name>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp" line="40"/>
|
||||
<location filename="../src/plugins/frontends/freedesktop_frontend/freedesktopnotificationfrontend.cpp" line="40"/>
|
||||
<source>Failed to register dbus object.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp" line="43"/>
|
||||
<location filename="../src/plugins/frontends/freedesktop_frontend/freedesktopnotificationfrontend.cpp" line="43"/>
|
||||
<source>Failed to register dbus service.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -54,62 +54,62 @@
|
||||
<context>
|
||||
<name>PushoverSettings</name>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="30"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="30"/>
|
||||
<source>User Key:</source>
|
||||
<translation>Benutzer Schlüssel:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="31"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="31"/>
|
||||
<source>Sound:</source>
|
||||
<translation>Klang:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="32"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="32"/>
|
||||
<source>Devices:</source>
|
||||
<translation>Geräte:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="36"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="36"/>
|
||||
<source>Email Address:</source>
|
||||
<translation>Email Adresse:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="37"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="37"/>
|
||||
<source>Password:</source>
|
||||
<translation>Passwort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="38"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="38"/>
|
||||
<source>Device Name:</source>
|
||||
<translation>Geräte Name:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="40"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="40"/>
|
||||
<source>Status</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="42"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="42"/>
|
||||
<source>If you don't have an accout yet please register at <a href="https://pushover.net">Pushover.net</a></source>
|
||||
<translation>Wenn Sie noch keinen account haben, registireren Sie sich bitte auf <a href="https://pushover.net">Pushover.net</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="88"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="88"/>
|
||||
<source>Log out</source>
|
||||
<translation>Abmelden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="89"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="89"/>
|
||||
<source>Logged in.</source>
|
||||
<translation>Angemeldet.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="95"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="95"/>
|
||||
<source>Log in</source>
|
||||
<translation>Anmelden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="97"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="97"/>
|
||||
<source>Logged out.</source>
|
||||
<translation>Angemeldet.</translation>
|
||||
</message>
|
||||
@ -273,6 +273,14 @@
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnoreSend</name>
|
||||
<message>
|
||||
<location filename="../src/snoresend/main.cpp" line="140"/>
|
||||
<source>Bring to Front</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnoreToast</name>
|
||||
<message>
|
||||
|
36
lang/en.ts
36
lang/en.ts
@ -12,12 +12,12 @@
|
||||
<context>
|
||||
<name>FreedesktopFrontend</name>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp" line="40"/>
|
||||
<location filename="../src/plugins/frontends/freedesktop_frontend/freedesktopnotificationfrontend.cpp" line="40"/>
|
||||
<source>Failed to register dbus object.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/freedesktop/freedesktopnotificationfrontend.cpp" line="43"/>
|
||||
<location filename="../src/plugins/frontends/freedesktop_frontend/freedesktopnotificationfrontend.cpp" line="43"/>
|
||||
<source>Failed to register dbus service.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -54,62 +54,62 @@
|
||||
<context>
|
||||
<name>PushoverSettings</name>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="30"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="30"/>
|
||||
<source>User Key:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="31"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="31"/>
|
||||
<source>Sound:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/secondary_backends/pushover/pushoversettings.cpp" line="32"/>
|
||||
<location filename="../src/plugins/secondary_backends/pushover_backend/pushoversettings.cpp" line="32"/>
|
||||
<source>Devices:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="36"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="36"/>
|
||||
<source>Email Address:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="37"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="37"/>
|
||||
<source>Password:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="38"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="38"/>
|
||||
<source>Device Name:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="40"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="40"/>
|
||||
<source>Status</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="42"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="42"/>
|
||||
<source>If you don't have an accout yet please register at <a href="https://pushover.net">Pushover.net</a></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="88"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="88"/>
|
||||
<source>Log out</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="89"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="89"/>
|
||||
<source>Logged in.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="95"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="95"/>
|
||||
<source>Log in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="97"/>
|
||||
<location filename="../src/plugins/frontends/pushover_frontend/pushoversettings.cpp" line="97"/>
|
||||
<source>Logged out.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@ -273,6 +273,14 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnoreSend</name>
|
||||
<message>
|
||||
<location filename="../src/snoresend/main.cpp" line="140"/>
|
||||
<source>Bring to Front</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SnoreToast</name>
|
||||
<message>
|
||||
|
Loading…
x
Reference in New Issue
Block a user