Add missing translation.
This commit is contained in:
parent
93085fe268
commit
a9195efb16
|
@ -106,7 +106,7 @@ import { addFilter } from '@wordpress/hooks';
|
|||
addFilter( 'woocommerce_admin_reports_list', 'my-namespace', ( reports ) => {
|
||||
reports.push( {
|
||||
report: 'example',
|
||||
title: 'Example',
|
||||
title: __( 'Example', 'my-textdomain' ),
|
||||
component: ExampleReportComponent,
|
||||
} );
|
||||
|
||||
|
@ -120,7 +120,7 @@ Register the report page with the controller:
|
|||
wc_admin_register_page(
|
||||
array(
|
||||
'id' => 'woocommerce-analytics-example',
|
||||
'title' => 'Example',
|
||||
'title' => __( 'Example', 'my-textdomain' ),
|
||||
'parent' => 'woocommerce-analytics',
|
||||
'path' => '/analytics/example',
|
||||
)
|
||||
|
|
|
@ -80,7 +80,7 @@ class WC_Admin_Analytics_Dashboard {
|
|||
wc_admin_register_page(
|
||||
array(
|
||||
'id' => 'woocommerce-dashboard',
|
||||
'title' => 'Dashboard',
|
||||
'title' => __( 'Dashboard', 'woocommerce-admin' ),
|
||||
'parent' => 'woocommerce',
|
||||
'path' => self::MENU_SLUG,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue