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

Added Russian language texts

This commit is contained in:
Klaus Schmidinger 2004-01-16 13:34:43 +01:00
parent 2a11c183b5
commit 9dfa448134
11 changed files with 18202 additions and 14 deletions

View File

@ -904,3 +904,6 @@ Martin Holst <holstm@gmx.de>
Robert Huitl <vdr@huitl.de>
for fixing 'su' call in 'runvdr' to make it work on systems that require the
user name to appear before the command option
Vyacheslav Dikonov <sdiconov@mail.ru>
for translating OSD texts to the Russian language

View File

@ -2577,3 +2577,8 @@ Video Disk Recorder Revision History
- Fixed resetting the EPG data versions after changing the preferred languages
(thanks to Teemu Rantanen for reporting this one and helping to debug it).
- Added LinkageDescriptor handling to 'libsi' (thanks to Marcel Wiesweg).
- Added Russian language texts (thanks to Vyacheslav Dikonov).
Plugin authors may want to add the new entries to their I18N texts and contact
the translators to have their texts translated. Note that there are now 17
different OSD languages, so please make sure you have 17 versions for each of
your texts.

View File

@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Makefile 1.63 2004/01/11 10:35:36 kls Exp $
# $Id: Makefile 1.64 2004/01/16 13:16:17 kls Exp $
.DELETE_ON_ERROR:
@ -42,6 +42,9 @@ OBJS = audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o d
FIXFONT_ISO8859_1 = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-1
OSDFONT_ISO8859_1 = -adobe-helvetica-medium-r-normal--23-*-100-100-p-*-iso8859-1
SMLFONT_ISO8859_1 = -adobe-helvetica-medium-r-normal--18-*-100-100-p-*-iso8859-1
FIXFONT_ISO8859_5 = -rfx-courier-bold-r-normal--24-*-75-75-m-*-iso8859-5
OSDFONT_ISO8859_5 = -rfx-helvetica-medium-r-normal--24-*-75-75-p-*-iso8859-5
SMLFONT_ISO8859_5 = -rfx-helvetica-medium-r-normal--18-*-75-75-p-*-iso8859-5
FIXFONT_ISO8859_7 = --user-medium-r-normal--26-171-110-110-m-140-iso8859-7
OSDFONT_ISO8859_7 = --user-medium-r-normal--23-179-85-85-m-120-iso8859-7
SMLFONT_ISO8859_7 = --user-medium-r-normal--19-160-72-72-m-110-iso8859-7
@ -70,6 +73,7 @@ endif
all: vdr
font: genfontfile\
fontfix.c fontosd.c fontsml.c\
fontfix_iso8859_5.c fontosd_iso8859_5.c fontsml_iso8859_5.c\
fontfix_iso8859_7.c fontosd_iso8859_7.c fontsml_iso8859_7.c
@echo "font files created."
@ -100,11 +104,17 @@ fontosd.c:
./genfontfile "cFont::tPixelData FontOsd_iso8859_1" "$(OSDFONT_ISO8859_1)" > $@
fontsml.c:
./genfontfile "cFont::tPixelData FontSml_iso8859_1" "$(SMLFONT_ISO8859_1)" > $@
fontfix_iso8859_1.c:
fontfix_iso8859_5.c:
./genfontfile "cFont::tPixelData FontFix_iso8859_5" "$(FIXFONT_ISO8859_5)" > $@
fontosd_iso8859_5.c:
./genfontfile "cFont::tPixelData FontOsd_iso8859_5" "$(OSDFONT_ISO8859_5)" > $@
fontsml_iso8859_5.c:
./genfontfile "cFont::tPixelData FontSml_iso8859_5" "$(SMLFONT_ISO8859_5)" > $@
fontfix_iso8859_7.c:
./genfontfile "cFont::tPixelData FontFix_iso8859_7" "$(FIXFONT_ISO8859_7)" > $@
fontosd_iso8859_1.c:
fontosd_iso8859_7.c:
./genfontfile "cFont::tPixelData FontOsd_iso8859_7" "$(OSDFONT_ISO8859_7)" > $@
fontsml_iso8859_1.c:
fontsml_iso8859_7.c:
./genfontfile "cFont::tPixelData FontSml_iso8859_7" "$(SMLFONT_ISO8859_7)" > $@
# The font file generator:

