samuelstroschein / inlang-plugin-json

inlang plugin to parse and serialize json resources
MIT License
9 stars 3 forks source link

Placeholder doesn't work if placeholder is at the beginning of the message #17

Closed NiklasBuchfink closed 1 year ago

NiklasBuchfink commented 1 year ago

Works:
"one_of": "Vrijednost {field} mora biti važeća vrijednost", Does not work: "numeric": "{field} može sadrživati samo numeričke znakove",

Great repo to test this: https://github.com/NiklasBuchfink/vee-validate/tree/main https://inlang.com/editor/github.com/NiklasBuchfink/vee-validate

NilsJacobsen commented 1 year ago

https://github.com/inlang/inlang/commit/046e5847a2a8a75233be39f663a470b9bd588898

This fixed the problem.

NilsJacobsen commented 1 year ago

This introduced a new bug in the plugin.

samuelstroschein commented 1 year ago

Haha and here begins the placeholder bugfixing :D