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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user