Skip to content

Commit

Permalink
[pt] Improve message of BrazilianToponymStateCheckFilter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Dec 22, 2023
1 parent 06b9289 commit a31ca64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ private void setMessage(RuleMatch match, BrazilianToponymStateCheckResult checkR
String inTheStateOf = String.format("no estado %s %s",
new PortuguesePreposition("de").contractWith(wrongState.articles[0]),
wrongState.name);
String message = String.format("O município %s não fica %s.", checkResult.matchedToponym, inTheStateOf);
String message = String.format("Se estiver se referindo a um município, não parece haver cidades com o nome de %s %s.",
checkResult.matchedToponym, inTheStateOf);
match.setMessage(message);
}
}

0 comments on commit a31ca64

Please sign in to comment.