FireBirdLib - Topfield TMS PVR TAP Programming Library
iso639_2.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
char
*
iso639_2
(
int
OSDLan)
4
{
5
TRACEENTER
();
6
7
char
*lang;
8
9
switch
(OSDLan)
10
{
11
case
LAN_English:
12
lang =
"eng"
;
13
break
;
14
15
case
LAN_French:
16
lang =
"fre"
;
17
break
;
18
19
case
LAN_German:
20
lang =
"ger"
;
21
break
;
22
23
case
LAN_Italy:
24
lang =
"ita"
;
25
break
;
26
27
case
LAN_Spain:
28
lang =
"spa"
;
29
break
;
30
31
case
LAN_Arab:
32
lang =
"ara"
;
33
break
;
34
35
case
LAN_Greek:
36
lang =
"gre"
;
37
break
;
38
39
case
LAN_Turk:
40
lang =
"tur"
;
41
break
;
42
43
case
LAN_Danish:
44
lang =
"dan"
;
45
break
;
46
47
case
LAN_Swedish:
48
lang =
"swe"
;
49
break
;
50
51
case
LAN_Norwegian:
52
lang =
"nor"
;
53
break
;
54
55
case
LAN_Dutch:
56
lang =
"dut"
;
57
break
;
58
59
case
LAN_Russian:
60
lang =
"rus"
;
61
break
;
62
63
case
LAN_Polish:
64
lang =
"pol"
;
65
break
;
66
67
case
LAN_Persian
:
68
lang =
"per"
;
69
break
;
70
71
case
LAN_Suomi
:
72
lang =
"fin"
;
73
break
;
74
75
case
LAN_Slovak
:
76
lang =
"slo"
;
77
break
;
78
79
case
LAN_Thai
:
80
lang =
"tha"
;
81
break
;
82
83
case
LAN_Czech
:
84
lang =
"cze"
;
85
break
;
86
87
case
LAN_Bulgarian
:
88
lang =
"bul"
;
89
break
;
90
91
default
:
92
lang = NULL;
93
}
94
95
TRACEEXIT
();
96
return
lang;
97
}
iso639_2
char * iso639_2(int OSDLan)
Definition:
iso639_2.c:3
libFireBird.h
LAN_Persian
#define LAN_Persian
Definition:
libFireBird.h:2682
LAN_Suomi
#define LAN_Suomi
Definition:
libFireBird.h:2683
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
LAN_Bulgarian
#define LAN_Bulgarian
Definition:
libFireBird.h:2687
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
LAN_Czech
#define LAN_Czech
Definition:
libFireBird.h:2686
LAN_Thai
#define LAN_Thai
Definition:
libFireBird.h:2685
LAN_Slovak
#define LAN_Slovak
Definition:
libFireBird.h:2684
main
iso639_2.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3