Warning, /sdk/pology/lang/ca/rules/punctuation.rules is written in an unsupported language. File is not indexed.
0001 # Catalan punctuation rules 0002 # Copyright 2015, Josep Ma. Ferrer 0003 # Copyright 2019, Jordi Mas <jmas@softcatala.org> 0004 # 0005 # by the KDE Catalan Team (kde-i18n-ca@kde.org) 0006 # License: GPLv3 0007 0008 # If the source message ends with a colon, the target message must end with a colon. 0009 {\:\s*$}i 0010 id="punctuation-colon" 0011 valid msgstr="\:\s*$" 0012 hint="Si el missatge origen acaba amb dos punts, el missatge destí també hauria (punctuation)" 0013 0014 # If the source message ends with a period, the target message must end with a period. 0015 {[^\.]\.\s*$}i 0016 id="punctuation-period" 0017 valid msgstr="\.\s*$" 0018 valid msgstr="\&(BDR|etc|kde|kimagemapeditor);$" 0019 valid msgstr="\.»$" 0020 valid msgid="(id|no|org|U\.S).$" 0021 valid msgid="\.\.\.</guimenuitem></menuchoice>( menu)?\.$" 0022 hint="Si el missatge origen acaba amb punt final, el missatge destí també hauria (punctuation)" 0023 0024 # If the source message ends with 3 periods, the target message must end with 3 periods. 0025 {(\.\.\.\s*$|…s*$)}i 0026 id="punctuation-3period" 0027 valid msgstr="\.\.\.\s*$" 0028 valid msgstr="\.\.\.»$" 0029 valid msgstr="…s*$" 0030 valid msgstr="…»$" 0031 hint="Si el missatge origen acaba amb punts suspensius, el missatge destí també hauria (punctuation)" 0032 0033 {.*?('(%[a-z]|{[0-9]})').*?} 0034 id="punctuation-simple-quotes" 0035 valid msgstr=".*?(='.*?').*?" #Used to skip when it's assigned in xml/html 0036 valid msgstr=".*?(«.*?»).*?" 0037 hint="En català usem cometes baixes («») en comptes de cometes simples ('') per encloure expressions (punctuation)" 0038 0039 {.*?("(%[a-z]|{[0-9]})").*?} 0040 id="punctuation-double-quotes" 0041 valid msgstr='.*?(=".*?").*?' #Used to skip when it's assigned in xml/html 0042 valid msgstr=".*?(«.*?»).*?" 0043 hint='En català usem cometes baixes («») en comptes de cometes dobles ("") per encloure expressions (punctuation)' 0044 0045 {.*?(“(%[a-z]|{[0-9]})”).*?} 0046 id="punctuation-high-quotes" 0047 valid msgstr='.*?(=“.*?”).*?' #Used to skip when it's assigned in xml/html 0048 valid msgstr=".*?(«.*?»).*?" 0049 hint='En català usem cometes baixes («») en comptes de cometes altes (“”) per encloure expressions (punctuation)' 0050 0051 {.*?(`(%[a-z]|{[0-9]})`).*?} 0052 id="punctuation-accent-quotes" 0053 valid msgstr='.*?(=`.*?`).*?' #Used to skip when it's assigned in xml/html 0054 valid msgstr=".*?(«.*?»).*?" 0055 hint='En català usem cometes baixes («») en comptes de cometes (``) per encloure expressions (punctuation)' 0056 0057 # Negative reg exp /^((?!REGULAR_EXPRESSION_HERE).)*$/ 0058 {^((?!(([:])( )*$)).)*$} 0059 id="punctuation-colon-no" 0060 valid msgstr="[^:]$" 0061 hint="Si el missatge original no acaba en dos punts, la traducció tampoc hauria de fer-ho (punctuation)" 0062 0063 {^((?!(([\.…!])( )*$)).)*$} 0064 id="punctuation-period-no" 0065 valid msgstr="[^\.]$" 0066 hint="Si el missatge original no acaba en punt, la traducció tampoc hauria de fer-ho (punctuation)" 0067 0068 {[^ ]$} 0069 id="punctuation-space-end-no" 0070 valid msgstr="[^ ]$" 0071 hint="Si el missatge original no acaba en espai, la traducció tampoc hauria de fer-ho (punctuation)" 0072 0073 {^ .*} 0074 id="punctuation-space-start-no" 0075 valid msgstr="^ .*" 0076 hint="Si el missatge original comença en espai però la traducció no (punctuation)"