mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 06:56:57 +00:00
Shorten opt-in text and improve Yes/No button labels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20027
This commit is contained in:
parent
5ec526fe4f
commit
86e1d4c684
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user