Skip to content

Commit

Permalink
feat: Adição de link para redirecionar para página de logs #9
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhermeFriedrichS committed Sep 13, 2024
1 parent 7596fde commit e6e199e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions Admin/LknPaymentEredeForGivewpAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ public function add_settings_into_section($settings) :array {
$settings[] = array(
'name' => __('Debug mode', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'id' => 'lkn_erede_credit_debug_setting_field',
'desc' => __('Saves transaction logs for testing purposes.', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'desc' => sprintf(
__( 'Saves transaction logs for testing purposes. %sSee logs.%s', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'<a target="_blank" href="' . home_url('wp-admin/edit.php?post_type=give_forms&page=give-tools&tab=logs') . '">', '</a>'
),
'type' => 'radio',
'default' => 'disabled',
'options' => array(
Expand Down Expand Up @@ -310,7 +313,10 @@ public function add_settings_into_section($settings) :array {
$settings[] = array(
'name' => __('Debug mode', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'id' => 'lkn_erede_debit_3ds_debug_setting_field',
'desc' => __('Saves transaction logs for testing purposes.', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'desc' => sprintf(
__( 'Saves transaction logs for testing purposes. %sSee logs.%s', PAYMENT_EREDE_FOR_GIVEWP_TEXT_DOMAIN),
'<a target="_blank" href="' . home_url('wp-admin/edit.php?post_type=give_forms&page=give-tools&tab=logs') . '">', '</a>'
),
'type' => 'radio',
'default' => 'disabled',
'options' => array(
Expand Down
Binary file modified languages/payment-erede-for-givewp-pt_BR.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions languages/payment-erede-for-givewp-pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ msgstr "Desabilitado"
msgid "Debug mode"
msgstr "Modo de depuração"

msgid "Saves transaction logs for testing purposes."
msgstr "Salva logs da transação para fins de teste."
msgid "Saves transaction logs for testing purposes. %sSee logs.%s"
msgstr "Salva logs da transação para fins de teste. %sVer logs.%s"

msgid "Donation"
msgstr "Doação"
Expand Down
2 changes: 1 addition & 1 deletion languages/payment-erede-for-givewp.pot
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ msgstr ""
msgid "Debug mode"
msgstr ""

msgid "Saves transaction logs for testing purposes."
msgid "Saves transaction logs for testing purposes. %sSee logs.%s"
msgstr ""

msgid "Donation"
Expand Down

0 comments on commit e6e199e

Please sign in to comment.