summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@binghamton.edu>2016-05-01 02:05:42 -0400
committerMichał Górny <mgorny@gentoo.org>2016-05-06 07:26:08 +0200
commit7502ddbf06baccf5565374725e2dae02bb2a67e7 (patch)
tree630feb6afe87d5c2f526aad0cc931df825a816da
parentmetadata.dtd: Remove obsolete <natural-name/> element per GLEP 68 (diff)
downloaddtd-7502ddbf06baccf5565374725e2dae02bb2a67e7.tar.gz
dtd-7502ddbf06baccf5565374725e2dae02bb2a67e7.tar.bz2
dtd-7502ddbf06baccf5565374725e2dae02bb2a67e7.zip
metadata.dtd: set the lang attribute default value to "en" per GLEP 68
Also mention that the attribute value must be a valid ISO 639-1 language code. Signed-off-by: Göktürk Yüksek <gokturk@binghamton.edu>
-rw-r--r--metadata.dtd18
1 files changed, 9 insertions, 9 deletions
diff --git a/metadata.dtd b/metadata.dtd
index b608852..a3c06ff 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -42,7 +42,7 @@
<!ELEMENT changelog (#PCDATA)>
<!-- URL where the location of the upstream documentation can be found -->
<!ELEMENT doc (#PCDATA)>
- <!ATTLIST doc lang CDATA "C" >
+ <!ATTLIST doc lang CDATA "en" >
<!-- location where to report bugs
(may also be an email address prefixed with mailto:) -->
<!ELEMENT bugs-to (#PCDATA)>
@@ -57,14 +57,14 @@
<!-- Common attributes -->
-<!-- the lang attribute, specifies the language of this tag. This is
- only useful for descriptions of various kinds. If a tag with this
- attribute is included there must be a description in the default
- language "C" or "en", which is equivalent -->
- <!ATTLIST description lang CDATA "C" >
- <!ATTLIST longdescription lang CDATA "C" >
- <!ATTLIST slots lang CDATA "C" >
- <!ATTLIST use lang CDATA "C" >
+<!-- the lang attribute, specifies the language of this tag in the
+ form of a ISO 639-1 language code. This is only useful for
+ descriptions of various kinds. If a tag with this attribute is
+ included there must be a description in the default language "en" -->
+ <!ATTLIST description lang CDATA "en" >
+ <!ATTLIST longdescription lang CDATA "en" >
+ <!ATTLIST slots lang CDATA "en" >
+ <!ATTLIST use lang CDATA "en" >
<!-- The restrict attribute, this attribute specifies restrictions on
the applicability of tags on versions. The format of this attribute is