Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and nijel committed Feb 6, 2024
1 parent 5305478 commit f461fa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion translate/lang/poedit.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,4 @@ def isocode(language, country=None):
dialect = dialects.get(language)
if dialect:
return dialect.get(country, dialect["None"])
return lang_names.get(language, None)
return lang_names.get(language)
1 change: 1 addition & 0 deletions translate/storage/jsonl10n.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
- Handle ``\u`` and other escapes in Unicode
- Manage data type storage and conversion. True --> "True" --> True
"""

import json
Expand Down
1 change: 1 addition & 0 deletions translate/storage/placeables/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class QtFormattingPlaceable(Ph):
- Place markers may be repeated
- 'L' use a localised representation e.g. in a number
- %% some in the wild to escape real %, not documented (not in regex)
"""

iseditable = False
Expand Down

0 comments on commit f461fa4

Please sign in to comment.