Warning, /sdk/pology/lang/ko/rules/puretext.filters is written in an unsupported language. File is not indexed.

0001 # Filter message fields into pure text.
0002 # Chusslove Illich (Часлав Илић) <caslav.ilic@gmx.net>
0003 # License: GPLv3
0004 
0005 # Order of filter addition is significant.
0006 
0007 # Remove literal substrings, those which are to be understood by the machine
0008 # and therefore not translated, as designated by markup.
0009 # (-> before markup removal)
0010 addFilterHook name="remove/remove-marlits-msg" on="msg" handle="marlits"
0011 
0012 # Remove text markup.
0013 # For this to work, POs need to specify markup types using
0014 # the X-Text-Markup header field; its value is a markup keyword.
0015 # For markups known to Pology at any given moment, see documentation on
0016 # remove_markup_text() function in pology.remove module.
0017 # The value of the header field may be a comma-separated list of keywords,
0018 # if there are several markup types present in the PO.
0019 # (-> before accelerator removal)
0020 # (-> before literals removal)
0021 addFilterHook name="remove/remove-markup-msg" on="msg" handle="markup"
0022 
0023 # Remove accelerator markers.
0024 # For this to work, POs need to specify the marker character through
0025 # the X-Accelerator-Marker header field.
0026 # (-> after markup removal)
0027 addFilterHook name="remove/remove-accel-msg" on="msg" handle="accel"
0028 
0029 # Replace format directives with tildes (~), based on *-format flags.
0030 addFilterHook name="remove/remove-fmtdirs-msg-tick~'~'" on="msg" handle="fmtdirs"
0031 
0032 # Remove other literal substrings by heuristics.
0033 # Heuristics can be augmented by explicit instructions per message,
0034 # see documentation on remove_literals_text() function
0035 # in pology.remove module.
0036 # (-> after markup removal)
0037 addFilterHook name="remove/remove-literals-msg-tick~'xxxxx'" on="msg" handle="literals"
0038 
0039 # Remove local entities which are to be left as-is in the message.
0040 addFilterHook name="remove/remove-ignored-entities-msg" on="msg" handle="entities"
0041 
0042 # Remove invisible characters, e.g., soft hyphens.
0043 addFilterHook name="normalize/noinvisible" on="pmsgstr" handle="noinvisible"
0044