Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt] Enable some rules ahead of premium deployment #9960

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12675,7 +12675,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
<example>Ele teve-a como perdida.</example>
</rule>

<rulegroup id="MESOCLISE_DE_VERBOS_IRREGULARES" name="Mesóclise com infinitivo de verbos irregulares" default="temp_off">
<rulegroup id="MESOCLISE_DE_VERBOS_IRREGULARES" name="Mesóclise com infinitivo de verbos irregulares">
<!-- Must be placed AFTER the rules that correct improper enclitic/mesoclitic pronoun forms. -->
<rule id="MESOCLISE_DE_VERBOS_IRREGULARES_DIZER_DIZÊ">
<pattern>
Expand Down Expand Up @@ -13144,7 +13144,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
</rule>
</rulegroup>

<rulegroup id="COLOCAO_PRONOMINAL_EM_O_SENDO" name="Preferir a próclise em construções do tipo 'em o sendo'" default="temp_off">
<rulegroup id="COLOCACAO_PRONOMINAL_EM_O_SENDO" name="Preferir a próclise em construções do tipo 'em o sendo'" default="temp_off">
<rule>
<pattern>
<token>em</token>
Expand Down Expand Up @@ -41225,20 +41225,20 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
</rule>
</rulegroup>

<rulegroup id="SIMBOLO_DE_GRAU_ESPACAMENTO" name="Dar espaçamento antes do símbolo de grau em escalas com nomes." default="temp_off">
<rulegroup id="SIMBOLO_DE_GRAU_ESPACAMENTO" name="Dar espaçamento antes do símbolo de grau em escalas com nomes.">
<!--Our strategy was to suggest a narrow non-breaking space even when
users manually input a regular whitespace. Now we will only
trigger when users skip the space altogether. Trust their word
processing software to know what to do; LT can't do that reliably.-->
<rule id="SIMBOLO_DE_GRAU_ESPACAMENTO_NENHUM">
<rule id="SIMBOLO_DE_GRAU_ESPACAMENTO_NENHUM" default="on">
<pattern>
<token regexp="yes" case_sensitive="yes">&degree_token;[CFNSEW]</token>
</pattern>
<message>Neste caso, põe-se um espaço estreito entre o número e o símbolo de grau.</message>
<suggestion><match no="1" regexp_match="^(.+)(&deg;[CFNSEW])$" regexp_replace="$1&nnbsp;$2"/></suggestion>
<example correction="22&nnbsp;&deg;C">Faz <marker>22&deg;C</marker> à sombra.</example>
</rule>
<rule id="SIMBOLO_DE_GRAU_ESPACAMENTO_GRAU_E_UNIDADE">
<rule id="SIMBOLO_DE_GRAU_ESPACAMENTO_GRAU_E_UNIDADE" default="temp_off">
<pattern>
<token regexp="yes">&degree_token;</token>
<token regexp="yes" spacebefore="yes" case_sensitive="yes">[CFNSEW]</token>
Expand All @@ -41249,7 +41249,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
</rule>
</rulegroup>

<rulegroup id="SIMBOLO_DE_GRAU_ORDINAL" name="Símbolo de grau usado no lugar de um indicator ordinal." default="temp_off">
<rulegroup id="SIMBOLO_DE_GRAU_ORDINAL" name="Símbolo de grau usado no lugar de um indicator ordinal." default="on" tags="picky">
<rule> <!-- singular, dot-separated -->
<pattern>
<token regexp="yes">&number_token_no_decimal;</token>
Expand Down Expand Up @@ -41297,7 +41297,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
</rule>
</rulegroup>

<rule id="POSICAO_DO_PONTO_EM_ORDINAL_ABREVIADO" name="Pôr o ponto entre o número e o indicador de ordinal, e não depois deste." default="temp_off">
<rule id="POSICAO_DO_PONTO_EM_ORDINAL_ABREVIADO" name="Pôr o ponto entre o número e o indicador de ordinal, e não depois deste." default="on">
<pattern>
<marker>
<token regexp='yes' case_sensitive='yes'>\d+\.?&any_ord;</token>
Expand Down