File: language.h

package info (click to toggle)
rpm2html 1.11.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,184 kB
  • ctags: 761
  • sloc: ansic: 12,893; sh: 2,514; perl: 122; makefile: 89
file content (111 lines) | stat: -rw-r--r-- 2,820 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
 * language.h : definitions for the Localization support.
 *
 * See Copyright for the status of this software.
 *
 * $Id: language.h,v 1.13 2000/10/29 22:51:03 veillard Exp $
 */

#ifndef __RPM2HTML_LANGUAGE_H__
#define __RPM2HTML_LANGUAGE_H__

#define LANG_HTML_SUFFIX	0
#define LANG_GENERATED		1
#define LANG_INDEX_HTML		2
#define LANG_GROUP_HTML		3
#define LANG_BYDATE_HTML	4
#define LANG_BYNAME_HTML	5
#define LANG_VENDOR_HTML	6
#define LANG_DISTRIB_HTML	7
#define LANG_WELCOME_REPOSITORY	8
#define LANG_RPM2HTML_INTRO	9
#define LANG_STATS		10
#define LANG_INSTALLED_STATS	11
#define LANG_LIST		12
#define LANG_INDEX_GROUP	13
#define LANG_INDEX_CREATION	14
#define LANG_INDEX_NAME		15
#define LANG_INDEX_VENDOR	16
#define LANG_INDEX_DISTRIB	17
#define LANG_INDEX_INSTALL	18
#define LANG_SOURCES_REPOSITORY	19
#define LANG_LOCAL_MIRROR	20
#define LANG_MIRRORS		21
#define LANG_GENERATION_TIME	22
#define LANG_SECONDS		23
#define LANG_WELCOME_INSTALL	24
#define LANG_FROM		25
#define LANG_NAME		26
#define LANG_DISTRIBUTION	27
#define LANG_VERSION		28
#define LANG_VENDOR		29
#define LANG_RELEASE		30
#define LANG_BUILD_DATE		31
#define LANG_INSTALL_DATE	32
#define LANG_GROUP		33
#define LANG_BUILD_HOST		34
#define LANG_SIZE		35
#define LANG_RPM_SRC		36
#define LANG_PACKAGER		37
#define LANG_URL		38
#define LANG_SUMMARY		39
#define LANG_PROVIDE		40
#define LANG_REQUIRE		41
#define LANG_COPYRIGHT		42
#define LANG_FILES		43
#define LANG_NO_FILES		44
#define LANG_NO_SUMMARY		45
#define LANG_RPM_RESOURCE	46
#define LANG_PROVIDED_BY	47
#define LANG_SORTED_BY_GROUP	48
#define LANG_OF_GROUP		49
#define LANG_SORTED_BY_DISTRIB  50
#define LANG_OF_DISTRIB		51
#define LANG_SORTED_BY_VENDOR	52
#define LANG_OF_VENDOR		53
#define LANG_SORTED_BY_CDATE	54
#define LANG_SORTED_BY_IDATE	55
#define LANG_LESS_3D_OLD	56
#define LANG_LESS_1W_OLD	57
#define LANG_LESS_2W_OLD	58
#define LANG_LESS_1M_OLD	59
#define LANG_MORE_1M_OLD	60
#define LANG_I_LESS_3D_OLD	61
#define LANG_I_LESS_1W_OLD	62
#define LANG_I_LESS_2W_OLD	63
#define LANG_I_LESS_1M_OLD	64
#define LANG_I_MORE_1M_OLD	65
#define LANG_SORTED_BY_NAME	66
#define LANG_NO_DESCRIPTION	67
#define LANG_UNKNOWN		68
#define LANG_NONE		69
#define LANG_NO_GROUP		70
#define LANG_NO_HOST		71
#define LANG_INDEX		72
#define LANG_BEGINNING_LETTER	73
#define LANG_WARNING_RESOURCES	74
#define LANG_CHOOSE_ANOTHER	75
#define LANG_MORE		76
#define LANG_CHANGELOG		77
#define LANG_SUBDIRS		78
#define LANG_TREE_HTML		79
#define LANG_BROWSE_TREE	80
#define LANG_SEARCH_FORM	81
#define LANG_SIGNATURES		82
#define LANG_RDF_CHANNEL	83

/*
 * Array containing the localized language strings.
 */

extern char *localizedStrings[];

/*
 * Functions.
 */

extern int readLanguageFile(char *filename);
extern int writeLanguageFile(char *filename);

#endif /* __RPM2HTML_LANGUAGE_H__ */