HTML Tidy  5.6.0
The HTACG Tidy HTML Project
language_zh_cn.h File Reference

Go to the source code of this file.

Functions

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. More...
 

Variables

static languageDefinition language_zh_cn
 This structure specifies all of the strings needed by Tidy for a single language. More...
 

Function Documentation

static uint whichPluralForm_zh_cn ( uint  n)
static

This language-specific function returns the correct pluralForm to use given n items, and is used as a member of each language definition.

Variable Documentation

languageDefinition language_zh_cn
static
Initial value:
{
TIDY_LANGUAGE, 0, "zh_cn"
},
{ LINE_COLUMN_STRING, 0, "行 %d 列 %d - " },
{ STRING_CONTENT_LOOKS, 0, "文档内容看起来像 %s" },
{ FILE_CANT_OPEN, 0, "无法打开”%s”\n" },
{ TC_STRING_VERS_A, 0, "HTML Tidy 用于 %s 版本 %s" },
{ TC_STRING_VERS_B, 0, "HTML Tidy 版本 %s" },
{
}
}}
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
line d column d
Definition: tidyenum.h:1432
Definition: language.h:34
Definition: tidyenum.h:1434
Definition: tidyenum.h:1436
Definition: language.h:31
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:44

This structure specifies all of the strings needed by Tidy for a single language.

Static definition in a header file makes it easy to include and exclude languages without tinkering with the build system.