commit 3ddf6ff955a45ed3df2cd3cd418e2488ab60f324
parent d04c0b75559dbfe63c9acafa6d17a1e8997c6e8f
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 5 Sep 2016 16:59:00 +0200
syntax: make the contents of the X-Bugs field in a PO file stand out
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/syntax/po.nanorc b/doc/syntax/po.nanorc
@@ -7,7 +7,8 @@ comment "#"
color green "^#.*$"
color yellow "Copyright|\(C\)"
# Header fields.
-color brightmagenta "\<(Project\-Id\-Version|Report\-Msgid\-Bugs\-To|Last\-Translator|Language(\-Team)?|X\-Generator|Plural\-Forms)\>"
+color brightred "^\"X-Bugs:.*\"$"
+color brightmagenta "\<(Project\-Id\-Version|Report\-Msgid\-Bugs\-To|Last\-Translator|Language(\-Team)?|X-Bugs|X-Generator|Plural\-Forms)\>"
color cyan "\<(POT\-Creation\-Date|PO\-Revision\-Date|MIME\-Version|Content\-Type|Content\-Transfer\-Encoding)\>"
# Encodings and numbers.
color yellow "\<(UTF|ISO|Windows|Mac|IBM)\>\-[0-9]"