summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-08-11 12:39:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-08-11 12:39:06 +0200
commit0f7a4af1683abfe892cb6d05536818a964d8cfe6 (patch)
tree13bb325aa8f5b390db1227c7875b0e406a43efec /interface.c
parent5b8fe34a0e8398a901eebe42c9385622d9bd7a22 (diff)
downloadvdr-0f7a4af1683abfe892cb6d05536818a964d8cfe6.tar.gz
vdr-0f7a4af1683abfe892cb6d05536818a964d8cfe6.tar.bz2
Switched I18N to gettext
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface.c b/interface.c
index 9c4aefa9..efdf7371 100644
--- a/interface.c
+++ b/interface.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: interface.c 1.75 2006/03/31 14:20:04 kls Exp $
+ * $Id: interface.c 1.76 2007/08/04 14:39:25 kls Exp $
*/
#include "interface.h"
@@ -87,9 +87,7 @@ bool cInterface::QueryKeys(cRemote *Remote, cSkinDisplayMenu *DisplayMenu)
eKeys NewKey = kUp;
while (NewKey != kNone) {
char *Prompt;
- char buf[32];
- snprintf(buf, sizeof(buf), "Key$%s", cKey::ToString(NewKey));
- asprintf(&Prompt, tr("Press key for '%s'"), tr(buf));
+ asprintf(&Prompt, tr("Press key for '%s'"), cKey::ToString(NewKey, true));
DisplayMenu->SetItem(Prompt, 4, false, false);
free(Prompt);
cRemote::Clear();