summaryrefslogtreecommitdiffstats
path: root/tags/t/translated-default-field.tag
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/t/translated-default-field.tag
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--tags/t/translated-default-field.tag20
1 files changed, 20 insertions, 0 deletions
diff --git a/tags/t/translated-default-field.tag b/tags/t/translated-default-field.tag
new file mode 100644
index 0000000..9e9f325
--- /dev/null
+++ b/tags/t/translated-default-field.tag
@@ -0,0 +1,20 @@
+Tag: translated-default-field
+Severity: warning
+Check: debian/po-debconf
+Explanation: You should not mark as translatable "Default:" or "DefaultChoice:"
+ fields, unless explicitly needed (e.g. default country, default language,
+ etc.). If this Default field really should be translated, you should
+ explain translators how they should translate it by using comments or
+ brackets. For example:
+ .
+ # Translators: Default language name, but not translated
+ &lowbar;Default: English
+ .
+ Or:
+ .
+ &lowbar;Default: English[ Default language name, but not translated]
+ .
+ Note that in the first case, Lintian ignores the comment unless it
+ explicitly references translators and it is appears directly before
+ the field in question.
+See-Also: po-debconf(7), Bug#637881