* Resolve the given StringID and append in place into an existing std::string with formatting but no parameters. * @param result The std::string to place the translated string. * @param string The unique identifier of the translatable string. */
| 432 | * @param string The unique identifier of the translatable string. |
| 433 | */ |
| 434 | void AppendStringInPlace(std::string &result, StringID string) |
| 435 | { |
| 436 | StringBuilder builder(result); |
| 437 | GetStringWithArgs(builder, string, {}); |
| 438 | } |
| 439 | |
| 440 | void AppendStringWithArgsInPlace(std::string &result, StringID string, std::span<StringParameter> params) |
| 441 | { |
no test coverage detected