From 4d1102780085b25c02cdf4c87a3fe73b67890730 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Sat, 26 Mar 2011 16:46:32 +0100 Subject: add german translations for the OSD menu --- dynamicdevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dynamicdevice.c') diff --git a/dynamicdevice.c b/dynamicdevice.c index 3426994..2f9bbee 100644 --- a/dynamicdevice.c +++ b/dynamicdevice.c @@ -194,7 +194,7 @@ attach: dynamicdevice[freeIndex]->ReadUdevProperties(); cPluginManager::CallAllServices("dynamite-event-DeviceAttached-v0.1", (void*)DevPath); if (enableOsdMessages) { - cString osdMsg = cString::sprintf("attached %s", DevPath); + cString osdMsg = cString::sprintf(tr("attached %s"), DevPath); Skins.QueueMessage(mtInfo, *osdMsg); } return ddrcSuccess; @@ -238,7 +238,7 @@ eDynamicDeviceReturnCode cDynamicDevice::DetachDevice(const char *DevPath, bool dynamicdevice[index]->DeleteSubDevice(); isyslog("dynamite: detached device %s%s", DevPath, (Force ? " (forced)" : "")); if (enableOsdMessages) { - cString osdMsg = cString::sprintf("detached %s", DevPath); + cString osdMsg = cString::sprintf(tr("detached %s"), DevPath); Skins.QueueMessage(mtInfo, *osdMsg); } return ddrcSuccess; -- cgit v1.2.3