Closed mks-h closed 2 years ago
Hey, sorry I haven't reviewed this yet — I'm buried under some IRL stuff and I'm not sure when exactly I'll get to this PR. A week at least, maybe two. Sorry about that!
Okay, I filed #86, so let me close this. You've put a lot of work into macros — thanks for that! I'm sorry this has to be shelved for now. Perhaps we'd be able to make a better job when we got a bit more input on what people want.
Sure! Thank you for being nice and forcing me to use git properly!
Wrote custom parser that supports escaping of format directives, resolving #72. This also lowered the needed Rust version to 1.51.0, fixing #78.
Behavioral changes:
{n}
in non-plural gettext invocationThe rule for malformed escaping is that you won't get a singular brace if it's not escaped. See "partial_escaping" unit-test. I also merged some tests, and reordered tests and definitions of pgettext and npgettext macros, because it was driving me crazy.