HTML Tidy  5.4.0
The HTACG Tidy HTML Project
language_zh_cn.h
Go to the documentation of this file.
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 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=2016-03-24 10:59:55
32  */
33 
34 #ifdef _MSC_VER
35 #pragma execution_character_set("utf-8")
36 #endif
37 
38 #include "language.h"
39 #include "access.h"
40 #include "message.h"
41 
42 
43 /**
44  * This language-specific function returns the correct pluralForm
45  * to use given n items, and is used as a member of each language
46  * definition.
47  */
49  /* Plural-Forms: nplurals=1; */
50  return 0;
51 }
52 
53 
54 /**
55  * This structure specifies all of the strings needed by Tidy for a
56  * single language. Static definition in a header file makes it
57  * easy to include and exclude languages without tinkering with
58  * the build system.
59  */
61  /***************************************
62  ** This MUST be present and first.
63  ** Specify the code for this language.
64  ***************************************/
65  {/* Specify the ll or ll_cc language code here. */
66  TIDY_LANGUAGE, 0, "zh_cn"
67  },
68  { FILE_CANT_OPEN, 0, "无法打开”%s”\n" },
69  { LINE_COLUMN_STRING, 0, "行 %d 列 %d - " },
70  { STRING_CONTENT_LOOKS, 0, "文档内容看起来像 %s" },
71  { TC_STRING_VERS_A, 0, "HTML Tidy 用于 %s 版本 %s" },
72  { TC_STRING_VERS_B, 0, "HTML Tidy 版本 %s" },
73 
74  {/* This MUST be present and last. */
75  TIDY_MESSAGE_TYPE_LAST, 0, NULL
76  }
77 
78 }};
79 
80 
81 #endif /* language_zh_cn_h */
static languageDefinition language_zh_cn
This structure specifies all of the strings needed by Tidy for a single language. ...
Definition: language_zh_cn.h:60
Definition: message.h:207
Definition: language.h:108
Definition: language.h:202
Finally, a complete language definition.
Definition: language.h:52
Definition: message.h:205
Definition: language.h:187
Definition: language.h:188
unsigned int uint
Definition: tidyplatform.h:525
Definition: message.h:206
static uint whichPluralForm_zh_cn(uint n)
This language-specific function returns the correct pluralForm to use given n items, and is used as a member of each language definition.
Definition: language_zh_cn.h:48