Skip to content

Commit

Permalink
Formats: Automatically enable Java MessageFormat checks for Java Prop…
Browse files Browse the repository at this point in the history
…erties
  • Loading branch information
nijel committed Feb 1, 2021
1 parent 866c901 commit 76edd06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Not yet released.
* Added support for searching in explanations.
* Strings can now be added and removed in bilingual formats as well.
* Extend list of supported languages in Amazon Translate machine translation.
* Automatically enable Java MessageFormat checks for Java Properties.

Weblate 4.4.2
-------------
Expand Down
1 change: 1 addition & 0 deletions weblate/formats/ttkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ class PropertiesUtf8Format(PropertiesBaseFormat):
loader = ("properties", "javautf8file")
new_translation = "\n"
language_format = "java"
check_flags = ("auto-java-messageformat",)


class PropertiesUtf16Format(PropertiesBaseFormat):
Expand Down

0 comments on commit 76edd06

Please sign in to comment.