Removed an obsolete "Summary" text from i18n.c and preceded all key definition texts with "Key$" to avoid duplicates

This commit is contained in:
Klaus Schmidinger 2006-01-04 15:51:03 +01:00
parent a4ed08b37a
commit d5d97c3d18
4 changed files with 32 additions and 48 deletions

View File

@ -1331,6 +1331,7 @@ Lucian Muresan <lucianm@users.sourceforge.net>
for updating the Romanian language texts and the iso8859-2 fonts for updating the Romanian language texts and the iso8859-2 fonts
for making VDR actually use the iso8859-15 fonts for making VDR actually use the iso8859-15 fonts
for suggesting to make the function ExchangeChars() for suggesting to make the function ExchangeChars()
for reporting duplicate texts in i18n.c
Mattias Grönlund <Mattias@Gronlund.net> Mattias Grönlund <Mattias@Gronlund.net>
for pointing out a missing cleanup at program exit in case there is a problem for pointing out a missing cleanup at program exit in case there is a problem

View File

@ -4088,3 +4088,5 @@ Video Disk Recorder Revision History
- A message is now given when an instant recording is started (suggested by - A message is now given when an instant recording is started (suggested by
Helmut Auer). Actually the code was already there, just commented out - don't Helmut Auer). Actually the code was already there, just commented out - don't
remember why it wasn't active... remember why it wasn't active...
- Removed an obsolete "Summary" text from i18n.c and preceded all key definition
texts with "Key$" to avoid duplicates (reported by Lucian Muresan).

71
i18n.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: i18n.c 1.224 2006/01/04 15:14:10 kls Exp $ * $Id: i18n.c 1.225 2006/01/04 15:50:19 kls Exp $
* *
* Translations provided by: * Translations provided by:
* *
@ -399,27 +399,6 @@ const tI18nPhrase Phrases[] = {
"Sündmus", "Sündmus",
"Udsendelse", "Udsendelse",
}, },
{ "Summary",
"Inhalt",
"Vsebina",
"Sommario",
"Inhoud",
"Resumo",
"Résumé",
"Sammendrag",
"Yhteenveto",
"Zawartosc",
"Resúmen",
"Ðåñßëçøç",
"Sammanfattning",
"Detalii",
"Tartalom",
"Sinopsi",
"¾ßØáÐÝØÕ",
"Sadr¾aj",
"Kokkuvõte",
"Omtale",
},
{ "Info", { "Info",
"Info", "Info",
"Info", "Info",
@ -4421,7 +4400,7 @@ const tI18nPhrase Phrases[] = {
"Tryk 'Op' for at gemme, 'Ned' for at annullere", "Tryk 'Op' for at gemme, 'Ned' for at annullere",
}, },
// Key names: // Key names:
{ "Up", { "Key$Up",
"Auf", "Auf",
"Gor", "Gor",
"Su", "Su",
@ -4442,7 +4421,7 @@ const tI18nPhrase Phrases[] = {
"Üles", "Üles",
"Op", "Op",
}, },
{ "Down", { "Key$Down",
"Ab", "Ab",
"Dol", "Dol",
"Giù", "Giù",
@ -4463,7 +4442,7 @@ const tI18nPhrase Phrases[] = {
"Alla", "Alla",
"Ned", "Ned",
}, },
{ "Menu", { "Key$Menu",
"Menü", "Menü",
"Meni", "Meni",
"Menù", "Menù",
@ -4484,7 +4463,7 @@ const tI18nPhrase Phrases[] = {
"Menüü", "Menüü",
"Menu", "Menu",
}, },
{ "Ok", { "Key$Ok",
"Ok", "Ok",
"Ok", "Ok",
"Ok", "Ok",
@ -4505,7 +4484,7 @@ const tI18nPhrase Phrases[] = {
"Ok", "Ok",
"Ok", "Ok",
}, },
{ "Back", { "Key$Back",
"Zurück", "Zurück",
"Nazaj", "Nazaj",
"Indietro", "Indietro",
@ -4526,7 +4505,7 @@ const tI18nPhrase Phrases[] = {
"Tagasi", "Tagasi",
"Tilbage", "Tilbage",
}, },
{ "Left", { "Key$Left",
"Links", "Links",
"Levo", "Levo",
"Sinistra", "Sinistra",
@ -4547,7 +4526,7 @@ const tI18nPhrase Phrases[] = {
"Vasakule", "Vasakule",
"Venstre", "Venstre",
}, },
{ "Right", { "Key$Right",
"Rechts", "Rechts",
"Desno", "Desno",
"Destra", "Destra",
@ -4568,7 +4547,7 @@ const tI18nPhrase Phrases[] = {
"Paremale", "Paremale",
"Højre", "Højre",
}, },
{ "Red", { "Key$Red",
"Rot", "Rot",
"Rdeèa", "Rdeèa",
"Rosso", "Rosso",
@ -4589,7 +4568,7 @@ const tI18nPhrase Phrases[] = {
"Punane", "Punane",
"Rød", "Rød",
}, },
{ "Green", { "Key$Green",
"Grün", "Grün",
"Zelena", "Zelena",
"Verde", "Verde",
@ -4610,7 +4589,7 @@ const tI18nPhrase Phrases[] = {
"Roheline", "Roheline",
"Grøn", "Grøn",
}, },
{ "Yellow", { "Key$Yellow",
"Gelb", "Gelb",
"Rumena", "Rumena",
"Giallo", "Giallo",
@ -4631,7 +4610,7 @@ const tI18nPhrase Phrases[] = {
"Kollane", "Kollane",
"Gul", "Gul",
}, },
{ "Blue", { "Key$Blue",
"Blau", "Blau",
"Modra", "Modra",
"Blu", "Blu",
@ -4652,7 +4631,7 @@ const tI18nPhrase Phrases[] = {
"Sinine", "Sinine",
"Blå", "Blå",
}, },
{ "Play", { "Key$Play",
"Wiedergabe", "Wiedergabe",
"Predvajaj", "Predvajaj",
"Riproduci", "Riproduci",
@ -4673,7 +4652,7 @@ const tI18nPhrase Phrases[] = {
"Start", "Start",
"Afspil", "Afspil",
}, },
{ "Pause", { "Key$Pause",
"Pause", "Pause",
"Pavza", "Pavza",
"Pausa", "Pausa",
@ -4694,7 +4673,7 @@ const tI18nPhrase Phrases[] = {
"Paus", "Paus",
"Pause", "Pause",
}, },
{ "Stop", { "Key$Stop",
"Stop", "Stop",
"Ustavi", "Ustavi",
"Stop", "Stop",
@ -4715,7 +4694,7 @@ const tI18nPhrase Phrases[] = {
"Stopp", "Stopp",
"Stop", "Stop",
}, },
{ "Record", { "Key$Record",
"Aufnehmen", "Aufnehmen",
"Snemaj", "Snemaj",
"Registra", "Registra",
@ -4736,7 +4715,7 @@ const tI18nPhrase Phrases[] = {
"Salvestamine", "Salvestamine",
"Optag", "Optag",
}, },
{ "FastFwd", { "Key$FastFwd",
"Vorlauf", "Vorlauf",
"Hitro naprej", "Hitro naprej",
"Avanti Veloce", "Avanti Veloce",
@ -4757,7 +4736,7 @@ const tI18nPhrase Phrases[] = {
"Edasikerimine", "Edasikerimine",
"Spol fremad", "Spol fremad",
}, },
{ "FastRew", { "Key$FastRew",
"Rücklauf", "Rücklauf",
"Hitro nazaj", "Hitro nazaj",
"Indietro Veloce", "Indietro Veloce",
@ -4778,7 +4757,7 @@ const tI18nPhrase Phrases[] = {
"Tagasikerimine", "Tagasikerimine",
"Spol tilbage", "Spol tilbage",
}, },
{ "Power", { "Key$Power",
"Ausschalten", "Ausschalten",
"Izklop", "Izklop",
"Power", "Power",
@ -4799,7 +4778,7 @@ const tI18nPhrase Phrases[] = {
"Toide", "Toide",
"Sluk", "Sluk",
}, },
{ "Channel+", { "Key$Channel+",
"Kanal+", "Kanal+",
"Program+", "Program+",
"Canale +", "Canale +",
@ -4820,7 +4799,7 @@ const tI18nPhrase Phrases[] = {
"Kanal+", "Kanal+",
"Kanal+", "Kanal+",
}, },
{ "Channel-", { "Key$Channel-",
"Kanal-", "Kanal-",
"Program-", "Program-",
"Canale -", "Canale -",
@ -4841,7 +4820,7 @@ const tI18nPhrase Phrases[] = {
"Kanal-", "Kanal-",
"Kanal-", "Kanal-",
}, },
{ "Volume+", { "Key$Volume+",
"Lautstärke+", "Lautstärke+",
"Glasnost+", "Glasnost+",
"Volume +", "Volume +",
@ -4862,7 +4841,7 @@ const tI18nPhrase Phrases[] = {
"Helitugevus+", "Helitugevus+",
"Lydstyrke+", "Lydstyrke+",
}, },
{ "Volume-", { "Key$Volume-",
"Lautstärke-", "Lautstärke-",
"Glasnost-", "Glasnost-",
"Volume -", "Volume -",
@ -4883,7 +4862,7 @@ const tI18nPhrase Phrases[] = {
"Helitugevus-", "Helitugevus-",
"Lydstyrke-", "Lydstyrke-",
}, },
{ "Mute", { "Key$Mute",
"Stumm", "Stumm",
"Izklop zvoka", "Izklop zvoka",
"Mute", "Mute",
@ -4904,7 +4883,7 @@ const tI18nPhrase Phrases[] = {
"Hääletu", "Hääletu",
"Sluk lyd", "Sluk lyd",
}, },
{ "Audio", { "Key$Audio",
"Audio", "Audio",
"Zvok", "Zvok",
"",// TODO "",// TODO

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: interface.c 1.70 2005/11/27 15:31:06 kls Exp $ * $Id: interface.c 1.71 2006/01/04 15:44:19 kls Exp $
*/ */
#include "interface.h" #include "interface.h"
@ -84,7 +84,9 @@ bool cInterface::QueryKeys(cRemote *Remote, cSkinDisplayMenu *DisplayMenu)
eKeys NewKey = kUp; eKeys NewKey = kUp;
while (NewKey != kNone) { while (NewKey != kNone) {
char *Prompt; char *Prompt;
asprintf(&Prompt, tr("Press key for '%s'"), tr(cKey::ToString(NewKey))); char buf[32];
snprintf(buf, sizeof(buf), "Key$%s", cKey::ToString(NewKey));
asprintf(&Prompt, tr("Press key for '%s'"), tr(buf));
DisplayMenu->SetItem(Prompt, 4, false, false); DisplayMenu->SetItem(Prompt, 4, false, false);
free(Prompt); free(Prompt);
cRemote::Clear(); cRemote::Clear();