summaryrefslogtreecommitdiffstats
path: root/tags/t/translated-default-field.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/t/translated-default-field.tag')
-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
+ _Default: English
+ .
+ Or:
+ .
+ _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