HTML Tidy  5.4.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 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=2; */
50  return n != 1;
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, "en_gb"
67  },
68  { TEXT_USING_FONT, 0,
69  "You are recommended to use CSS to specify the font and\n"
70  "properties such as its size and colour. This will reduce\n"
71  "the size of HTML files and make them easier to maintain\n"
72  "compared with using <FONT> elements.\n\n"
73  },
74  { TEXT_USING_BODY, 0, "You are recommended to use CSS to specify page and link colours\n" },
76  "\n"
77  "Would you like to see Tidy in proper, British English? Please consider \n"
78  "helping us to localise HTML Tidy. For details please see \n"
79  "https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md\n"
80  },
81 
82 #if SUPPORT_ACCESSIBILITY_CHECKS
83  { INFORMATION_NOT_CONVEYED_IMAGE, 0, "[2.1.1.1]: ensure information not conveyed through colour alone (image)." },
84  { INFORMATION_NOT_CONVEYED_APPLET, 0, "[2.1.1.2]: ensure information not conveyed through colour alone (applet)." },
85  { INFORMATION_NOT_CONVEYED_OBJECT, 0, "[2.1.1.3]: ensure information not conveyed through colour alone (object)." },
86  { INFORMATION_NOT_CONVEYED_SCRIPT, 0, "[2.1.1.4]: ensure information not conveyed through colour alone (script)." },
87  { INFORMATION_NOT_CONVEYED_INPUT, 0, "[2.1.1.5]: ensure information not conveyed through colour alone (input)." },
88  { COLOR_CONTRAST_TEXT, 0, "[2.2.1.1]: poor colour contrast (text)." },
89  { COLOR_CONTRAST_LINK, 0, "[2.2.1.2]: poor colour contrast (link)." },
90  { COLOR_CONTRAST_ACTIVE_LINK, 0, "[2.2.1.3]: poor colour contrast (active link)." },
91  { COLOR_CONTRAST_VISITED_LINK, 0, "[2.2.1.4]: poor colour contrast (visited link)." },
92 #endif /* SUPPORT_ACCESSIBILITY_CHECKS */
93 
94  { TidyMergeDivs, 0,
95  "This option can be used to modify the behaviour of <code>clean</code> when "
96  "set to <code>yes</code>."
97  "<br/>"
98  "This option specifies if Tidy should merge nested <code>&lt;div&gt;</code> "
99  "such as <code>&lt;div&gt;&lt;div&gt;...&lt;/div&gt;&lt;/div&gt;</code>. "
100  "<br/>"
101  "If set to <code>auto</code> the attributes of the inner "
102  "<code>&lt;div&gt;</code> are moved to the outer one. Nested "
103  "<code>&lt;div&gt;</code> with <code>id</code> attributes are <em>not</em> "
104  "merged. "
105  "<br/>"
106  "If set to <code>yes</code> the attributes of the inner "
107  "<code>&lt;div&gt;</code> are discarded with the exception of "
108  "<code>class</code> and <code>style</code>. "
109  },
110  { TidyMergeSpans, 0,
111  "This option can be used to modify the behaviour of <code>clean</code> when "
112  "set to <code>yes</code>."
113  "<br/>"
114  "This option specifies if Tidy should merge nested <code>&lt;span&gt;</code> "
115  "such as <code>&lt;span&gt;&lt;span&gt;...&lt;/span&gt;&lt;/span&gt;</code>. "
116  "<br/>"
117  "The algorithm is identical to the one used by <code>merge-divs</code>. "
118  },
119  { TidyReplaceColor, 0,
120  "This option specifies if Tidy should replace numeric values in colour "
121  "attributes with HTML/XHTML colour names where defined, e.g. replace "
122  "<code>#ffffff</code> with <code>white</code>. "
123  },
124 
125  {/* This MUST be present and last. */
126  TIDY_MESSAGE_TYPE_LAST, 0, NULL
127  }
128 
129 }};
130 
131 
132 #endif /* language_en_gb_h */
Definition: message.h:243
Definition: access.h:161
Definition: access.h:162
static languageDefinition language_en_gb
This structure specifies all of the strings needed by Tidy for a single language. ...
Definition: language_en_gb.h:60
Definition: language.h:108
Definition: access.h:164
Replace hex color attribute values with names.
Definition: tidyenum.h:147
Definition: access.h:160
Definition: language.h:202
Finally, a complete language definition.
Definition: language.h:52
Definition: access.h:159
Definition: access.h:163
Definition: message.h:231
Merge multiple DIVs.
Definition: tidyenum.h:165
Definition: access.h:165
unsigned int uint
Definition: tidyplatform.h:525
static uint whichPluralForm_en_gb(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_en_gb.h:48
Definition: access.h:157
Definition: access.h:158
Merge multiple SPANs.
Definition: tidyenum.h:169
Definition: message.h:242