|
Packit Service |
c30d13 |
## Colouring for PO files.
|
|
Packit Service |
c30d13 |
|
|
Packit Service |
c30d13 |
syntax po "\.pot?$"
|
|
Packit Service |
c30d13 |
comment "#"
|
|
Packit Service |
c30d13 |
|
|
Packit Service |
c30d13 |
# Comments.
|
|
Packit Service |
c30d13 |
color green "^#.*$"
|
|
Packit Service |
c30d13 |
color yellow "Copyright|\(C\)"
|
|
Packit Service |
c30d13 |
# Header fields.
|
|
Packit Service |
c30d13 |
color brightred "^\"X-Bugs:.*\"$"
|
|
Packit Service |
c30d13 |
color brightmagenta "\<(Project\-Id\-Version|Report\-Msgid\-Bugs\-To|Last\-Translator|Language(\-Team)?|X-Bugs|X-Generator|Plural\-Forms)\>"
|
|
Packit Service |
c30d13 |
color cyan "\<(POT\-Creation\-Date|PO\-Revision\-Date|MIME\-Version|Content\-Type|Content\-Transfer\-Encoding)\>"
|
|
Packit Service |
c30d13 |
# Encodings and numbers.
|
|
Packit Service |
c30d13 |
color yellow "\<(UTF|ISO|Windows|Mac|IBM)-[0-9]+"
|
|
Packit Service |
c30d13 |
color yellow "[0-9]|pre[0-9]|[0-9]bit"
|
|
Packit Service |
c30d13 |
# Msgids.
|
|
Packit Service |
c30d13 |
color brightblue "^(msgid|msgid_plural|msgstr)\>"
|
|
Packit Service |
c30d13 |
# Tags.
|
|
Packit Service |
c30d13 |
color red " fuzzy(,|$)"
|
|
Packit Service |
c30d13 |
color yellow " (no-)?[-[:alpha:]]+-format(,|$)"
|
|
Packit Service |
c30d13 |
# Format specifiers.
|
|
Packit Service |
c30d13 |
color brightmagenta "%([1-9]\$)?[a-z]*"
|
|
Packit Service |
c30d13 |
# Quotes and escaped characters.
|
|
Packit Service |
c30d13 |
color yellow "\""
|
|
Packit Service |
c30d13 |
color cyan "\\[abcefnrtv"\]"
|
|
Packit Service |
c30d13 |
# Reminders.
|
|
Packit Service |
c30d13 |
color brightwhite,yellow "(FIXME|TODO|XXX)"
|
|
Packit Service |
c30d13 |
# Obsolete strings.
|
|
Packit Service |
c30d13 |
color red "#~.*$"
|