| 318 | } |
| 319 | |
| 320 | UString getButtonName(MessageBoxStyle _style) const |
| 321 | { |
| 322 | size_t index = _style.getButtonIndex(); |
| 323 | std::string_view tag = getButtonTag(index); |
| 324 | UString result = LanguageManager::getInstance().replaceTags(utility::toString("#{", tag, "}")); |
| 325 | if (result == tag) |
| 326 | result.assign(getButtonName(index)); |
| 327 | return result; |
| 328 | } |
| 329 | |
| 330 | std::string_view getIconName(size_t _index) const |
| 331 | { |
nothing calls this directly
no test coverage detected