[pt] Adding missing space after a : or ; - Bug in LT

@danielnaber @tiff

<rule id="SEMICOLON_COLON_SPACING" name="Espaços em falta: ':' e ';'">

Hello!

If you check, for sometime that I have been trying to fix this rule.

However, my fixes only work in the stand-alone tool.

If I paste the text into the LibreOffice add-on it gives false positives after we apply the suggestions.

Also, in the browser add-on for Firefox it complains about the last line.

In the LT’s site checker it works okay even the last line.

Could someone check what is wrong?:

Exemplo: “Operação Tempestade no Deserto” contra o Iraque em 1991.
Exemplo:“Operação Tempestade no Deserto” contra o Iraque em 1991.
Exemplo;“Operação Tempestade no Deserto” contra o Iraque em 1991.
Queremos o “;” e o “:”.

Thanks!

Kind regards,

I guess nothing is wrong, it’s just that these are different versions of LT maybe? Only languagetool.org gets the latest version every day.

But, I used the nightly in stand-alone and LibreOffice.

This is what makes me confused.

@dnaber @tiff @jaumeortola

Hello!

My mission for today is to fix this rule.

However, back in November 2019 I tried to fix it unsuccessfully and I wanted now to revert the code of the rule to before I tried to fix it.

I tried to get the October 2019 version of grammar.xml but TortoiseSVN doesn’t allow me to go much back in time.

Could one of you paste here the code of the rule SEMICOLON_COLON_SPACING from October 2019?

Thank you!

GitHub has a “history” feature:

Found it!

Thank you, Christopher.

1 Like