Skip to content

Commit

Permalink
Fix names of Portuguese babel languages
Browse files Browse the repository at this point in the history
Fixes #72.
  • Loading branch information
me-johnomar authored and valentjn committed Jun 19, 2021
1 parent a82b0c8 commit 7d9922c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

# Changelog

## 12.2.1 (upcoming)

- Fix name of Portuguese babel language names, add support for Brazilian Portuguese babel language names (fixes [#72](https://github.com/valentjn/ltex-ls/issues/72))

## 12.2.0 (June 5, 2021)

- Add support for `\setplength` (L<sup>A</sup>T<sub>E</sub>X)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ private static Map<String, String> createBabelLanguageMap() {
babelLanguageMap.put("arabic", "ar");
babelLanguageMap.put("asturian", "ast-ES");
babelLanguageMap.put("belarusian", "be-BY");
babelLanguageMap.put("brazil", "pt-BR");
babelLanguageMap.put("brazilian", "pt-BR");
babelLanguageMap.put("catalan", "ca-ES");
babelLanguageMap.put("danish", "da-DK");
babelLanguageMap.put("german", "de-DE");
Expand All @@ -154,7 +156,8 @@ private static Map<String, String> createBabelLanguageMap() {
babelLanguageMap.put("khmer", "km-KH");
babelLanguageMap.put("dutch", "nl");
babelLanguageMap.put("polish", "pl-PL");
babelLanguageMap.put("portugese", "pt");
babelLanguageMap.put("portuges", "pt-PT");
babelLanguageMap.put("portuguese", "pt-PT");
babelLanguageMap.put("romanian", "ro-RO");
babelLanguageMap.put("russian", "ru-RU");
babelLanguageMap.put("slovak", "sk-SK");
Expand Down

0 comments on commit 7d9922c

Please sign in to comment.