Skip to content

Commit

Permalink
Merge branch 'stable'
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Apr 24, 2021
2 parents 2cd69e9 + 802956f commit 2a66f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/trans/models/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def get_analysis(self):
result = {"monolingual": bool(component.template)}
source = component.source_language
for occurrence in self.occurrences:
if occurrence["language"] == source:
if occurrence["language_code"] == source:
result["source_language"] = True
codes = {
code.strip().replace("-", "_").lower()
Expand Down

0 comments on commit 2a66f1f

Please sign in to comment.