| 655 | } |
| 656 | |
| 657 | string const Localization::GetValueLabel |
| 658 | ( |
| 659 | uint8 ccID, |
| 660 | uint16 indexId, |
| 661 | int32 pos |
| 662 | ) const |
| 663 | { |
| 664 | uint64 key = GetValueKey(ccID, indexId, pos); |
| 665 | if (m_valueLocalizationMap.find(key) == m_valueLocalizationMap.end()) { |
| 666 | Log::Write( LogLevel_Warning, "Localization::GetValueLabel: No Label for CommandClass %xd, ValueID: %d (%d)", ccID, indexId, pos); |
| 667 | return ""; |
| 668 | } |
| 669 | return m_valueLocalizationMap[key]->GetLabel(m_selectedLang); |
| 670 | } |
| 671 | |
| 672 | |
| 673 | string const Localization::GetValueItemLabel |