* Consistency with wording in Downloads tab

* User Name or username --> used Username consistently
* Ditto for "Order #"
* Only exception: Didn't add "Address" after IP in the table header to save space

* Updated the fixed title as well

* Removed "Title" again after comments
This commit is contained in:
Job 2020-03-10 10:53:01 +02:00 committed by GitHub
parent f5d0da0b19
commit c2a39265d1
2 changed files with 4 additions and 7 deletions

View File

@ -145,7 +145,7 @@ export const advancedFilters = applyFilters(
},
order: {
labels: {
add: __( 'Order number', 'woocommerce-admin' ),
add: __( 'Order #', 'woocommerce-admin' ),
placeholder: __(
'Search order number',
'woocommerce-admin'
@ -160,7 +160,7 @@ export const advancedFilters = applyFilters(
),
/* translators: A sentence describing a order number filter. See screen shot for context: https://cloudup.com/ccxhyH2mEDg */
title: __(
'{{title}}Order number{{/title}} {{rule /}} {{filter /}}',
'{{title}}Order #{{/title}} {{rule /}} {{filter /}}',
'woocommerce-admin'
),
filter: __( 'Select order number', 'woocommerce-admin' ),

View File

@ -55,7 +55,7 @@ export default class DownloadsReportTable extends Component {
key: 'order_number',
},
{
label: __( 'User Name', 'woocommerce-admin' ),
label: __( 'Username', 'woocommerce-admin' ),
key: 'user_id',
},
{
@ -96,10 +96,7 @@ export default class DownloadsReportTable extends Component {
return [
{
display: (
<Date
date={ date }
visibleFormat={ dateFormat }
/>
<Date date={ date } visibleFormat={ dateFormat } />
),
value: date,
},