← All changes
|
Modules/Integrations/FluentCRM/SpaceJoinTrigger.php
+10
-9
1.0.90
→
2.11.0
View file →
| @@ -22,10 +22,11 @@ | ||
| 22 | 22 | { |
| 23 | 23 | return [ |
| 24 | 24 | 'category' => __('Community', 'fluent-community'), |
| 25 | 25 | 'label' => __('Joined in a Space', 'fluent-community'), |
| 26 | - 'description' => __('This Funnel will be initiated when a user join in a space', 'fluent-community'), | |
| 26 | + 'description' => __('This automation will be initiated when a user joins a space.', 'fluent-community'), | |
| 27 | 27 | 'icon' => 'fc-icon-wp_new_user_signup', |
| 28 | + 'svg_icon' => '<svg version="1.1" viewBox="0 0 128 128" xml:space="preserve"><g><path d="M64,42c-13.2,0-24,10.8-24,24s10.8,24,24,24s24-10.8,24-24S77.2,42,64,42z M64,82c-8.8,0-16-7.2-16-16s7.2-16,16-16 s16,7.2,16,16S72.8,82,64,82z"></path><path d="M64,100.8c-14.9,0-29.2,6.2-39.4,17.1l-2.7,2.9l5.8,5.5l2.7-2.9c8.8-9.4,20.7-14.6,33.6-14.6s24.8,5.2,33.6,14.6l2.7,2.9 l5.8-5.5l-2.7-2.9C93.2,107.1,78.9,100.8,64,100.8z"></path><path d="M97,47.9v8c9.4,0,18.1,3.8,24.6,10.7l5.8-5.5C119.6,52.7,108.5,47.9,97,47.9z"></path><path d="M116.1,20c0-10.5-8.6-19.1-19.1-19.1S77.9,9.5,77.9,20S86.5,39.1,97,39.1S116.1,30.5,116.1,20z M85.9,20 c0-6.1,5-11.1,11.1-11.1s11.1,5,11.1,11.1s-5,11.1-11.1,11.1S85.9,26.1,85.9,20z"></path><path d="M31,47.9c-11.5,0-22.6,4.8-30.4,13.2l5.8,5.5c6.4-6.9,15.2-10.7,24.6-10.7V47.9z"></path><path d="M50.1,20C50.1,9.5,41.5,0.9,31,0.9S11.9,9.5,11.9,20S20.5,39.1,31,39.1S50.1,30.5,50.1,20z M31,31.1 c-6.1,0-11.1-5-11.1-11.1S24.9,8.9,31,8.9s11.1,5,11.1,11.1S37.1,31.1,31,31.1z"></path></g></svg>' | |
| 28 | 29 | ]; |
| 29 | 30 | } |
| 30 | 31 | |
| 31 | 32 | public function getSettingsFields($funnel) |
| @@ -31,9 +32,9 @@ | ||
| 31 | 32 | public function getSettingsFields($funnel) |
| 32 | 33 | { |
| 33 | 34 | return [ |
| 34 | 35 | 'title' => __('Joined in a Space', 'fluent-community'), |
| 35 | - 'sub_title' => __('This Funnel will be initiated when a user join in a Space', 'fluent-community'), | |
| 36 | + 'sub_title' => __('This automation will be initiated when a user joins a space', 'fluent-community'), | |
| 36 | 37 | 'fields' => [ |
| 37 | 38 | 'subscription_status' => [ |
| 38 | 39 | 'type' => 'option_selectors', |
| 39 | 40 | 'option_key' => 'editable_statuses', |
| @@ -42,9 +43,9 @@ | ||
| 42 | 43 | 'placeholder' => __('Select Status', 'fluent-community') |
| 43 | 44 | ], |
| 44 | 45 | 'subscription_status_info' => [ |
| 45 | 46 | 'type' => 'html', |
| 46 | - 'info' => '<b>' . __('An Automated double-optin email will be sent for new subscribers', 'fluent-community') . '</b>', | |
| 47 | + 'info' => '<b>' . __('An Automated double-opt-in email will be sent for new subscribers', 'fluent-community') . '</b>', | |
| 47 | 48 | 'dependency' => [ |
| 48 | 49 | 'depends_on' => 'subscription_status', |
| 49 | 50 | 'operator' => '=', |
| 50 | 51 | 'value' => 'pending' |
| @@ -67,9 +68,9 @@ | ||
| 67 | 68 | |
| 68 | 69 | return [ |
| 69 | 70 | 'update_type' => [ |
| 70 | 71 | 'type' => 'radio', |
| 71 | - 'label' => __('If Contact Already Exist?', 'fluent-community'), | |
| 72 | + 'label' => __('If Contact Already Exists?', 'fluent-community'), | |
| 72 | 73 | 'help' => __('Please specify what will happen if the subscriber already exists in the database', 'fluent-community'), |
| 73 | 74 | 'options' => FunnelHelper::getUpdateOptions() |
| 74 | 75 | ], |
| 75 | 76 | 'community_ids' => [ |
| @@ -74,18 +75,18 @@ | ||
| 74 | 75 | ], |
| 75 | 76 | 'community_ids' => [ |
| 76 | 77 | 'type' => 'multi-select', |
| 77 | 78 | 'is_multiple' => true, |
| 78 | - 'label' => __('Targeted Communitues', 'fluent-community'), | |
| 79 | - 'help' => __('Select which for which commnunities this automation Funnel for', 'fluent-community'), | |
| 80 | - 'placeholder' => __('Select Communities', 'fluent-community'), | |
| 79 | + 'label' => __('Targeted Spaces', 'fluent-community'), | |
| 80 | + 'help' => __('Select which spaces this automation funnel is for.', 'fluent-community'), | |
| 81 | + 'placeholder' => __('Select Spaces', 'fluent-community'), | |
| 81 | 82 | 'options' => $communities, |
| 82 | - 'inline_help' => __('Leave blank to run for all communities', 'fluent-community') | |
| 83 | + 'inline_help' => __('Leave blank to run for all Spaces', 'fluent-community') | |
| 83 | 84 | ], |
| 84 | 85 | 'run_multiple' => [ |
| 85 | 86 | 'type' => 'yes_no_check', |
| 86 | 87 | 'label' => '', |
| 87 | - 'check_label' => __('Restart the automation multiple times for a contact for this event. (Only enable this if you want to restart the automation for the same contact)', 'fluent-community'), | |
| 88 | + 'check_label' => __('Restart automation multiple times for a contact for this event. (Enable only if you want to restart automation for the same contact.)', 'fluent-community'), | |
| 88 | 89 | 'inline_help' => __('If you enable this, it will restart the automation for a contact even if they are already in the automation. Otherwise, it will skip if the contact already exists.', 'fluent-community') |
| 89 | 90 | ] |
| 90 | 91 | ]; |
| 91 | 92 | } |