Closed honghai2196 closed 6 months ago
What's the reason this was closed? I have a similar problem, where keys with modifiers are duplicated after running dart run slang apply
.
E.g.
// en
"couponValidations(map)": {
"CouponNotExist": "There is no box with this code",
"CouponAlreadyUsed": "You have already claimed this box",
"CouponLimitReached": "Too late! This box has no more claims available",
"CouponExpired": "Too late! This box has expired"
},
//fr
"couponValidations(map)": {
"CouponNotExist": "There is no box with this code",
"CouponAlreadyUsed": "You have already claimed this box",
"CouponLimitReached": "Too late! This box has no more claims available",
"CouponExpired": "Too late! This box has expired"
},
"couponValidations": { <-- This object gets added after running `slang apply`
"CouponNotExist": "There is no box with this code",
"CouponAlreadyUsed": "You have already claimed this box",
"CouponLimitReached": "Too late! This box has no more claims available",
"CouponExpired": "Too late! This box has expired"
}
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
en_US.json and vi_VN.json
dart run slang analyze --split-missing
test_feature(rich): "Test feature {name}"
is still appeared in file_missing_translations_vi_VN.json
Expected behavior The key
test_feature(rich): "Test feature {name}"
is disappeared.Actual behavior
Additional context Add any other context about the problem here.