Update tranlation text domain
This commit is contained in:
@ -114,14 +114,14 @@ class Billing_Info_Element extends Base_Element {
|
||||
*
|
||||
* This is used on the Blocks list of Gutenberg.
|
||||
* You should return a string with the localized title.
|
||||
* e.g. return __('My Element', 'wp-ultimo').
|
||||
* e.g. return __('My Element', 'wp-multisite-waas').
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return string
|
||||
*/
|
||||
public function get_title() {
|
||||
|
||||
return __('Billing Information', 'wp-ultimo');
|
||||
return __('Billing Information', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -130,14 +130,14 @@ class Billing_Info_Element extends Base_Element {
|
||||
* This is also used on the Gutenberg block list
|
||||
* to explain what this block is about.
|
||||
* You should return a string with the localized title.
|
||||
* e.g. return __('Adds a checkout form to the page', 'wp-ultimo').
|
||||
* e.g. return __('Adds a checkout form to the page', 'wp-multisite-waas').
|
||||
*
|
||||
* @since 2.0.0
|
||||
* @return string
|
||||
*/
|
||||
public function get_description() {
|
||||
|
||||
return __('Adds a checkout form block to the page.', 'wp-ultimo');
|
||||
return __('Adds a checkout form block to the page.', 'wp-multisite-waas');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -162,16 +162,16 @@ class Billing_Info_Element extends Base_Element {
|
||||
$fields = [];
|
||||
|
||||
$fields['header'] = [
|
||||
'title' => __('General', 'wp-ultimo'),
|
||||
'desc' => __('General', 'wp-ultimo'),
|
||||
'title' => __('General', 'wp-multisite-waas'),
|
||||
'desc' => __('General', 'wp-multisite-waas'),
|
||||
'type' => 'header',
|
||||
];
|
||||
|
||||
$fields['title'] = [
|
||||
'type' => 'text',
|
||||
'title' => __('Title', 'wp-ultimo'),
|
||||
'value' => __('Billing Address', 'wp-ultimo'),
|
||||
'desc' => __('Leave blank to hide the title completely.', 'wp-ultimo'),
|
||||
'title' => __('Title', 'wp-multisite-waas'),
|
||||
'value' => __('Billing Address', 'wp-multisite-waas'),
|
||||
'desc' => __('Leave blank to hide the title completely.', 'wp-multisite-waas'),
|
||||
'tooltip' => '',
|
||||
];
|
||||
|
||||
@ -223,7 +223,7 @@ class Billing_Info_Element extends Base_Element {
|
||||
public function defaults() {
|
||||
|
||||
return [
|
||||
'title' => __('Billing Address', 'wp-ultimo'),
|
||||
'title' => __('Billing Address', 'wp-multisite-waas'),
|
||||
];
|
||||
}
|
||||
|
||||
@ -325,8 +325,8 @@ class Billing_Info_Element extends Base_Element {
|
||||
$fields['billing-title'] = [
|
||||
'type' => 'header',
|
||||
'order' => 1,
|
||||
'title' => __('Your Address', 'wp-ultimo'),
|
||||
'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'wp-ultimo'),
|
||||
'title' => __('Your Address', 'wp-multisite-waas'),
|
||||
'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'wp-multisite-waas'),
|
||||
'wrapper_classes' => 'wu-col-span-2',
|
||||
];
|
||||
|
||||
@ -336,7 +336,7 @@ class Billing_Info_Element extends Base_Element {
|
||||
|
||||
$fields['submit'] = [
|
||||
'type' => 'submit',
|
||||
'title' => __('Save Changes', 'wp-ultimo'),
|
||||
'title' => __('Save Changes', 'wp-multisite-waas'),
|
||||
'value' => 'save',
|
||||
'classes' => 'button button-primary wu-w-full',
|
||||
'wrapper_classes' => 'wu-col-span-2',
|
||||
@ -375,7 +375,7 @@ class Billing_Info_Element extends Base_Element {
|
||||
$membership = wu_get_membership_by_hash(wu_request('membership'));
|
||||
|
||||
if ( ! $membership) {
|
||||
$error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'wp-ultimo'));
|
||||
$error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'wp-multisite-waas'));
|
||||
|
||||
wp_send_json_error($error);
|
||||
}
|
||||
|
Reference in New Issue
Block a user