Fix PHP I18n domain issues
This commit is contained in:
parent
56cb47e059
commit
387dc777e6
|
@ -125,7 +125,7 @@ class TaskLists {
|
|||
array(
|
||||
'id' => 'setup_experiment_2',
|
||||
'hidden_id' => 'setup',
|
||||
'title' => __( 'Get ready to start selling', 'woocommerce-admin' ),
|
||||
'title' => __( 'Get ready to start selling', 'woocommerce' ),
|
||||
'tasks' => array(
|
||||
'StoreCreation',
|
||||
'StoreDetails',
|
||||
|
@ -146,8 +146,8 @@ class TaskLists {
|
|||
'sections' => array(
|
||||
array(
|
||||
'id' => 'basics',
|
||||
'title' => __( 'Cover the basics', 'woocommerce-admin' ),
|
||||
'description' => __( 'Make sure you’ve got everything you need to start selling—from business details to products.', 'woocommerce-admin' ),
|
||||
'title' => __( 'Cover the basics', 'woocommerce' ),
|
||||
'description' => __( 'Make sure you’ve got everything you need to start selling—from business details to products.', 'woocommerce' ),
|
||||
'image' => plugins_url(
|
||||
'/assets/images/task_list/basics-section-illustration.png',
|
||||
WC_ADMIN_PLUGIN_FILE
|
||||
|
@ -156,8 +156,8 @@ class TaskLists {
|
|||
),
|
||||
array(
|
||||
'id' => 'sales',
|
||||
'title' => __( 'Get ready to sell', 'woocommerce-admin' ),
|
||||
'description' => __( 'Easily set up the backbone of your store’s operations and get ready to accept first orders.', 'woocommerce-admin' ),
|
||||
'title' => __( 'Get ready to sell', 'woocommerce' ),
|
||||
'description' => __( 'Easily set up the backbone of your store’s operations and get ready to accept first orders.', 'woocommerce' ),
|
||||
'image' => plugins_url(
|
||||
'/assets/images/task_list/sales-section-illustration.png',
|
||||
WC_ADMIN_PLUGIN_FILE
|
||||
|
@ -166,8 +166,8 @@ class TaskLists {
|
|||
),
|
||||
array(
|
||||
'id' => 'expand',
|
||||
'title' => __( 'Customize & expand', 'woocommerce-admin' ),
|
||||
'description' => __( 'Personalize your store’s design and grow your business by enabling new sales channels.', 'woocommerce-admin' ),
|
||||
'title' => __( 'Customize & expand', 'woocommerce' ),
|
||||
'description' => __( 'Personalize your store’s design and grow your business by enabling new sales channels.', 'woocommerce' ),
|
||||
'image' => plugins_url(
|
||||
'/assets/images/task_list/expand-section-illustration.png',
|
||||
WC_ADMIN_PLUGIN_FILE
|
||||
|
|
|
@ -40,7 +40,7 @@ class Appearance extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Make your store stand out with unique design', 'woocommerce-admin' );
|
||||
return __( 'Make your store stand out with unique design', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -58,7 +58,7 @@ class Appearance extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Upload your logo to adapt the store to your brand’s personality.', 'woocommerce-admin' );
|
||||
return __( 'Upload your logo to adapt the store to your brand’s personality.', 'woocommerce' );
|
||||
}
|
||||
return __(
|
||||
'Add your logo, create a homepage, and start designing your store.',
|
||||
|
|
|
@ -26,7 +26,7 @@ class Marketing extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Grow your business with marketing tools', 'woocommerce-admin' );
|
||||
return __( 'Grow your business with marketing tools', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -44,7 +44,7 @@ class Marketing extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Promote your store in other sales channels, like email, Google, and Facebook.', 'woocommerce-admin' );
|
||||
return __( 'Promote your store in other sales channels, like email, Google, and Facebook.', 'woocommerce' );
|
||||
}
|
||||
return __(
|
||||
'Add recommended marketing tools to reach new customers and grow your business',
|
||||
|
|
|
@ -26,7 +26,7 @@ class Payments extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Add a way to get paid', 'woocommerce-admin' );
|
||||
return __( 'Add a way to get paid', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -44,7 +44,7 @@ class Payments extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Let your customers pay the way they like.', 'woocommerce-admin' );
|
||||
return __( 'Let your customers pay the way they like.', 'woocommerce' );
|
||||
}
|
||||
return __(
|
||||
'Choose payment providers and enable payment methods at checkout.',
|
||||
|
|
|
@ -37,7 +37,7 @@ class Products extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Create or upload your first products', 'woocommerce-admin' );
|
||||
return __( 'Create or upload your first products', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -55,7 +55,7 @@ class Products extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Add products to sell and build your catalog.', 'woocommerce-admin' );
|
||||
return __( 'Add products to sell and build your catalog.', 'woocommerce' );
|
||||
}
|
||||
return __(
|
||||
'Start by adding the first product to your store. You can add your products manually, via CSV, or import them from another service.',
|
||||
|
|
|
@ -25,7 +25,7 @@ class Shipping extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Select how to ship your products', 'woocommerce-admin' );
|
||||
return __( 'Select how to ship your products', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -43,7 +43,7 @@ class Shipping extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Set delivery costs and enable extra features, like shipping label printing.', 'woocommerce-admin' );
|
||||
return __( 'Set delivery costs and enable extra features, like shipping label printing.', 'woocommerce' );
|
||||
}
|
||||
return __(
|
||||
"Set your store location and where you'll ship to.",
|
||||
|
|
|
@ -27,7 +27,7 @@ class StoreCreation extends Task {
|
|||
public function get_title() {
|
||||
if ( $this->is_complete() ) {
|
||||
/* translators: Store name */
|
||||
return sprintf( __( 'You created %s', 'woocommerce-admin' ), get_bloginfo( 'name' ) );
|
||||
return sprintf( __( 'You created %s', 'woocommerce' ), get_bloginfo( 'name' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ class Tax extends Task {
|
|||
*/
|
||||
public function get_title() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 && ! $this->is_complete() ) {
|
||||
return __( 'Get taxes out of your mind', 'woocommerce-admin' );
|
||||
return __( 'Get taxes out of your mind', 'woocommerce' );
|
||||
}
|
||||
if ( true === $this->get_parent_option( 'use_completed_title' ) ) {
|
||||
if ( $this->is_complete() ) {
|
||||
|
@ -84,7 +84,7 @@ class Tax extends Task {
|
|||
*/
|
||||
public function get_content() {
|
||||
if ( count( $this->task_list->get_sections() ) > 0 ) {
|
||||
return __( 'Have sales tax calculated automatically, or add the rates manually.', 'woocommerce-admin' );
|
||||
return __( 'Have sales tax calculated automatically, or add the rates manually.', 'woocommerce' );
|
||||
}
|
||||
return self::can_use_automated_taxes()
|
||||
? __(
|
||||
|
|
Loading…
Reference in New Issue