update translation

This commit is contained in:
Patrick von Reth 2015-07-16 12:46:23 +02:00
parent 7b8ac28ac5
commit 6ef2f00f4e
5 changed files with 122 additions and 22 deletions

View File

@ -9,6 +9,27 @@
<translation>Standart</translation> <translation>Standart</translation>
</message> </message>
</context> </context>
<context>
<name>FreedesktopFrontend</name>
<message>
<location filename="../src/plugins/frontends/freedesktop/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"/>
<source>Failed to register dbus service.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GrowlBackend</name>
<message>
<location filename="../src/plugins/backends/growl/growlbackend.cpp" line="70"/>
<source> is not running.</source>
<translation> ist nicht gestartet.</translation>
</message>
</context>
<context> <context>
<name>GrowlSettings</name> <name>GrowlSettings</name>
<message> <message>
@ -126,27 +147,32 @@
<translation>Mitteilungs Klang Deaktivieren:</translation> <translation>Mitteilungs Klang Deaktivieren:</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="82"/> <location filename="../src/libsnore/settingsdialog.ui" line="79"/>
<source>Error:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/libsnore/settingsdialog.ui" line="96"/>
<source>Primary Backends</source> <source>Primary Backends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="92"/> <location filename="../src/libsnore/settingsdialog.ui" line="106"/>
<source>Secondary Bckends</source> <source>Secondary Bckends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="102"/> <location filename="../src/libsnore/settingsdialog.ui" line="116"/>
<source>Frontends</source> <source>Frontends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="112"/> <location filename="../src/libsnore/settingsdialog.ui" line="126"/>
<source>Plugins</source> <source>Plugins</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="125"/> <location filename="../src/libsnore/settingsdialog.ui" line="139"/>
<source>Display Test Notification</source> <source>Display Test Notification</source>
<translation>Zeige eine Testmitteilung an</translation> <translation>Zeige eine Testmitteilung an</translation>
</message> </message>
@ -164,6 +190,22 @@
<translation>Anwendungen</translation> <translation>Anwendungen</translation>
</message> </message>
</context> </context>
<context>
<name>SnarlBackend</name>
<message>
<location filename="../src/plugins/backends/snarl/snarl.cpp" line="150"/>
<source> is not running.</source>
<translation> ist nicht gestartet.</translation>
</message>
</context>
<context>
<name>SnarlNetworkFrontend</name>
<message>
<location filename="../src/plugins/frontends/snarlnetwork/snarlnetwork.cpp" line="37"/>
<source>The port is already used by a different application.</source>
<translation>Der port wird bereits von einer anderen Anwendung verwendet.</translation>
</message>
</context>
<context> <context>
<name>SnarlSettings</name> <name>SnarlSettings</name>
<message> <message>
@ -183,22 +225,22 @@
<context> <context>
<name>Snore::SnoreCore</name> <name>Snore::SnoreCore</name>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="259"/> <location filename="../src/libsnore/snore.cpp" line="247"/>
<source>This is </source> <source>This is </source>
<translation>Dies ist </translation> <translation>Dies ist </translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="261"/> <location filename="../src/libsnore/snore.cpp" line="248"/>
<source>Everything is awesome!</source> <source>Everything is awesome!</source>
<translation>Alles ist super!</translation> <translation>Alles ist super!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="265"/> <location filename="../src/libsnore/snore.cpp" line="252"/>
<source>Hello There!</source> <source>Hello There!</source>
<translation>Hallo da!</translation> <translation>Hallo da!</translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="266"/> <location filename="../src/libsnore/snore.cpp" line="253"/>
<source>Awesome Action!</source> <source>Awesome Action!</source>
<translation>Super Aktion!</translation> <translation>Super Aktion!</translation>
</message> </message>
@ -231,6 +273,14 @@
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>SnoreToast</name>
<message>
<location filename="../src/plugins/backends/snoretoast/snoretoast.cpp" line="20"/>
<source> needs at least Windows 8 to run.</source>
<translation> benötigt mindestens Windows 8 um ausgeführt zu werden.</translation>
</message>
</context>
<context> <context>
<name>SoundSettings</name> <name>SoundSettings</name>
<message> <message>

