make descriptions more easier to change

This commit is contained in:
Narek Zakarian 2022-11-04 12:50:07 +04:00
parent f3a0c0d0ce
commit 2620292c48

View file

@ -58,7 +58,7 @@ return function ( ContainerInterface $container, array $fields ): array {
'input_class' => array( 'wc-enhanced-select' ),
'default' => array(),
'desc_tip' => false,
'description' => __( 'Example description', 'woocommerce-paypal-payments' ),
'description' => __( 'Example description 1', 'woocommerce-paypal-payments' ),
'options' => $container->get( 'wcgateway.settings.pay-later.button-locations' ),
'screens' => array( State::STATE_ONBOARDED ),
'requirements' => array( 'messages' ),
@ -79,7 +79,7 @@ return function ( ContainerInterface $container, array $fields ): array {
'screens' => array( State::STATE_ONBOARDED ),
'requirements' => array( 'messages' ),
'gateway' => Settings::PAY_LATER_TAB_ID,
'description' => __( 'Example description.', 'woocommerce-paypal-payments' ),
'description' => __( 'Example description. 2', 'woocommerce-paypal-payments' ),
),
'pay_later_messaging_enabled' => array(
'title' => __( 'Enable/Disable', 'woocommerce-paypal-payments' ),
@ -98,7 +98,7 @@ return function ( ContainerInterface $container, array $fields ): array {
'input_class' => array( 'wc-enhanced-select' ),
'default' => array(),
'desc_tip' => false,
'description' => __( 'Example description', 'woocommerce-paypal-payments' ),
'description' => __( 'Example description 3', 'woocommerce-paypal-payments' ),
'options' => $container->get( 'wcgateway.settings.pay-later.messaging-locations' ),
'screens' => array( State::STATE_ONBOARDED ),
'requirements' => array( 'messages' ),