1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a missing "Key$" in skincurses.c

This commit is contained in:
Klaus Schmidinger 2006-04-14 11:36:41 +02:00
parent f13959a9f2
commit 6635a1d69e
4 changed files with 9 additions and 3 deletions

View File

@ -1475,6 +1475,7 @@ Darren Salt <linux@youmustbejoking.demon.co.uk>
for making all font and image data 'const' for making all font and image data 'const'
for fixing format string handling for fixing format string handling
for suggesting to add NULL checks to some strdup() calls in menuitems.c for suggesting to add NULL checks to some strdup() calls in menuitems.c
for reporting a missing "Key$" in skincurses.c
Sean Carlos <seanc@libero.it> Sean Carlos <seanc@libero.it>
for translating OSD texts to the Italian language for translating OSD texts to the Italian language

View File

@ -4517,3 +4517,4 @@ Video Disk Recorder Revision History
and PremiereContentTransmissionDescriptor to 'libsi' (thanks to Marco Schlüßler). and PremiereContentTransmissionDescriptor to 'libsi' (thanks to Marco Schlüßler).
- Using geteuid() to check whether VDR is running as user 'root' (suggested by - Using geteuid() to check whether VDR is running as user 'root' (suggested by
Tobias Grimm). Tobias Grimm).
- Added a missing "Key$" in skincurses.c (reported by Darren Salt).

View File

@ -25,3 +25,7 @@ VDR Plugin 'skincurses' Revision History
2005-11-26: Version 0.0.5 2005-11-26: Version 0.0.5
- Fixed SetProgress() in case Total is 0. - Fixed SetProgress() in case Total is 0.
2006-04-14: Version 0.0.6
- Added a missing "Key$" in skincurses.c.

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: skincurses.c 1.7 2005/11/26 13:52:39 kls Exp $ * $Id: skincurses.c 1.8 2006/04/14 11:35:59 kls Exp $
*/ */
#include <ncurses.h> #include <ncurses.h>
@ -11,7 +11,7 @@
#include <vdr/plugin.h> #include <vdr/plugin.h>
#include <vdr/skins.h> #include <vdr/skins.h>
static const char *VERSION = "0.0.5"; static const char *VERSION = "0.0.6";
static const char *DESCRIPTION = "A text only skin"; static const char *DESCRIPTION = "A text only skin";
static const char *MAINMENUENTRY = NULL; static const char *MAINMENUENTRY = NULL;
@ -564,7 +564,7 @@ void cSkinCursesDisplayVolume::SetVolume(int Current, int Total, bool Mute)
{ {
if (Mute) { if (Mute) {
osd->DrawRectangle(0, 0, OsdWidth - 1, 0, clrTransparent); osd->DrawRectangle(0, 0, OsdWidth - 1, 0, clrTransparent);
osd->DrawText(0, 0, tr("Mute"), clrGreen, clrBackground, &Font); osd->DrawText(0, 0, tr("Key$Mute"), clrGreen, clrBackground, &Font);
} }
else { else {
const char *Prompt = tr("Volume "); const char *Prompt = tr("Volume ");