View File

@ -9,6 +9,27 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>FreedesktopFrontend</name>
<message>
<location filename="../src/plugins/frontends/freedesktop/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"/>
<source>Failed to register dbus service.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>GrowlBackend</name>
<message>
<location filename="../src/plugins/backends/growl/growlbackend.cpp" line="70"/>
<source> is not running.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>GrowlSettings</name> <name>GrowlSettings</name>
<message> <message>
@ -126,27 +147,32 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="82"/> <location filename="../src/libsnore/settingsdialog.ui" line="79"/>
<source>Error:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/libsnore/settingsdialog.ui" line="96"/>
<source>Primary Backends</source> <source>Primary Backends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="92"/> <location filename="../src/libsnore/settingsdialog.ui" line="106"/>
<source>Secondary Bckends</source> <source>Secondary Bckends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="102"/> <location filename="../src/libsnore/settingsdialog.ui" line="116"/>
<source>Frontends</source> <source>Frontends</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="112"/> <location filename="../src/libsnore/settingsdialog.ui" line="126"/>
<source>Plugins</source> <source>Plugins</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/settingsdialog.ui" line="125"/> <location filename="../src/libsnore/settingsdialog.ui" line="139"/>
<source>Display Test Notification</source> <source>Display Test Notification</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -164,6 +190,22 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>SnarlBackend</name>
<message>
<location filename="../src/plugins/backends/snarl/snarl.cpp" line="150"/>
<source> is not running.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SnarlNetworkFrontend</name>
<message>
<location filename="../src/plugins/frontends/snarlnetwork/snarlnetwork.cpp" line="37"/>
<source>The port is already used by a different application.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>SnarlSettings</name> <name>SnarlSettings</name>
<message> <message>
@ -183,22 +225,22 @@
<context> <context>
<name>Snore::SnoreCore</name> <name>Snore::SnoreCore</name>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="259"/> <location filename="../src/libsnore/snore.cpp" line="247"/>
<source>This is </source> <source>This is </source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="261"/> <location filename="../src/libsnore/snore.cpp" line="248"/>
<source>Everything is awesome!</source> <source>Everything is awesome!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="265"/> <location filename="../src/libsnore/snore.cpp" line="252"/>
<source>Hello There!</source> <source>Hello There!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/libsnore/snore.cpp" line="266"/> <location filename="../src/libsnore/snore.cpp" line="253"/>
<source>Awesome Action!</source> <source>Awesome Action!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -231,6 +273,14 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>SnoreToast</name>
<message>
<location filename="../src/plugins/backends/snoretoast/snoretoast.cpp" line="20"/>
<source> needs at least Windows 8 to run.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>SoundSettings</name> <name>SoundSettings</name>
<message> <message>

View File

@ -115,8 +115,8 @@ void SnorePlugin::setDefaultSettings()
void SnorePlugin::setErrorString(const QString &_error) void SnorePlugin::setErrorString(const QString &_error)
{ {
m_error = name() + tr(" encountered an error: ") + _error; m_error = _error;
snoreDebug(SNORE_WARNING) << m_error; snoreDebug(SNORE_WARNING) << name() << "encountered an error:" << m_error;
disable(); disable();
emit error(_error); emit error(_error);
} }

View File

@ -54,7 +54,7 @@ public:
virtual ~SnorePlugin(); 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); void setEnabled(bool enabled);

View File

@ -129,7 +129,7 @@ QProcess *SnoreToast::createProcess(Notification noti)
}); });
connect(p, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error), [this, p, noti](QProcess::ProcessError) { connect(p, static_cast<void (QProcess::*)(QProcess::ProcessError)>(&QProcess::error), [this, p, noti](QProcess::ProcessError) {
setErrorString(name() + tr("encoutered an error: ") + p->errorString()); setErrorString(name() + p->errorString());
snoreDebug(SNORE_DEBUG) << p->readAll(); snoreDebug(SNORE_DEBUG) << p->readAll();
if (noti.isValid()) { if (noti.isValid()) {
closeNotification(noti, Notification::NONE); closeNotification(noti, Notification::NONE);