[lintian] 01/01: c/files: Clarify that ISO 639-1 is preferred to ISO 639-2
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit f87d3b55083c7b06674c2e4887b4a90b53784349
Author: Niels Thykier <niels@thykier.net>
Date: Thu Jul 9 21:08:03 2015 +0200
c/files: Clarify that ISO 639-1 is preferred to ISO 639-2
Clarify in the tag description of incorrect-locale-code that the
ISO 639-1 language codes are preferred to the ISO 639-2 codes.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/files.desc | 3 +++
debian/changelog | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/checks/files.desc b/checks/files.desc
index 6f8690a..10fed55 100644
--- a/checks/files.desc
+++ b/checks/files.desc
@@ -1497,6 +1497,9 @@ Info: The package appears to ship locales for a language but uses an
are those from the ISO 639-1 and ISO 639-2 standards, not those
usually used as TLDs (which are from the ISO 3166 standard).
.
+ When both standards define a language code for a given language, the
+ ISO 639-1 code should be used (i.e. the two lettered code).
+ .
Lintian only knows about some commonly-mistaken set of incorrect
locale codes.
diff --git a/debian/changelog b/debian/changelog
index 59c5df6..d4b4bcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ lintian (2.5.33) UNRELEASED; urgency=medium
+ [NT] Clarify that the empty-line control statement " ."
permits no other characters on the same line. Thanks
to Riley Baird for the report. (Closes: #789577)
+ * checks/files.desc:
+ + [JW, NT] Clarify that the ISO 639-1 language codes are
+ preferred to the ISO 639-2 variant. Thanks to Jonas
+ Smedegaard for the report. (Closes: #790693)
* checks/infofiles.pm:
+ [NT] Fix use of undefined variable in some cases.
* checks/scripts.{desc,pm}:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: