Skip to content

Releases: crowdagger/crowbook-intl

0.2.1

04 Mar 01:20
Compare
Choose a tag to compare
  • Update regex dependency to 0.2

0.1.0

18 Nov 22:20
Compare
Choose a tag to compare
  • Renamed library crowbook-localize to crowbook-intl.
  • Requires rustc >= 1.13.0.
  • Split library between crowbook-intl and
    crowbook-intl-runtime. The latter defines some runtime functions
    used by the generated macros. This split (should) allow to have
    multiple libraries using crowbook-intl in the same program.
  • Localizer::write_macro_file now takes an AsRef<Path> instead of
    an &str.

0.0.8

14 Oct 01:47
Compare
Choose a tag to compare
0.0.8 Pre-release
Pre-release
  • In order to correctly handle multiline strings, and to make it
    possible to use the same translation for two strings that are
    identical but don't use backslash the same way, the API had to be
    modified a bit. It should now work correctly-ish.
  • Messages are now sorted (by file of apparition) before being written
    to .pot file.

0.0.7

12 Oct 22:40
Compare
Choose a tag to compare
0.0.7 Pre-release
Pre-release
  • Extractor now uses escape_string for its keys, allowing to use
    lformat! with multiline strings using the \ escape at end of line.

0.0.6

12 Oct 22:12
Compare
Choose a tag to compare
0.0.6 Pre-release
Pre-release
  • '' followed by a newline is now escaped (well, suppressed along
    leading whitespace on next line) when generating pot file.
  • Now uses Travis for continuous integration.

0.0.5

12 Oct 22:12
Compare
Choose a tag to compare
0.0.5 Pre-release
Pre-release
  • Newlines characters are escaped when generating pot file so
    msgmerge doesn't complain

0.0.4

09 Oct 01:19
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release

crowbook-localize should now be able to generate .pot files that
are compatible with msgmerge and be able to read .po files that
have been updated with msgmerge.

  • Fix printing and reading of strings which caused problems with
    escape characters.
  • Add support for multiline strings ala gettext in translation files.

0.0.3

08 Oct 20:41
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
  • Added the Extractor struct, that generates a pot-like file looking
    at lformat! invocations in your source code.