"Fossies" - the Fresh Open Source Software Archive

Member "tidy-html5-5.8.0/src/language_zh_cn.h" (16 Jul 2021, 2675 Bytes) of package /linux/www/tidy-html5-5.8.0.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_zh_cn.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 5.4.0_vs_5.6.0.

    1 #ifndef language_zh_cn_h
    2 #define language_zh_cn_h
    3 /*
    4  * language_zh_cn.h
    5  * Localization support for HTML Tidy.
    6  *
    7  *
    8  * This file is a localization file for HTML Tidy. It will have been machine
    9  * generated or created and/or edited by hand. Both are valid options, but
   10  * please help keep our localization efforts simple to maintain by maintaining
   11  * the structure of this file, and changing the check box below if you make
   12  * changes (so others know the file origin):
   13  *
   14  * [X] THIS FILE IS MACHINE GENERATED. It is a localization file for the
   15  *     language (and maybe region) "zh_cn". The source of
   16  *     these strings is a gettext PO file in Tidy's source, probably called 
   17  *     "language_zh_cn.po".
   18  *
   19  * [ ] THIS FILE WAS HAND MODIFIED. Translators, please feel to edit this file
   20  *     directly (and check this box). If you prefer to edit PO files then use
   21  *     `poconvert.rb msgunfmt language_zh_cn.h` (our own
   22  *     conversion tool) to generate a fresh PO from this file first!
   23  *
   24  * (c) 2015-2017 HTACG
   25  * See tidy.h and access.h for the copyright notice.
   26  *
   27  * Template Created by Jim Derry on 01/14/2016.
   28  *
   29  * Orginating PO file metadata:
   30  *   PO_LAST_TRANSLATOR=jderry
   31  *   PO_REVISION_DATE=2017-10-03 12:44:37
   32  */
   33 
   34 #ifdef _MSC_VER
   35 #pragma execution_character_set("utf-8")
   36 #endif
   37 
   38 
   39 /**
   40  *  This language-specific function returns the correct pluralForm
   41  *  to use given n items, and is used as a member of each language
   42  *  definition.
   43  */
   44 static uint whichPluralForm_zh_cn(uint n) {
   45     /* Plural-Forms: nplurals=1; */
   46     return 0;
   47 }
   48 
   49 
   50 /**
   51  *  This structure specifies all of the strings needed by Tidy for a
   52  *  single language. Static definition in a header file makes it
   53  *  easy to include and exclude languages without tinkering with
   54  *  the build system.
   55  */
   56 static languageDefinition language_zh_cn = { whichPluralForm_zh_cn, {
   57     /***************************************
   58      ** This MUST be present and first. 
   59      ** Specify the code for this language.
   60      ***************************************/
   61     {/* Specify the ll or ll_cc language code here. */
   62       TIDY_LANGUAGE,          0, "zh_cn"
   63     },
   64     { LINE_COLUMN_STRING,     0, "行 %d  %d - "            },
   65     { STRING_CONTENT_LOOKS,   0, "文档内容看起来像 %s"             },
   66     { FILE_CANT_OPEN,         0, "无法打开”%s\n"              },
   67 
   68 #if SUPPORT_CONSOLE_APP
   69     { TC_STRING_VERS_A,       0, "HTML Tidy 用于 %s 版本 %s"   },
   70     { TC_STRING_VERS_B,       0, "HTML Tidy 版本 %s"         },
   71 #endif /* SUPPORT_CONSOLE_APP */
   72 
   73     {/* This MUST be present and last. */
   74       TIDY_MESSAGE_TYPE_LAST, 0, NULL
   75     }
   76 
   77 }};
   78 
   79 
   80 #endif /* language_zh_cn_h */
   81