mdpo

Markdown files translation using GNU PO files

BSD-3-CLAUSE License

Downloads
4.7K
Stars
25
Committers
5

Bot releases are visible (Hide)

mdpo - v2.0.1 Latest Release

Published by github-actions[bot] 6 months ago

Bug fixes

  • Fixed po2md not adding newline before first nested list lines.
mdpo - v2.0.1

Published by github-actions[bot] 6 months ago

Bug fixes

  • Fixed po2md not adding newline before first nested list lines (#302).
mdpo - v2.0.0

Published by github-actions[bot] 8 months ago

⚠️ Breaking changes

  • mdpo is no longer installable on Python3.7

Note about v1.1.5

Probably you're experiencing an error when calling the CLI after reinstalling v1.1.5. This can be solved by pinning importlib-metadata-argparse-version to <2, but the upgrade of mdpo to v2 is recommended. Sorry for the inconveniences that you could have experienced.

mdpo - v1.1.5

Published by github-actions[bot] 8 months ago

Enhancements

  • Added --include-codeblocks option to md2po2md.
mdpo - v1.1.4

Published by github-actions[bot] about 1 year ago

Chore:

  • Added initial support for Python 3.12
mdpo - v1.1.3

Published by github-actions[bot] over 1 year ago

Bug fixes:

  • Fixed error when passing 0 or inf as --wrapwidth argument to po2md (regression by v1.1.2).
mdpo - v1.1.2

Published by github-actions[bot] over 1 year ago

Bug fixes:

  • Fixed po2md output of Unicode Line Breaking wrapping when mixing scriptio and non scriptio continua languages.

Enhancements:

  • Improved performance of po2md as the wrapping algorithm is executed at CPython extension level.
mdpo - v1.1.1

Published by github-actions[bot] over 1 year ago

Bug fixes:

  • Fix wrapwidth argument not being applied using po2md to render scriptio languages Markdown output.
mdpo - v1.1.0

Published by github-actions[bot] almost 2 years ago

  • Added support for Python3.11
  • Now mdpo can be installed without manual compilation of md4c on a lot of more platforms.
mdpo - v1.0.3

Published by github-actions[bot] about 2 years ago

Bug fixes:

  • Preserve HTML blocks in po2md output.
  • Fixed edge case encoding bug in Windows when decoding PO files with md2po.
mdpo - v1.0.2

Published by github-actions[bot] about 2 years ago

Bug fixes:

  • Fixed some edge case errors related to memory management.
mdpo - v1.0.1

Published by mondeja about 2 years ago

Bug fixes:

  • Add missing information to project metadata to fix some installations not discovering entry points.
mdpo - v1.0.0

Published by mondeja over 2 years ago

Breaking changes:

  • Removed support for Python 3.6.
  • -po option of md2po has been renamed to -p.
  • --plaintext option of md2po does not offer the contraction -p now.
  • -mo contraction of --mo-filepath option of md2po has been removed.
  • Now only one X-Generation header with the value mdpo v{version} is added when using the option --xheader of md2po (--xheaders option has been renamed to --xheader).
  • Changed name of --pre-commit option by --check used to return exit code 1 if any of the files have changed.
  • Removed mdpo.__version__, mdpo.__title__ and mdpo.__description__ (use importlib.metadata or importlib_metadata).
    Replace with something like:
    import sys
    
    if sys.version_info > (3, 7):
        import importlib.metadata as importlib_metadata
    else:
        import importlib_metadata
    
    metadata = importlib_metadata.distribution("mdpo").metadata
    __version__ = metadata["version"]  # or just `importlib_metadata.version("mdpo")` 
    __title__ = metadata["name"]
    __description__ = metadata["summary"]
    
mdpo - v0.3.86

Published by github-actions[bot] over 2 years ago

Bug fixes:

  • Do not allow nan value for -w/--wrapwidth arguments.
mdpo - v0.3.85

Published by github-actions[bot] over 2 years ago

Enhancements:

  • Allow to pass languages with -l es fr de to md2po2md CLI.
mdpo - v0.3.84

Published by github-actions[bot] almost 3 years ago

Enhancements

  • Made public some parsers state properties and documented them.
mdpo - v0.3.83

Published by github-actions[bot] almost 3 years ago

Enhancements

  • events programmatic APIs kwargs now accepts path to functions inside files with path/to/file.py::function_name syntax.
  • Added --event CLI optional argument to md2po and po2md CLIs.
mdpo - v0.3.82

Published by github-actions[bot] almost 3 years ago

Enhancements

  • Add command aliases disable-next-block and enable-next-block for disable-next-line and enable-next-line.
mdpo - v0.3.81

Published by github-actions[bot] almost 3 years ago

Bug fixes

  • Fixed bug removing obsolete messages from PO files
mdpo - v0.3.80

Published by github-actions[bot] almost 3 years ago

Bug fixes

  • Malformatted rendering thematic breaks inside quote blocks with po2md
  • Incorrect extracting and rendering of referenced links with same text and target
  • --remove-not-found md2po option not working if --merge-po-files option is not passed