diff options
author | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-07-26 23:14:02 +0300 |
---|---|---|
committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2011-07-26 23:14:02 +0300 |
commit | 4e23f4b74c05d23aeb52b822e1ffbcc871118a51 (patch) | |
tree | bc0f6dae2e11d0f628963c90a8552051481aa0a3 /indra/newview/llpanelvoicedevicesettings.h | |
parent | c7158f3b4de6ef438630020d7fe49a148c6773d2 (diff) |
STORM-1405 WIP Localized the "No Device" and "Default System Device" strings in the sound devices panel.
By the way, fixed improper localization of the "Default" device name
which caused saving a localized string in settings.
Diffstat (limited to 'indra/newview/llpanelvoicedevicesettings.h')
-rw-r--r-- | indra/newview/llpanelvoicedevicesettings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelvoicedevicesettings.h b/indra/newview/llpanelvoicedevicesettings.h index d09476d469..ba3bcad0dc 100644 --- a/indra/newview/llpanelvoicedevicesettings.h +++ b/indra/newview/llpanelvoicedevicesettings.h @@ -49,6 +49,8 @@ public: void setUseTuningMode(bool use) { mUseTuningMode = use; }; protected: + std::string getLocalizedDeviceName(const std::string& en_dev_name); + void onCommitInputDevice(); void onCommitOutputDevice(); @@ -59,6 +61,7 @@ protected: class LLComboBox *mCtrlOutputDevices; BOOL mDevicesUpdated; bool mUseTuningMode; + std::map<std::string, std::string> mLocalizedDeviceNames; }; #endif // LL_LLPANELVOICEDEVICESETTINGS_H |