Added Turkish language texts

This commit is contained in:
Klaus Schmidinger 2007-03-11 10:17:55 +01:00
parent 93ad92da14
commit 567033135d
10 changed files with 19122 additions and 6 deletions

View File

@ -2069,3 +2069,6 @@ Peter Pinnau <vdr@unterbrecher.de>
Petri Helin <phelin@googlemail.com> Petri Helin <phelin@googlemail.com>
for suggesting to avoid budget DVB cards with Common Interface when tuning to an for suggesting to avoid budget DVB cards with Common Interface when tuning to an
FTA channel FTA channel
Oktay Yolgeçen <oktay_73@yahoo.de>
for translating OSD texts to the Turkish language

View File

@ -5144,3 +5144,4 @@ Video Disk Recorder Revision History
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed handling user activity for shutdown, which I had messed when adopting Udo's - Fixed handling user activity for shutdown, which I had messed when adopting Udo's
original patch (thanks to Udo Richter). original patch (thanks to Udo Richter).
- Added Turkish language texts (thanks to Oktay Yolgeçen).

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: Makefile 1.97 2007/02/24 13:23:12 kls Exp $ # $Id: Makefile 1.98 2007/03/11 10:17:55 kls Exp $
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
@ -55,6 +55,10 @@ 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 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 SMLFONT_ISO8859_7 = --user-medium-r-normal--19-160-72-72-m-110-iso8859-7
FIXFONT_ISO8859_9 = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-9
OSDFONT_ISO8859_9 = -adobe-helvetica-medium-r-normal--23-*-100-100-p-*-iso8859-9
SMLFONT_ISO8859_9 = -adobe-helvetica-medium-r-normal--18-*-100-100-p-*-iso8859-9
FIXFONT_ISO8859_15 = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-15 FIXFONT_ISO8859_15 = -adobe-courier-bold-r-normal--25-*-100-100-m-*-iso8859-15
OSDFONT_ISO8859_15 = -adobe-helvetica-medium-r-normal--23-*-100-100-p-*-iso8859-15 OSDFONT_ISO8859_15 = -adobe-helvetica-medium-r-normal--23-*-100-100-p-*-iso8859-15
SMLFONT_ISO8859_15 = -adobe-helvetica-medium-r-normal--18-*-100-100-p-*-iso8859-15 SMLFONT_ISO8859_15 = -adobe-helvetica-medium-r-normal--18-*-100-100-p-*-iso8859-15
@ -95,6 +99,7 @@ font: genfontfile\
fontfix-iso8859-2.c fontosd-iso8859-2.c fontsml-iso8859-2.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-5.c fontosd-iso8859-5.c fontsml-iso8859-5.c\
fontfix-iso8859-7.c fontosd-iso8859-7.c fontsml-iso8859-7.c\ fontfix-iso8859-7.c fontosd-iso8859-7.c fontsml-iso8859-7.c\
fontfix-iso8859-9.c fontosd-iso8859-9.c fontsml-iso8859-9.c\
fontfix-iso8859-15.c fontosd-iso8859-15.c fontsml-iso8859-15.c fontfix-iso8859-15.c fontosd-iso8859-15.c fontsml-iso8859-15.c
@echo "font files created." @echo "font files created."
@ -147,6 +152,13 @@ fontosd-iso8859-7.c:
fontsml-iso8859-7.c: fontsml-iso8859-7.c:
./genfontfile "cFont::tPixelData FontSml_iso8859_7" "$(SMLFONT_ISO8859_7)" > $@ ./genfontfile "cFont::tPixelData FontSml_iso8859_7" "$(SMLFONT_ISO8859_7)" > $@
fontfix-iso8859-9.c:
./genfontfile "cFont::tPixelData FontFix_iso8859_9" "$(FIXFONT_ISO8859_9)" > $@
fontosd-iso8859-9.c:
./genfontfile "cFont::tPixelData FontOsd_iso8859_9" "$(OSDFONT_ISO8859_9)" > $@
fontsml-iso8859-9.c:
./genfontfile "cFont::tPixelData FontSml_iso8859_9" "$(SMLFONT_ISO8859_9)" > $@
fontfix-iso8859-15.c: fontfix-iso8859-15.c:
./genfontfile "cFont::tPixelData FontFix_iso8859_15" "$(FIXFONT_ISO8859_15)" > $@ ./genfontfile "cFont::tPixelData FontFix_iso8859_15" "$(FIXFONT_ISO8859_15)" > $@
fontosd-iso8859-15.c: fontosd-iso8859-15.c:

