HTML Tidy  5.8.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-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  */
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  */
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 
@ FILE_CANT_OPEN
Definition: tidyenum.h:1460
@ TC_STRING_VERS_B
Definition: tidyenum.h:1462
@ TC_STRING_VERS_A
Definition: tidyenum.h:1462
@ STRING_CONTENT_LOOKS
Definition: tidyenum.h:1460
@ LINE_COLUMN_STRING
line d column d
Definition: tidyenum.h:1458
@ TIDY_LANGUAGE
Definition: language.h:31
@ TIDY_MESSAGE_TYPE_LAST
Definition: language.h:34
static languageDefinition language_zh_cn
This structure specifies all of the strings needed by Tidy for a single language.
Definition: language_zh_cn.h:56
static uint whichPluralForm_zh_cn(uint n)
This language-specific function returns the correct pluralForm to use given n items,...
Definition: language_zh_cn.h:44
Finally, a complete language definition.
Definition: language.h:68
unsigned int uint
Definition: tidyplatform.h:569