mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added Croatian language texts
This commit is contained in:
parent
5d99df7b77
commit
c99d9c9ded
@ -966,3 +966,6 @@ Pekka Virtanen <pekka.virtanen@sci.fi>
|
||||
John Kennedy <rkennedy@ix.netcom.com>
|
||||
for publishing "A Fast Bresenham Algorithm For Drawing Ellipses" (found at
|
||||
http://homepage.smc.edu/kennedy_john/BELIPSE.PDF)
|
||||
|
||||
Drazen Dupor <drazen.dupor@dupor.com>
|
||||
for translating OSD texts to the Croatian language
|
||||
|
6
HISTORY
6
HISTORY
@ -2791,3 +2791,9 @@ Video Disk Recorder Revision History
|
||||
for information on how a skin can make use of themes, and man vdr(5) for the
|
||||
structure of a theme file. The actual theme to use can be selected through
|
||||
"Setup/OSD/Theme".
|
||||
- Added Croatian language texts (thanks to Drazen Dupor).
|
||||
NOTE: there is apparently a problem with the newly introduced iso8859-2 font,
|
||||
because as soon as Setup/OSD/Language is set to Croatian (currently the last one
|
||||
in the list) everything freezes and the vdr processes have to be killed with -9
|
||||
and the driver needs to be reloaded. Maybe somebody else can find out what's
|
||||
going wrong here...
|
||||
|
30
Makefile
30
Makefile
@ -4,7 +4,7 @@
|
||||
# See the main source file 'vdr.c' for copyright information and
|
||||
# how to reach the author.
|
||||
#
|
||||
# $Id: Makefile 1.66 2004/05/08 09:15:00 kls Exp $
|
||||
# $Id: Makefile 1.67 2004/05/16 10:51:44 kls Exp $
|
||||
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
@ -43,9 +43,15 @@ 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_2 = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-2
|
||||
OSDFONT_ISO8859_2 = -adobe-helvetica-medium-r-normal--24-*-75-75-p-*-iso8859-2
|
||||
SMLFONT_ISO8859_2 = -adobe-helvetica-medium-r-normal--18-*-75-75-p-*-iso8859-2
|
||||
|
||||
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
|
||||
@ -69,6 +75,7 @@ endif
|
||||
all: vdr
|
||||
font: genfontfile\
|
||||
fontfix.c fontosd.c fontsml.c\
|
||||
fontfix-iso8859-2.c fontosd-iso8859-2.c fontsml-iso8859-2.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,17 +107,26 @@ fontosd.c:
|
||||
./genfontfile "cFont::tPixelData FontOsd_iso8859_1" "$(OSDFONT_ISO8859_1)" > $@
|
||||
fontsml.c:
|
||||
./genfontfile "cFont::tPixelData FontSml_iso8859_1" "$(SMLFONT_ISO8859_1)" > $@
|
||||
fontfix_iso8859_5.c:
|
||||
|
||||
fontfix-iso8859-2.c:
|
||||
./genfontfile "cFont::tPixelData FontFix_iso8859_2" "$(FIXFONT_ISO8859_2)" > $@
|
||||
fontosd-iso8859-2.c:
|
||||
./genfontfile "cFont::tPixelData FontOsd_iso8859_2" "$(OSDFONT_ISO8859_2)" > $@
|
||||
fontsml-iso8859-2.c:
|
||||
./genfontfile "cFont::tPixelData FontSml_iso8859_2" "$(SMLFONT_ISO8859_2)" > $@
|
||||
|
||||
fontfix-iso8859-5.c:
|
||||
./genfontfile "cFont::tPixelData FontFix_iso8859_5" "$(FIXFONT_ISO8859_5)" > $@
|
||||
fontosd_iso8859_5.c:
|
||||
fontosd-iso8859-5.c:
|
||||
./genfontfile "cFont::tPixelData FontOsd_iso8859_5" "$(OSDFONT_ISO8859_5)" > $@
|
||||
fontsml_iso8859_5.c:
|
||||
fontsml-iso8859-5.c:
|
||||
./genfontfile "cFont::tPixelData FontSml_iso8859_5" "$(SMLFONT_ISO8859_5)" > $@
|
||||
fontfix_iso8859_7.c:
|
||||
|
||||
fontfix-iso8859-7.c:
|
||||
./genfontfile "cFont::tPixelData FontFix_iso8859_7" "$(FIXFONT_ISO8859_7)" > $@
|
||||
fontosd_iso8859_7.c:
|
||||
fontosd-iso8859-7.c:
|
||||
./genfontfile "cFont::tPixelData FontOsd_iso8859_7" "$(OSDFONT_ISO8859_7)" > $@
|
||||
fontsml_iso8859_7.c:
|
||||
fontsml-iso8859-7.c:
|
||||
./genfontfile "cFont::tPixelData FontSml_iso8859_7" "$(SMLFONT_ISO8859_7)" > $@
|
||||
|
||||
# The font file generator:
|
||||
|
8
font.c
8
font.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: font.c 1.6 2004/04/24 15:25:48 kls Exp $
|
||||
* $Id: font.c 1.7 2004/05/16 10:50:59 kls Exp $
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
@ -16,6 +16,10 @@
|
||||
#include "fontosd.c"
|
||||
#include "fontsml.c"
|
||||
|
||||
#include "fontfix-iso8859-2.c"
|
||||
#include "fontosd-iso8859-2.c"
|
||||
#include "fontsml-iso8859-2.c"
|
||||
|
||||
#include "fontfix-iso8859-5.c"
|
||||
#include "fontosd-iso8859-5.c"
|
||||
#include "fontsml-iso8859-5.c"
|
||||
@ -28,12 +32,14 @@
|
||||
|
||||
static void *FontData[eDvbCodeSize][eDvbFontSize] = {
|
||||
{ FontOsd_iso8859_1, FontFix_iso8859_1, FontSml_iso8859_1 },
|
||||
{ FontOsd_iso8859_2, FontFix_iso8859_2, FontSml_iso8859_2 },
|
||||
{ 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-2",
|
||||
"iso8859-5",
|
||||
"iso8859-7",
|
||||
};
|
||||
|
3
font.h
3
font.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: font.h 1.6 2004/04/12 10:21:03 kls Exp $
|
||||
* $Id: font.h 1.7 2004/05/16 10:49:44 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __FONT_H
|
||||
@ -21,6 +21,7 @@ enum eDvbFont {
|
||||
|
||||
enum eDvbCode {
|
||||
code_iso8859_1,
|
||||
code_iso8859_2,
|
||||
code_iso8859_5,
|
||||
code_iso8859_7,
|
||||
#define eDvbCodeSize (code_iso8859_7 + 1)
|
||||
|
6498
fontfix-iso8859-2.c
Normal file
6498
fontfix-iso8859-2.c
Normal file
File diff suppressed because it is too large
Load Diff
6949
fontosd-iso8859-2.c
Normal file
6949
fontosd-iso8859-2.c
Normal file
File diff suppressed because it is too large
Load Diff
5826
fontsml-iso8859-2.c
Normal file
5826
fontsml-iso8859-2.c
Normal file
File diff suppressed because it is too large
Load Diff
4
i18n.h
4
i18n.h
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: i18n.h 1.11 2004/01/25 14:40:50 kls Exp $
|
||||
* $Id: i18n.h 1.12 2004/05/16 10:52:40 kls Exp $
|
||||
*/
|
||||
|
||||
#ifndef __I18N_H
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
const int I18nNumLanguages = 17;
|
||||
const int I18nNumLanguages = 18;
|
||||
|
||||
typedef const char *tI18nPhrase[I18nNumLanguages];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user