mdpo

Markdown files translation using GNU PO files

BSD-3-CLAUSE License

Downloads
4.7K
Stars
25
Committers
5

Bot releases are hidden (Show)

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.5

Published by mondeja almost 4 years ago

  • Improve obsolete msgstr fallback with fuzzy and translator comments flags.
mdpo - v0.3.4

Published by mondeja almost 4 years ago

  • If an obsolete translated message is found with same 'msgid' of another found by current extraction, that will be used directly translating the new pofile in md2po.
mdpo - v0.3.3

Published by mondeja almost 4 years ago

  • Fix bug dealing with previous obsolete entries in md2po.
mdpo - v0.3.2

Published by mondeja almost 4 years ago

  • Fix bug in mdpo2html implementation with non-markdown attributes of links.
  • Optimize a bit.
mdpo - v0.3.1

Published by mondeja almost 4 years ago

Read input from STDIN in CLI interfaces.

mdpo - v0.3.0

Published by mondeja almost 4 years ago

First beta release.