1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
---------------------------------------
-- Settings Tooltip Functions
---------------------------------------
self : AddLine ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_RESEND_ACTIVATION_TOOLTIP_LABEL ) , self : GetStyle ( "statValuePairStat" ) )
local emailText = accountEmail
if emailText == "" then
end
if not hasActivatedEmail then
local warningSection = self : AcquireSection ( self : GetStyle ( "bodySection" ) , self : GetStyle ( "bodyDescription" ) )
warningSection : AddLine ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_NEED_ACTIVE_ACCOUNT_WARNING ) , self : GetStyle ( "failed" ) )
local bodySection = self : AcquireSection ( self : GetStyle ( "bodySection" ) , self : GetStyle ( "bodyDescription" ) )
local resendActivationOptionText = ZO_SELECTED_TEXT : Colorize ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_RESEND_ACTIVATION ) )
local changeEmailOptionText = ZO_SELECTED_TEXT : Colorize ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_CHANGE_EMAIL ) )
bodySection : AddLine ( zo_strformat ( SI_INTERFACE_OPTIONS_ACCOUNT_RESEND_ACTIVATION_TOOLTIP_TEXT , resendActivationOptionText , changeEmailOptionText ) )
end
end
self : AddLine ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_GET_UPDATES_TOOLTIP_TITLE ) , self : GetStyle ( "title" ) )
if not hasActivatedEmail then
local warningSection = self : AcquireSection ( self : GetStyle ( "bodySection" ) , self : GetStyle ( "bodyDescription" ) )
warningSection : AddLine ( GetString ( SI_INTERFACE_OPTIONS_ACCOUNT_NEED_ACTIVE_ACCOUNT_WARNING ) , self : GetStyle ( "failed" ) )
end
local bodySection = self : AcquireSection ( self : GetStyle ( "bodySection" ) , self : GetStyle ( "bodyDescription" ) )
end |