2017-12-23 17:27:53 +00:00
|
|
|
#ifndef language_zh_cn_h
|
2016-01-15 04:06:15 +00:00
|
|
|
#define language_zh_cn_h
|
|
|
|
/*
|
|
|
|
* language_zh_cn.h
|
|
|
|
* Localization support for HTML Tidy.
|
|
|
|
*
|
|
|
|
*
|
2016-01-29 03:11:53 +00:00
|
|
|
* This file is a localization file for HTML Tidy. It will have been machine
|
|
|
|
* generated or created and/or edited by hand. Both are valid options, but
|
|
|
|
* please help keep our localization efforts simple to maintain by maintaining
|
|
|
|
* the structure of this file, and changing the check box below if you make
|
|
|
|
* changes (so others know the file origin):
|
|
|
|
*
|
|
|
|
* [X] THIS FILE IS MACHINE GENERATED. It is a localization file for the
|
|
|
|
* language (and maybe region) "zh_cn". The source of
|
|
|
|
* these strings is a gettext PO file in Tidy's source, probably called
|
|
|
|
* "language_zh_cn.po".
|
|
|
|
*
|
|
|
|
* [ ] THIS FILE WAS HAND MODIFIED. Translators, please feel to edit this file
|
|
|
|
* directly (and check this box). If you prefer to edit PO files then use
|
|
|
|
* `poconvert.rb msgunfmt language_zh_cn.h` (our own
|
|
|
|
* conversion tool) to generate a fresh PO from this file first!
|
2016-01-15 04:06:15 +00:00
|
|
|
*
|
2017-02-13 19:29:47 +00:00
|
|
|
* (c) 2015-2017 HTACG
|
2016-01-15 04:06:15 +00:00
|
|
|
* See tidy.h and access.h for the copyright notice.
|
|
|
|
*
|
|
|
|
* Template Created by Jim Derry on 01/14/2016.
|
|
|
|
*
|
|
|
|
* Orginating PO file metadata:
|
|
|
|
* PO_LAST_TRANSLATOR=jderry
|
2017-10-03 16:45:34 +00:00
|
|
|
* PO_REVISION_DATE=2017-10-03 12:44:37
|
2016-01-15 04:06:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma execution_character_set("utf-8")
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This language-specific function returns the correct pluralForm
|
|
|
|
* to use given n items, and is used as a member of each language
|
|
|
|
* definition.
|
|
|
|
*/
|
|
|
|
static uint whichPluralForm_zh_cn(uint n) {
|
2016-01-29 03:11:53 +00:00
|
|
|
/* Plural-Forms: nplurals=1; */
|
|
|
|
return 0;
|
2016-01-15 04:06:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
static languageDefinition language_zh_cn = { whichPluralForm_zh_cn, {
|
2016-01-29 03:11:53 +00:00
|
|
|
/***************************************
|
|
|
|
** This MUST be present and first.
|
|
|
|
** Specify the code for this language.
|
|
|
|
***************************************/
|
2016-01-15 04:06:15 +00:00
|
|
|
{/* Specify the ll or ll_cc language code here. */
|
|
|
|
TIDY_LANGUAGE, 0, "zh_cn"
|
|
|
|
},
|
2016-01-27 03:48:38 +00:00
|
|
|
{ LINE_COLUMN_STRING, 0, "行 %d 列 %d - " },
|
|
|
|
{ STRING_CONTENT_LOOKS, 0, "文档内容看起来像 %s" },
|
2017-09-08 01:06:44 +00:00
|
|
|
{ FILE_CANT_OPEN, 0, "无法打开”%s”\n" },
|
2017-02-13 19:29:47 +00:00
|
|
|
|
|
|
|
#if SUPPORT_CONSOLE_APP
|
Add new `rebase` command to CLI.
This is intended to make it very, very easy to update the POT and all of the POs when
changes are made to `language_en.h`. Used without an sha-1 hash, untranslated strings
(i.e., the "source" strings) are updated in the POT/PO's.
However if you specify an --sha=HASH (or -c HASH) option, then the script will use git
to examine the `language_en.h` file from that specified commit, determing the strings
that have changed, and mark all of these strings as `fuzzy` in the POs. This will serve
as a flag to translators that the original has changed. In addition, this `fuzzy` flag
will appear in the headers as "(fuzzy) " in the item comments.
If a translator edits the header directly, he should remove the "(fuzzy )" in the
comment. Then when the PO is rebuilt, the fuzzy flag will be removed automatically.
The reverse is also true; if a translator is working with the PO, he or she should
clear the fuzzy flag and the comment will be adjusted accordingly in the generated
header.
2016-03-24 03:38:04 +00:00
|
|
|
{ TC_STRING_VERS_A, 0, "HTML Tidy 用于 %s 版本 %s" },
|
|
|
|
{ TC_STRING_VERS_B, 0, "HTML Tidy 版本 %s" },
|
2017-02-13 19:29:47 +00:00
|
|
|
#endif /* SUPPORT_CONSOLE_APP */
|
2016-01-15 04:06:15 +00:00
|
|
|
|
|
|
|
{/* This MUST be present and last. */
|
|
|
|
TIDY_MESSAGE_TYPE_LAST, 0, NULL
|
|
|
|
}
|
|
|
|
|
|
|
|
}};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* language_zh_cn_h */
|
2017-12-23 17:27:53 +00:00
|
|
|
|