Skip to content

Commit 2eb90d3

Browse files
committed
Fixed jQuery output path
1 parent 521dd53 commit 2eb90d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python_twine/twine/formatters/jquery.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ def extension(self) -> str:
2121
def default_file_name(self) -> str:
2222
return "localize.json"
2323

24+
def output_path_for_language(self, lang: str) -> str:
25+
"""Return the output path component for a language."""
26+
return f"{lang}.json"
27+
2428
def determine_language_given_path(self, path: str) -> Optional[str]:
2529
"""Extract language from filename like strings-en-US.json."""
2630
from pathlib import Path

0 commit comments

Comments
 (0)