Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/l10nUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,9 @@ def main():
)
command_xliff2md.add_argument("xliffPath", help="Path to the xliff file")
command_xliff2md.add_argument("mdPath", help="Path to the resulting markdown file")
command_md2xliff = commands.add_parser("md2xliff", help="Convert markdown to xliff")
command_md2xliff.add_argument("mdPath", help="Path to the markdown file")
command_md2xliff.add_argument("xliffPath", help="Path to the resulting xliff file")
command_md2html = commands.add_parser("md2html", help="Convert markdown to html")
command_md2html.add_argument(
"-l",
Expand Down Expand Up @@ -1058,6 +1061,11 @@ def main():
outputPath=args.mdPath,
translated=not args.untranslated,
)
case "md2xliff":
markdownTranslate.generateXliff(
mdPath=args.mdPath,
xliffPath=args.xliffPath,
Comment thread
nvdaes marked this conversation as resolved.
Outdated
)
case "md2html":
md2html.main(
source=args.mdPath,
Expand Down
Loading
Loading