8
font.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: font.c 1.13 2006/04/16 10:59:15 kls Exp $ * $Id: font.c 1.14 2007/03/11 09:51:44 kls Exp $
*/ */
#include "config.h" #include "config.h"
@ -28,6 +28,10 @@
#include "fontosd-iso8859-7.c" #include "fontosd-iso8859-7.c"
#include "fontsml-iso8859-7.c" #include "fontsml-iso8859-7.c"
#include "fontfix-iso8859-9.c"
#include "fontosd-iso8859-9.c"
#include "fontsml-iso8859-9.c"
#include "fontfix-iso8859-13.c" #include "fontfix-iso8859-13.c"
#include "fontosd-iso8859-13.c" #include "fontosd-iso8859-13.c"
#include "fontsml-iso8859-13.c" #include "fontsml-iso8859-13.c"
@ -43,6 +47,7 @@ static const void *const FontData[eDvbCodeSize][eDvbFontSize] = {
{ FontOsd_iso8859_2, FontFix_iso8859_2, FontSml_iso8859_2 }, { FontOsd_iso8859_2, FontFix_iso8859_2, FontSml_iso8859_2 },
{ FontOsd_iso8859_5, FontFix_iso8859_5, FontSml_iso8859_5 }, { FontOsd_iso8859_5, FontFix_iso8859_5, FontSml_iso8859_5 },
{ FontOsd_iso8859_7, FontFix_iso8859_7, FontSml_iso8859_7 }, { FontOsd_iso8859_7, FontFix_iso8859_7, FontSml_iso8859_7 },
{ FontOsd_iso8859_9, FontFix_iso8859_9, FontSml_iso8859_9 },
{ FontOsd_iso8859_13, FontFix_iso8859_13, FontSml_iso8859_13 }, { FontOsd_iso8859_13, FontFix_iso8859_13, FontSml_iso8859_13 },
{ FontOsd_iso8859_15, FontFix_iso8859_15, FontSml_iso8859_15 }, { FontOsd_iso8859_15, FontFix_iso8859_15, FontSml_iso8859_15 },
}; };
@ -52,6 +57,7 @@ static const char *FontCode[eDvbCodeSize] = {
"iso8859-2", "iso8859-2",
"iso8859-5", "iso8859-5",
"iso8859-7", "iso8859-7",
"iso8859-9",
"iso8859-13", "iso8859-13",
"iso8859-15", "iso8859-15",
}; };

3
font.h
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: font.h 1.14 2006/12/03 16:42:10 kls Exp $ * $Id: font.h 1.15 2007/03/11 09:50:42 kls Exp $
*/ */
#ifndef __FONT_H #ifndef __FONT_H
@ -25,6 +25,7 @@ enum eDvbCode {
code_iso8859_2, code_iso8859_2,
code_iso8859_5, code_iso8859_5,
code_iso8859_7, code_iso8859_7,
code_iso8859_9,
code_iso8859_13, code_iso8859_13,
code_iso8859_15, code_iso8859_15,
#define eDvbCodeSize (code_iso8859_15 + 1) #define eDvbCodeSize (code_iso8859_15 + 1)

6498
fontfix-iso8859-9.c Normal file

File diff suppressed because it is too large Load Diff

6722
fontosd-iso8859-9.c Normal file

File diff suppressed because it is too large Load Diff

5602
fontsml-iso8859-9.c Normal file

File diff suppressed because it is too large Load Diff

273
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 * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: i18n.h 1.18 2006/03/26 09:08:00 kls Exp $ * $Id: i18n.h 1.19 2007/03/11 09:52:16 kls Exp $
*/ */
#ifndef __I18N_H #ifndef __I18N_H
@ -12,7 +12,7 @@
#include <stdio.h> #include <stdio.h>
const int I18nNumLanguages = 21; const int I18nNumLanguages = 22;
typedef const char *tI18nPhrase[I18nNumLanguages]; typedef const char *tI18nPhrase[I18nNumLanguages];