]> git.vomp.tv Git - vompclient.git/blob - language-data.h
New German translations
[vompclient.git] / language-data.h
1 /*
2  * language_data.h: Internationalization
3  *
4  * This code is taken from the VDR project and modified for VOMP.
5  * See the main source file 'vdr.c' for original copyright information.
6  * Modifications (C) 2005 D Pickles.
7
8     This file is part of VOMP.
9
10     VOMP is free software; you can redistribute it and/or modify
11     it under the terms of the GNU General Public License as published by
12     the Free Software Foundation; either version 2 of the License, or
13     (at your option) any later version.
14
15     VOMP is distributed in the hope that it will be useful,
16     but WITHOUT ANY WARRANTY; without even the implied warranty of
17     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18     GNU General Public License for more details.
19
20     You should have received a copy of the GNU General Public License
21     along with VOMP; if not, write to the Free Software
22     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 */
24
25 /*
26  * How to add a new language:
27  *
28  * 1. Announce your translation action on the VOMP forum
29  *    to avoid duplicate work.
30  * 2. Increase the value of 'NUM_LANGUAGES' below.
31  * 3. Insert a new line in the 'Languages' array containing the name of your
32  *    language IN YOUR LANGUAGE, so 'Italiano' not 'Italian' for example.
33  *    Append your language after the last existing language
34  *    but before the 'test' language
35  * 4. Insert a new line in the charSets array containing the name of the character
36  *    set needed for your language. Note that at present only ISO8859-1 is
37  *    supported
38  * 5. Insert a new line in the languageCodes array containing the 3-letter
39  *    abbreviation(s) for your language as used in the channels.conf.
40  * 6. Insert a line in every member of the 'Phrases[]' array,
41  *    containing the translated text for your language. You can use the 'test'
42  *    language to see where the phrases appear on the screen.
43  * 7. If your language requires a character set other than the default iso8859-1
44  *    then work will be needed elsewhere in vomp to manage multiple font files.
45  * 8. Compile VOMP and test the new language by switching to it
46  *    in the "Options" menu.
47  * 9. Send the modified files to Chris to have it included in the next version.
48  *
49  * In case an English phrase is used in more than one context (and might need
50  * different translations in other languages) it can be preceeded with an
51  * arbitrary string to describe its context, separated from the actual phrase
52  * by a '$' character (see for instance "Button$Stop" vs. "Stop").
53  * Of course this means that no English phrase may contain the '$' character!
54  * If this should ever become necessary, the existing '$' would have to be
55  * replaced with something different...
56  */
57
58 #ifdef I18N_HEADER
59
60 #define NUM_LANGUAGES 5
61 #define DEFAULT_LANGUAGE_INDEX 0
62
63 #else
64
65 // The names of the languages (English MUST be first!):
66 const char* const I18n::Languages[] =
67 {
68   "English",
69   "Deutsch", // German by André Jagusch
70   "Svenska", // Swedish by Lars Fredriksson
71   "Magyar",  // Hungarian by Pák Gergely
72   "Test"
73 };
74
75 // The character set needed for each language:
76 const char* const I18n::charSets[] =
77 {
78   "iso8859-1",
79   "iso8859-1",
80   "iso8859-1",
81   "iso8859-1",
82   "iso8859-1"
83 };
84
85 // The 3-letter names of the language (this MUST be the third phrase!):
86 const char* const I18n::languageCodes[] =
87 {
88   "eng,dos",
89   "deu,ger",
90   "sve,swe",
91   "hun",
92   "tst,xxx"
93 };
94
95 // The phrases to be translated:
96 const I18n::tI18nPhrase I18n::Phrases[] =
97 {
98   // Menu titles:
99   { "VDR",
100     "VDR",
101     "VDR",
102     "VDR",
103     "VDR",
104   },
105   { "Schedule",
106     "Programm",
107     "Program",
108     "Müsor",
109     "0",
110   },
111   // Welcome screen
112   { "Welcome",
113     "Willkommen",
114     "Välkommen",
115     "Üdvözöljük",
116     "1",
117   },
118   { "1. Live TV",
119     "1. Fernsehen",
120     "1. TV",
121     "1. TV",
122     "2",
123   },
124   { "2. Radio",
125     "2. Radio",
126     "2. Radio",
127     "2. Rádió",
128     "3",
129   },
130   { "3. Recordings",
131     "3. Aufnahmen",
132     "3. Inspelningar",
133     "3. Felvételek",
134     "4",
135   },
136   { "4. Options",
137     "4. Einstellungen",
138     "4. Inställningar",
139     "4. Beállítások",
140     "5",
141   },
142   { "5. Stand by",
143     "5. Stand-by",
144     "5. Stäng av",
145     "5. Készenlét",
146     "6",
147   },
148   { "6. Reboot",
149     "6. Neustart",
150     "6. Starta om",
151     "6. Újraindítás",
152     "7",
153   },
154   { "Downloading recordings list",
155     "Lade die Aufnahmen-Liste",
156     "Laddar lista över inspelningar",
157     "Felvétellista letöltése",
158     "8",
159   },
160   // Recordings list
161   { "Recordings - %s",
162     "Aufnahmen - %s",
163     "Inspelningar - %s",
164     "Felvételek - %s",
165     "9 - %s",
166   },
167   { "Recordings",
168     "Aufnahmen",
169     "Inspelningar",
170     "Felvételek",
171     "10",
172   },
173   { "<dir> %lu\t%s",
174     "<dir> %lu\t%s",
175     "<dir> %lu\t%s",
176     "<dir> %lu\t%s",
177     "11 %lu\t%s",
178   },
179   { "[ok] = menu",
180     "[ok] = Menü",
181     "[ok] = meny",
182     "[ok] = menü",
183     "12",
184   },
185   { "%lu%% used, %iGB free",
186     "%lu%% belegt, %iGB frei",
187     "%lu% använt, %iGB ledigt",
188     "%lu% felhasznált, %iGB szabad",
189     "13 %lu%% %i",
190   },
191   { "%i to %i of %i", // Also used in channels list
192     "%i bis %i (von %i)",
193     "%i av %i till %i",
194     "%i - %i (összesen %i)",
195     "14 %i %i %i",
196   },
197   // Question
198   { "Yes",
199     "Ja",
200     "Ja",
201     "Igen",
202     "15",
203   },
204   { "No",
205     "Nein",
206     "Nej",
207     "Nem",
208     "16",
209   },
210   // Recording Menu
211   { "Programme menu",
212     "Programm-Menü",
213     "Programmeny",
214     "Müsor menü",
215     "17",
216   },
217   { "Play",
218     "Wiedergeben",
219     "Spela upp",
220     "Lejátszás",
221     "18",
222   },
223   { "Resume",
224     "Fortsetzen",
225     "Återuppta",
226     "Folytatás",
227     "19",
228   },
229   { "Summary",
230     "Inhalt",
231     "Sammanfattning",
232     "Tartalom",
233     "20",
234   },
235   { "Delete",
236     "Löschen",
237     "Ta bort",
238     "Törlés",
239     "21",
240   },
241   { "Programme summary",
242     "Programminhalt",
243     "Programsammanfattning",
244     "Müsor tartalom",
245     "22",
246   },
247   { "Summary unavailable",
248     "Inhalt nicht verfügbar",
249     "Ingen sammanfattning tillgänglig",
250     "Tartalom nem elérhetö",
251     "23",
252   },
253   { "Delete recording",
254     "Aufnahme löschen",
255     "Ta bort inspelning",
256     "Felvétel törlése",
257     "24",
258   },
259   { "Are you sure you want to delete this recording?",
260     "Sind Sie sich sicher, dass Sie diese Aufnahme löschen möchten?",
261     "Är du säker att du vill ta bort den här inspelningen",
262     "Biztosan törölni szeretné ezt a felvételt?",
263     "25",
264   },
265   // Server select
266   { "Choose a VDR server",
267     "Wählen Sie einen VDR-Server",
268     "Välj VDR server",
269     "Válasszon egy VDR szervert",
270     "26",
271   },
272
273   // Option menus
274   { "Options",
275     "Einstellungen",
276     "Inställningar",
277     "Beállitások",
278     "27",
279   },
280   { "TV connection type",
281     "TV-Anschlußart",
282     "Typ av TV-anslutning",
283     "TV csatlakozás tipusa",
284     "28",
285   },
286   { "Remote control type",
287     "Fernbedienungstyp",
288     "Fjärrkontroll",
289     "Távirányitó tipusa",
290     "29",
291   },
292   { "TV aspect ratio",
293     "Seitenverhältnis",
294     "TV-format",
295     "TV képformátum",
296     "30",
297   },
298   { "16:9 on 4:3 display mode",
299     "16:9 auf 4:3-Modus",
300     "16:9 på 4:3-skärm",
301     "16:9 a 4:3-as képernyön",
302     "30a",
303   },
304   { "Power state after bootup",
305     "Einschalten nach Neustart",
306     "Läge efter strömborfall",
307     "Bekapcsolás utáni állapot",
308     "31",
309   },
310   { "Display channels",
311     "Kanäle anzeigen",
312     "Visa kanaler",
313     "Csatornák megjelenítése",
314     "32",
315   },
316   { "Language",
317     "Sprache",
318     "Språk",
319     "Nyelv",
320     "33",
321   },
322   { "Press back to exit, <, > or [ok] to change",
323     "Zum Verlassen back drücken, <, > oder [ok] zum Wechseln",
324     "Tryck [back] för att avsluta, eller [ok] för att ändra",
325     "[back] gombbal kilép, [<], [>] vagy [ok] gombbal választ",
326     "34",
327   },
328   { "VDR-Pri 0=OK !See forums!",
329     "VDR-Pri 0=OK !Siehe Forum!",
330     "VDR-Prio 0=OK !Se forum!",
331     "VDR-Pri 0=OK !lásd. fórum!",
332     "34a",
333   },
334   // Option choices
335   { "Old",
336     "Alt",
337     "Gammal modell",
338     "Régi",
339     "35",
340   },
341   { "New",
342     "Neu",
343     "Ny modell",
344     "Új",
345     "36",
346   },
347   { "RGB+composite",
348     "RGB+composite",
349     "RGB+komposit",
350     "RGB+composite",
351     "37",
352   },
353   { "S-Video",
354     "S-Video",
355     "S-Video",
356     "S-Video",
357     "38",
358   },
359   { "Chop sides",
360     "Seiten abschneiden",
361     "Ta bort på sidorna",
362     "Szélek levágva",
363     "39",
364   },
365   { "Letterbox",
366     "Letterbox",
367     "Letterbox",
368     "Letterbox",
369     "40",
370   },
371   { "Last state",
372     "Letzter Zustand",
373     "Återgå til senaste läge",
374     "Utolsó állapot",
375     "41",
376   },
377   { "All",
378     "Alle",
379     "Alla",
380     "Összes",
381     "42",
382   },
383   { "FTA only",
384     "nur FTA",
385     "Endast FTA",
386     "Csak FTA",
387     "43",
388   },
389   { "On",
390     "An",
391     "På",
392     "Be",
393     "44",
394   },
395   { "Off",
396     "Aus",
397     "Av",
398     "Ki",
399     "45",
400   },
401
402   // Channel Lists
403   { "Channels",
404     "Fernsehkanäle",
405     "Kanaler",
406     "Csatornák",
407     "46",
408   },
409   { "Radio Stations",
410     "Radiokanäle",
411     "Radiostationer",
412     "Rádiócsatornák",
413     "47",
414   },
415   // Banners
416   { "No channel data available",
417     "Keine Daten für diesen Kanal verfügbar",
418     "Ingen programinformation tillgänglig",
419     "Csatorna-adatok nem állnak rendelkezésre",
420     "48",
421   },
422   { "info",
423     "Info",
424     "Info",
425     "Infó",
426     "49",
427   },
428   { "info",
429     "Info",
430     "Info",
431     "Infó",
432     "50",
433   },
434   { "Channel unavailable",
435     "Kanal nicht verfügbar",
436     "Kanalen är inte tillgänglig",
437     "A csatorna nem elérhetö",
438     "51",
439   },
440   // Connect screen
441   { "Locating server",
442     "Lokalisiere Server",
443     "Letar efter server",
444     "Szerver keresése",
445     "52",
446   },
447   { "Connecting to VDR",
448     "Verbinde zum VDR",
449     "Ansluter till VDR",
450     "Csatlakozás a VDR-hez",
451     "53",
452   },
453   { "Login failed",
454     "Login fehlgeschlagen",
455     "Inloggning misslycklades",
456     "Bejelentkezés sikertelen",
457     "54",
458   },
459   { "Connection failed",
460     "Verbindung fehlgeschlagen",
461     "Anslutning misslyckades",
462     "Kapcsolódás sikertelen",
463     "55",
464   },
465   // Command
466   { "Connected, loading config",
467     "Verbunden, lade Einstellungen",
468     "Ansluten, laddar konfigurering",
469     "Kapcsolódva, beállitások betöltése",
470     "56",
471   },
472   // EPG
473   { "EPG",
474     "EPG",
475     "EPG",
476     "EPG",
477     "57",
478   },
479   { "OK",
480     "OK",
481     "OK",
482     "OK",
483     "57.5",
484   },
485   { "Page up",
486     "Seite hoch",
487     "",
488     "Visszalapozás",
489     "58",
490   },
491   { "Page down",
492     "Seite runter",
493     "",
494     "Elörelapozás",
495     "59",
496   },
497   { "-24 hours",
498     "-24 Std.",
499     "",
500     "-24 óra",
501     "60",
502   },
503   { "+24 hours",
504     "+24 Std.",
505     "",
506     "+24 óra",
507     "61",
508   },
509   { "Go: Preview",
510     "Go: Vorschau",
511     "",
512     "",
513     "61.5",
514   },
515   { "Guide / Back: Close",
516     "Back: EPG schließen",
517     "",
518     "Guide / Back: Bezárás",
519     "62",
520   },
521   { "Rec: Set timer",
522     "Rec: Aufnahme programmieren",
523     "",
524     "Rec: Felvétel beállítása",
525     "63",
526   },
527   { "Sel channel",
528     "Umschalten",
529     "",
530     "Csatornaválasztás",
531     "64",
532   },
533   { "There are no programme details available for this period",
534     "Es sind keine Programminformationen für diesen Zeitraum verfügbar",
535     "",
536     "Nincs programinformáció ehhez az idöszakhoz",
537     "65",
538   },
539   { "No programme details",
540     "Keine Programminformation",
541     "",
542     "Nincs programinformáció",
543     "66",
544   },
545  // End marker.
546   { NULL }
547 };
548
549 #endif