|
|
|
@ -374,23 +374,21 @@ void PGM_BASE::sentryPrompt() |
|
|
|
if( !IsGUI() ) |
|
|
|
return; |
|
|
|
|
|
|
|
KIPLATFORM::POLICY::PBOOL policyState = |
|
|
|
KIPLATFORM::POLICY::GetPolicyBool( POLICY_KEY_DATACOLLECTION ); |
|
|
|
KIPLATFORM::POLICY::PBOOL policyState = KIPLATFORM::POLICY::GetPolicyBool( POLICY_KEY_DATACOLLECTION ); |
|
|
|
|
|
|
|
if( policyState == KIPLATFORM::POLICY::PBOOL::NOT_CONFIGURED |
|
|
|
&& !m_settings_manager->GetCommonSettings()->m_DoNotShowAgain.data_collection_prompt ) |
|
|
|
&& !m_settings_manager->GetCommonSettings()->m_DoNotShowAgain.data_collection_prompt ) |
|
|
|
{ |
|
|
|
wxMessageDialog optIn = wxMessageDialog( |
|
|
|
nullptr, |
|
|
|
_( "KiCad can anonymously report crashes and special event " |
|
|
|
"data to developers in order to aid identifying critical bugs " |
|
|
|
"across the user base more effectively and help profile " |
|
|
|
"functionality to guide improvements. \n" |
|
|
|
"If you choose to voluntarily participate, KiCad will automatically " |
|
|
|
"handle sending said reports when crashes or events occur. \n" |
|
|
|
"Your design files such as schematic or PCB are not shared in this process." ), |
|
|
|
_( "Data collection opt in request" ), wxYES_NO | wxCENTRE ); |
|
|
|
|
|
|
|
_( "KiCad can anonymously report crashes and special event data to developers in order to " |
|
|
|
"aid identifying critical bugs and help profile functionality to guide improvements. \n" |
|
|
|
"If you choose to voluntarily participate, KiCad will automatically send said reports " |
|
|
|
"when crashes or events occur. \n" |
|
|
|
"Your design files such as schematic and PCB are not shared in this process." ), |
|
|
|
_( "Data Collection Opt In" ), wxYES_NO | wxCENTRE ); |
|
|
|
|
|
|
|
optIn.SetYesNoLabels( _( "Opt In" ), _( "Decline" ) ); |
|
|
|
int result = optIn.ShowModal(); |
|
|
|
|
|
|
|
if( result == wxID_YES ) |
|
|
|
|