singleton
singleton copied to clipboard
[BUG] [Ruby Client]getString_p() interface doesn't support the requested string with placeholder.
Describe the bug getString_p(component, key, plural_args, locale) interface doesn't support the requested string with placeholder.
To Reproduce Steps to reproduce the behavior:
- There is no placeholder parameter in getString_p(component, key, plural_args, locale) interface.
- User can't get the string with placeholder in plural form.
pluralsstrArg: "%<{ \"cat_count\": { \"one\": \"s_there is one cat in %2$s and %1$s room\", \"other\": \"s_there are %{cat_count} cats in %2$s and %1$s room\" } }>"
pluralsstrNamedArg: "%<{ \"cat_count\": { \"one\": \"s_there is one cat in {A2} and {A1} room\", \"other\": \"s_there are %{cat_count} cats in {A2} and {A1} room\" } }>"
Expected behavior User can get the string with placeholder in plural form.
These interfaces are deprecated and will be removed. So mark it as low priority.