Warning, /sdk/pology/lang/ca/rules/restructuredtext.rules is written in an unsupported language. File is not indexed.

0001 # reStructuredText Rules
0002 # Copyrigth 2019-2023, Antoni Bella Pérez (antonibella5@yahoo.com)
0003 # by KDE Catalan Team (kde-i18n-ca@kde.org)
0004 # License: GPLv3+
0005 
0006 
0007 {\s(<[^<]{1,}>)\`(_|)}
0008 id="rst-link2"
0009 valid msgstr="\s(<[^<]{1,}>)\`(_|)"
0010 hint="Surely the previous space should be removed or missing a link (reStructuredText)"
0011 
0012 {(^|\s)\`}
0013 id="rst-link0italic"
0014 valid msgid="(^|\s)\`\`(\`|)"
0015 valid msgstr="(^|\'|\s«|\s)\`"
0016 hint="Surely missing a link or a start bold markup (reStructuredText)"
0017 
0018     {(^|\s)\`\`}
0019     id="rst-2tilde"
0020     valid msgid="(^|\s)\`\`\`"
0021     valid msgstr="(^|\(|\'|\s«|\s)\`\`"
0022     hint="Surely missing (reStructuredText)"
0023 
0024     {(^|\s)\`\`\`}
0025     id="rst-3tilde"
0026     valid msgstr="(^|\(|\'|\s«|\s)\`\`\`"
0027     hint="Surely missing (reStructuredText)"
0028 
0029 {([…:]|\.|\)|\b)\`(\s|\.|[:,]|\)|$)}
0030 id="rst-italic2"
0031 valid msgid="([…:]|\.|\)|\b)\`\`(\`|)(\s|\.|[:,]|\-|\)|$)"
0032 valid msgstr="([…:]|\.|\»|\)|\b)\`(\s|\.|[:,]|\»|\-|\)|$)"
0033 hint="Surely missing a link or an end italic markup (reStructuredText)"
0034 
0035     {([…:]|\.|\)|\b)\`\`(\s|\.|[:,]|\)|$)}
0036     id="rst-tilde2"
0037     valid msgid="([…:]|\.|\)|\b)\`\`\`(\s|\.|[:,]|\-|\)|$)"
0038     valid msgstr="([…:]|\.|\»|\)|\b)\`\`(\s|\.|[:,]|\-|\»|\)|$)"
0039     hint="Surely missing (reStructuredText)"
0040 
0041     {([…:]|\.|\)|\b)\`\`\`(\s|\.|[:,]|\-|\)|$)}
0042     id="rst-tilde3"
0043     valid msgstr="([…:]|\.|\»|\)|\b)\`\`\`(\s|\.||[:,]|\-|\»|\)|$)"
0044     hint="Surely missing (reStructuredText)"
0045 
0046 {(^|\(|\s)\*(\(|\b)}
0047 id="rst-1asterisk"
0048 valid msgid="(^|\s)\*\*(\*|)(\(|\b)"
0049 valid msgstr="(^|\-|\s|\(|\'|«)\*(\(|\b)"
0050 hint="Surely missing a start italic markup - without spaces too (reStructuredText)"
0051 
0052     {(^|\/|\(|\s)\*\*(\(|\b)}
0053     valid msgid="(^|\s)\*\*\*(\(|\b)"
0054     id="rst-2asterisk"
0055     valid msgstr="(^|\s|\-|\/|\(|\'|«|\-)\*\*(\(|\b)"
0056     hint="Surely missing a start bold markup - without spaces too (reStructuredText)"
0057 
0058     {(^|\/|\(|\s)\*\*\*(\(|\b)}
0059     id="rst-3asterisk"
0060     valid msgstr="(^|\s|\-|\/|\(|\'|«|\-)\*\*\*(\(|\b)"
0061     hint="Surely missing a start bold markup - without spaces too (reStructuredText)"
0062 
0063 {([…:%]|\.|\)|\b)\*}
0064 id="rst-asterisk1"
0065 valid msgid="\d\*(EPS|pi|x)"
0066 valid msgid="d.\*f"
0067 valid msgid="L\*a\*b"
0068 valid msgid="hq\*x"
0069 valid msgid="kdenlive_\*"
0070 valid msgid="m\*n"
0071 valid msgid="meet\*boss"
0072 valid msgid="X\*Y"
0073 valid msgid="([…:%]|\.|\)|\b)\*\*(\*|)"
0074 valid msgstr="([…:%]|\.|\»|\-|\)|\b)\*(\.|[_,;:!?<]|\»|\-|\\|\||\{|\}|\]|\(|\)|\d|\s|$)"
0075 valid msgstr="Q\*Application"
0076 hint="Surely missing an end italic markup - without spaces too, but yes at the end (reStructuredText)"
0077 
0078     {([…:%]|\.|\)|\b)\*\*}
0079     id="rst-asterisk2"
0080     valid msgid="([…:%]|\.|\)|\b)\*\*\*"
0081     valid msgstr="([…:%]|\.|\)|\b)\*\*\b"
0082     valid msgstr="([…:%]|\.|\»|\)|\b)\*\*(\.|[_,;:!?<]|\»|\-|\\|\||\{|\}|\]|\(|\)|\d|\s|$)"
0083     hint="Surely missing an end bold markup - without spaces too, but yes at the end (reStructuredText)"
0084 
0085         [([…:%]|\.|\)|\b)\*\*\b]
0086         id="rst-asterisk2a"
0087         valid msgid="CMAKE\*POLICY\*\*_"
0088         valid msgstr="([…:%]|\.|\)|\b)\*\*(\s)"
0089         hint="Surely missing a right end bold markup - can not highlight only half word (reStructuredText)"
0090 
0091     {([…:%]|\.|\)|\b)\*\*\*}
0092     id="rst-asterisk3"
0093     valid msgstr="([…:%]|\.|\»|\)|\b)\*\*\*(\.|[,;:!]|\»|\-|\)|\s|$)"
0094     hint="Surely missing an end bold markup - without spaces too, but yes at the end (reStructuredText)"
0095 
0096 {:alt:\`}
0097 id="rst-alt"
0098 valid msgstr=":alt:\`\b(.*?)\`(\s|\.|\)|[:,]|$)"
0099 hint="Surely missing the bond «:alt:`» - without an additional space too (reStructuredText)"
0100 
0101 {:dfn:\`}
0102 id="rst-dfn"
0103 valid msgstr=":dfn:\`(\b|«)(.*?)\`(\s|\.|\)|[:,]|$)"
0104 hint="Surely missing the bond «:dfn:`» - without an additional space too (reStructuredText)"
0105 
0106 {:file:\`}
0107 id="rst-file"
0108 valid msgstr=":file:\`(\.|[<~%]|\$|\*|\/|\b)(.*?)\`(\s|\.|\-|\»|\)|[:,]|$)"
0109 hint="Surely missing the bond «:file:`» - without an additional space too (reStructuredText)"
0110 
0111 {:guilabel:\`}
0112 id="rst-guilabel"
0113 valid msgstr=":guilabel:\`(\b|\.\.\.|['+=<«]|>>)(.*?)\`(\s|\.|\-|\»|\)|[:,!]|$)"
0114 hint="Surely missing the bond «:guilabel:`» - without an additional space too (reStructuredText)"
0115 
0116 {:kbd:\`}
0117 id="rst-kbd"
0118 valid msgstr=":kbd:\`(\b|['+=<]|\\|\/|\-|\*|\)|\()(.*?)\`(\s|\.|\-|\)|[:,]|$)"
0119 hint="Surely missing the bond «:kbd:`» - without an additional space too (reStructuredText)"
0120 
0121 {:menuselection:\`}
0122 id="rst-menuselection"
0123 valid msgstr=":menuselection:\`\b(.*?)\`(\s|\.|\)|[:,]|\»|$)"
0124 hint="Surely missing the bond «:menuselection:`» - without an additional space too - doesn't allow text styling (reStructuredText)"
0125 
0126 {:program:\`}
0127 id="rst-program"
0128 valid msgstr=":program:\`\b(.*?)\`(\s|\.|\»|\)|[:,]|$)"
0129 hint="Surely missing the bond «:program:`» - without an additional space too (reStructuredText)"
0130 
0131 {:ref:\`}
0132 id="rst-ref"
0133 valid msgstr=":ref:\`\b(.*?)\`(\s|\.|\)|[:,]|\»|$)"
0134 hint="Surely missing the bond «:ref:`» - without an additional space too, but yes at the end (reStructuredText)"
0135 
0136 {:su[bp]:\`}
0137 id="rst-subp"
0138 valid msgstr=":su([bp]):\`\b(.*?)\`(\s|\.|\)|[:,]|$)"
0139 hint="Surely missing the bond «:sub:` or :sup:`» - without an additional space too (reStructuredText)"
0140 
0141 {:term:\`}
0142 id="rst-term"
0143 valid msgstr=":term:\`\b(.*?)\`(\s|\.|\)|[:,]|$)"
0144 hint="Surely missing the bond «:term:`» - without an additional space too (reStructuredText)"
0145 
0146     [(\s|\s\()(:alt|:dfn|:file|:guilabel|:kbd|:menuselection|:program|:ref|:su[bp]|:term)\`(.*?)\s(<[^<]{1,}>)\`(\s|\.|\)|[:,]|$)]
0147     valid msgstr="<http"
0148     hint="Surely missing a bond «:alt:`, :dfn:`, :file:`, :guilabel:`, :kbd:`, :menuselection:`, :program:`, :ref:`, :sub:` or :sup:`, :term:`» (reStructuredText)"