From 4e23f4b74c05d23aeb52b822e1ffbcc871118a51 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Tue, 26 Jul 2011 23:14:02 +0300 Subject: 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. --- indra/newview/llpanelvoicedevicesettings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llpanelvoicedevicesettings.h') 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 mLocalizedDeviceNames; }; #endif // LL_LLPANELVOICEDEVICESETTINGS_H -- cgit v1.2.3