From d1597731c5c285c186247bd93f491bf5b9aaf6d0 Mon Sep 17 00:00:00 2001 From: Malin Date: Wed, 1 Apr 2026 17:35:15 +0200 Subject: [PATCH] fix: translate My Account menu items to Spanish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "Odoo Invoices" → "Mis Facturas" - "Book a Meeting" → "Reservar Reunión" Co-Authored-By: Claude Sonnet 4.6 --- includes/class-woodoo-calendar.php | 2 +- includes/class-woodoo-invoices.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-woodoo-calendar.php b/includes/class-woodoo-calendar.php index 83a2a4f..e947fea 100644 --- a/includes/class-woodoo-calendar.php +++ b/includes/class-woodoo-calendar.php @@ -27,7 +27,7 @@ class WooDoo_Calendar { } public static function add_menu_item( array $items ): array { - $items[ self::ENDPOINT ] = __( 'Book a Meeting', 'woodoo' ); + $items[ self::ENDPOINT ] = 'Reservar Reunión'; return $items; } diff --git a/includes/class-woodoo-invoices.php b/includes/class-woodoo-invoices.php index 0dde0c1..d8d45d0 100644 --- a/includes/class-woodoo-invoices.php +++ b/includes/class-woodoo-invoices.php @@ -30,7 +30,7 @@ class WooDoo_Invoices { foreach ( $items as $key => $label ) { $new[ $key ] = $label; if ( $key === 'orders' ) { - $new[ self::ENDPOINT ] = __( 'Odoo Invoices', 'woodoo' ); + $new[ self::ENDPOINT ] = 'Mis Facturas'; } } return $new;