Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: glep@g.o
Subject: [gentoo-dev] [PATCH 2/2] glep-0042: Update and clarify naming rules.
Date: Mon, 27 Nov 2017 10:10:54
Message-Id: d554af92dac47eb78c4fd1f62c00fd8c2e0c7c2b.1511775662.git.ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/2] Two updates for GLEP 42 by "Ulrich Müller"
1 Update the GLEP from ISO 639 to IETF language tags (BCP 47), in order
2 to make it consistent with usage in the L10N USE_EXPAND variable.
3 This will make no difference for most common languages. Also there are
4 currently no translations of news items at all.
5
6 Add a note clarifying what "very short" means.
7 ---
8 glep-0042.rst | 11 +++++++----
9 1 file changed, 7 insertions(+), 4 deletions(-)
10
11 diff --git a/glep-0042.rst b/glep-0042.rst
12 index 7726ea4..90ae0b2 100644
13 --- a/glep-0042.rst
14 +++ b/glep-0042.rst
15 @@ -179,7 +179,9 @@ form ``yyyy-mm-dd-short-name``, where ``yyyy`` is the year (e.g. ``2005``),
16 ``mm`` is the month (``01`` through ``12``) and dd is the day of the month
17 (``01`` through ``31``). The ``short-name`` is a very short name describing the
18 news item (e.g. ``yoursql-updates``), consisting only of the characters ``a-z``,
19 -``0-9``, ``+`` (plus), ``-`` (hyphen) and ``_`` (underscore).
20 +``0-9``, ``+`` (plus), ``-`` (hyphen) and ``_`` (underscore). While there
21 +is no hard restriction for the length of ``short-name``, it is strongly
22 +recommended to limit it to at most 20 characters.
23
24 News Item Directories
25 ---------------------
26 @@ -191,8 +193,8 @@ The directory will contain a file named ``yyyy-mm-dd-short-name.en.txt``, which
27 contains the text of the news item, in English, in the format described below.
28
29 If a news item is translated, other files named ``yyyy-mm-dd-short-name.xx.txt``
30 -(where ``xx`` is the ISO 639 [#iso-639]_ two letter language code, and the date
31 -remains the same as the original news item) will also be provided. However, only
32 +(where ``xx`` is a valid IETF language tag [#bcp-47]_, and the date remains
33 +the same as the original news item) will also be provided. However, only
34 the English version of a news item is authoritative. This anglocentricity is
35 justified by precedent [#glep-34]_.
36
37 @@ -475,6 +477,8 @@ Example Files
38 References
39 ==========
40
41 +.. [#bcp-47] BCP 47: "Tags for identifying languages",
42 + https://tools.ietf.org/rfc/bcp/bcp47.txt
43 .. [#bug-11359] Bugzilla Bug 11359
44 "[NEW FEATURE] pkg_postinst/pkg_preinst ewarn/einfo logging",
45 https://bugs.gentoo.org/show_bug.cgi?id=11359
46 @@ -500,7 +504,6 @@ References
47 .. [#glep-74] GLEP 74: "Full-tree verification using Manifest files",
48 Michał Górny, Robin Hugh Johnson, Ulrich Müller,
49 https://www.gentoo.org/glep/glep-0074.html
50 -.. [#iso-639] ISO 639 "Code for the representation of names of languages"
51 .. [#ramereth-repo] "Re: [gentoo-dev] GLEP ??: Critical News Reporting", Lance
52 Albertson,
53 https://archives.gentoo.org/gentoo-dev/message/4204839d4091758c3bad1dbd18ed16f7
54 --
55 2.15.0

Replies

Subject Author
[gentoo-dev] Re: [PATCH 2/2] glep-0042: Update and clarify naming rules. Duncan <1i5t5.duncan@×××.net>