Merge pull request #21578 from civicrm/5.42
[civicrm-core.git] / CRM / Core / Form / ShortCode.php
index 6b6344a8576061cae552730c52b0671fb7cb4c03..58ce68a55b2eaffb893d44371242d57ba53cf400 100644 (file)
@@ -120,6 +120,14 @@ class CRM_Core_Form_ShortCode extends CRM_Core_Form {
     }
 
     $this->options = [
+      [
+        'key' => 'action',
+        'components' => ['contribution'],
+        'options' => [
+          'transact' => ts('Contribution Page'),
+          'setup' => ts('Setup a Personal Campaign Page'),
+        ],
+      ],
       [
         'key' => 'action',
         'components' => ['event'],
@@ -152,6 +160,7 @@ class CRM_Core_Form_ShortCode extends CRM_Core_Form {
           'edit' => ts('Edit'),
           'view' => ts('View'),
           'search' => ts('Search/Public Directory'),
+          'map' => ts('Map View'),
         ],
       ],
       [