Gettext v1.0.0
First 1.0 release, after long dormancy.
- Removed Python dependency, replaced by direct calls to the C
libintllibrary via GettextRuntime_jll - macros (
_"...",@gettext, etc.) now use__GETTEXT_DOMAIN__domain inside modules, to avoid inter-package conflicts - unescaping in
_"..."strings - add
pgettext, mergegettextanddgettext, and remove Formatting.jl dependency - accept
"%d"=>ninngettext - Unicode pathname support on Windows
- encoding of translated strings in Julia is corrected to UTF-8
- new docstrings and manual
(Several breaking API changes, but because no packages seems to have used the old Gettext.jl for some time, it should be irrelevant.)
Merged pull requests:
- Fixes for julia 0.7 and 1.0 (#4) (@garrison)
- remove Python dependency (#5) (@stevengj)
- modernize CI to github actions (#10) (@stevengj)
- modernize CI to github actions (2nd attempt) (#12) (@stevengj)
- add pgettext, merge gettext and dgettext, and rm Formatting.jl dep (#15) (@stevengj)
- use more testsets (#16) (@stevengj)
- unescape _"..." strings (#17) (@stevengj)
- pass abspath to bindtextdomain (#21) (@stevengj)
- macros to use GETTEXT_DOMAIN inside modules (#24) (@stevengj)
- accept "%d"=>n in ngettext (#25) (@stevengj)
- Docstrings and manual (#26) (@stevengj)
Closed issues:
- Remove Python dependency (#1)
- Support YAML i18n (#2)
- pgettext (#6)
- _"foo" macro evaluation time (#7)
- string interpolation (#8)
- update CI to use github actions (#9)
- eliminate Formatting.jl dep (#11)
- make dgettext(domain, msgid) a method of gettext (#13)
- docstrings (#18)
- composability of translations from different packages (#20)
- ngettext(singular, plural, "%d" => n) (#23)
- fix manual hosting (#27)