fix: translate My Account menu items to Spanish

- "Odoo Invoices" → "Mis Facturas"
- "Book a Meeting" → "Reservar Reunión"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Malin
2026-04-01 17:35:15 +02:00
parent 84e6195f3a
commit d1597731c5
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class WooDoo_Calendar {
} }
public static function add_menu_item( array $items ): array { public static function add_menu_item( array $items ): array {
$items[ self::ENDPOINT ] = __( 'Book a Meeting', 'woodoo' ); $items[ self::ENDPOINT ] = 'Reservar Reunión';
return $items; return $items;
} }

View File

@@ -30,7 +30,7 @@ class WooDoo_Invoices {
foreach ( $items as $key => $label ) { foreach ( $items as $key => $label ) {
$new[ $key ] = $label; $new[ $key ] = $label;
if ( $key === 'orders' ) { if ( $key === 'orders' ) {
$new[ self::ENDPOINT ] = __( 'Odoo Invoices', 'woodoo' ); $new[ self::ENDPOINT ] = 'Mis Facturas';
} }
} }
return $new; return $new;