Skip to content

Commit

Permalink
fix: update labels in settings (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
timjackleus authored Oct 22, 2023
1 parent 1027e29 commit e4cb024
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions classes/class-ledyer-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public static function fields() {
'desc_tip' => true,
),
'merchant_id' => array(
'title' => __( 'Production Ledyer API Username', 'ledyer-checkout-for-woocommerce' ),
'title' => __( 'Production Ledyer client ID', 'ledyer-checkout-for-woocommerce' ),
'type' => 'text',
'description' => __( 'Use API username and API password you downloaded in the Ledyer Merchant Portal. Don’t use your email address.', 'ledyer-checkout-for-woocommerce' ),
'description' => __( 'Generate credentials (client ID and secret) in the Ledyer Merchant Portal under Settings -> API credentials.', 'ledyer-checkout-for-woocommerce' ),
'default' => '',
'desc_tip' => false,
'custom_attributes' => array(
Expand All @@ -92,19 +92,19 @@ public static function fields() {
),
),
'shared_secret' => array(
'title' => __( 'Production Ledyer API Password', 'ledyer-checkout-for-woocommerce' ),
'title' => __( 'Production Ledyer client secret', 'ledyer-checkout-for-woocommerce' ),
'type' => 'password',
'description' => __( 'Use API username and API password you downloaded in the Ledyer Merchant Portal. Don’t use your email address.', 'ledyer-checkout-for-woocommerce' ),
'description' => __( 'Generate credentials (client ID and secret) in the Ledyer Merchant Portal under Settings -> API credentials.', 'ledyer-checkout-for-woocommerce' ),
'default' => '',
'desc_tip' => false,
'custom_attributes' => array(
'autocomplete' => 'new-password',
),
),
'test_merchant_id' => array(
'title' => __( 'Sandbox Ledyer API Username', 'ledyer-checkout-for-woocommerce' ),
'title' => __( 'Sandbox Ledyer client ID', 'ledyer-checkout-for-woocommerce' ),
'type' => 'text',
'description' => __( 'Use API username and API password you downloaded in the Ledyer Merchant Portal. Don’t use your email address.', 'ledyer-checkout-for-woocommerce' ),
'description' => __( 'Generate credentials (client ID and secret) in the Ledyer Merchant Portal under Settings -> API credentials.', 'ledyer-checkout-for-woocommerce' ),
'default' => '',
'desc_tip' => false,
'custom_attributes' => array(
Expand All @@ -122,9 +122,9 @@ public static function fields() {
),
),
'test_shared_secret' => array(
'title' => __( 'Sandbox Ledyer API Password', 'ledyer-checkout-for-woocommerce' ),
'title' => __( 'Sandbox Ledyer client secret', 'ledyer-checkout-for-woocommerce' ),
'type' => 'password',
'description' => __( 'Use API username and API password you downloaded in the Ledyer Merchant Portal. Don’t use your email address.', 'ledyer-checkout-for-woocommerce' ),
'description' => __( 'Generate credentials (client ID and secret) in the Ledyer Merchant Portal under Settings -> API credentials.', 'ledyer-checkout-for-woocommerce' ),
'default' => '',
'desc_tip' => false,
'custom_attributes' => array(
Expand Down
10 changes: 5 additions & 5 deletions languages/ledyer-checkout-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ msgid "Save debug messages to the WooCommerce System Status log."
msgstr ""

#: classes/class-ledyer-lco-fields.php:75
msgid "Production Ledyer API Username"
msgid "Production Ledyer client ID"
msgstr ""

#: classes/class-ledyer-lco-fields.php:77
#: classes/class-ledyer-lco-fields.php:97
#: classes/class-ledyer-lco-fields.php:107
#: classes/class-ledyer-lco-fields.php:127
msgid "Use API username and API password you downloaded in the Ledyer Merchant Portal. Don’t use your email address."
msgid "Generate credentials (client ID and secret) in the Ledyer Merchant Portal under Settings -> API credentials."
msgstr ""

#: classes/class-ledyer-lco-fields.php:85
Expand All @@ -109,15 +109,15 @@ msgid "Optional. If you have multiple stores set in Ledyer account. Paste corres
msgstr ""

#: classes/class-ledyer-lco-fields.php:95
msgid "Production Ledyer API Password"
msgid "Production Ledyer client secret"
msgstr ""

#: classes/class-ledyer-lco-fields.php:105
msgid "Sandbox Ledyer API Username"
msgid "Sandbox Ledyer client ID"
msgstr ""

#: classes/class-ledyer-lco-fields.php:125
msgid "Sandbox Ledyer API Password"
msgid "Sandbox Ledyer client secret"
msgstr ""

#: classes/class-ledyer-lco-fields.php:146
Expand Down

0 comments on commit e4cb024

Please sign in to comment.