| 671 | |
| 672 | |
| 673 | string const Localization::GetValueItemLabel |
| 674 | ( |
| 675 | uint8 ccID, |
| 676 | uint16 indexId, |
| 677 | int32 pos, |
| 678 | int32 itemIndex |
| 679 | ) const |
| 680 | { |
| 681 | uint64 key = GetValueKey(ccID, indexId, pos); |
| 682 | if (m_valueLocalizationMap.find(key) == m_valueLocalizationMap.end()) { |
| 683 | Log::Write( LogLevel_Warning, "Localization::GetValueItemLabel: No ValueLocalizationMap for CommandClass %xd, ValueID: %d (%d) ItemIndex %d", ccID, indexId, pos, itemIndex); |
| 684 | return ""; |
| 685 | } |
| 686 | return m_valueLocalizationMap[key]->GetItemLabel(m_selectedLang, itemIndex); |
| 687 | } |
| 688 | |
| 689 | bool Localization::SetValueItemLabel |
| 690 | ( |
no test coverage detected