From 6ef2f00f4e2ebad0ec955c21d03e8861a4c28fe7 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Thu, 16 Jul 2015 12:46:23 +0200 Subject: [PATCH] update translation --- lang/de.ts | 68 ++++++++++++++++--- lang/en.ts | 68 ++++++++++++++++--- src/libsnore/plugins/plugins.cpp | 4 +- src/libsnore/plugins/plugins.h | 2 +- .../backends/snoretoast/snoretoast.cpp | 2 +- 5 files changed, 122 insertions(+), 22 deletions(-) diff --git a/lang/de.ts b/lang/de.ts index 5fc969d..3531124 100644 --- a/lang/de.ts +++ b/lang/de.ts @@ -9,6 +9,27 @@ Standart + + FreedesktopFrontend + + + Failed to register dbus object. + + + + + Failed to register dbus service. + + + + + GrowlBackend + + + is not running. + ist nicht gestartet. + + GrowlSettings @@ -126,27 +147,32 @@ Mitteilungs Klang Deaktivieren: - + + Error: + + + + Primary Backends - + Secondary Bckends - + Frontends - + Plugins - + Display Test Notification Zeige eine Testmitteilung an @@ -164,6 +190,22 @@ Anwendungen + + SnarlBackend + + + is not running. + ist nicht gestartet. + + + + SnarlNetworkFrontend + + + The port is already used by a different application. + Der port wird bereits von einer anderen Anwendung verwendet. + + SnarlSettings @@ -183,22 +225,22 @@ Snore::SnoreCore - + This is Dies ist - + Everything is awesome! Alles ist super! - + Hello There! Hallo da! - + Awesome Action! Super Aktion! @@ -231,6 +273,14 @@ + + SnoreToast + + + needs at least Windows 8 to run. + benötigt mindestens Windows 8 um ausgeführt zu werden. + + SoundSettings diff --git a/lang/en.ts b/lang/en.ts index 852d0e4..cf5b283 100644 --- a/lang/en.ts +++ b/lang/en.ts @@ -9,6 +9,27 @@ + + FreedesktopFrontend + + + Failed to register dbus object. + + + + + Failed to register dbus service. + + + + + GrowlBackend + + + is not running. + + + GrowlSettings @@ -126,27 +147,32 @@ - + + Error: + + + + Primary Backends - + Secondary Bckends - + Frontends - + Plugins - + Display Test Notification @@ -164,6 +190,22 @@ + + SnarlBackend + + + is not running. + + + + + SnarlNetworkFrontend + + + The port is already used by a different application. + + + SnarlSettings @@ -183,22 +225,22 @@ Snore::SnoreCore - + This is - + Everything is awesome! - + Hello There! - + Awesome Action! @@ -231,6 +273,14 @@ + + SnoreToast + + + needs at least Windows 8 to run. + + + SoundSettings diff --git a/src/libsnore/plugins/plugins.cpp b/src/libsnore/plugins/plugins.cpp index 10597a7..19a91e1 100644 --- a/src/libsnore/plugins/plugins.cpp +++ b/src/libsnore/plugins/plugins.cpp @@ -115,8 +115,8 @@ void SnorePlugin::setDefaultSettings() void SnorePlugin::setErrorString(const QString &_error) { - m_error = name() + tr(" encountered an error: ") + _error; - snoreDebug(SNORE_WARNING) << m_error; + m_error = _error; + snoreDebug(SNORE_WARNING) << name() << "encountered an error:" << m_error; disable(); emit error(_error); } diff --git a/src/libsnore/plugins/plugins.h b/src/libsnore/plugins/plugins.h index bf95af0..07e749c 100644 --- a/src/libsnore/plugins/plugins.h +++ b/src/libsnore/plugins/plugins.h @@ -54,7 +54,7 @@ public: virtual ~SnorePlugin(); /** - * Sets the enabled state of the plugin to @param enabled. + * Sets the enabled state of the plugin to @param enabled . */ void setEnabled(bool enabled); diff --git a/src/plugins/backends/snoretoast/snoretoast.cpp b/src/plugins/backends/snoretoast/snoretoast.cpp index df0e8c7..743b6e5 100644 --- a/src/plugins/backends/snoretoast/snoretoast.cpp +++ b/src/plugins/backends/snoretoast/snoretoast.cpp @@ -129,7 +129,7 @@ QProcess *SnoreToast::createProcess(Notification noti) }); connect(p, static_cast(&QProcess::error), [this, p, noti](QProcess::ProcessError) { - setErrorString(name() + tr("encoutered an error: ") + p->errorString()); + setErrorString(name() + p->errorString()); snoreDebug(SNORE_DEBUG) << p->readAll(); if (noti.isValid()) { closeNotification(noti, Notification::NONE);