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

Added i18n of 'Disk' in main menu title

This commit is contained in:
Klaus Schmidinger 2002-03-22 14:39:45 +01:00
parent f94627ab13
commit 70db7f17bc
2 changed files with 13 additions and 3 deletions

12
i18n.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: i18n.c 1.69 2002/03/22 14:30:41 kls Exp $
* $Id: i18n.c 1.70 2002/03/22 14:39:45 kls Exp $
*
* Slovenian translations provided by Miha Setina <mihasetina@softhome.net>
* Italian translations provided by Alberto Carraro <bertocar@tin.it>
@ -1669,6 +1669,16 @@ const tPhrase Phrases[] = {
"", // TODO
"ala",
},
{ "Disk",
"Disk",
"Disk",
"Disk",
"Disk",
"Disk",
"Disk",
"Disk",
"Disk",
},
{ "free",
"frei",
"", // TODO

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.172 2002/03/17 14:23:44 kls Exp $
* $Id: menu.c 1.173 2002/03/22 14:39:04 kls Exp $
*/
#include "menu.h"
@ -2286,7 +2286,7 @@ void cMenuMain::Set(void)
int Minutes = int(double(FreeMB) / MB_PER_MINUTE);
int Hours = Minutes / 60;
Minutes %= 60;
snprintf(buffer, sizeof(buffer), "%s - Disk %d%% - %2d:%02d %s", tr("VDR"), Percent, Hours, Minutes, tr("free"));
snprintf(buffer, sizeof(buffer), "%s - %s %d%% - %2d:%02d %s", tr("VDR"), tr("Disk"), Percent, Hours, Minutes, tr("free"));
SetTitle(buffer);
// Basic menu items: