[BUG] [Ruby Client]Get same output when requesting same production/component/locale/key with different namedArg placeholders.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Describe the bug
commit: 4c2a80e7fdc91c8c36dcadb05ca54565523766bf
Get same output when requesting same production/component/locale/key with different placeholders.
To Reproduce
Steps to reproduce the behavior:
"arg.usage.1" : "{A2}, welcome login {A1}!"
@ZHHans_arg_str_1 = SgtnClient::Translation.getString_f("JAVA", "arg.usage.1", {"A1": "中文a1", "A2": "d'inforl'entrée a2"}, "en")
@ZHHans_arg_str_11 = SgtnClient::Translation.getString_f("JAVA", "arg.usage.1", {"A1": "a1", "A2": "a2"}, "en")
Actual behavior
Same output even the placeholder values are different.
@EN_arg_str_1: d'inforl'entrée a2, welcome login 中文a1!
@EN_arg_str_11: d'inforl'entrée a2, welcome login 中文a1!
Expected behavior
The output should be different with specific placeholder values.
@EN_arg_str_1: d'inforl'entrée a2, welcome login 中文a1!
@EN_arg_str_11: a2, welcome login a1!
Additional comments
Reproduce on getString_f() and SgtnClient::T.s_f() with NamedArg placeholders APIs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.