| 11 | } |
| 12 | |
| 13 | std::string const StringsBundle::GetString(std::string const & name) const |
| 14 | { |
| 15 | TStringMap::const_iterator it = m_values.find(name); |
| 16 | if (it != m_values.end()) |
| 17 | return it->second; |
| 18 | else |
| 19 | { |
| 20 | it = m_defValues.find(name); |
| 21 | if (it != m_defValues.end()) |
| 22 | return it->second; |
| 23 | } |
| 24 | return ""; |
| 25 | } |