View File

@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: i18n.c 1.3 2002/06/23 13:05:59 kls Exp $
* $Id: i18n.c 1.4 2004/01/16 13:28:23 kls Exp $
*/
#include "i18n.h"
@ -24,6 +24,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Привет!",
},
{ "Hello world!",
"Hallo Welt!",
@ -40,6 +42,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Здравствуй мир!",
},
{ "Howdy folks!",
"Tach zusammen!",
@ -56,6 +60,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Как поживаете?",
},
{ "A friendly greeting",
"Ein freundlicher Gruß",
@ -72,6 +78,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Дружеское приветствие",
},
{ "Greeting time (s)",
"Dauer des Grußes (s)",
@ -88,6 +96,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Продолжительность приветствия",
},
{ "Use alternate greeting",
"Alternativen Gruß verwenden",
@ -104,6 +114,8 @@ const tI18nPhrase Phrases[] = {
"",// TODO
"",// TODO
"",// TODO
"",// TODO
"Альтернативное приветствие",
},
{ NULL }
};

12
font.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: font.c 1.4 2003/10/24 12:59:35 kls Exp $
* $Id: font.c 1.5 2004/01/16 13:17:57 kls Exp $
*/
#include "font.h"
@ -14,18 +14,24 @@
#include "fontosd.c"
#include "fontsml.c"
#include "fontfix-iso8859-5.c"
#include "fontosd-iso8859-5.c"
#include "fontsml-iso8859-5.c"
#include "fontfix-iso8859-7.c"
#include "fontosd-iso8859-7.c"
#include "fontsml-iso8859-7.c"
static void *FontData[eDvbCodeSize][eDvbFontSize] = {
{ FontOsd_iso8859_1, FontFix_iso8859_1, FontSml_iso8859_1 },
{ FontOsd_iso8859_7, FontFix_iso8859_7, FontSml_iso8859_7 }
{ FontOsd_iso8859_5, FontFix_iso8859_5, FontSml_iso8859_5 },
{ FontOsd_iso8859_7, FontFix_iso8859_7, FontSml_iso8859_7 },
};
static const char *FontCode[eDvbCodeSize] = {
"iso8859-1",
"iso8859-7"
"iso8859-5",
"iso8859-7",
};
eDvbCode cFont::code = code_iso8859_1;

5
font.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: font.h 1.4 2003/10/24 12:59:45 kls Exp $
* $Id: font.h 1.5 2004/01/16 13:18:28 kls Exp $
*/
#ifndef __FONT_H
@ -21,7 +21,8 @@ enum eDvbFont {
enum eDvbCode {
code_iso8859_1,
code_iso8859_7
code_iso8859_5,
code_iso8859_7,
#define eDvbCodeSize (code_iso8859_7 + 1)
};

6050
fontfix-iso8859-5.c Normal file

File diff suppressed because it is too large Load Diff

5602
fontosd-iso8859-5.c Normal file

File diff suppressed because it is too large Load Diff

6274
fontsml-iso8859-5.c Normal file

File diff suppressed because it is too large Load Diff

229
i18n.c

File diff suppressed because it is too large Load Diff

4
i18n.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: i18n.h 1.8 2004/01/06 15:56:53 kls Exp $
* $Id: i18n.h 1.9 2004/01/16 12:43:47 kls Exp $
*/
#ifndef __I18N_H
@ -12,7 +12,7 @@
#include <stdio.h>
const int I18nNumLanguages = 16;
const int I18nNumLanguages = 17;
typedef const char *tI18nPhrase[I18nNumLanguages];