message for when a payment method is deleted (#201)
This commit is contained in:
parent
b543fa3763
commit
23e3a189d0
@ -11,7 +11,7 @@ if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] === true) {
|
|||||||
|
|
||||||
if ($deleteStmt->execute()) {
|
if ($deleteStmt->execute()) {
|
||||||
$success['success'] = true;
|
$success['success'] = true;
|
||||||
$success['message'] = translate('payment_method_added_successfuly', $i18n);
|
$success['message'] = translate('payment_method_removed', $i18n);
|
||||||
$json = json_encode($success);
|
$json = json_encode($success);
|
||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
echo $json;
|
echo $json;
|
||||||
|
|||||||
@ -141,6 +141,7 @@ $i18n = [
|
|||||||
"add_custom_payment" => "Add Custom Payment Method",
|
"add_custom_payment" => "Add Custom Payment Method",
|
||||||
"payment_method_name" => "Payment Method Name",
|
"payment_method_name" => "Payment Method Name",
|
||||||
"payment_method_added_successfuly" => "Payment method added successfully",
|
"payment_method_added_successfuly" => "Payment method added successfully",
|
||||||
|
"payment_method_removed" => "Payment method removed",
|
||||||
"disable" => "Disable",
|
"disable" => "Disable",
|
||||||
"enable" => "Enable",
|
"enable" => "Enable",
|
||||||
"rename_payment_method" => "Rename Payment Method",
|
"rename_payment_method" => "Rename Payment Method",
|
||||||
|
|||||||
@ -139,6 +139,7 @@ $i18n = [
|
|||||||
"add_custom_payment" => "Adicionar um método de pagamento personalizado",
|
"add_custom_payment" => "Adicionar um método de pagamento personalizado",
|
||||||
"payment_method_name" => "Nome do método de pagamento",
|
"payment_method_name" => "Nome do método de pagamento",
|
||||||
"payment_method_added_successfuly" => "Método de pagamento adicionado com sucesso",
|
"payment_method_added_successfuly" => "Método de pagamento adicionado com sucesso",
|
||||||
|
"payment_method_removed" => "Método de pagamento excluído",
|
||||||
"disable" => "Desativar",
|
"disable" => "Desativar",
|
||||||
"enable" => "Ativar",
|
"enable" => "Ativar",
|
||||||
"rename_payment_method" => "Renomear método de pagamento",
|
"rename_payment_method" => "Renomear método de pagamento",
|
||||||
@ -166,7 +167,7 @@ $i18n = [
|
|||||||
"category_in_use" => "Essa categoria está em uso em uma assinatura e não pode ser removida",
|
"category_in_use" => "Essa categoria está em uso em uma assinatura e não pode ser removida",
|
||||||
"failed_remove_category" => "Erro ao remover categoria",
|
"failed_remove_category" => "Erro ao remover categoria",
|
||||||
"category_saved" => "Categoria salva",
|
"category_saved" => "Categoria salva",
|
||||||
"category_removed" => "Category excluída",
|
"category_removed" => "Categoria excluída",
|
||||||
"sort_order_saved" => "Direção de ordenação salva",
|
"sort_order_saved" => "Direção de ordenação salva",
|
||||||
// Currency
|
// Currency
|
||||||
"currency_saved" => "foi salva.",
|
"currency_saved" => "foi salva.",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user