Warning, /sdk/pology/lang/fi/rules/orthography.rules is written in an unsupported language. File is not indexed.
0001 # General orthography rules, mostly about proper punctuation. 0002 # Finnish KDE translation team 0003 # License: GPLv3 0004 0005 # Rule identifiers in this file should start with orthography-. 0006 0007 # Remove accelerators / access keys from messages. 0008 addFilterHook name="remove/remove-accel-msg-greedy" on="msg" 0009 0010 # Note to self: ca has great sophisticated rules for these things. 0011 0012 # TODO Add rule for havig two dots in translation instead of one or three. 0013 0014 [\.\.\.] 0015 id="orthography-three-dots-in-msgstr" 0016 hint="Käytä Unicoden kolmen pisteen merkkiä." 0017 0018 {…} 0019 id="orthography-ellipsis-in-msgid" 0020 hint="Käytä Unicoden kolmen pisteen merkkiä." 0021 valid msgstr="…" !msgid="\.\.\.?" 0022 0023 # TODO Spacing rules 0024 # for horizontal ellipsis 0025 # for colon and semicolon 0026 # for percentage sign 0027 # for some units 0028 # check for spacing before exclamation marks and question marks 0029 #[\s?] 0030 #[\s!] 0031 0032 # TODO Can this be enabled all the time or does this need to be disabled by default? 0033 [’] 0034 id="orthography-apostrophe-as-quotation" 0035 hint="Suomessa heittomerkkiä ei käytetä lainausmerkkinä." 0036 valid after="\w" before="\w" 0037 valid msgstr="^’$" 0038 valid before="\(" after="\)" 0039 disabled 0040 0041 [‘] 0042 id="orthography-left-single-quotation-mark" 0043 hint="Suomessa ei käytetä ylösalaisin käännettyä yksinkertaista lainausmerkkiä." 0044 0045 [“] 0046 id="orthography-left-double-quotation-mark" 0047 hint="Suomessa ei käytetä ylösalaisin käännettyä lainausmerkkiä." 0048 0049 [\s\.\s] 0050 id="orthography-dot-with-spaces-around" 0051 hint="Piste kuuluu kiinni edeltävään sanaan." 0052 valid before="\W" 0053 valid before="[a-zåäö]" # This can be extended to cover other lowercase letters. 0054 0055 [\s–\d] 0056 id="orthography-en-dash-as-minus-sign" 0057 hint="Käytä miinusmerkkiä (U+2212) negatiivisena etumerkkinä lyhyen ajatusviivan sijaan." 0058 0059 [\s—\d] 0060 id="orthography-em-dash-as-minus-sign" 0061 hint="Käytä miinusmerkkiä (U+2212) negatiivisena etumerkkinä pitkän ajatusviivan sijaan." 0062 0063 [\d+\-\d+] 0064 id="orthography-number-range" 0065 hint="Lukuvälit erotetaan lyhyellä ajatusviivalla." 0066 valid after="[-\w]" 0067 valid before="[-\w]" 0068 valid after="/" before="/" 0069 valid after="ANSI_X3." msgstr="ANSI_X3.4-1968" 0070 valid after="ISO " msgstr="ISO 8859-\d" 0071 0072 [\d+\—\d+] 0073 id="orthography-number-range-em-dash" 0074 hint="Lukuvälit erotetaan lyhyellä ajatusviivalla pitkän ajatusviivan sijaan." 0075 0076 [\d+\s+-\s+\d+] 0077 id="orthography-number-range-spaced-hyphen-minus" 0078 valid after="- " 0079 valid before=" -" 0080 hint="Lukuvälit erotetaan lyhyellä ajatusviivalla ilman välejä." 0081 0082 [\s–\w] 0083 id="orthography-misplaced-en-dash" 0084 hint="Tarkista, kuuluuko tähän ajatusviivan sijaan yhdysmerkki." 0085 0086 [\s—\w] 0087 id="orthography-misplaced-em-dash" 0088 hint="Tarkista, kuuluuko tähän ajatusviivan sijaan yhdysmerkki." 0089 0090 {(Copyright)?\s*(\(c\)|©) \d+\s*([\-/]\s*\d+)?(,\s*\d+\s*([\-/]\s*\d+)?)*,?\s*\w}i 0091 id="orthography-copyright-1" 0092 hint="Tarkista tekijänoikeusmerkinnän muoto. Esimerkki: © 2001–2012, 2014 Matti Meikäläinen" 0093 valid msgstr="©( | )\d+(–\d+)?(, \d+(–\d+)?)*( \w)?" 0094 0095 {Copyright\s+(\(c\)|©)? \d+\s*([\-/]\s*\d+)?(,\s*\d+\s*([\-/]\s*\d+)?)*,?\s*\w}i 0096 id="orthography-copyright-2" 0097 hint="Tarkista tekijänoikeusmerkinnän muoto. Esimerkki: © 2001–2012, 2014 Matti Meikäläinen" 0098 valid msgstr="(Copyright|Tekijänoikeudet|Tekijänoikeus) ©?( | )\d+([\-/]\d+)?(, \d+([\-/]\d+)?)*( \w)?"