HTML Tidy  5.8.0
The HTACG Tidy HTML Project
language_en_gb.h
Go to the documentation of this file.
1 #ifndef language_en_gb_h
2 #define language_en_gb_h
3 /*
4  * language_en_gb.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) "en_gb". The source of
16  * these strings is a gettext PO file in Tidy's source, probably called
17  * "language_en_gb.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_en_gb.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=2; */
46  return n != 1;
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, "en_gb"
63  },
64  { TidyAsciiChars, 0,
65  "Can be used to modify behaviour of the <code>clean</code> option when set "
66  "to <var>yes</var>. "
67  "<br/>"
68  "If set to <var>yes</var> when using <code>clean</code>, "
69  "<code>&amp;emdash;</code>, <code>&amp;rdquo;</code>, and other named "
70  "character entities are downgraded to their closest ASCII equivalents. "
71  },
72  { TidyGDocClean, 0,
73  "This option specifies if Tidy should enable specific behaviour for "
74  "cleaning up HTML exported from Google Docs. "
75  },
76  { TidyLiteralAttribs, 0,
77  "This option specifies how Tidy deals with whitespace characters within "
78  "attribute values. "
79  "<br/>"
80  "If the value is <var>no</var> Tidy normalises attribute values by "
81  "replacing any newline or tab with a single space, and further by replacing "
82  "any contiguous whitespace with a single space. "
83  "<br/>"
84  "To force Tidy to preserve the original, literal values of all attributes "
85  "and ensure that whitespace within attribute values is passed "
86  "through unchanged, set this option to <var>yes</var>. "
87  },
88  { TidyMergeDivs, 0,
89  "This option can be used to modify the behaviour of <code>clean</code> when "
90  "set to <code>yes</code>."
91  "<br/>"
92  "This option specifies if Tidy should merge nested <code>&lt;div&gt;</code> "
93  "such as <code>&lt;div&gt;&lt;div&gt;...&lt;/div&gt;&lt;/div&gt;</code>. "
94  "<br/>"
95  "If set to <code>auto</code> the attributes of the inner "
96  "<code>&lt;div&gt;</code> are moved to the outer one. Nested "
97  "<code>&lt;div&gt;</code> with <code>id</code> attributes are <em>not</em> "
98  "merged. "
99  "<br/>"
100  "If set to <code>yes</code> the attributes of the inner "
101  "<code>&lt;div&gt;</code> are discarded with the exception of "
102  "<code>class</code> and <code>style</code>. "
103  },
104  { TidyMergeSpans, 0,
105  "This option can be used to modify the behaviour of <code>clean</code> when "
106  "set to <code>yes</code>."
107  "<br/>"
108  "This option specifies if Tidy should merge nested <code>&lt;span&gt;</code> "
109  "such as <code>&lt;span&gt;&lt;span&gt;...&lt;/span&gt;&lt;/span&gt;</code>. "
110  "<br/>"
111  "The algorithm is identical to the one used by <code>merge-divs</code>. "
112  },
113  { TidyReplaceColor, 0,
114  "This option specifies if Tidy should replace numeric values in colour "
115  "attributes with HTML/XHTML colour names where defined, e.g. replace "
116  "<code>#ffffff</code> with <code>white</code>. "
117  },
118  { TidyUseCustomTags, 0,
119  "This option enables the use of tags for autonomous custom elements, "
120  "e.g. &lt;flag-icon&gt; with Tidy. Custom tags are disabled if this "
121  "value is <var>no</var>. Other settings - <var>blocklevel</var>, "
122  "<var>empty</var>, <var>inline</var>, and <var>pre</var> will treat "
123  "<em>all</em> detected custom tags accordingly. "
124  "<br/>"
125  "The use of <code>new-blocklevel-tags</code>, "
126  "<code>new-empty-tags</code>, <code>new-inline-tags</code>, or "
127  "<code>new-pre-tags</code> will override the treatment of custom tags "
128  "by this configuration option. This may be useful if you have "
129  "different types of custom tags."
130  "<br/>"
131  "When enabled these tags are determined during the processing of your "
132  "document using opening tags; matching closing tags will be recognised "
133  "accordingly, and unknown closing tags will be discarded. "
134  },
135  { TEXT_USING_FONT, 0,
136  "You are recommended to use CSS to specify the font and\n"
137  "properties such as its size and colour. This will reduce\n"
138  "the size of HTML files and make them easier to maintain\n"
139  "compared with using <FONT> elements.\n\n"
140  },
141  { TEXT_USING_BODY, 0, "You are recommended to use CSS to specify page and link colours\n" },
143  "\n"
144  "Would you like to see Tidy in proper, British English? Please consider \n"
145  "helping us to localise HTML Tidy. For details please see \n"
146  "https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md\n"
147  },
148  { UNKNOWN_ELEMENT_LOOKS_CUSTOM, 0, "%s is not recognised! Did you mean to enable the custom-tags option?" },
149  { UNKNOWN_ELEMENT, 0, "%s is not recognised!" },
150  { MULTIMEDIA_REQUIRES_TEXT, 0, "[1.4.1.1]: multimedia requires synchronised text equivalents." },
151  { INFORMATION_NOT_CONVEYED_IMAGE, 0, "[2.1.1.1]: ensure information not conveyed through colour alone (image)." },
152  { INFORMATION_NOT_CONVEYED_APPLET, 0, "[2.1.1.2]: ensure information not conveyed through colour alone (applet)." },
153  { INFORMATION_NOT_CONVEYED_OBJECT, 0, "[2.1.1.3]: ensure information not conveyed through colour alone (object)." },
154  { INFORMATION_NOT_CONVEYED_SCRIPT, 0, "[2.1.1.4]: ensure information not conveyed through colour alone (script)." },
155  { INFORMATION_NOT_CONVEYED_INPUT, 0, "[2.1.1.5]: ensure information not conveyed through colour alone (input)." },
156  { COLOR_CONTRAST_TEXT, 0, "[2.2.1.1]: poor colour contrast (text)." },
157  { COLOR_CONTRAST_LINK, 0, "[2.2.1.2]: poor colour contrast (link)." },
158  { COLOR_CONTRAST_ACTIVE_LINK, 0, "[2.2.1.3]: poor colour contrast (active link)." },
159  { COLOR_CONTRAST_VISITED_LINK, 0, "[2.2.1.4]: poor colour contrast (visited link)." },
160  { LAYOUT_TABLES_LINEARIZE_PROPERLY, 0, "[5.3.1.1]: verify layout tables linearise properly." },
161 
162 #if SUPPORT_CONSOLE_APP
163  { TC_TXT_HELP_LANG_2, 0,
164  "\n"
165  "The following languages are currently installed in Tidy. Please \n"
166  "note that there's no guarantee that they are complete; only that \n"
167  "one developer or another started to add the language indicated. \n"
168  "\n"
169  "Incomplete localisations will default to \"en\" when necessary. \n"
170  "Please report instances of incorrect strings to the Tidy team. \n"
171  "\n"
172  },
173 #endif /* SUPPORT_CONSOLE_APP */
174 
175  {/* This MUST be present and last. */
176  TIDY_MESSAGE_TYPE_LAST, 0, NULL
177  }
178 
179 }};
180 
181 
182 #endif /* language_en_gb_h */
183 
@ INFORMATION_NOT_CONVEYED_OBJECT
[2.1.1.3]
Definition: tidyenum.h:1461
@ INFORMATION_NOT_CONVEYED_APPLET
[2.1.1.2]
Definition: tidyenum.h:1461
@ COLOR_CONTRAST_TEXT
[2.2.1.1]
Definition: tidyenum.h:1461
@ COLOR_CONTRAST_ACTIVE_LINK
[2.2.1.3]
Definition: tidyenum.h:1461
@ UNKNOWN_ELEMENT
Definition: tidyenum.h:1460
@ LAYOUT_TABLES_LINEARIZE_PROPERLY
[5.3.1.1]
Definition: tidyenum.h:1461
@ MULTIMEDIA_REQUIRES_TEXT
[1.4.1.1]
Definition: tidyenum.h:1461
@ INFORMATION_NOT_CONVEYED_IMAGE
[2.1.1.1]
Definition: tidyenum.h:1461
@ UNKNOWN_ELEMENT_LOOKS_CUSTOM
Definition: tidyenum.h:1460
@ TC_TXT_HELP_LANG_2
Definition: tidyenum.h:1462
@ INFORMATION_NOT_CONVEYED_SCRIPT
[2.1.1.4]
Definition: tidyenum.h:1461
@ COLOR_CONTRAST_VISITED_LINK
[2.2.1.4]
Definition: tidyenum.h:1461
@ INFORMATION_NOT_CONVEYED_INPUT
[2.1.1.5]
Definition: tidyenum.h:1461
@ COLOR_CONTRAST_LINK
[2.2.1.2]
Definition: tidyenum.h:1461
@ TEXT_GENERAL_INFO_PLEA
Definition: tidyenum.h:1459
@ TidyLiteralAttribs
If true attributes may use newlines.
Definition: tidyenum.h:625
@ TidyMergeDivs
Merge multiple DIVs.
Definition: tidyenum.h:631
@ TidyAsciiChars
Convert quotes and dashes to nearest ASCII char.
Definition: tidyenum.h:579
@ TidyReplaceColor
Replace hex color attribute values with names.
Definition: tidyenum.h:653
@ TidyMergeSpans
Merge multiple SPANs.
Definition: tidyenum.h:633
@ TidyUseCustomTags
Enable Tidy to use autonomous custom tags.
Definition: tidyenum.h:667
@ TidyGDocClean
Clean up HTML exported from Google Docs.
Definition: tidyenum.h:612
@ TIDY_LANGUAGE
Definition: language.h:31
@ TIDY_MESSAGE_TYPE_LAST
Definition: language.h:34
static languageDefinition language_en_gb
This structure specifies all of the strings needed by Tidy for a single language.
Definition: language_en_gb.h:56
static uint whichPluralForm_en_gb(uint n)
This language-specific function returns the correct pluralForm to use given n items,...
Definition: language_en_gb.h:44
Finally, a complete language definition.
Definition: language.h:68
unsigned int uint
Definition: tidyplatform.h:569