"Fossies" - the Fresh Open Source Software Archive

Member "rpm2html-1.11.2/language.h" (29 Oct 2000, 2820 Bytes) of package /linux/privat/rpm2html-1.11.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "language.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * language.h : definitions for the Localization support.
    3  *
    4  * See Copyright for the status of this software.
    5  *
    6  * $Id: language.h,v 1.13 2000/10/29 22:51:03 veillard Exp $
    7  */
    8 
    9 #ifndef __RPM2HTML_LANGUAGE_H__
   10 #define __RPM2HTML_LANGUAGE_H__
   11 
   12 #define LANG_HTML_SUFFIX    0
   13 #define LANG_GENERATED      1
   14 #define LANG_INDEX_HTML     2
   15 #define LANG_GROUP_HTML     3
   16 #define LANG_BYDATE_HTML    4
   17 #define LANG_BYNAME_HTML    5
   18 #define LANG_VENDOR_HTML    6
   19 #define LANG_DISTRIB_HTML   7
   20 #define LANG_WELCOME_REPOSITORY 8
   21 #define LANG_RPM2HTML_INTRO 9
   22 #define LANG_STATS      10
   23 #define LANG_INSTALLED_STATS    11
   24 #define LANG_LIST       12
   25 #define LANG_INDEX_GROUP    13
   26 #define LANG_INDEX_CREATION 14
   27 #define LANG_INDEX_NAME     15
   28 #define LANG_INDEX_VENDOR   16
   29 #define LANG_INDEX_DISTRIB  17
   30 #define LANG_INDEX_INSTALL  18
   31 #define LANG_SOURCES_REPOSITORY 19
   32 #define LANG_LOCAL_MIRROR   20
   33 #define LANG_MIRRORS        21
   34 #define LANG_GENERATION_TIME    22
   35 #define LANG_SECONDS        23
   36 #define LANG_WELCOME_INSTALL    24
   37 #define LANG_FROM       25
   38 #define LANG_NAME       26
   39 #define LANG_DISTRIBUTION   27
   40 #define LANG_VERSION        28
   41 #define LANG_VENDOR     29
   42 #define LANG_RELEASE        30
   43 #define LANG_BUILD_DATE     31
   44 #define LANG_INSTALL_DATE   32
   45 #define LANG_GROUP      33
   46 #define LANG_BUILD_HOST     34
   47 #define LANG_SIZE       35
   48 #define LANG_RPM_SRC        36
   49 #define LANG_PACKAGER       37
   50 #define LANG_URL        38
   51 #define LANG_SUMMARY        39
   52 #define LANG_PROVIDE        40
   53 #define LANG_REQUIRE        41
   54 #define LANG_COPYRIGHT      42
   55 #define LANG_FILES      43
   56 #define LANG_NO_FILES       44
   57 #define LANG_NO_SUMMARY     45
   58 #define LANG_RPM_RESOURCE   46
   59 #define LANG_PROVIDED_BY    47
   60 #define LANG_SORTED_BY_GROUP    48
   61 #define LANG_OF_GROUP       49
   62 #define LANG_SORTED_BY_DISTRIB  50
   63 #define LANG_OF_DISTRIB     51
   64 #define LANG_SORTED_BY_VENDOR   52
   65 #define LANG_OF_VENDOR      53
   66 #define LANG_SORTED_BY_CDATE    54
   67 #define LANG_SORTED_BY_IDATE    55
   68 #define LANG_LESS_3D_OLD    56
   69 #define LANG_LESS_1W_OLD    57
   70 #define LANG_LESS_2W_OLD    58
   71 #define LANG_LESS_1M_OLD    59
   72 #define LANG_MORE_1M_OLD    60
   73 #define LANG_I_LESS_3D_OLD  61
   74 #define LANG_I_LESS_1W_OLD  62
   75 #define LANG_I_LESS_2W_OLD  63
   76 #define LANG_I_LESS_1M_OLD  64
   77 #define LANG_I_MORE_1M_OLD  65
   78 #define LANG_SORTED_BY_NAME 66
   79 #define LANG_NO_DESCRIPTION 67
   80 #define LANG_UNKNOWN        68
   81 #define LANG_NONE       69
   82 #define LANG_NO_GROUP       70
   83 #define LANG_NO_HOST        71
   84 #define LANG_INDEX      72
   85 #define LANG_BEGINNING_LETTER   73
   86 #define LANG_WARNING_RESOURCES  74
   87 #define LANG_CHOOSE_ANOTHER 75
   88 #define LANG_MORE       76
   89 #define LANG_CHANGELOG      77
   90 #define LANG_SUBDIRS        78
   91 #define LANG_TREE_HTML      79
   92 #define LANG_BROWSE_TREE    80
   93 #define LANG_SEARCH_FORM    81
   94 #define LANG_SIGNATURES     82
   95 #define LANG_RDF_CHANNEL    83
   96 
   97 /*
   98  * Array containing the localized language strings.
   99  */
  100 
  101 extern char *localizedStrings[];
  102 
  103 /*
  104  * Functions.
  105  */
  106 
  107 extern int readLanguageFile(char *filename);
  108 extern int writeLanguageFile(char *filename);
  109 
  110 #endif /* __RPM2HTML_LANGUAGE_H__ */
  111