From a8380a3484ebbd638dc78b9c7876d7c18d4c9225 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Sun, 5 Jul 2015 14:05:13 +0200 Subject: [PATCH] updated translations --- lang/de.ts | 81 +++++++++++++++++++++++++++++++++--- lang/en.ts | 81 +++++++++++++++++++++++++++++++++--- src/libsnore/application.cpp | 4 +- 3 files changed, 155 insertions(+), 11 deletions(-) diff --git a/lang/de.ts b/lang/de.ts index 7c77176..3654e7a 100644 --- a/lang/de.ts +++ b/lang/de.ts @@ -1,6 +1,14 @@ + + Default Alert + + + Default + Standart + + GrowlSettings @@ -39,6 +47,51 @@ Devices: Geräte: + + + Email Address: + Email Adresse: + + + + Password: + Passwort: + + + + Device Name: + Geräte Name: + + + + Status + + + + + If you don't have an accout yet please register at <a href="https://pushover.net">Pushover.net</a> + Wenn Sie noch keinen account haben, registireren Sie sich bitte auf <a href="https://pushover.net">Pushover.net</a> + + + + Log out + Abmelden + + + + Logged in. + Angemeldet. + + + + Log in + Anmelden + + + + Logged out. + Angemeldet. + SettingsDialog @@ -122,7 +175,7 @@ Snore::PluginSettingsWidget - + Enabled: Aktiv: @@ -130,22 +183,22 @@ Snore::SnoreCore - + This is Snore Dies ist Snore - + Project Website Projekt Webseite - + Hello World Hallo Welt - + Test Action Test Aktion @@ -209,4 +262,22 @@ Geräte ID: + + TrayIcon + + + Display Test Notification + Zeige eine Testmitteilung an + + + + Settings + Einstellungen + + + + Exit + Beenden + + diff --git a/lang/en.ts b/lang/en.ts index 374880f..48dfc66 100644 --- a/lang/en.ts +++ b/lang/en.ts @@ -1,6 +1,14 @@ + + Default Alert + + + Default + + + GrowlSettings @@ -39,6 +47,51 @@ Devices: + + + Email Address: + + + + + Password: + + + + + Device Name: + + + + + Status + + + + + If you don't have an accout yet please register at <a href="https://pushover.net">Pushover.net</a> + + + + + Log out + + + + + Logged in. + + + + + Log in + + + + + Logged out. + + SettingsDialog @@ -122,7 +175,7 @@ Snore::PluginSettingsWidget - + Enabled: @@ -130,22 +183,22 @@ Snore::SnoreCore - + This is Snore - + Project Website - + Hello World - + Test Action @@ -209,4 +262,22 @@ + + TrayIcon + + + Display Test Notification + + + + + Settings + + + + + Exit + + + diff --git a/src/libsnore/application.cpp b/src/libsnore/application.cpp index 20b4dc6..1bc9196 100644 --- a/src/libsnore/application.cpp +++ b/src/libsnore/application.cpp @@ -19,6 +19,8 @@ #include "application.h" #include "application_p.h" +#include + using namespace Snore; Application::Application(): @@ -29,7 +31,7 @@ Application::Application(const QString &name, const Icon &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):