Commit graph

41 commits

Author SHA1 Message Date
88704b3707 Merge pull request 'Release 0.6.1' (#16) from release into main
Reviewed-on: #16
2022-02-26 15:22:23 +00:00
9dafd6b08e v0.6.1 2022-02-26 11:03:53 +09:00
2404ce7e93 Remove trailing whitespace 2022-02-26 11:01:24 +09:00
2227905fb9 Merge pull request 'fix escaping of quotes and newlines' (#15) from Valodim/fix-escaping into main
Reviewed-on: #15
2022-02-09 18:17:44 +00:00
Vincent Breitmoser
d15fa92ef6 fix escaping of quotes and newlines
This is probably not exhaustive, but fixes what I need.
2022-01-04 11:51:17 +01:00
bc63c7ec60 v0.6.0 2020-11-19 18:23:55 +01:00
38f16d7418 Make it compile on stable
- Restore gettext_utils, to use it instead of runtime-fmt
- Don't use some Span API that are only on Nightly
- Introduce quote, syn and proc-macro2 to make parsing cleaner, easier and more correct in complex cases
2020-07-24 14:26:20 +02:00
843d068a38
Fix a few errors in the README 2020-05-03 12:34:43 +02:00
a12673b33d
Merge pull request #13 from alexanderkjall/patch-1
fixed typo in comment
2019-12-21 17:05:17 +01:00
Alexander Kjäll
410e420328
fixed typo in comment 2019-12-21 16:55:37 +01:00
c5395ab049 Fix build on latest nigthly
Fixes #11
2019-08-29 11:38:54 +02:00
Baptiste Gelez
a32c0ee40e Yet another version bump (0.5.1) 2019-06-15 17:10:06 +01:00
Baptiste Gelez
7e664e5fd1 Update gettext 2019-06-15 17:08:54 +01:00
Baptiste Gelez
29f9d669e5 Version bump (+ badges) 2019-05-16 11:40:08 +01:00
Baptiste Gelez
c861e3d3fa Document everything! 2019-05-16 11:25:20 +01:00
Baptiste Gelez
5e87a71712 Cargo fmt 2019-05-15 22:01:09 +01:00
Baptiste Gelez
763b54d046 Add a Config struct to read/write config 2019-05-15 22:00:46 +01:00
Baptiste Gelez
bee7f491b0 Add a t! macro to mark string as translated without actually translating them + allow non-literal expressions in i18n! 2019-05-15 19:28:56 +01:00
Baptiste Gelez
2768060710 Save .mo files in ./target 2019-05-15 14:32:07 +01:00
Baptiste Gelez
5db9a3f869 Add some options to init_i18n! (fixes #4, fixes #6) 2019-05-15 14:20:42 +01:00
Baptiste Gelez
203efc20f4 Support for context (fixes #3) 2019-05-15 13:11:38 +01:00
Baptiste Gelez
3325c6b167 Better error messages 2019-05-14 20:40:28 +01:00
Baptiste Gelez
f5cd3a20f1 Remove gettext-utils 2019-05-14 19:31:10 +01:00
Baptiste Gelez
fafe0b461b Use runtime-fmt (fixes #5) 2019-05-14 19:30:53 +01:00
Baptiste Gelez
bcc85a49a7 v0.4.0 2019-03-05 15:42:43 +01:00
Baptiste Gelez
27483faafe Better handling of workspaces
And avoid to write anything to stdout because cargo-web is stupid and considers it means the build crashed
2019-03-05 15:41:17 +01:00
Baptiste Gelez
f8f47ab3e3 Version bump 2019-01-28 12:51:27 +01:00
Baptiste Gelez
741a6075aa Merge branch 'master' of https://github.com/Aardwolf-Social/gettext-macros 2019-01-21 13:18:04 +01:00
asonix
43e51be4c5
Don't write duplicate msgids 2019-01-20 20:25:39 -06:00
asonix
b4afe4103a
Bump version ??? 2019-01-20 19:59:19 -06:00
asonix
c5069babd1
Fix include_i18n, cargo fmt 2019-01-20 19:57:35 -06:00
Baptiste Gelez
f3297d6400 v0.2.0 2019-01-20 18:57:46 +01:00
Baptiste Gelez
6b17e04ada Adjustments after real-world testing 2019-01-20 18:56:43 +01:00
Baptiste Gelez
8d8a0ec8a8 Description + license for gettext-utils 2019-01-20 12:46:22 +01:00
Baptiste Gelez
dd5b8fca8e Pin gettext-utils version 2019-01-20 12:44:59 +01:00
Baptiste Gelez
ebd2bbbae9 Update Cargo.toml 2019-01-20 12:41:29 +01:00
Baptiste Gelez
866ba772da Update README.md 2019-01-20 12:38:47 +01:00
Baptiste Gelez
8f4b4156f3 Big code simplification
Also added i18n_domain!, compile_i18n! and include_i18n!
2019-01-20 12:28:23 +01:00
Baptiste Gelez
7bb2631e5f Add format args support 2019-01-03 11:36:29 +01:00
Baptiste Gelez
617d0c7f7a Remove test output 2018-12-29 22:42:25 +01:00
Baptiste Gelez
938bf51e54 First version
The code is ugly, but it works
2018-12-29 22:33:06 +01:00