updated translations

This commit is contained in:
Patrick von Reth 2015-07-05 14:05:13 +02:00
parent 6aed996b34
commit a8380a3484
3 changed files with 155 additions and 11 deletions

View File

@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1" language="de_CH"> <TS version="2.1" language="de_CH">
<context>
<name>Default Alert</name>
<message>
<location filename="../src/libsnore/application.cpp" line="34"/>
<source>Default</source>
<translation>Standart</translation>
</message>
</context>
<context> <context>
<name>GrowlSettings</name> <name>GrowlSettings</name>
<message> <message>
@ -39,6 +47,51 @@
<source>Devices:</source> <source>Devices:</source>
<translation>Geräte:</translation> <translation>Geräte:</translation>
</message> </message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="36"/>
<source>Email Address:</source>
<translation>Email Adresse:</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="37"/>
<source>Password:</source>
<translation>Passwort:</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/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"/>
<source>Status</source>
<translation></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="42"/>
<source>If you don&apos;t have an accout yet please register at &lt;a href=&quot;https://pushover.net&quot;&gt;Pushover.net&lt;/a&gt;</source>
<translation>Wenn Sie noch keinen account haben, registireren Sie sich bitte auf &lt;a href=&quot;https://pushover.net&quot;&gt;Pushover.net&lt;/a&gt;</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="88"/>
<source>Log out</source>
<translation>Abmelden</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="89"/>
<source>Logged in.</source>
<translation>Angemeldet.</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="95"/>
<source>Log in</source>
<translation>Anmelden</translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="97"/>
<source>Logged out.</source>
<translation>Angemeldet.</translation>
</message>
</context> </context>
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
@ -122,7 +175,7 @@
<context> <context>
<name>Snore::PluginSettingsWidget</name> <name>Snore::PluginSettingsWidget</name>
<message> <message>
<location filename="../src/libsnore/plugins/pluginsettingswidget.cpp" line="36"/> <location filename="../src/libsnore/plugins/pluginsettingswidget.cpp" line="35"/>
<source>Enabled:</source> <source>Enabled:</source>
<translation>Aktiv:</translation> <translation>Aktiv:</translation>
</message> </message>
@ -130,22 +183,22 @@
<context> <context>
<name>Snore::SnoreCore</name> <name>Snore::SnoreCore</name>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="239"/> <location filename="../src/libsnore/snore.cpp" line="242"/>
<source>This is Snore</source> <source>This is Snore</source>
<translation>Dies ist Snore</translation> <translation>Dies ist Snore</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="239"/> <location filename="../src/libsnore/snore.cpp" line="243"/>
<source>Project Website</source> <source>Project Website</source>
<translation>Projekt Webseite</translation> <translation>Projekt Webseite</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="243"/> <location filename="../src/libsnore/snore.cpp" line="247"/>
<source>Hello World</source> <source>Hello World</source>
<translation>Hallo Welt</translation> <translation>Hallo Welt</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="244"/> <location filename="../src/libsnore/snore.cpp" line="248"/>
<source>Test Action</source> <source>Test Action</source>
<translation>Test Aktion</translation> <translation>Test Aktion</translation>
</message> </message>
@ -209,4 +262,22 @@
<translation>Geräte ID:</translation> <translation>Geräte ID:</translation>
</message> </message>
</context> </context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../src/daemon/trayicon.cpp" line="77"/>
<source>Display Test Notification</source>
<translation>Zeige eine Testmitteilung an</translation>
</message>
<message>
<location filename="../src/daemon/trayicon.cpp" line="79"/>
<source>Settings</source>
<translation>Einstellungen</translation>
</message>
<message>
<location filename="../src/daemon/trayicon.cpp" line="81"/>
<source>Exit</source>
<translation>Beenden</translation>
</message>
</context>
</TS> </TS>

View File

@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS> <!DOCTYPE TS>
<TS version="2.1"> <TS version="2.1">
<context>
<name>Default Alert</name>
<message>
<location filename="../src/libsnore/application.cpp" line="34"/>
<source>Default</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>GrowlSettings</name> <name>GrowlSettings</name>
<message> <message>
@ -39,6 +47,51 @@
<source>Devices:</source> <source>Devices:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="36"/>
<source>Email Address:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="37"/>
<source>Password:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="38"/>
<source>Device Name:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="40"/>
<source>Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="42"/>
<source>If you don&apos;t have an accout yet please register at &lt;a href=&quot;https://pushover.net&quot;&gt;Pushover.net&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="88"/>
<source>Log out</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="89"/>
<source>Logged in.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="95"/>
<source>Log in</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/plugins/frontends/pushover/pushoversettings.cpp" line="97"/>
<source>Logged out.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>SettingsDialog</name> <name>SettingsDialog</name>
@ -122,7 +175,7 @@
<context> <context>
<name>Snore::PluginSettingsWidget</name> <name>Snore::PluginSettingsWidget</name>
<message> <message>
<location filename="../src/libsnore/plugins/pluginsettingswidget.cpp" line="36"/> <location filename="../src/libsnore/plugins/pluginsettingswidget.cpp" line="35"/>
<source>Enabled:</source> <source>Enabled:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -130,22 +183,22 @@
<context> <context>
<name>Snore::SnoreCore</name> <name>Snore::SnoreCore</name>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="239"/> <location filename="../src/libsnore/snore.cpp" line="242"/>
<source>This is Snore</source> <source>This is Snore</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="239"/> <location filename="../src/libsnore/snore.cpp" line="243"/>
<source>Project Website</source> <source>Project Website</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="243"/> <location filename="../src/libsnore/snore.cpp" line="247"/>
<source>Hello World</source> <source>Hello World</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="244"/> <location filename="../src/libsnore/snore.cpp" line="248"/>
<source>Test Action</source> <source>Test Action</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -209,4 +262,22 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>TrayIcon</name>
<message>
<location filename="../src/daemon/trayicon.cpp" line="77"/>
<source>Display Test Notification</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/daemon/trayicon.cpp" line="79"/>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/daemon/trayicon.cpp" line="81"/>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS> </TS>

View File

@ -19,6 +19,8 @@
#include "application.h" #include "application.h"
#include "application_p.h" #include "application_p.h"
#include <QApplication>
using namespace Snore; using namespace Snore;
Application::Application(): Application::Application():
@ -29,7 +31,7 @@ Application::Application(const QString &name, const Icon &icon) :
d(new ApplicationData(name, icon)) d(new ApplicationData(name, icon))
{ {
addAlert(Alert(QObject::tr("Default"), icon)); addAlert(Alert(qApp->translate("Default Alert", "Default"), icon));
} }
Application::Application(const Application &other): Application::Application(const Application &other):