MAINT-7036 Communicate Menu - Voice Morphing - Subscribe Now options - update
parent
a6b3bb1a2d
commit
3faad84a53
|
|
@ -8618,7 +8618,12 @@ public:
|
|||
|
||||
void handle_voice_morphing_subscribe()
|
||||
{
|
||||
LLWeb::loadURLExternal(LLTrans::getString("voice_morphing_url"));
|
||||
LLWeb::loadURL(LLTrans::getString("voice_morphing_url"));
|
||||
}
|
||||
|
||||
void handle_premium_voice_morphing_subscribe()
|
||||
{
|
||||
LLWeb::loadURL(LLTrans::getString("premium_voice_morphing_url"));
|
||||
}
|
||||
|
||||
class LLToggleUIHints : public view_listener_t
|
||||
|
|
@ -8814,6 +8819,8 @@ void initialize_menus()
|
|||
|
||||
// Communicate > Voice morphing > Subscribe...
|
||||
commit.add("Communicate.VoiceMorphing.Subscribe", boost::bind(&handle_voice_morphing_subscribe));
|
||||
// Communicate > Voice morphing > Premium perk...
|
||||
commit.add("Communicate.VoiceMorphing.PremiumPerk", boost::bind(&handle_premium_voice_morphing_subscribe));
|
||||
LLVivoxVoiceClient * voice_clientp = LLVivoxVoiceClient::getInstance();
|
||||
enable.add("Communicate.VoiceMorphing.NoVoiceMorphing.Check"
|
||||
, boost::bind(&LLVivoxVoiceClient::onCheckVoiceEffect, voice_clientp, "NoVoiceMorphing"));
|
||||
|
|
|
|||
|
|
@ -337,6 +337,12 @@
|
|||
<menu_item_call.on_click
|
||||
function="Communicate.VoiceMorphing.Subscribe" />
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
label="Premium perk..."
|
||||
name="PremiumPerk">
|
||||
<menu_item_call.on_click
|
||||
function="Communicate.VoiceMorphing.PremiumPerk" />
|
||||
</menu_item_call>
|
||||
</menu>
|
||||
<menu_item_check
|
||||
label="Gestures..."
|
||||
|
|
|
|||
|
|
@ -3739,7 +3739,8 @@ If you continue to receive this message, contact the [SUPPORT_SITE].
|
|||
|
||||
<string name="Home position set.">Home position set.</string>
|
||||
|
||||
<string name="voice_morphing_url">http://secondlife.com/landing/voicemorphing</string>
|
||||
<string name="voice_morphing_url">https://secondlife.com/destination/voice-island</string>
|
||||
<string name="premium_voice_morphing_url">https://secondlife.com/destination/voice-morphing-premium</string>
|
||||
|
||||
<!-- Financial operations strings -->
|
||||
<string name="paid_you_ldollars">[NAME] paid you L$[AMOUNT] [REASON].</string>
|
||||
|
|
|
|||
Loading…
Reference in New Issue