fix some db docs
[factor/jcg.git] / basis / xmode / modes / gettext.xml
blobb84e7c4b646f770d352fd02e7aee2e269fa94e93
1 <?xml version="1.0"?>\r
2 \r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">\r
4 \r
5 <MODE>\r
6 <!--\r
7         ** jEdit edit mode for gettext catalogs (.po/.pot extension)\r
8         ** Use the ConfigurableFoldHandler plugin for optimal\r
9         ** results. =)\r
10 -->\r
11         <PROPS>\r
12                 <PROPERTY NAME="lineComment" VALUE="# " />\r
13         </PROPS>\r
14         <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">\r
15                 <!-- Comments -->\r
16                 <EOL_SPAN TYPE="COMMENT2">#:</EOL_SPAN>\r
17                 <EOL_SPAN TYPE="COMMENT1"># </EOL_SPAN>\r
18                 <EOL_SPAN TYPE="COMMENT2">#.</EOL_SPAN>\r
19                 <EOL_SPAN TYPE="COMMENT2">#~</EOL_SPAN>\r
21                 <MARK_FOLLOWING TYPE="COMMENT2">#,</MARK_FOLLOWING>\r
22                 <MARK_FOLLOWING TYPE="KEYWORD3">%</MARK_FOLLOWING>\r
23                 <MARK_FOLLOWING TYPE="KEYWORD3">$</MARK_FOLLOWING>\r
24                 <MARK_FOLLOWING TYPE="KEYWORD3">@</MARK_FOLLOWING>\r
26                 <SPAN TYPE="LITERAL1" DELEGATE="QUOTED" >\r
27                         <BEGIN>"</BEGIN>\r
28                         <END>"</END>\r
29                 </SPAN>\r
31                 <!-- keywords -->\r
32                 <KEYWORDS>\r
33                         <KEYWORD1>msgid</KEYWORD1>\r
34                         <KEYWORD1>msgid_plural</KEYWORD1>\r
35                         <KEYWORD1>msgstr</KEYWORD1>\r
36                         <KEYWORD2>fuzzy</KEYWORD2>\r
37 <!--            ** Ideally, we'd highlight the next msgstr differently\r
38                         ** whenever fuzzy is encountered, but this doesn't seem\r
39                         ** to be possible just yet.\r
40 -->\r
41                         <KEYWORD2>c-format</KEYWORD2>\r
42                         <KEYWORD2>no-c-format</KEYWORD2>\r
43                 </KEYWORDS>\r
45         </RULES>\r
47         <RULES SET="QUOTED" DEFAULT="LITERAL1">\r
48                 <SPAN TYPE="LITERAL2" NO_LINE_BREAK="TRUE">\r
49                         <BEGIN>\"</BEGIN>\r
50                         <END>\"</END>\r
51                 </SPAN>\r
53                 <MARK_FOLLOWING TYPE="KEYWORD3">%</MARK_FOLLOWING>\r
54                 <MARK_FOLLOWING TYPE="KEYWORD3">$</MARK_FOLLOWING>\r
55                 <MARK_FOLLOWING TYPE="KEYWORD3">@</MARK_FOLLOWING>\r
56         </RULES>\r
58 </MODE>\r