diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bff2632e9..23e38337b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: - name: Verify version matches run: | - WP_VERSION=$(grep -m 1 "Version: " multisite-ultimate.php | awk -F' ' '{print $2}') + WP_VERSION=$(grep -m 1 "Version: " ultimate-multisite.php | awk -F' ' '{print $2}') README_VERSION=$(grep -m 1 "Stable tag: " readme.txt | awk -F' ' '{print $3}') PKG_VERSION=$(node -p "require('./package.json').version") @@ -66,11 +66,11 @@ jobs: with: files: | build/wp-multisite-waas-${{ env.VERSION }}.zip - name: Multisite Ultimate ${{ env.VERSION }} + name: Ultimate Multisite ${{ env.VERSION }} draft: true prerelease: true body: | - # Multisite Ultimate ${{ env.VERSION }} + # Ultimate Multisite ${{ env.VERSION }} ## What's Changed diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist index d2b803351..b5bbd815c 100644 --- a/.phpcs.xml.dist +++ b/.phpcs.xml.dist @@ -113,7 +113,7 @@ - + diff --git a/.wiki/Closte-Integration.md b/.wiki/Closte-Integration.md index bb41be6de..ad745fe7b 100644 --- a/.wiki/Closte-Integration.md +++ b/.wiki/Closte-Integration.md @@ -1,7 +1,7 @@ # Closte Integration ## Overview -Closte is a managed WordPress hosting platform built on Google Cloud infrastructure. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and Closte. +Closte is a managed WordPress hosting platform built on Google Cloud infrastructure. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and Closte. ## Features - Automatic domain syncing @@ -26,7 +26,7 @@ If you're hosting on Closte, the `CLOSTE_CLIENT_API_KEY` constant should already ### 2. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the Closte integration @@ -34,13 +34,13 @@ If you're hosting on Closte, the `CLOSTE_CLIENT_API_KEY` constant should already ## How It Works -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration sends a request to Closte's API to add the domain to your application 2. Closte automatically handles SSL certificate provisioning 3. When a domain mapping is removed, the integration will remove the domain from Closte -The integration also works with the DNS check interval setting in Multisite Ultimate, allowing you to configure how frequently the system checks for DNS propagation and SSL certificate issuance. +The integration also works with the DNS check interval setting in Ultimate Multisite, allowing you to configure how frequently the system checks for DNS propagation and SSL certificate issuance. ## Domain Record Creation @@ -58,7 +58,7 @@ This integration ensures that when a site is created or duplicated, a domain rec - Check the DNS records for your domain to ensure they're correctly configured ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to Closte - Ensure that your domain's DNS records are properly configured diff --git a/.wiki/Cloudflare-Integration.md b/.wiki/Cloudflare-Integration.md index db6753643..a6702c62c 100644 --- a/.wiki/Cloudflare-Integration.md +++ b/.wiki/Cloudflare-Integration.md @@ -1,13 +1,13 @@ # Cloudflare Integration ## Overview -Cloudflare is a leading content delivery network (CDN) and security provider that helps protect and accelerate websites. This integration enables automatic domain management between Multisite Ultimate and Cloudflare, particularly for subdomain multisite installations. +Cloudflare is a leading content delivery network (CDN) and security provider that helps protect and accelerate websites. This integration enables automatic domain management between Ultimate Multisite and Cloudflare, particularly for subdomain multisite installations. ## Features - Automatic subdomain creation in Cloudflare - Proxied subdomain support - DNS record management -- Enhanced DNS record display in the Multisite Ultimate admin +- Enhanced DNS record display in the Ultimate Multisite admin ## Requirements The following constants must be defined in your `wp-config.php` file: @@ -46,7 +46,7 @@ define('WU_CLOUDFLARE_ZONE_ID', 'your_zone_id'); ### 4. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the Cloudflare integration @@ -64,7 +64,7 @@ When a new site is created in a subdomain multisite installation: ### DNS Record Display -The integration enhances the DNS record display in the Multisite Ultimate admin by: +The integration enhances the DNS record display in the Ultimate Multisite admin by: 1. Fetching DNS records directly from Cloudflare 2. Displaying whether records are proxied or not @@ -82,7 +82,7 @@ As of Cloudflare's recent updates, wildcard proxying is now available for all cu - Ensure that your Cloudflare account has the necessary permissions ### Subdomain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the subdomain is not already added to Cloudflare - Ensure that your Cloudflare plan supports the number of DNS records you're creating diff --git a/.wiki/Cloudways-Integration.md b/.wiki/Cloudways-Integration.md index 7e8cda415..2c613200a 100644 --- a/.wiki/Cloudways-Integration.md +++ b/.wiki/Cloudways-Integration.md @@ -1,7 +1,7 @@ # Cloudways Integration ## Overview -Cloudways is a managed cloud hosting platform that allows you to deploy WordPress sites on various cloud providers like DigitalOcean, AWS, Google Cloud, and more. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and Cloudways. +Cloudways is a managed cloud hosting platform that allows you to deploy WordPress sites on various cloud providers like DigitalOcean, AWS, Google Cloud, and more. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and Cloudways. ## Features - Automatic domain syncing @@ -61,7 +61,7 @@ define('WU_CLOUDWAYS_EXTRA_DOMAINS', 'domain1.com,domain2.com,*.wildcard.com'); ### 4. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the Cloudways integration @@ -71,7 +71,7 @@ define('WU_CLOUDWAYS_EXTRA_DOMAINS', 'domain1.com,domain2.com,*.wildcard.com'); ### Domain Syncing -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration retrieves all currently mapped domains 2. It adds the new domain to the list (along with a www version if applicable) @@ -92,7 +92,7 @@ After domains are synced: The `WU_CLOUDWAYS_EXTRA_DOMAINS` constant allows you to specify additional domains that should always be included when syncing with Cloudways. This is useful for: -- Domains that are not managed by Multisite Ultimate +- Domains that are not managed by Ultimate Multisite - Wildcard domains (e.g., `*.example.com`) - Development or staging domains @@ -109,6 +109,6 @@ The `WU_CLOUDWAYS_EXTRA_DOMAINS` constant allows you to specify additional domai - If SSL certificates are not being issued, check that your domains are properly pointing to your server's IP address ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to Cloudways - Ensure that your Cloudways plan supports the number of domains you're adding diff --git a/.wiki/GridPane-Integration.md b/.wiki/GridPane-Integration.md index 695829ced..83bdccfea 100644 --- a/.wiki/GridPane-Integration.md +++ b/.wiki/GridPane-Integration.md @@ -1,7 +1,7 @@ # GridPane Integration ## Overview -GridPane is a specialized WordPress hosting control panel built for serious WordPress professionals. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and GridPane. +GridPane is a specialized WordPress hosting control panel built for serious WordPress professionals. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and GridPane. ## Features - Automatic domain syncing @@ -48,7 +48,7 @@ define('WU_GRIDPANE_APP_ID', 'your_site_id'); ### 4. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the GridPane integration @@ -56,7 +56,7 @@ define('WU_GRIDPANE_APP_ID', 'your_site_id'); ## How It Works -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration sends a request to GridPane's API to add the domain to your site 2. GridPane automatically handles SSL certificate provisioning @@ -81,6 +81,6 @@ One unique feature of the GridPane integration is that it automatically reverts - Check the GridPane SSL settings for your site ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to GridPane - Ensure that your domain's DNS records are properly configured diff --git a/.wiki/Home.md b/.wiki/Home.md index fc2f9ebfa..2785c6e51 100644 --- a/.wiki/Home.md +++ b/.wiki/Home.md @@ -1,26 +1,26 @@ -# Multisite Ultimate Documentation +# Ultimate Multisite Documentation -Welcome to the Multisite Ultimate documentation. This wiki contains all the information you need to get started with Multisite Ultimate. +Welcome to the Ultimate Multisite documentation. This wiki contains all the information you need to get started with Ultimate Multisite. ## Documentation Categories ### Getting Started -Everything you need to know to get started with Multisite Ultimate. +Everything you need to know to get started with Ultimate Multisite. -- [Multisite Ultimate 101](wp-ultimo-101) - A comprehensive introduction to Multisite Ultimate +- [Ultimate Multisite 101](wp-ultimo-101) - A comprehensive introduction to Ultimate Multisite - [Basic Concepts](basic-concepts) - Understanding the core concepts - [What is WordPress Multisite?](what-is-wordpress-multisite) - Learn about WordPress Multisite -- [Installing Multisite Ultimate](installing-wp-ultimo-v2) - How to install Multisite Ultimate +- [Installing Ultimate Multisite](installing-wp-ultimo-v2) - How to install Ultimate Multisite ### Administration -Manage your Multisite Ultimate network effectively. +Manage your Ultimate Multisite network effectively. - [Understanding the Dashboard](understanding-the-wp-ultimo-dashboard) - Navigate the admin interface - [Managing Customers](managing-customers) - Customer management tools - [Managing Sites](managing-sites) - Site management tools ### Configuration -Configure your Multisite Ultimate network. +Configure your Ultimate Multisite network. - [Site Templates](site-templates-v2) - Create and manage site templates - [Checkout Forms](checkout-forms) - Customize your checkout forms @@ -65,7 +65,7 @@ Browse all documentation using the sidebar navigation on the right. The document ## Host Provider Integrations -Multisite Ultimate integrates with various hosting providers to automate domain management and SSL certificate issuance: +Ultimate Multisite integrates with various hosting providers to automate domain management and SSL certificate issuance: - [Closte Integration](Closte-Integration) - Automatic domain syncing with Closte hosting - [Cloudflare Integration](Cloudflare-Integration) - DNS management with Cloudflare diff --git a/.wiki/README.md b/.wiki/README.md index c2fec3113..b39f13397 100644 --- a/.wiki/README.md +++ b/.wiki/README.md @@ -1,13 +1,13 @@ -# Multisite Ultimate Documentation +# Ultimate Multisite Documentation -This folder contains the documentation for the Multisite Ultimate plugin in Markdown format. The documentation is organized as a GitHub Wiki. +This folder contains the documentation for the Ultimate Multisite plugin in Markdown format. The documentation is organized as a GitHub Wiki. ## Documentation Structure The documentation is organized into the following categories: - **Getting Started**: Basic setup and installation guides -- **Introduction**: Overview of Multisite Ultimate +- **Introduction**: Overview of Ultimate Multisite - **Managing Your Network**: How to manage your multisite network - **Payment Gateways**: Setting up payment gateways - **Integrations**: Integrating with other services @@ -48,4 +48,4 @@ Contributions to improve the documentation are welcome. Please feel free to subm ## License -This documentation is licensed under the same license as the Multisite Ultimate plugin. +This documentation is licensed under the same license as the Ultimate Multisite plugin. diff --git a/.wiki/Runcloud-Integration.md b/.wiki/Runcloud-Integration.md index 6abf46606..be2a3e476 100644 --- a/.wiki/Runcloud-Integration.md +++ b/.wiki/Runcloud-Integration.md @@ -1,7 +1,7 @@ # RunCloud Integration ## Overview -RunCloud is a cloud-based server management platform that allows you to easily deploy and manage web applications on your own cloud servers. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and RunCloud. +RunCloud is a cloud-based server management platform that allows you to easily deploy and manage web applications on your own cloud servers. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and RunCloud. ## Features - Automatic domain syncing @@ -49,7 +49,7 @@ define('WU_RUNCLOUD_APP_ID', 'your_app_id'); ### 4. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the RunCloud integration @@ -57,7 +57,7 @@ define('WU_RUNCLOUD_APP_ID', 'your_app_id'); ## How It Works -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration sends a request to RunCloud's API to add the domain to your application 2. If the domain is successfully added, the integration will also redeploy SSL certificates @@ -78,6 +78,6 @@ For subdomain installations, the integration will automatically handle the creat - Check the RunCloud SSL settings for your application ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to RunCloud - Ensure that your RunCloud plan supports multiple domains diff --git a/.wiki/ServerPilot-Integration.md b/.wiki/ServerPilot-Integration.md index ad61af73e..d6e451818 100644 --- a/.wiki/ServerPilot-Integration.md +++ b/.wiki/ServerPilot-Integration.md @@ -1,7 +1,7 @@ # ServerPilot Integration ## Overview -ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and ServerPilot. +ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and ServerPilot. ## Features - Automatic domain syncing @@ -44,7 +44,7 @@ define('WU_SERVER_PILOT_APP_ID', 'your_app_id'); ### 4. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the ServerPilot integration @@ -54,7 +54,7 @@ define('WU_SERVER_PILOT_APP_ID', 'your_app_id'); ### Domain Syncing -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration retrieves the current list of domains from ServerPilot 2. It adds the new domain to the list (along with a www version if applicable) @@ -86,10 +86,10 @@ The integration is configured to increase the number of SSL certificate verifica - It may take some time for ServerPilot to issue and install SSL certificates (usually 5-15 minutes) ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to ServerPilot - Ensure that your ServerPilot plan supports the number of domains you're adding ### Domain Removal - Currently, the ServerPilot API does not provide a way to remove individual domains -- When a domain mapping is removed in Multisite Ultimate, the integration will update the domain list in ServerPilot to exclude the removed domain +- When a domain mapping is removed in Ultimate Multisite, the integration will update the domain list in ServerPilot to exclude the removed domain diff --git a/.wiki/WP-Engine-Integration.md b/.wiki/WP-Engine-Integration.md index d0e8c0f33..b75895d85 100644 --- a/.wiki/WP-Engine-Integration.md +++ b/.wiki/WP-Engine-Integration.md @@ -1,7 +1,7 @@ # WP Engine Integration ## Overview -WP Engine is a premium managed WordPress hosting platform that provides optimized performance, security, and scalability for WordPress sites. This integration enables automatic domain syncing between Multisite Ultimate and WP Engine. +WP Engine is a premium managed WordPress hosting platform that provides optimized performance, security, and scalability for WordPress sites. This integration enables automatic domain syncing between Ultimate Multisite and WP Engine. ## Features - Automatic domain syncing @@ -30,7 +30,7 @@ If you're hosting on WP Engine, the WP Engine plugin should already be installed ### 2. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the WP Engine integration @@ -40,7 +40,7 @@ If you're hosting on WP Engine, the WP Engine plugin should already be installed ### Domain Syncing -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration uses the WP Engine API to add the domain to your WP Engine installation 2. WP Engine handles the domain configuration and SSL certificate issuance @@ -72,7 +72,7 @@ WP Engine automatically handles SSL certificate issuance and renewal for all dom - Contact WP Engine support if you're having trouble with the API ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to WP Engine - Ensure that your WP Engine plan supports the number of domains you're adding diff --git a/.wiki/WPMU-DEV-Integration.md b/.wiki/WPMU-DEV-Integration.md index 99704beb2..dab5708b4 100644 --- a/.wiki/WPMU-DEV-Integration.md +++ b/.wiki/WPMU-DEV-Integration.md @@ -1,7 +1,7 @@ # WPMU DEV Integration ## Overview -WPMU DEV is a comprehensive WordPress platform that offers hosting, plugins, and services for WordPress sites. This integration enables automatic domain syncing and SSL certificate management between Multisite Ultimate and WPMU DEV hosting. +WPMU DEV is a comprehensive WordPress platform that offers hosting, plugins, and services for WordPress sites. This integration enables automatic domain syncing and SSL certificate management between Ultimate Multisite and WPMU DEV hosting. ## Features - Automatic domain syncing @@ -24,7 +24,7 @@ If you're hosting on WPMU DEV, the necessary constants should already be defined ### 2. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the WPMU DEV integration @@ -34,7 +34,7 @@ If you're hosting on WPMU DEV, the necessary constants should already be defined ### Domain Syncing -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration uses the WPMU DEV API to add the domain to your hosting account 2. It also adds the www version of the domain automatically @@ -48,7 +48,7 @@ The integration is configured to increase the number of SSL certificate verifica ### Domain Removal -Currently, the WPMU DEV API does not provide a way to remove domains. When a domain mapping is removed in Multisite Ultimate, the domain will remain in your WPMU DEV hosting account. You will need to manually remove it from the WPMU DEV hosting dashboard if necessary. +Currently, the WPMU DEV API does not provide a way to remove domains. When a domain mapping is removed in Ultimate Multisite, the domain will remain in your WPMU DEV hosting account. You will need to manually remove it from the WPMU DEV hosting dashboard if necessary. ### API Authentication @@ -67,6 +67,6 @@ The integration uses the WPMU DEV API key that is stored in your WordPress datab - If SSL certificates are still not being issued after multiple attempts, contact WPMU DEV support ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to WPMU DEV - Ensure that your WPMU DEV hosting plan supports the number of domains you're adding diff --git a/.wiki/_Sidebar.md b/.wiki/_Sidebar.md index 1cd29e297..9b134643e 100644 --- a/.wiki/_Sidebar.md +++ b/.wiki/_Sidebar.md @@ -3,16 +3,16 @@ - [Home](Home) ## Getting Started -- [Multisite Ultimate 101](wp-ultimo-101) +- [Ultimate Multisite 101](wp-ultimo-101) - [Basic Concepts](basic-concepts) - [What is WordPress Multisite?](what-is-wordpress-multisite) -- [Multisite Ultimate Requirements](wp-ultimo-requirements) -- [Why Multisite Ultimate](why-wp-ultimo) -- [Installing Multisite Ultimate (v2)](installing-wp-ultimo-v2) +- [Ultimate Multisite Requirements](wp-ultimo-requirements) +- [Why Ultimate Multisite](why-wp-ultimo) +- [Installing Ultimate Multisite (v2)](installing-wp-ultimo-v2) - [How do I Install WordPress Multisite?](how-do-i-install-wordpress-multisite) ## Administration -- [Understanding the Multisite Ultimate Dashboard](understanding-the-wp-ultimo-dashboard) +- [Understanding the Ultimate Multisite Dashboard](understanding-the-wp-ultimo-dashboard) - [Understanding your Dashboard (v2)](understanding-your-dashboard-v2) - [Touring the Admin Panel](touring-the-admin-panel) - [Managing Customers](managing-customers) @@ -67,43 +67,43 @@ ## Integrations - [Setting Up The WooCommerce Integration (v2)](setting-up-the-woocommerce-integration-v2) -- [Integrating Multisite Ultimate with Zapier](integrating-wp-ultimo-with-zapier) +- [Integrating Ultimate Multisite with Zapier](integrating-wp-ultimo-with-zapier) - [Event: Register an account via Zapier](event-register-an-account-via-zapier) -- [Using Multisite Ultimate: MailChimp Integration](using-wp-ultimo-mailchimp-integration) -- [Using Multisite Ultimate: AffiliateWP Integration to create your own referral program for Multisite Ultimate](using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo) +- [Using Ultimate Multisite: MailChimp Integration](using-wp-ultimo-mailchimp-integration) +- [Using Ultimate Multisite: AffiliateWP Integration to create your own referral program for Ultimate Multisite](using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo) - [A First Look on Webhooks (v2)](a-first-look-on-webhooks-v2) ## Customization - [Customizing your Admin Panel with PRO Theme](customizing-your-admin-panel-with-pro-theme) - [Customizing your Admin Panel with Material WP](customizing-your-admin-panel-with-material-wp) -- [Placing Ads on your network with Multisite Ultimate: Ad Injector](placing-ads-on-your-network-with-wp-ultimo-ad-injector) -- [Creating Custom Admin Pages and Sub-pages using Multisite Ultimate: Admin Page Creator](creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator) -- [Editing Plugins and Themes Meta Information with Multisite Ultimate: Plugin and Theme Manager](editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager) +- [Placing Ads on your network with Ultimate Multisite: Ad Injector](placing-ads-on-your-network-with-wp-ultimo-ad-injector) +- [Creating Custom Admin Pages and Sub-pages using Ultimate Multisite: Admin Page Creator](creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator) +- [Editing Plugins and Themes Meta Information with Ultimate Multisite: Plugin and Theme Manager](editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager) ## Development -- [Multisite Ultimate Hooks and filters](wp-ultimo-hooks-and-filters) -- [The Multisite Ultimate Register API endpoint](the-wp-ultimo-register-api-endpoint) -- [How to use Multisite Ultimate snippets on our GitHub repository](how-to-use-wp-ultimo-snippets-on-our-github-repository) +- [Ultimate Multisite Hooks and filters](wp-ultimo-hooks-and-filters) +- [The Ultimate Multisite Register API endpoint](the-wp-ultimo-register-api-endpoint) +- [How to use Ultimate Multisite snippets on our GitHub repository](how-to-use-wp-ultimo-snippets-on-our-github-repository) - [Code Snippets for v2](code-snippets-for-v2) - [How to Get Custom Development Help from Codeable?](how-to-get-custom-development-help-from-codeable) ## Localization -- [Translating Multisite Ultimate](translating-wp-ultimo) -- [Activating Multisite Ultimate: Language Selector](activating-wp-ultimo-language-selector) -- [Re-ordering the Multisite Ultimate country list](re-ordering-the-wp-ultimo-country-list) +- [Translating Ultimate Multisite](translating-wp-ultimo) +- [Activating Ultimate Multisite: Language Selector](activating-wp-ultimo-language-selector) +- [Re-ordering the Ultimate Multisite country list](re-ordering-the-wp-ultimo-country-list) ## Troubleshooting - [Error Installing the Sunrise File](error-installing-the-sunrise-file) - [Known incompatibilities with other Plugins](known-incompatibilities-with-other-plugins) - [How to get help](how-to-get-help) -- [How to join Multisite Ultimate Community](how-to-join-wp-ultimo-community) +- [How to join Ultimate Multisite Community](how-to-join-wp-ultimo-community) ## Migration & Updates - [Migrating from V1](migrating-from-v1) -- [How to Export and Import a Site with Multisite Ultimate Site Exporter](how-to-export-and-import-a-site-with-wp-ultimo-site-exporter) +- [How to Export and Import a Site with Ultimate Multisite Site Exporter](how-to-export-and-import-a-site-with-wp-ultimo-site-exporter) ## Miscellaneous - [Sending Emails and Broadcasts (v2)](sending-emails-and-broadcasts-v2) -- [The Multisite Ultimate Affiliate Program](the-wp-ultimo-affiliate-program) -- [Why is Multisite Ultimate no longer sold at CodeCanyon?](why-is-wp-ultimo-no-longer-sold-at-codecanyon) +- [The Ultimate Multisite Affiliate Program](the-wp-ultimo-affiliate-program) +- [Why is Ultimate Multisite no longer sold at CodeCanyon?](why-is-wp-ultimo-no-longer-sold-at-codecanyon) - [Frequently Asked Questions](frequently-asked-questions) diff --git a/.wiki/a-first-look-on-webhooks-v2.md b/.wiki/a-first-look-on-webhooks-v2.md index 6623621f2..ce3926925 100644 --- a/.wiki/a-first-look-on-webhooks-v2.md +++ b/.wiki/a-first-look-on-webhooks-v2.md @@ -2,13 +2,13 @@ _**ATTENTION: Note that this feature or article is for advanced users.**_ -A **webhook** is a way for an app or software like Multisite Ultimate to provide other applications with real-time information. A webhook delivers data or payloads to other applications as it happens, meaning you **get data immediately.** +A **webhook** is a way for an app or software like Ultimate Multisite to provide other applications with real-time information. A webhook delivers data or payloads to other applications as it happens, meaning you **get data immediately.** -This is helpful should you need to integrate or pass certain data from Multisite Ultimate going to another CRM or system each time an event is triggered. For example, you need to send the user's name and email address to a mailing list each time a new user account is created. +This is helpful should you need to integrate or pass certain data from Ultimate Multisite going to another CRM or system each time an event is triggered. For example, you need to send the user's name and email address to a mailing list each time a new user account is created. ## How to create a webhook -To create a webhook, go to your network admin dashboard. Click on **Multisite Ultimate > Webhooks > Add New Webhook.** +To create a webhook, go to your network admin dashboard. Click on **Ultimate Multisite > Webhooks > Add New Webhook.** ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-7cBdC7uhfX.png) @@ -16,21 +16,21 @@ When creating a new webhook you will be asked for information like **Name, URL,* ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-7MmyV3wafK.png) -URL is the **endpoint or the destination** to which Multisite Ultimate will send the **payload or data**. This is the application that will receive the data. +URL is the **endpoint or the destination** to which Ultimate Multisite will send the **payload or data**. This is the application that will receive the data. -Zapier is the most common solution that user uses to make integration with 3rd party application easier. Without a platform like Zapier, you will need to manually create a custom function that will catch the data and process it. See this article on [how to use Multisite Ultimate webhook with Zapier.](https://help.wpultimo.com/article/348-integrating-wp-ultimo-with-zapier) +Zapier is the most common solution that user uses to make integration with 3rd party application easier. Without a platform like Zapier, you will need to manually create a custom function that will catch the data and process it. See this article on [how to use Ultimate Multisite webhook with Zapier.](https://help.wpultimo.com/article/348-integrating-wp-ultimo-with-zapier) -In this article, we will be looking at the basic concept of how a webhook works and the events available in Multisite Ultimate. We will be using a 3rd party site called [requestbin.com](https://requestbin.com/). This site will allow us to create an endpoint and catch the payload without doing any coding. _**Disclaimer: all it will do is show us that the data has been received.**_ There will be no processing or any kind of action done to the payload. +In this article, we will be looking at the basic concept of how a webhook works and the events available in Ultimate Multisite. We will be using a 3rd party site called [requestbin.com](https://requestbin.com/). This site will allow us to create an endpoint and catch the payload without doing any coding. _**Disclaimer: all it will do is show us that the data has been received.**_ There will be no processing or any kind of action done to the payload. Go to [requestbin.com](https://requestbin.com/) and click Create Request Bin. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-J0e5FzS04g.png) -After clicking that button, it will ask you to log in if you already have an account or sign up. If you already have an account it will lead you right to their dashboard. On their dashboard, you will immediately see the endpoint or URL you can use in creating your Multisite Ultimate webhook. +After clicking that button, it will ask you to log in if you already have an account or sign up. If you already have an account it will lead you right to their dashboard. On their dashboard, you will immediately see the endpoint or URL you can use in creating your Ultimate Multisite webhook. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-M40kPMGsji.png) -Go ahead and copy the URL and go back to Multisite Ultimate. Place the endpoint on the URL field and select an event from the dropdown. In this example, we will be selecting **Payment Received**. +Go ahead and copy the URL and go back to Ultimate Multisite. Place the endpoint on the URL field and select an event from the dropdown. In this example, we will be selecting **Payment Received**. This event is triggered whenever a user makes a payment. All the events available, their description, and payloads are listed at the bottom of the page. Click the **Add New Webhook** button to save the webhook. @@ -48,4 +48,4 @@ Now if we go back to the _Requestbin_ site we will see that the payload has been ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-RZke5xnrAg.png) -This is the basic principle of how webhook and endpoints work. If you are to create a custom endpoint, you will need to create a custom function to process the data your receive from Multisite Ultimate. +This is the basic principle of how webhook and endpoints work. If you are to create a custom endpoint, you will need to create a custom function to process the data your receive from Ultimate Multisite. diff --git a/.wiki/activating-wp-ultimo-language-selector.md b/.wiki/activating-wp-ultimo-language-selector.md index cb6b7b744..f8b50a194 100644 --- a/.wiki/activating-wp-ultimo-language-selector.md +++ b/.wiki/activating-wp-ultimo-language-selector.md @@ -1,10 +1,10 @@ -# Activating Multisite Ultimate: Language Selector +# Activating Ultimate Multisite: Language Selector With this free add-on you can let your users choose which language they would like to see on the sign-up flow and on the login page. -After [activating your license](1677127280-how-do-i-activate-wp-ultimo-using-my-license-key.html) you will be able to install Multisite Ultimate add-ons your license gives you access to. +After [activating your license](1677127280-how-do-i-activate-wp-ultimo-using-my-license-key.html) you will be able to install Ultimate Multisite add-ons your license gives you access to. -Go to your Multisite Ultimate settings page and then, on the menu on the left, click the _Add-ons_ label. +Go to your Ultimate Multisite settings page and then, on the menu on the left, click the _Add-ons_ label. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-rzVqJCVpY1.png) @@ -24,7 +24,7 @@ _![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-P5ogwZKKDy. _Activate it on your Plugins page_ -Now, go to Multisite Ultimate’s Settings menu and enter the _Network Settings_ tab. There, at the bottom of the page, you will find a new section called _Languages_. +Now, go to Ultimate Multisite’s Settings menu and enter the _Network Settings_ tab. There, at the bottom of the page, you will find a new section called _Languages_. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-CaH7BHDh50.png) diff --git a/.wiki/auto-search-and-replace-in-site-templates-v2.md b/.wiki/auto-search-and-replace-in-site-templates-v2.md index b9b4504f3..7a1d5821a 100644 --- a/.wiki/auto-search-and-replace-in-site-templates-v2.md +++ b/.wiki/auto-search-and-replace-in-site-templates-v2.md @@ -2,7 +2,7 @@ _**This tutorial requires WP UItimo version 2.x.**_ -One of the most powerful features of Multisite Ultimate is the ability to add arbitrary text, color, and select fields to the registration form. Once we have that data captured, we can use it to pre-populate the content in certain parts of the site template selected. Then, when the new site is published, Multisite Ultimate will replace the placeholders with the actual information entered during registration. +One of the most powerful features of Ultimate Multisite is the ability to add arbitrary text, color, and select fields to the registration form. Once we have that data captured, we can use it to pre-populate the content in certain parts of the site template selected. Then, when the new site is published, Ultimate Multisite will replace the placeholders with the actual information entered during registration. For example, you can do your template sites with placeholders. Placeholders should be added surrounded by double curly braces - {{placeholder_name}}. @@ -10,7 +10,7 @@ Then, you can simply add a matching registration field to capture that data Your customer will then be able to fill that field during the registration. -Multisite Ultimate will then replace the placeholders with the data provided by the customer automatically. +Ultimate Multisite will then replace the placeholders with the data provided by the customer automatically. ## **Solving the "template full of placeholders" problem** @@ -18,7 +18,7 @@ All of that is great, but we do run into an ugly problem: now our site templates To solve that, we offer the option of setting fake values for the placeholders, and we use those values to search and replace their contents on the template sites while your customers are visiting. -You can have access to the template placeholders editor by heading to **Multisite Ultimate > Settings > Sites**, and then, on the sidebar, clicking the Edit Placeholders link. +You can have access to the template placeholders editor by heading to **Ultimate Multisite > Settings > Sites**, and then, on the sidebar, clicking the Edit Placeholders link. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-aFtnOrska9.png) diff --git a/.wiki/basic-concepts.md b/.wiki/basic-concepts.md index 2ea4dc13f..2317a7913 100644 --- a/.wiki/basic-concepts.md +++ b/.wiki/basic-concepts.md @@ -1,6 +1,6 @@ # Basic Concepts -For a new WordPress Multisite user and someone who just started using Multisite Ultimate, there can be a lot of new words and phrases to take on board at first. Learning them is an important task because you’ll need to understand the platform and how it works as a whole. +For a new WordPress Multisite user and someone who just started using Ultimate Multisite, there can be a lot of new words and phrases to take on board at first. Learning them is an important task because you’ll need to understand the platform and how it works as a whole. In this article, we’ll attempt to define and explain some of the key concepts in WordPress. Some of these are more relevant for users, others for developers, and some for both. @@ -88,20 +88,20 @@ Permalinks are the permanent URLs of your individual blog post or page within yo [**http://www.example.com/registration**](http://www.example.com/registration) -## Multisite Ultimate +## Ultimate Multisite -Multisite Ultimate is a WordPress plugin, made for WordPress Multisite installs, that transforms your WordPress install into a premium network of sites – like [WordPress.com](https://WordPress.com) – allowing clients to create sites via monthly, quarterly, or yearly fees (you can also create Free plans). +Ultimate Multisite is a WordPress plugin, made for WordPress Multisite installs, that transforms your WordPress install into a premium network of sites – like [WordPress.com](https://WordPress.com) – allowing clients to create sites via monthly, quarterly, or yearly fees (you can also create Free plans). ## Checkout Form -Checkout Form is a single or multi-step order form that involves the creation of subsite, membership, and user accounts through Multisite Ultimate registration. It consists of different fields and payment forms that a user must submit during the sign-up process. +Checkout Form is a single or multi-step order form that involves the creation of subsite, membership, and user accounts through Ultimate Multisite registration. It consists of different fields and payment forms that a user must submit during the sign-up process. ## Webhook A webhook (also called a web callback or HTTP push API) is a way for an app to provide other applications with real-time information. A webhook delivers data to other applications as it happens, meaning you get data immediately. -[Multisite Ultimate webhooks](https://help.wpultimo.com/article/337-integrating-wp-ultimo-with-zapier-using-webhooks) open infinite possibilities, allowing network admins to do all sorts of crazy-but-useful integrations, especially if used in conjunction with services like _Zapier and IFTTT_. +[Ultimate Multisite webhooks](https://help.wpultimo.com/article/337-integrating-wp-ultimo-with-zapier-using-webhooks) open infinite possibilities, allowing network admins to do all sorts of crazy-but-useful integrations, especially if used in conjunction with services like _Zapier and IFTTT_. ## Events -An Event is an action that occurs as a result of the user or another source action, such as a mouse click. Multisite Ultimate keeps a record of all the events and logs that are happening within your entire network. It tracks different activities happening in your multisite, like plan changes. +An Event is an action that occurs as a result of the user or another source action, such as a mouse click. Ultimate Multisite keeps a record of all the events and logs that are happening within your entire network. It tracks different activities happening in your multisite, like plan changes. diff --git a/.wiki/cPanel-Integration.md b/.wiki/cPanel-Integration.md index b9f818fdf..4d43a67ab 100644 --- a/.wiki/cPanel-Integration.md +++ b/.wiki/cPanel-Integration.md @@ -1,7 +1,7 @@ # cPanel Integration ## Overview -cPanel is one of the most popular web hosting control panels used by many shared and dedicated hosting providers. This integration enables automatic domain syncing between Multisite Ultimate and cPanel, allowing you to automatically add domain aliases and subdomains to your cPanel account. +cPanel is one of the most popular web hosting control panels used by many shared and dedicated hosting providers. This integration enables automatic domain syncing between Ultimate Multisite and cPanel, allowing you to automatically add domain aliases and subdomains to your cPanel account. ## Features - Automatic addon domain creation in cPanel @@ -50,7 +50,7 @@ define('WU_CPANEL_ROOT_DIR', '/public_html'); // Change if your document root is ### 3. Enable the Integration -1. In your WordPress admin, go to Multisite Ultimate > Settings +1. In your WordPress admin, go to Ultimate Multisite > Settings 2. Navigate to the "Domain Mapping" tab 3. Scroll down to "Host Integrations" 4. Enable the cPanel integration @@ -60,7 +60,7 @@ define('WU_CPANEL_ROOT_DIR', '/public_html'); // Change if your document root is ### Addon Domains -When a domain is mapped in Multisite Ultimate: +When a domain is mapped in Ultimate Multisite: 1. The integration sends a request to cPanel's API to add the domain as an addon domain 2. The domain is configured to point to your root directory @@ -90,7 +90,7 @@ For subdomain multisite installations, when a new site is created: - Try using the full URL for the host (e.g., `https://cpanel.yourdomain.com`) ### Domain Not Added -- Check the Multisite Ultimate logs for any error messages +- Check the Ultimate Multisite logs for any error messages - Verify that the domain is not already added to cPanel - Ensure that your cPanel account has not reached its limit for addon domains or subdomains diff --git a/.wiki/canceling-a-membership-v2.md b/.wiki/canceling-a-membership-v2.md index 081149ab2..835284fa2 100644 --- a/.wiki/canceling-a-membership-v2.md +++ b/.wiki/canceling-a-membership-v2.md @@ -1,6 +1,6 @@ # Canceling a Membership (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ Canceling a membership on your customers side is pretty easy. diff --git a/.wiki/checkout-forms.md b/.wiki/checkout-forms.md index 1b43f2438..c68d0f0e9 100644 --- a/.wiki/checkout-forms.md +++ b/.wiki/checkout-forms.md @@ -2,7 +2,7 @@ Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers. -Multisite Ultimate 2.0 offers a Checkout Form editor that allows you to create as many forms as you want, with different fields, products on offer, etc. +Ultimate Multisite 2.0 offers a Checkout Form editor that allows you to create as many forms as you want, with different fields, products on offer, etc. To access this feature, go to the Checkout Forms menu, on the left side-bar. diff --git a/.wiki/code-snippets-for-v2.md b/.wiki/code-snippets-for-v2.md index 8f522f23d..b00c249cb 100644 --- a/.wiki/code-snippets-for-v2.md +++ b/.wiki/code-snippets-for-v2.md @@ -2,7 +2,7 @@ Basically, code snippets for **WordPress** are used to do certain actions that might otherwise require a dedicated smaller plugin. Such code snippets are placed in one of the WordPress core or theme files (generally the functions.php file of your theme) or they can be used as a MU plugin. -In this article we will show you three code snippets that can be used with **Multisite Ultimate v2** : +In this article we will show you three code snippets that can be used with **Ultimate Multisite v2** : * [**Changing the position of the Account menu item**](1677127282-code-snippets-for-v2.html#changing) @@ -20,7 +20,7 @@ add_filter('wu_my_account_menu_position', function() { return 10; // Tweak this As a network admin, you may need to create custom functions that will perform basic actions or make a service/feature available to a selected group of subscribers or end-users, based on the status of their subscription and the plan they are subscribed under. -These Multisite Ultimate native functions will help you with that. +These Ultimate Multisite native functions will help you with that. To check if the user is a member of a given plan, you can use the function: @@ -36,7 +36,7 @@ $user_id = get_current_user_id();$plan_id = 50;if (wu_has_plan($user_id, $plan_i Note that _**wu_has_plan**_ requires a "Plan ID" in order for it to function. -To get the ID of a plan, you can go to **Multisite Ultimate > Products**. The ID of each product will be shown on the right of the table. +To get the ID of a plan, you can go to **Ultimate Multisite > Products**. The ID of each product will be shown on the right of the table. Note that users can only be subscribed to a **Plan** , not a Package or Service, as they are only add-ons for a **Plan**. diff --git a/.wiki/convert_html_to_md.py b/.wiki/convert_html_to_md.py index 78bbe4fc2..c75b3531e 100644 --- a/.wiki/convert_html_to_md.py +++ b/.wiki/convert_html_to_md.py @@ -71,8 +71,8 @@ def process_html_files(categories): """Process HTML files and convert them to Markdown.""" # Create a Home.md file for the wiki with open(os.path.join(OUTPUT_DIR, 'Home.md'), 'w', encoding='utf-8') as home_file: - home_file.write("# Multisite Ultimate Documentation\n\n") - home_file.write("Welcome to the Multisite Ultimate documentation. This wiki contains all the information you need to get started with Multisite Ultimate.\n\n") + home_file.write("# Ultimate Multisite Documentation\n\n") + home_file.write("Welcome to the Ultimate Multisite documentation. This wiki contains all the information you need to get started with Ultimate Multisite.\n\n") home_file.write("## Categories\n\n") # Add categories to the home page diff --git a/.wiki/convert_html_to_md_advanced.py b/.wiki/convert_html_to_md_advanced.py index 0c1076f80..05f201ecd 100644 --- a/.wiki/convert_html_to_md_advanced.py +++ b/.wiki/convert_html_to_md_advanced.py @@ -93,8 +93,8 @@ def process_html_files(categories): """Process HTML files and convert them to Markdown.""" # Create a Home.md file for the wiki with open(os.path.join(OUTPUT_DIR, 'Home.md'), 'w', encoding='utf-8') as home_file: - home_file.write("# Multisite Ultimate Documentation\n\n") - home_file.write("Welcome to the Multisite Ultimate documentation. This wiki contains all the information you need to get started with Multisite Ultimate.\n\n") + home_file.write("# Ultimate Multisite Documentation\n\n") + home_file.write("Welcome to the Ultimate Multisite documentation. This wiki contains all the information you need to get started with Ultimate Multisite.\n\n") home_file.write("## Categories\n\n") # Add categories to the home page diff --git a/.wiki/convert_simple.py b/.wiki/convert_simple.py index 236a60234..4af45c191 100755 --- a/.wiki/convert_simple.py +++ b/.wiki/convert_simple.py @@ -37,8 +37,8 @@ def process_html_files(): """Process HTML files and convert them to Markdown.""" # Create a Home.md file for the wiki with open(os.path.join(OUTPUT_DIR, 'Home.md'), 'w', encoding='utf-8') as home_file: - home_file.write("# Multisite Ultimate Documentation\n\n") - home_file.write("Welcome to the Multisite Ultimate documentation. This wiki contains all the information you need to get started with Multisite Ultimate.\n\n") + home_file.write("# Ultimate Multisite Documentation\n\n") + home_file.write("Welcome to the Ultimate Multisite documentation. This wiki contains all the information you need to get started with Ultimate Multisite.\n\n") home_file.write("## Articles\n\n") # Create a sidebar file for the wiki diff --git a/.wiki/creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator.md b/.wiki/creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator.md index b22bc885c..3cebe7f88 100644 --- a/.wiki/creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator.md +++ b/.wiki/creating-custom-admin-pages-and-sub-pages-using-wp-ultimo-admin-page-creator.md @@ -1,6 +1,6 @@ -# Creating Custom Admin Pages and Sub-pages using Multisite Ultimate: Admin Page Creator +# Creating Custom Admin Pages and Sub-pages using Ultimate Multisite: Admin Page Creator -While WordPress makes it really easy to add content to the front end of sites, creating pages and sub-pages on the admin side requires some basic coding skills. Multisite Ultimate: Admin Page Creator aims to bring that same ease of use of the front end to the back end of your network sites. +While WordPress makes it really easy to add content to the front end of sites, creating pages and sub-pages on the admin side requires some basic coding skills. Ultimate Multisite: Admin Page Creator aims to bring that same ease of use of the front end to the back end of your network sites. ## Why use Admin Page Creator? @@ -16,7 +16,7 @@ _Here’s the final result on the user’s Dashboard Panel_ ## Creating your first Custom Admin Page -After installing and activating Multisite Ultimate: Admin Page Creator, head to your network admin menu and go to Admin Pages. +After installing and activating Ultimate Multisite: Admin Page Creator, head to your network admin menu and go to Admin Pages. [![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-60212627fb34b55df443e4a5-Aml1wdfXt-69C790DA-7E3F-4DDD-A381-7F6633D91B2A.png)](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-60212627fb34b55df443e4a5-Aml1wdfXt-69C790DA-7E3F-4DDD-A381-7F6633D91B2A.png) @@ -38,7 +38,7 @@ _Enter a Page Title_ ### Content Type Selector -Multisite Ultimate: Admin Page Creator gives you two options when it comes to the content of the page: you can either use the default WordPress WYSIWYG editor or switch to an HTML editor. +Ultimate Multisite: Admin Page Creator gives you two options when it comes to the content of the page: you can either use the default WordPress WYSIWYG editor or switch to an HTML editor. If you are not familiar with HTML, stick to the default WordPress editor. You’ll be able to edit the contents of the page just like you would with a normal Post or Page. diff --git a/.wiki/creating-discount-codes-v2.md b/.wiki/creating-discount-codes-v2.md index d4e9a3276..bcf64e7f6 100644 --- a/.wiki/creating-discount-codes-v2.md +++ b/.wiki/creating-discount-codes-v2.md @@ -1,12 +1,12 @@ # Creating Discount Codes (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -With Multisite Ultimate you can create discount codes to give your clients discounts on their subscriptions. And creating them is easy! +With Ultimate Multisite you can create discount codes to give your clients discounts on their subscriptions. And creating them is easy! ## Creating and Editing Discount Codes -To create or edit a discount code, go to **Multisite Ultimate > Discount Codes**. +To create or edit a discount code, go to **Ultimate Multisite > Discount Codes**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-G2iYAraljI.png) @@ -78,7 +78,7 @@ The coupon is now on your list and, from there, you can click to **edit or delet If you want to customize your pricing tables or build a nice coupon code page for your website and want to apply a discount code to your checkout form automatically, you can do this via URL parameters. -First, you need to get the shareable link for your plan. To do this, go to **Multisite Ultimate > Products** and select a plan. +First, you need to get the shareable link for your plan. To do this, go to **Ultimate Multisite > Products** and select a plan. Click on the **Click to Copy Shareable Link** button. This will give you the shareable link to this specific plan. In our case, the shareable link given was [_**mynetworkdomain.com/register/premium/**_](http://mynetworkdomain.com/register/premium/)_._ diff --git a/.wiki/creating-your-first-subscription-product-v2.md b/.wiki/creating-your-first-subscription-product-v2.md index ebad88141..b62dfec1e 100644 --- a/.wiki/creating-your-first-subscription-product-v2.md +++ b/.wiki/creating-your-first-subscription-product-v2.md @@ -1,32 +1,32 @@ # Creating your First Subscription Product (v2) -_**IMPORTANT NOTE: This article is only for Multisite Ultimate version 2.x users. If you are using version 1.x,**_ [_**see this article**_](https://help.wpultimo.com/article/268-getting-started-with-new-plans). +_**IMPORTANT NOTE: This article is only for Ultimate Multisite version 2.x users. If you are using version 1.x,**_ [_**see this article**_](https://help.wpultimo.com/article/268-getting-started-with-new-plans). To start running your network and begin selling your services to potential users, you need to have different subscription options. How do you create these products? What are the types of products you can offer? In this article, we will cover everything you need to know about products. ## Product Type -With Multisite Ultimate you can offer two categories of products to your clients: **plans** and **add-ons** **(Order Bump)**. Add-ons can be divided into two types:**packages** and **services**. We will see their differences and particularities next. +With Ultimate Multisite you can offer two categories of products to your clients: **plans** and **add-ons** **(Order Bump)**. Add-ons can be divided into two types:**packages** and **services**. We will see their differences and particularities next. - * **Plans** : the fundamental product of Multisite Ultimate. Your client can only have a membership if it’s attached to a plan. A plan provides your clients with one or more sites (it depends on the configurations of your plan) with the limitations you set on your product editing page. + * **Plans** : the fundamental product of Ultimate Multisite. Your client can only have a membership if it’s attached to a plan. A plan provides your clients with one or more sites (it depends on the configurations of your plan) with the limitations you set on your product editing page. - * **Packages** : add-ons that impact directly on Multisite Ultimate plans’ functionalities. They alter limitations or add new resources, plugins or themes to the original plan your client bought. For example, a basic plan might allow 1,000 visits per month and you can make available a package that extends this number to 10,000. + * **Packages** : add-ons that impact directly on Ultimate Multisite plans’ functionalities. They alter limitations or add new resources, plugins or themes to the original plan your client bought. For example, a basic plan might allow 1,000 visits per month and you can make available a package that extends this number to 10,000. - * **Services:** add-ons that do not alter Multisite Ultimate’s functionalities. They are tasks that you will realize for your client in addition to the plan they bought. For example, your customer might buy a plan that allows for a single site and also pays for an extra service that will make this site design. + * **Services:** add-ons that do not alter Ultimate Multisite’s functionalities. They are tasks that you will realize for your client in addition to the plan they bought. For example, your customer might buy a plan that allows for a single site and also pays for an extra service that will make this site design. ## Managing Products -For many the **Products** tab in Multisite Ultimate **(Multisite Ultimate > Products)** can be equated with plans in a traditional hosting environment. +For many the **Products** tab in Ultimate Multisite **(Ultimate Multisite > Products)** can be equated with plans in a traditional hosting environment. -Within Multisite Ultimate the Products tab defines the construct and limitations applicable to a specific product or service. Such constructs extend to product or service description, price, taxes, and permissions. +Within Ultimate Multisite the Products tab defines the construct and limitations applicable to a specific product or service. Such constructs extend to product or service description, price, taxes, and permissions. -This section will guide your understanding of this essential cornerstone of Multisite Ultimate. +This section will guide your understanding of this essential cornerstone of Ultimate Multisite. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-1YccQg0IBG.png) ## Adding Products -Whether a plan, package, or service the entry point to defining a new item is via **Multisite Ultimate > Products > Add Product**. +Whether a plan, package, or service the entry point to defining a new item is via **Ultimate Multisite > Products > Add Product**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-C0AmJMeqen.png) @@ -46,7 +46,7 @@ On the right side of the interface, the base pricing can be defined. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-oHwhlrBFC9.png) -Multisite Ultimate supports three different pricing types. The **paid** option prompts the network administrator for information regarding the product’s price and billing frequency. +Ultimate Multisite supports three different pricing types. The **paid** option prompts the network administrator for information regarding the product’s price and billing frequency. ### Pricing @@ -112,11 +112,11 @@ The **General** tab defines the general attributes of the product not applicable ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-z32g4XQeyT.png) -The self-explanatory **product slug** defines the slug with which the product is identified in URLs and other areas of Multisite Ultimate. +The self-explanatory **product slug** defines the slug with which the product is identified in URLs and other areas of Ultimate Multisite. -Multisite Ultimate supports several product types namely Plan, Package, and Service. The **Product Options** tabs are dynamically adjusted depending on the product type specified. +Ultimate Multisite supports several product types namely Plan, Package, and Service. The **Product Options** tabs are dynamically adjusted depending on the product type specified. -The **Customer Role** specifies the role that the customer is assigned when the site is created. Typically for most network administrators, this will be the Multisite Ultimate default or Administrator. The Multisite Ultimate default role can be set in **Multisite Ultimate > Settings > Login & Registration**. +The **Customer Role** specifies the role that the customer is assigned when the site is created. Typically for most network administrators, this will be the Ultimate Multisite default or Administrator. The Ultimate Multisite default role can be set in **Ultimate Multisite > Settings > Login & Registration**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-Ap5I4lXWwB.png) @@ -124,9 +124,9 @@ The **Customer Role** specifies the role that the customer is assigned when the This tab specifies the upgrade and downgrade paths available to a customer within their specific tier. -To understand this concept consider an example where a niche Multisite Ultimate installation provides learning management solutions to its customers. To achieve this three plans (Basic, Plus, and Premium) are defined and specific plugins are activated for each plan (see later in this section for instructions on how to activate plugins). +To understand this concept consider an example where a niche Ultimate Multisite installation provides learning management solutions to its customers. To achieve this three plans (Basic, Plus, and Premium) are defined and specific plugins are activated for each plan (see later in this section for instructions on how to activate plugins). -If the Multisite Ultimate installation also services business websites or eCommerce websites those plans may require different plugins to be installed and activated. +If the Ultimate Multisite installation also services business websites or eCommerce websites those plans may require different plugins to be installed and activated. To this extent, it would be undesirable and problematic to allow eLearning customers to transition to eCommerce plans as these plans, pricing, and limitations may not be an appropriate fit. @@ -136,7 +136,7 @@ Thus to restrict the path of the customer and to prevent incidents the network a To define a plan group specify the compatible plans within the **plan group** list. The **product order** determines how the plans are ordered and displayed from the lowest to the highest. -Multisite Ultimate also includes an **order bump** feature where appropriate add-on products and services can be added to plans. These are offered to the customer as additional items which can be added to plans on checkout or during an upgrade. +Ultimate Multisite also includes an **order bump** feature where appropriate add-on products and services can be added to plans. These are offered to the customer as additional items which can be added to plans on checkout or during an upgrade. #### Price Variations @@ -152,13 +152,13 @@ To enter a variation, set the duration, period, and price of the variation. Addi #### Taxes -The **Taxes** tab aligns with the tax settings specified in **Multisite Ultimate > Settings > Taxes** and more specifically the tax rates defined. To enable taxes and define applicable tax rates please see the documentation at **Multisite Ultimate: Settings** +The **Taxes** tab aligns with the tax settings specified in **Ultimate Multisite > Settings > Taxes** and more specifically the tax rates defined. To enable taxes and define applicable tax rates please see the documentation at **Ultimate Multisite: Settings** **![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-xYLtpFySzL.png)** In a previous example, we defined a local tax rate of 7.25% applicable to customers in California (United States of America). -Once the tax rate is defined in **Multisite Ultimate > Settings > Manage Tax Rates** it is selectable at the product level. +Once the tax rate is defined in **Ultimate Multisite > Settings > Manage Tax Rates** it is selectable at the product level. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-Sh1BVGVj6i.png) @@ -186,7 +186,7 @@ Ultimately if the network administrator desires template selection to occur in t #### Sites -The **Sites** tab is part of Multisite Ultimate’s limitations functionality. +The **Sites** tab is part of Ultimate Multisite’s limitations functionality. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-A8fzNucGyC.png) @@ -196,7 +196,7 @@ To enable the limitation, set the **limit sites** toggle to its active state and #### Visits -The **Visits** tab is a further part of Multisite Ultimate’s limitations system. This setting allows for the accounting and subsequent throttling of unique visitors to a customer’s site. +The **Visits** tab is a further part of Ultimate Multisite’s limitations system. This setting allows for the accounting and subsequent throttling of unique visitors to a customer’s site. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-e7f5otg89m.png) @@ -204,11 +204,11 @@ From a marketing perspective network, administrators can make use of this settin To make use of this feature, set the **limit unique visits** toggle to its active state and specify the maximum number of unique visitors in the **unique visits quota** field. -Once this limit is reached Multisite Ultimate will cease to serve the customer’s site instead of displaying a message to indicate that limits have been exceeded. +Once this limit is reached Ultimate Multisite will cease to serve the customer’s site instead of displaying a message to indicate that limits have been exceeded. #### Users -Multisite Ultimate’s ‘Users’ limitations allow the network administrator to impose limits on the number of users that can be created and assigned to roles. +Ultimate Multisite’s ‘Users’ limitations allow the network administrator to impose limits on the number of users that can be created and assigned to roles. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-maGYqW7WlP.png) @@ -222,7 +222,7 @@ The **Post Types** tab allows the network administrator to impose granular limit ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ZELQvvqyvn.png) -Due to the construction of WordPress, posts and post types are a significant component of its core functionality, and thus Multisite Ultimate’s limitations system is designed to assist the network administrator in establishing and maintaining limits. +Due to the construction of WordPress, posts and post types are a significant component of its core functionality, and thus Ultimate Multisite’s limitations system is designed to assist the network administrator in establishing and maintaining limits. To enable this limits subsystem, set the **limit post types** toggle to its active state by sliding it to the right. @@ -266,7 +266,7 @@ In the **A** **vailable** state the theme is made available to the customer for #### Plugins -Similar to the Themes tab, Multisite Ultimate allows the network administrator to define the visibility of plugins to customers as well as their state upon the creation of a new site. +Similar to the Themes tab, Ultimate Multisite allows the network administrator to define the visibility of plugins to customers as well as their state upon the creation of a new site. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-Ipzv31FIb6.png) @@ -296,7 +296,7 @@ To confirm the action slide the **confirm reset** toggle to its active state on #### Legacy Options -The **Legacy Options** tab observes certain options and behaviors defined in Multisite Ultimate 1.x. +The **Legacy Options** tab observes certain options and behaviors defined in Ultimate Multisite 1.x. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-Fn3BjwTH4r.png) @@ -304,7 +304,7 @@ These options are offered for compatibility and ease of transition and will be d ## Edit, Duplicate, or Delete Product -Existing products can be edited, duplicated or deleted by navigating to **Multisite Ultimate > Products** and hovering over the existing product name. +Existing products can be edited, duplicated or deleted by navigating to **Ultimate Multisite > Products** and hovering over the existing product name. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-GcHtJl6WmV.png) diff --git a/.wiki/customizing-your-admin-panel-with-material-wp.md b/.wiki/customizing-your-admin-panel-with-material-wp.md index a810234a6..174ac4c91 100644 --- a/.wiki/customizing-your-admin-panel-with-material-wp.md +++ b/.wiki/customizing-your-admin-panel-with-material-wp.md @@ -2,7 +2,7 @@ WordPress admin interface has been the same for ages. But have you ever wondered how a Material Design version of the admin interface would look like? -Material WP is an admin theme developed to give you that look and feeling, helping you to provide your clients with a more customized Dashboard. Material WP is also part of Multisite Ultimate’s premium plugins core. +Material WP is an admin theme developed to give you that look and feeling, helping you to provide your clients with a more customized Dashboard. Material WP is also part of Ultimate Multisite’s premium plugins core. After [installing it](https://help.wpultimo.com/faq/where-can-i-download-the-add-ons), go to your _Plugins_ page and click to activate it on your Network. diff --git a/.wiki/customizing-your-admin-panel-with-pro-theme.md b/.wiki/customizing-your-admin-panel-with-pro-theme.md index 0c81f355e..f3a703d67 100644 --- a/.wiki/customizing-your-admin-panel-with-pro-theme.md +++ b/.wiki/customizing-your-admin-panel-with-pro-theme.md @@ -2,7 +2,7 @@ Often when doing client work we get the need to provide our clients with a custom experience in the admin dashboard of WordPress. If you are searching for a more professional look and feel, PRO Theme might help you. -PRO Theme is an admin theme developed to help you when customizing your clients’ Dashboard. And it’s also part of Multisite Ultimate’s premium plugins core. +PRO Theme is an admin theme developed to help you when customizing your clients’ Dashboard. And it’s also part of Ultimate Multisite’s premium plugins core. After installing it, go to your _Plugins_ page and click to activate it on your Network. diff --git a/.wiki/customizing-your-registration-form.md b/.wiki/customizing-your-registration-form.md index cdc58859f..dcdf875de 100644 --- a/.wiki/customizing-your-registration-form.md +++ b/.wiki/customizing-your-registration-form.md @@ -1,12 +1,12 @@ # Customizing your Registration Form -To make your network look unique from all the other SaaS built on WordPress platform, Multisite Ultimate allows you to customize your registration and login pages with our **Checkout Forms** feature. +To make your network look unique from all the other SaaS built on WordPress platform, Ultimate Multisite allows you to customize your registration and login pages with our **Checkout Forms** feature. Although they are an easy and flexible way to experiment with different approaches when trying to convert new customers, they are mostly use to create personalized registration forms. This article aims to show you how you can do it. ## Login and registration pages: -Upon Multisite Ultimate installation, it automatically creates custom login and registration pages on your main site. You can change these default pages any time by going under your **Multisite Ultimate > Settings > Login & Registration** page. +Upon Ultimate Multisite installation, it automatically creates custom login and registration pages on your main site. You can change these default pages any time by going under your **Ultimate Multisite > Settings > Login & Registration** page. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-K3a5Ol4prD.png) @@ -20,7 +20,7 @@ Let's take a look at each one of the options you can customize on the **Login & * **Use custom login page:** This option allows you to use a customized login page, other than the default wp-login.php page. If this option is toggled on, you can select which page will be used for login on the **Default login page** option (right below). - * **Obfuscate the original login url (wp-login.php)** : If you want to hide the original login URL, you can toggle this option on. This is useful to prevent brute-force attacks. If this option is enabled, Multisite Ultimate will display a 404 error when a user tries to access the original wp-login.php link + * **Obfuscate the original login url (wp-login.php)** : If you want to hide the original login URL, you can toggle this option on. This is useful to prevent brute-force attacks. If this option is enabled, Ultimate Multisite will display a 404 error when a user tries to access the original wp-login.php link * **Force synchronous site publication:** After a customer subscribe to a product on a network, the new pending site needs to be converted into a real network site. The publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. @@ -36,7 +36,7 @@ And that's all the options related to login and registration that you can custom ## Using multiple registration forms: -Multisite Ultimate 2.0 offers a checkout form editor that allows you to create as many forms as you want, with different fields, products on offer, etc. +Ultimate Multisite 2.0 offers a checkout form editor that allows you to create as many forms as you want, with different fields, products on offer, etc. Both the login and registration pages are embedded with shortcodes: **[wu_login_form]** on the login page and**[wu_checkout]** for the registration page. You can further customize the registration page by building or creating checkout forms. @@ -124,7 +124,7 @@ If you want to create customized pricing tables for your products and pre-select ### **For plans:** -Go to **Multisite Ultimate > Products > Select a plan**. You should see the **Click to copy Shareable Link** button at the the top of the page. This is the link you can use to pre-select this specific plan on your checkout form. +Go to **Ultimate Multisite > Products > Select a plan**. You should see the **Click to copy Shareable Link** button at the the top of the page. This is the link you can use to pre-select this specific plan on your checkout form. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-bUyOlBEfNj.png) @@ -132,7 +132,7 @@ Note that this shareable link is only valid for **Plans**. You cannot use sharea ### For templates: -If you want to pre-select site templates on your checkout form, you can use the parameter: **?template_id=X** on your registration page URL. The "X" needs to be replaced by the **site template ID number**. To get this number, go to **Multisite Ultimate > Sites**. +If you want to pre-select site templates on your checkout form, you can use the parameter: **?template_id=X** on your registration page URL. The "X" needs to be replaced by the **site template ID number**. To get this number, go to **Ultimate Multisite > Sites**. Click on **Manage** right below the site template you want to use. You will see the SITE ID number. Just use this number for this specific site template to be pre selected on your checkout form. In our case here, the URL parameter would be **?template_id=2**. diff --git a/.wiki/downgrading-a-plan-v2.md b/.wiki/downgrading-a-plan-v2.md index 65753e471..e7029410e 100644 --- a/.wiki/downgrading-a-plan-v2.md +++ b/.wiki/downgrading-a-plan-v2.md @@ -1,6 +1,6 @@ # Downgrading a plan (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ Downgrading a plan or subscription is a common action your clients might do if they have a limited budget or they decided that they won't need many resources to run their subsite. @@ -28,7 +28,7 @@ It does not automatically change the site template since changing the site templ We understand that your main concern would be the limits and quotas you set under each plan but we have to consider the damage it would do to the user's subsite should we delete or change any of its configurations. -For the posts exceeding the limit set on the plan, you have 3 different options: **Keep the posts as it** *,* **Move the posts to trash** *,* or **Move the posts to draft** *.* You can configure this under Multisite Ultimate settings. +For the posts exceeding the limit set on the plan, you have 3 different options: **Keep the posts as it** *,* **Move the posts to trash** *,* or **Move the posts to draft** *.* You can configure this under Ultimate Multisite settings. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ztHV8cZDG0.png) diff --git a/.wiki/editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager.md b/.wiki/editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager.md index 2b2d740f5..917d54f0f 100644 --- a/.wiki/editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager.md +++ b/.wiki/editing-plugins-and-themes-meta-information-with-wp-ultimo-plugin-and-theme-manager.md @@ -1,6 +1,6 @@ -# Editing Plugins and Themes Meta Information with Multisite Ultimate: Plugin and Theme Manager +# Editing Plugins and Themes Meta Information with Ultimate Multisite: Plugin and Theme Manager -Multisite Ultimate: Plugin and Theme Manager is a powerful **premium** Multisite Ultimate add-on that gives you full control over the way your network users see and interact with the plugin and theme options on your network. +Ultimate Multisite: Plugin and Theme Manager is a powerful **premium** Ultimate Multisite add-on that gives you full control over the way your network users see and interact with the plugin and theme options on your network. This add-on serves three purposes: @@ -10,11 +10,11 @@ This add-on serves three purposes: 3. It gives you the option to replace the old, boring plugins page with a new themes-like page with sorting by categories. -After downloading and installing it, a new tab - _Add-on Settings_ \- will show on Multisite Ultimate Settings page. +After downloading and installing it, a new tab - _Add-on Settings_ \- will show on Ultimate Multisite Settings page. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-4zDOF0uomh.png) -_Here you'll find the global options added by Multisite Ultimate: Plugin and Theme Manager_ +_Here you'll find the global options added by Ultimate Multisite: Plugin and Theme Manager_ On your network _Plugins_ page you will now be able to edit all the plugins' meta information, such as name, author, and even the plugin's thumbnail. diff --git a/.wiki/error-installing-the-sunrise-file.md b/.wiki/error-installing-the-sunrise-file.md index 288f585c8..e82dcf5c9 100644 --- a/.wiki/error-installing-the-sunrise-file.md +++ b/.wiki/error-installing-the-sunrise-file.md @@ -2,11 +2,11 @@ The sunrise.php file is a special file that WordPress looks for while it bootstraps itself. For WordPress to be able to detect the sunrise.php file, it needs to be located inside the **wp-content folder**. -When you activate Multisite Ultimate and go through the setup wizard like the one you have on the screenshot, Multisite Ultimate tries to copy our sunrise.php file to the wp-content folder. +When you activate Ultimate Multisite and go through the setup wizard like the one you have on the screenshot, Ultimate Multisite tries to copy our sunrise.php file to the wp-content folder. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-v6hosgLWpt.png) -Most of the time, we’re able to successfully copy the file and everything works. However, if something is not properly set up (folder permissions, for example), you might run into a scenario where Multisite Ultimate is not able to copy the file. +Most of the time, we’re able to successfully copy the file and everything works. However, if something is not properly set up (folder permissions, for example), you might run into a scenario where Ultimate Multisite is not able to copy the file. If you read the error message Ultimo gives you, you’ll see that’s exactly what happened here: **Sunrise copy failed**. @@ -14,7 +14,7 @@ If you read the error message Ultimo gives you, you’ll see that’s exactly wh To fix that, you can simply copy the sunrise.php file inside the wp-ultimo plugin folder and paste it into your wp-content folder. After you do that, reload the wizard page and the checks should pass. -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-p6hz1I9ycl.png) In any case, this might warrant a general check of your folder permissions to avoid having problems in the future (not only with Multisite Ultimate but with other plugins and themes as well). +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-p6hz1I9ycl.png) In any case, this might warrant a general check of your folder permissions to avoid having problems in the future (not only with Ultimate Multisite but with other plugins and themes as well). The **Health Check tool** that is part of WordPress (you can access it via your main site **admin panel > Tools > Health Check**) is capable of letting you know if you have folder permissions set to values that might cause problems with WordPress. diff --git a/.wiki/event-register-an-account-via-zapier.md b/.wiki/event-register-an-account-via-zapier.md index 3c7386058..d964a2176 100644 --- a/.wiki/event-register-an-account-via-zapier.md +++ b/.wiki/event-register-an-account-via-zapier.md @@ -1,6 +1,6 @@ # Event: Register an account via Zapier -In the article [Integrating Multisite Ultimate with Zapier](1677127282-integrating-wp-ultimo-with-zapier.html), we discussed how to use Zapier to perform different actions within Multisite Ultimate based on triggers and events. In this article, we will show how you can integrate 3rd party applications. We will use Google Sheets as the source of data and send the information to Multisite Ultimate to register an account. +In the article [Integrating Ultimate Multisite with Zapier](1677127282-integrating-wp-ultimo-with-zapier.html), we discussed how to use Zapier to perform different actions within Ultimate Multisite based on triggers and events. In this article, we will show how you can integrate 3rd party applications. We will use Google Sheets as the source of data and send the information to Ultimate Multisite to register an account. First, you need to create a **Google Sheet** under your Google Drive. Make sure you properly define each column so that you can easily map the data later. @@ -22,11 +22,11 @@ Under **"Set up trigger** ", you will need to select and specify the google spre ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-E1RjprMVNM.png)If your test is successful, you should see the result showing some values from your spreadsheets. Click "**Continue** " to proceed. -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FNVMJRdoBs.png)The next step is to set up the second action that will create or register an account in Multisite Ultimate. On the search field select "**Multisite Ultimate(2.0.2)** " +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FNVMJRdoBs.png)The next step is to set up the second action that will create or register an account in Ultimate Multisite. On the search field select "**Ultimate Multisite(2.0.2)** " ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-bbSevglDSJ.png) -Under the "**Event** " field, select "**Register an Account in Multisite Ultimate** " then click the "**Continue** " button. +Under the "**Event** " field, select "**Register an Account in Ultimate Multisite** " then click the "**Continue** " button. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-DZTN6Hno0w.png)Under "**Set up an action** ", you will see different fields available for customer data, memberships, products, etc. You can map the values under your google sheet and assign them to the proper field where they should be populated as shown in the screenshot below. diff --git a/.wiki/frequently-asked-questions.md b/.wiki/frequently-asked-questions.md index 1cccff978..a34bf8443 100644 --- a/.wiki/frequently-asked-questions.md +++ b/.wiki/frequently-asked-questions.md @@ -2,17 +2,17 @@ Here are some **Frequently Asked Questions** that often come up during support requests. - * **What is Multisite Ultimate?** + * **What is Ultimate Multisite?** -Multisite Ultimate is a WordPress plugin, made for WordPress multisite installs, that transforms your WordPress install into a premium network of sites – like [WordPress.com](https://WordPress.com) – allowing clients to create sites via monthly, quarterly, or yearly fees (you can also create Free plans). +Ultimate Multisite is a WordPress plugin, made for WordPress multisite installs, that transforms your WordPress install into a premium network of sites – like [WordPress.com](https://WordPress.com) – allowing clients to create sites via monthly, quarterly, or yearly fees (you can also create Free plans). - * **Will Multisite Ultimate work without Multisite?** + * **Will Ultimate Multisite work without Multisite?** -No. Multisite Ultimate requires WordPress multisite, subdirectory, or subdomain. +No. Ultimate Multisite requires WordPress multisite, subdirectory, or subdomain. - * **What are the requirements for Multisite Ultimate?** + * **What are the requirements for Ultimate Multisite?** -Multisite Ultimate requires: +Ultimate Multisite requires: **WordPress Version** : v5.3+ (Recommended: Last Stable Version) **PHP Version** : 7.4.x (Support to > 8.0 coming soon) @@ -20,54 +20,54 @@ Multisite Ultimate requires: _Multisite (subdomain or subdirectory) also needs to be activated._ [How to Install WordPress Multisite](https://support.delta.nextpress.co/hc/wp-ultimo/articles/1677127280-how-do-i-install-word_press-multisite). - * **Will Multisite Ultimate work with Multisite with Subdirectories?** + * **Will Ultimate Multisite work with Multisite with Subdirectories?** -Yes. Multisite Ultimate supports both subdirectory installs and subdirectory installs. +Yes. Ultimate Multisite supports both subdirectory installs and subdirectory installs. - * **Will Multisite Ultimate work with Multisite with Subdomains?** + * **Will Ultimate Multisite work with Multisite with Subdomains?** -Yes. Multisite Ultimate supports both subdirectory installs and subdomain installs. +Yes. Ultimate Multisite supports both subdirectory installs and subdomain installs. - * **Can I use Multisite Ultimate to limit which Plugins and Themes users can use?** + * **Can I use Ultimate Multisite to limit which Plugins and Themes users can use?** -Yes. With Multisite Ultimate you can select which plugins and themes are available to each plan on your network. +Yes. With Ultimate Multisite you can select which plugins and themes are available to each plan on your network. - * **Can I use Multisite Ultimate to limit the number of posts a user can create on his/her site?** + * **Can I use Ultimate Multisite to limit the number of posts a user can create on his/her site?** -Yes. With Multisite Ultimate you can establish post quotas for **every available post type** on your network. You can also limit the number of users the admin can invite, the **amount of disk space,** and much more. +Yes. With Ultimate Multisite you can establish post quotas for **every available post type** on your network. You can also limit the number of users the admin can invite, the **amount of disk space,** and much more. - * **Does Multisite Ultimate support Site Templates?** + * **Does Ultimate Multisite support Site Templates?** -Yes. With Multisite Ultimate you can create as many Site Templates as you want. Site Templates are not themes, they are normal sites on your network. You can activate plugins, themes, and customize that Site Template in any way you want. If a user selects that template, his or her site will be created as a copy of that template, with all the customizations in place. +Yes. With Ultimate Multisite you can create as many Site Templates as you want. Site Templates are not themes, they are normal sites on your network. You can activate plugins, themes, and customize that Site Template in any way you want. If a user selects that template, his or her site will be created as a copy of that template, with all the customizations in place. You can also set a particular template for a plan. By doing that, every user that signs up on that plan will have his or her site created as a duplicate of that Site Template. - * **Does Multisite Ultimate integrate with WooCommerce?** + * **Does Ultimate Multisite integrate with WooCommerce?** Yes! -If you want your network users to have WooCommerce available for them, allowing them to set up stores, that is possible using Multisite Ultimate. You can even limit the number of products your clients will be able to create on each plan tier. +If you want your network users to have WooCommerce available for them, allowing them to set up stores, that is possible using Ultimate Multisite. You can even limit the number of products your clients will be able to create on each plan tier. -In terms of subscription payments for Multisite Ultimate, you can use the [Multisite Ultimate: WooCommerce Integration Add-on](https://wpultimo.com/addons/wp-ultimo-woocommerce/) to allow your Multisite Ultimate clients to pay using WooCommerce gateways on your main site. In that way, you can tap into the huge library of payment gateways developed for WooCommerce and use them to bill your Multisite Ultimate clients. +In terms of subscription payments for Ultimate Multisite, you can use the [Ultimate Multisite: WooCommerce Integration Add-on](https://wpultimo.com/addons/wp-ultimo-woocommerce/) to allow your Ultimate Multisite clients to pay using WooCommerce gateways on your main site. In that way, you can tap into the huge library of payment gateways developed for WooCommerce and use them to bill your Ultimate Multisite clients. * **Is there a way to migrate subscriptions from WPMUDEV Pro Sites?** -Yes, Multisite Ultimate now offers you [a helpful tool to get you to migrate](https://wpultimo.com/addons/wp-ultimo-pro-sites-migrator/) your Pro Sites network. +Yes, Ultimate Multisite now offers you [a helpful tool to get you to migrate](https://wpultimo.com/addons/wp-ultimo-pro-sites-migrator/) your Pro Sites network. * **Why is the “Allowed Plugins” tab empty on my Plan Edit Page?** -Multisite Ultimate only lets you allow or deny access to plugins not network-activated on your network. When a plugin is network-activated, by its very nature, it will be loaded by default on every site of your network. +Ultimate Multisite only lets you allow or deny access to plugins not network-activated on your network. When a plugin is network-activated, by its very nature, it will be loaded by default on every site of your network. If you do not see any plugins listed on the “Allowed Plugins” tab, check if the desired plugin is network-active or not. * **Can I use my own Pricing Table design?** -Yes. Since version 1.4.0, Multisite Ultimate supports template overrides. +Yes. Since version 1.4.0, Ultimate Multisite supports template overrides. - * **Does Multisite Ultimate work with WP Engine?** + * **Does Ultimate Multisite work with WP Engine?** -Yes. Multisite Ultimate was always supported by WP Engine, but getting domain mapping to work required manual extra steps from the admin (adding the domain to the WP Engine panel). **This is no longer the case since version 1.6.0.** Multisite Ultimate integrates directly with the WP Engine API and domains get added to the panel automatically after mapping. +Yes. Ultimate Multisite was always supported by WP Engine, but getting domain mapping to work required manual extra steps from the admin (adding the domain to the WP Engine panel). **This is no longer the case since version 1.6.0.** Ultimate Multisite integrates directly with the WP Engine API and domains get added to the panel automatically after mapping. * **Which hosting provider do you recommend?** -Multisite Ultimate should work with any hosting provider. The only difference is that some hosting company like Closte, Serverpilot, WPMUDEV, WP Engine, Cloudways, Gridpane and [Runcloud.io](http://Runcloud.io) has a tighter integration for domain mapping capabilities so they work out of the box. For other hostings. you may need to set up domain mapping manually. +Ultimate Multisite should work with any hosting provider. The only difference is that some hosting company like Closte, Serverpilot, WPMUDEV, WP Engine, Cloudways, Gridpane and [Runcloud.io](http://Runcloud.io) has a tighter integration for domain mapping capabilities so they work out of the box. For other hostings. you may need to set up domain mapping manually. diff --git a/.wiki/getting-paid-v2.md b/.wiki/getting-paid-v2.md index d721b8a4a..222cbcbad 100644 --- a/.wiki/getting-paid-v2.md +++ b/.wiki/getting-paid-v2.md @@ -1,12 +1,12 @@ # Getting Paid (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -Multisite Ultimate has a built-in membership and billing system. For our billing system to function, we have integrated the most common payment gateways used in e-commerce. The default payment gateways in Multisite Ultimate are _Stripe_ , _PayPal_ , and Manual Payment. You can also use _WooCommerce_ , _GoCardless_ and _Payfast_ to receive payments by installing their respective add-ons. +Ultimate Multisite has a built-in membership and billing system. For our billing system to function, we have integrated the most common payment gateways used in e-commerce. The default payment gateways in Ultimate Multisite are _Stripe_ , _PayPal_ , and Manual Payment. You can also use _WooCommerce_ , _GoCardless_ and _Payfast_ to receive payments by installing their respective add-ons. ## Basic Settings -You can configure any of these payment gateways under Multisite Ultimate payment settings. You can find it by going to **Multisite Ultimate menu > Settings > Payments.** +You can configure any of these payment gateways under Ultimate Multisite payment settings. You can find it by going to **Ultimate Multisite menu > Settings > Payments.** ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-42sl37Fn5G.png) @@ -32,7 +32,7 @@ Before you setup your payment gateway, please take a look at the basic payment s ## Where to find the gateways: -You can setup the payment gateways on the same page ( **Multisite Ultimate > Settings > Payments**). Right below **active payment gateways** , you will be able to see: _Stripe_ , _Stripe_ _Checkout_ , _PayPal_ and _Manual_. +You can setup the payment gateways on the same page ( **Ultimate Multisite > Settings > Payments**). Right below **active payment gateways** , you will be able to see: _Stripe_ , _Stripe_ _Checkout_ , _PayPal_ and _Manual_. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-g9RMYx84r5.png) @@ -48,15 +48,15 @@ Now, if you want to use _WooCommerce_ , _GoCardless_ or _Payfast_ as your paymen ### How to install the WooCommerce add-on: -We understand that _Stripe_ and _PayPal_ are not available in some countries which limit or hinders Multisite Ultimate users from effectively using our plugin. So we created an add-on to integrate _WooCommerce,_ which is a very popular e-commerce plugin. Developers around the world created add-ons to integrate different payment gateways to it. We took advantage of this to extend the payment gateways you can use with the Multisite Ultimate billing system. +We understand that _Stripe_ and _PayPal_ are not available in some countries which limit or hinders Ultimate Multisite users from effectively using our plugin. So we created an add-on to integrate _WooCommerce,_ which is a very popular e-commerce plugin. Developers around the world created add-ons to integrate different payment gateways to it. We took advantage of this to extend the payment gateways you can use with the Ultimate Multisite billing system. -_**IMPORTANT:** Multisite Ultimate: WooCommerce Integration requires WooCommerce to be activated at least on your main site._ +_**IMPORTANT:** Ultimate Multisite: WooCommerce Integration requires WooCommerce to be activated at least on your main site._ -First, please go to the add-ons page. You can find it by going to **Multisite Ultimate > Settings**. You should see the **Add-ons** table. Click on **Check our Add-ons**. +First, please go to the add-ons page. You can find it by going to **Ultimate Multisite > Settings**. You should see the **Add-ons** table. Click on **Check our Add-ons**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-WtOkJNuCsj.png) -After clicking on **Check our Add-ons** , you will be redirected to the add-ons page. Here you can find all Multisite Ultimate add-ons. Click on the **Multisite Ultimate: WooCommerce Integration** add-on. +After clicking on **Check our Add-ons** , you will be redirected to the add-ons page. Here you can find all Ultimate Multisite add-ons. Click on the **Ultimate Multisite: WooCommerce Integration** add-on. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-BmLWqj4yjt.png) @@ -76,7 +76,7 @@ To read more about the WooCommerce Integration add-on, [click here](https://help ### How to install the GoCardless add-on: -The steps to install the _GoCardless_ add-on are pretty much the same as the _WooCommerce_ add-on. Please go to the add-ons page and select the **Multisite Ultimate: GoCardless Gateway** add-on. +The steps to install the _GoCardless_ add-on are pretty much the same as the _WooCommerce_ add-on. Please go to the add-ons page and select the **Ultimate Multisite: GoCardless Gateway** add-on. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-BmLWqj4yjt.png) @@ -92,7 +92,7 @@ To learn how to get started with the _GoCardless_ gateway, [read this article](h ### How to install the Payfast add-on: -Go to the add-ons page and select the **Multisite Ultimate: Payfast Gateway** add-on. +Go to the add-ons page and select the **Ultimate Multisite: Payfast Gateway** add-on. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-BmLWqj4yjt.png) diff --git a/.wiki/getting-started-with-the-gocardless-payment-gateway.md b/.wiki/getting-started-with-the-gocardless-payment-gateway.md index 79bebd931..668876a73 100644 --- a/.wiki/getting-started-with-the-gocardless-payment-gateway.md +++ b/.wiki/getting-started-with-the-gocardless-payment-gateway.md @@ -2,17 +2,17 @@ _GoCardless_ is a payment gateway available in **Europe and in the UK** that allows for **Direct Debit** payments. -The **Multisite Ultimate: GoCardless Gateway** adds _GoCardless_ support to Multisite Ultimate, allowing you to charge your customers in that region using Direct Debit. +The **Ultimate Multisite: GoCardless Gateway** adds _GoCardless_ support to Ultimate Multisite, allowing you to charge your customers in that region using Direct Debit. -This tutorial will cover how to setup _GoCardless_ to start accepting payments through it on your Multisite Ultimate network. +This tutorial will cover how to setup _GoCardless_ to start accepting payments through it on your Ultimate Multisite network. _**Note: GoCardless only works with the following currencies:**_ **EUR, GBP, AUD, SEK, and DKK.** ## Installing the Add-on -First of all, you'll need to install the GoCardless add-on for Multisite Ultimate. You can do that by going to **Multisite Ultimate > Settings > Add-ons (on the sidebar)**. And picking the GoCardless add-on on that list. +First of all, you'll need to install the GoCardless add-on for Ultimate Multisite. You can do that by going to **Ultimate Multisite > Settings > Add-ons (on the sidebar)**. And picking the GoCardless add-on on that list. -After the add-on is installed and activated, go to **Multisite Ultimate > Settings > Payments**, toggle the GoCardless option, and save. +After the add-on is installed and activated, go to **Ultimate Multisite > Settings > Payments**, toggle the GoCardless option, and save. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-VRRNzphbjJ.png) @@ -30,7 +30,7 @@ This will open a new modal window, allowing you to create a new token. Give it a ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-MDY7J5ylvj.png) -The access token will appear on the screen. Copy that over and paste it onto your **Multisite Ultimate > Settings > Payments > GoCardless** menu. +The access token will appear on the screen. Copy that over and paste it onto your **Ultimate Multisite > Settings > Payments > GoCardless** menu. Be sure to place it on the right field. If it's a **live toke** **n** , toggle the **sandbox mode off** before pasting the token. @@ -42,22 +42,22 @@ That's it for the first step. Next, you need to setup a webhook listener. ## Setting up the Webhook Listener -When dealing with subscriptions, Multisite Ultimate needs to hear about changes in the subscription status, new payments being made, and other such things. +When dealing with subscriptions, Ultimate Multisite needs to hear about changes in the subscription status, new payments being made, and other such things. -The way payment gateways notify Multisite Ultimate of those changes is using **webhook calls**. For that reason, in order for the integration to work 100%, we need to tell _GoCardless_ which URL to call with all that info. +The way payment gateways notify Ultimate Multisite of those changes is using **webhook calls**. For that reason, in order for the integration to work 100%, we need to tell _GoCardless_ which URL to call with all that info. Go back to your **GoCardless > Developers** panel and click the Create button again, but this time, select the **Webhook endpoint** option. -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-p3PuOhRO6b.png)A new window will open with the webhook endpoint options. It asks for the webhook URL, so head back to your **Multisite Ultimate settings > Payments > GoCardless** and copy the webhook URL listed in there: +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-p3PuOhRO6b.png)A new window will open with the webhook endpoint options. It asks for the webhook URL, so head back to your **Ultimate Multisite settings > Payments > GoCardless** and copy the webhook URL listed in there: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-7GKJY7tRgV.png) -Additionally, you can enter a **webhook secret** that will be used to sign your webhook calls. Whatever you enter on that field, you'll need to enter on the **Multisite Ultimate Webhook Secret field** as well. +Additionally, you can enter a **webhook secret** that will be used to sign your webhook calls. Whatever you enter on that field, you'll need to enter on the **Ultimate Multisite Webhook Secret field** as well. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ICXNY1PnA6.png) ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-YIJv3UFhhz.png) -Finish up by saving the endpoint by clicking the **Create webhook endpoint** button and then **save your Multisite Ultimate settings as well**. +Finish up by saving the endpoint by clicking the **Create webhook endpoint** button and then **save your Ultimate Multisite settings as well**. You should be ready to accept _GoCardless_ now! diff --git a/.wiki/getting-started-with-the-payfast-payment-gateway.md b/.wiki/getting-started-with-the-payfast-payment-gateway.md index af3ad4728..ec8091cd2 100644 --- a/.wiki/getting-started-with-the-payfast-payment-gateway.md +++ b/.wiki/getting-started-with-the-payfast-payment-gateway.md @@ -1,12 +1,12 @@ # Getting Started with the PayFast Payment Gateway -PayFast is a leading online payment processor for businesses in South Africa. It’s dedicated to helping online merchants grow by making transactions seamless and secure. As per Multisite Ultimate user's request, we decided to create an addon that will make integration with PayFast possible. This article with show how to set up PayFast as your payment gateway to receive payment in your Multisite Ultimate network. +PayFast is a leading online payment processor for businesses in South Africa. It’s dedicated to helping online merchants grow by making transactions seamless and secure. As per Ultimate Multisite user's request, we decided to create an addon that will make integration with PayFast possible. This article with show how to set up PayFast as your payment gateway to receive payment in your Ultimate Multisite network. The first step is to install the add on. # How to install the Payfast add-on: -Go to the add-ons page and select the Multisite Ultimate: Payfast Gateway add-on. +Go to the add-ons page and select the Ultimate Multisite: Payfast Gateway add-on. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-BmLWqj4yjt.png) @@ -20,9 +20,9 @@ After the installation is done, you will be redirected to the plugins page. Here # Setting Up PayFast -After installing the add-on, you can now go to Multisite Ultimate settings and start to configure PayFast. +After installing the add-on, you can now go to Ultimate Multisite settings and start to configure PayFast. -Under **Multisite Ultimate settings** page, you can find the "Payments" tab. Under this tab, you should "**Payfast** " along with a toggle button to enable or disable this payment gateway. +Under **Ultimate Multisite settings** page, you can find the "Payments" tab. Under this tab, you should "**Payfast** " along with a toggle button to enable or disable this payment gateway. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-07bPkaGJka.png)Go ahead and click the toggle button to enable it. It will then expand the box to show different fields that you need to populate such as **Mechant ID, Merchant Key and PassPhrase.** You can get this information from your **Payfast** account @@ -32,7 +32,7 @@ The next step is to login to your PayFast account to get the information you nee Upon logging in, you can immediately see the credentials you need from your **Payfast** account dashboard. -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-KW0WnsxHIW.png)You can simply copy and paste the credential and populate the details on your Multisite Ultimate settings. Then click the **"Save settings** " button to save the changes. +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-KW0WnsxHIW.png)You can simply copy and paste the credential and populate the details on your Ultimate Multisite settings. Then click the **"Save settings** " button to save the changes. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-5MIrG21r3e.png) diff --git a/.wiki/how-can-i-access-my-account-page-for-the-first-time.md b/.wiki/how-can-i-access-my-account-page-for-the-first-time.md index cd74a8c95..85d4e36bd 100644 --- a/.wiki/how-can-i-access-my-account-page-for-the-first-time.md +++ b/.wiki/how-can-i-access-my-account-page-for-the-first-time.md @@ -1,6 +1,6 @@ # How can I access my account page for the first time? -Welcome to Multisite Ultimate! +Welcome to Ultimate Multisite! Access your account page through the link you received in your e-mail after buying our plugin: diff --git a/.wiki/how-can-i-cancel-my-subscription.md b/.wiki/how-can-i-cancel-my-subscription.md index 5a0291df2..d66372634 100644 --- a/.wiki/how-can-i-cancel-my-subscription.md +++ b/.wiki/how-can-i-cancel-my-subscription.md @@ -1,8 +1,8 @@ # How can I cancel my subscription? -If you have a Multisite Ultimate license, you can cancel its renewal at any time you want. Just follow the steps below: +If you have a Ultimate Multisite license, you can cancel its renewal at any time you want. Just follow the steps below: -Access your Freemius account page through the link you received in your e-mail after buying Multisite Ultimate: +Access your Freemius account page through the link you received in your e-mail after buying Ultimate Multisite: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-602125811f25b9041bebc762-kFXPifHWo-Account.png) diff --git a/.wiki/how-do-i-install-wordpress-multisite.md b/.wiki/how-do-i-install-wordpress-multisite.md index a01812ebe..098bd5285 100644 --- a/.wiki/how-do-i-install-wordpress-multisite.md +++ b/.wiki/how-do-i-install-wordpress-multisite.md @@ -2,7 +2,7 @@ WordPress Multisite allows you to have a network of sites on a single installation. This is a built-in feature, but it’s not active by default. -Since Multisite Ultimate is a network-only plugin, in this tutorial, you are going to learn how to install and set up WordPress Multisite. This text is based on [How to Install and Setup WordPress Multisite Network](https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/), from WPBeginner. +Since Ultimate Multisite is a network-only plugin, in this tutorial, you are going to learn how to install and set up WordPress Multisite. This text is based on [How to Install and Setup WordPress Multisite Network](https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/), from WPBeginner. **Things to pay attention to before creating your multisite network:** @@ -62,7 +62,7 @@ Use an FTP client or a file manager (if you are using something like cPanel, for Finally, re-login to your WordPress site to access your multisite network. -**It is important to test and make sure that you are able to create a subsite on your WordPress Multisite installation before you install Multisite Ultimate.** +**It is important to test and make sure that you are able to create a subsite on your WordPress Multisite installation before you install Ultimate Multisite.** To create a subsite: diff --git a/.wiki/how-to-configure-domain-mapping-v1.md b/.wiki/how-to-configure-domain-mapping-v1.md index 942e742c4..5198dc331 100644 --- a/.wiki/how-to-configure-domain-mapping-v1.md +++ b/.wiki/how-to-configure-domain-mapping-v1.md @@ -1,26 +1,26 @@ # How to configure domain mapping (v1) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 1.x. If you're using v2,**_ [_**see this article**_](1677127282-domain-mapping.html) _**.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 1.x. If you're using v2,**_ [_**see this article**_](1677127282-domain-mapping.html) _**.**_ -A powerful feature of a premium network is the ability to offer your clients a chance to attach a top-level domain to their sites. After all, [_**joesbikeshop.com**_](http://joesbikeshop.com) sounds much more professional than [ _**joesbikeshop.yournetwork.com**_](http://joesbikeshop.yournetwork.com) _,_ right? That’s why Multisite Ultimate offers this feature baked-in, and you don't need to rely on other third-party plugins. +A powerful feature of a premium network is the ability to offer your clients a chance to attach a top-level domain to their sites. After all, [_**joesbikeshop.com**_](http://joesbikeshop.com) sounds much more professional than [ _**joesbikeshop.yournetwork.com**_](http://joesbikeshop.yournetwork.com) _,_ right? That’s why Ultimate Multisite offers this feature baked-in, and you don't need to rely on other third-party plugins. ## **What’s domain mapping?** -As the name suggests, domain mapping is the ability offered by Multisite Ultimate to take in a request for a custom domain and map that request to the corresponding site in the network with that particular domain attached. +As the name suggests, domain mapping is the ability offered by Ultimate Multisite to take in a request for a custom domain and map that request to the corresponding site in the network with that particular domain attached. -## **How to setup domain mapping on your Multisite Ultimate Network** +## **How to setup domain mapping on your Ultimate Multisite Network** -Domain mapping requires some setting up on your part to work. Thankfully, Multisite Ultimate automates your hard work so you can easily meet the requirements. +Domain mapping requires some setting up on your part to work. Thankfully, Ultimate Multisite automates your hard work so you can easily meet the requirements. -During Multisite Ultimate installation, on the _Settings_ part, you can check the _Enable Domain Mapping_ option. +During Ultimate Multisite installation, on the _Settings_ part, you can check the _Enable Domain Mapping_ option. ![](https://support.delta.nextpress.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZzBmIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d6cf9dec743cbebabf65e138bcbe50568e714107/DM%201.png) -Alternatively, you can also enable this option on **Multisite Ultimate > Settings > Domain Mapping and SSL**. +Alternatively, you can also enable this option on **Ultimate Multisite > Settings > Domain Mapping and SSL**. ![](https://support.delta.nextpress.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZzRmIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0183f6725100a93b99d98dd7727334f530897747/Captura%20de%20Pantalla%202023-10-09%20a%20la\(s\)%2016.51.56.png) -_**NOTE:** To have the custom domain mapping working correctly, it is important to make sure you have the `sunrise.php` file from your `wp-ultimo` directory copied to your `wp-content` directory, and to have added `define('SUNRISE', true);` to your `wp-config.php` file, as shown in the Multisite Ultimate Wizard Setup._ +_**NOTE:** To have the custom domain mapping working correctly, it is important to make sure you have the `sunrise.php` file from your `wp-ultimo` directory copied to your `wp-content` directory, and to have added `define('SUNRISE', true);` to your `wp-config.php` file, as shown in the Ultimate Multisite Wizard Setup._ To make custom domains available to plans, check the option inside the specific plan editing page, on the _**Plan Settings**_ tab. @@ -28,7 +28,7 @@ To make custom domains available to plans, check the option inside the specific ## **Making sure the domain DNS settings are properly configured** -For a mapping to work, you need to make sure the domain you are planning to map is pointing to your Network’s IP address. Note that you need the Network IP address - the IP address of the domain where Multisite Ultimate is installed - not the IP address of the custom domain you want to map. To search for the IP address of a specific domain, we suggest going to [Site24x7](https://www.site24x7.com/find-ip-address-of-web-site.html), for example. +For a mapping to work, you need to make sure the domain you are planning to map is pointing to your Network’s IP address. Note that you need the Network IP address - the IP address of the domain where Ultimate Multisite is installed - not the IP address of the custom domain you want to map. To search for the IP address of a specific domain, we suggest going to [Site24x7](https://www.site24x7.com/find-ip-address-of-web-site.html), for example. To correctly map the domain, you need to add an **A RECORD** on your **DNS** configuration pointing to that **IP address**. DNS management varies greatly between different domain registrars, but there are plenty of tutorials online covering that if you search for “ _Creating A Record on XXXX_ ” where XXXX is your domain registrar (ex.: " _Creating A Record on_ _GoDaddy_ ”). diff --git a/.wiki/how-to-configure-domain-mapping-v2.md b/.wiki/how-to-configure-domain-mapping-v2.md index 0e7620d32..06cf641d2 100644 --- a/.wiki/how-to-configure-domain-mapping-v2.md +++ b/.wiki/how-to-configure-domain-mapping-v2.md @@ -1,26 +1,26 @@ # How to Configure Domain Mapping (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x. If you're using v1, see**_ [_**this article**_](1696869830-how-to-configure-domain-mapping.html) _**.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x. If you're using v1, see**_ [_**this article**_](1696869830-how-to-configure-domain-mapping.html) _**.**_ -One of the most powerful features of a premium network is the ability to offer our clients a chance to attach a top-level domain to their sites. After all, which looks more professional: [_**joesbikeshop.yournetwork.com**_](http://joesbikeshop.yournetwork.com) or [_**joesbikeshop.com**_](http://joesbikeshop.com)? That’s why Multisite Ultimate offers that feature baked-in, without the need to use third-party plugins. +One of the most powerful features of a premium network is the ability to offer our clients a chance to attach a top-level domain to their sites. After all, which looks more professional: [_**joesbikeshop.yournetwork.com**_](http://joesbikeshop.yournetwork.com) or [_**joesbikeshop.com**_](http://joesbikeshop.com)? That’s why Ultimate Multisite offers that feature baked-in, without the need to use third-party plugins. ## What’s domain mapping? -As the name suggests, domain mapping is the ability offered by Multisite Ultimate to take in a request for a custom domain and map that request to the corresponding site in the network with that particular domain attached. +As the name suggests, domain mapping is the ability offered by Ultimate Multisite to take in a request for a custom domain and map that request to the corresponding site in the network with that particular domain attached. -### How to setup domain mapping on your Multisite Ultimate Network +### How to setup domain mapping on your Ultimate Multisite Network -Domain mapping requires some setting up on your part to work. Thankfully, Multisite Ultimate automates the hard work for you so you can easily meet the requirements. +Domain mapping requires some setting up on your part to work. Thankfully, Ultimate Multisite automates the hard work for you so you can easily meet the requirements. -During Multisite Ultimate installation, the wizard will automatically copy and install the **sunrise.php** to the designated folder. **The wizard won't allow you to proceed until this step is completed**. +During Ultimate Multisite installation, the wizard will automatically copy and install the **sunrise.php** to the designated folder. **The wizard won't allow you to proceed until this step is completed**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-zrBdFs13Dy.png) -This means that once the Multisite Ultimate installation wizard has completed setting up your network, you can start mapping the custom domain right away. +This means that once the Ultimate Multisite installation wizard has completed setting up your network, you can start mapping the custom domain right away. -Note that domain mapping in Multisite Ultimate is not mandatory. You have an option to use WordPress Multisite native domain mapping function or any other domain mapping solution. +Note that domain mapping in Ultimate Multisite is not mandatory. You have an option to use WordPress Multisite native domain mapping function or any other domain mapping solution. -Should you need to disable Multisite Ultimate domain mapping to give way to other domain mapping solutions, you can disable this feature under **Multisite Ultimate > Settings > Domain Mapping**. +Should you need to disable Ultimate Multisite domain mapping to give way to other domain mapping solutions, you can disable this feature under **Ultimate Multisite > Settings > Domain Mapping**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-bbrC47pTcX.png) @@ -42,7 +42,7 @@ But before you start mapping the custom domain to one of the subsites in your ne ### Making sure the domain DNS settings are properly configured -For a mapping to work, you need to make sure the domain you are planning to map is pointing to your Network’s IP address. Note that you need the Network IP address - the IP address of the domain where Multisite Ultimate is installed - not the IP address of the custom domain you want to map. To search for the IP address of a specific domain, we suggest going to [Site24x7](https://www.site24x7.com/find-ip-address-of-web-site.html), for example. +For a mapping to work, you need to make sure the domain you are planning to map is pointing to your Network’s IP address. Note that you need the Network IP address - the IP address of the domain where Ultimate Multisite is installed - not the IP address of the custom domain you want to map. To search for the IP address of a specific domain, we suggest going to [Site24x7](https://www.site24x7.com/find-ip-address-of-web-site.html), for example. To correctly map the domain, you need to add an **A RECORD** on your **DNS** configuration pointing to that **IP address**. DNS management varies greatly between different domain registrars, but there’s plenty of tutorials online covering that if you search for “ _Creating A Record on XXXX_ ” where XXXX is your domain registrar (ex.: " _Creating A Record on_ _GoDaddy_ ”). @@ -52,7 +52,7 @@ If you plan to allow your clients to map their own domains, they will have to do ### Mapping custom domain name as Super Admin -When you are logged in as super admin on your network, you can easily add and manage custom domain names by going under **Multisite Ultimate > Domains**. +When you are logged in as super admin on your network, you can easily add and manage custom domain names by going under **Ultimate Multisite > Domains**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-5XxtXP622s.png) @@ -74,7 +74,7 @@ If you click on the domain name, you will be able to see some options inside it. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-5tCiNUIKih.png) -**Stage:** This is the stage that the domain is at. When you first add the domain, it will probably be on the **Checking DNS** stage. The process will check for the DNS entries and confirm they are correct. Then, the domain will be put at the **Checking SSL** stage. Multisite Ultimate will check if the domain has SSL or not and will categorize your domain as **Ready** or **Ready (without SSL)**. +**Stage:** This is the stage that the domain is at. When you first add the domain, it will probably be on the **Checking DNS** stage. The process will check for the DNS entries and confirm they are correct. Then, the domain will be put at the **Checking SSL** stage. Ultimate Multisite will check if the domain has SSL or not and will categorize your domain as **Ready** or **Ready (without SSL)**. **Site:** The subdomain that is associated with this domain. The mapped domain will show the content of this specific site. @@ -82,7 +82,7 @@ If you click on the domain name, you will be able to see some options inside it. **Is Primary Domain?:** Your customers can have more than one mapped domain for each site. Use this option to select if this is the primary domain for the specific site. -**Is Secure?:** Even though Multisite Ultimate checks if the domain has a SSL certificate or not before enabling it, you can manually select to load the domain with or without a SSL certificate. Note that if the website does not have a SSL certificate and you try to force load it with SSL, it may give you errors. +**Is Secure?:** Even though Ultimate Multisite checks if the domain has a SSL certificate or not before enabling it, you can manually select to load the domain with or without a SSL certificate. Note that if the website does not have a SSL certificate and you try to force load it with SSL, it may give you errors. ### Mapping custom domain name as Subsite user @@ -92,7 +92,7 @@ First, you need to make sure that you enable this option under the **Domain mapp ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-M3MO6RKBWe.png) -You can also set or configure this option under the **Plan** level or product options on **Multisite Ultimate > Products**. +You can also set or configure this option under the **Plan** level or product options on **Ultimate Multisite > Products**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-JRqx7Uhqsa.png) @@ -112,11 +112,11 @@ The user can then click **Next Step** and proceed to add the custom domain name. ### About Domain Syncing -Domain Syncing is a process where Multisite Ultimate adds the custom domain name to your hosting account as an add-on domain **for the domain mapping to work**. +Domain Syncing is a process where Ultimate Multisite adds the custom domain name to your hosting account as an add-on domain **for the domain mapping to work**. -Domain syncing automatically happens if your hosting provider has integration with the Multisite Ultimate domain mapping feature. Currently, these hosting providers are _Runcloud, Closte, WP Engine, Gridpane, WPMU Dev, Cloudways,_ and _Cpanel._ +Domain syncing automatically happens if your hosting provider has integration with the Ultimate Multisite domain mapping feature. Currently, these hosting providers are _Runcloud, Closte, WP Engine, Gridpane, WPMU Dev, Cloudways,_ and _Cpanel._ -You will need to activate this integration on Multisite Ultimate settings under the **Integration** tab. +You will need to activate this integration on Ultimate Multisite settings under the **Integration** tab. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-k6i46r4x2yddii0op4x343jizq20) diff --git a/.wiki/how-to-export-and-import-a-site-with-wp-ultimo-site-exporter.md b/.wiki/how-to-export-and-import-a-site-with-wp-ultimo-site-exporter.md index b751bcd53..32637e2e4 100644 --- a/.wiki/how-to-export-and-import-a-site-with-wp-ultimo-site-exporter.md +++ b/.wiki/how-to-export-and-import-a-site-with-wp-ultimo-site-exporter.md @@ -1,20 +1,20 @@ -# How to Export and Import a Site with Multisite Ultimate Site Exporter +# How to Export and Import a Site with Ultimate Multisite Site Exporter -With Multisite Ultimate you can export a site from your network or import a site to your multisite or single-site installation. +With Ultimate Multisite you can export a site from your network or import a site to your multisite or single-site installation. -To start the process, go to our add-ons page and install the Multisite Ultimate: Site Exporter & Importer add-on.![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Lqw9doe4z7gj8zUEL9fr6rLILFhIzxlBcvuGXbQEzvFaaF23mTxT0eUoZF9U2-vriFmtQ0S7GApzZfTHmtX2Y30WT0ZOLaNyJz9NJXgulN-m6lxDLnTj8ZkUbB4pjFsuwg=s0) +To start the process, go to our add-ons page and install the Ultimate Multisite: Site Exporter & Importer add-on.![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Lqw9doe4z7gj8zUEL9fr6rLILFhIzxlBcvuGXbQEzvFaaF23mTxT0eUoZF9U2-vriFmtQ0S7GApzZfTHmtX2Y30WT0ZOLaNyJz9NJXgulN-m6lxDLnTj8ZkUbB4pjFsuwg=s0) ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-bQLLuSYRc8EV0847ClF4-NtydKOK_dfZB9R2LU83zsk5tcVg5ssefeic2salk71aODh0pPc29Mx2NW_0SdU0oFbim7_Doo6_YWma1g--w-8Bf3h5jE_k8jH8uTmpRdxiCA=s0) Go to your Plugins page and click to **Network Activate** the add-on you have just installed.![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-maSntBZbvUO_73Pg41Pwo6oIOp88zQoLbIMvCHKWHTeKnRrOMqdn-XkO6nipjyw2HvmPWoasBt1kQ9iLfbaHUmcYVTalI9UnvMl2EscziwRtMn8Lf0_lvdOcZS7NiPZmwQ=s0) -The **Export & Import** option can be found on the Multisite Ultimate menu, on the left. +The **Export & Import** option can be found on the Ultimate Multisite menu, on the left. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-eo66Pk838Qi8EC294OJ51-Y_CtPbARuPgV7Sq2gkGfRDr7mUJOg7yGtaAmWGTruq7IO3PAzAtC-MXADReu6jCW-cnauv9fab9WEfv4BBrgYgwWBsMZ1owvrULgNrxNJH4A=s0) ## How to export a site -To export a site from your network, go to **Export & Import** on the Multisite Ultimate menu and, on the **Export Sites** tab, click to **Generate new Site Export**. +To export a site from your network, go to **Export & Import** on the Ultimate Multisite menu and, on the **Export Sites** tab, click to **Generate new Site Export**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-_bBztobh1xIFoj0Zo3zo7bx842u3XFMgpc2b8kiHmGmBU6RjuxlSOSY4ZNzaWTPOJrb0TIW_Q0Dv9WvT0yD-WwOkZ7bR36Ij5aJa_l19cDTfuj9DADQqI5dGy3eIeUmoQA=s0) diff --git a/.wiki/how-to-get-custom-development-help-from-codeable.md b/.wiki/how-to-get-custom-development-help-from-codeable.md index ef4ff1235..f09f39834 100644 --- a/.wiki/how-to-get-custom-development-help-from-codeable.md +++ b/.wiki/how-to-get-custom-development-help-from-codeable.md @@ -1,6 +1,6 @@ # How to Get Custom Development Help from Codeable? -Sometimes, we really need some awesome customization to make our network flows exactly the way we want. If that's what you are looking for, we recommend [Codeable](https://codeable.io/partners/wpultimo/?ref=7wHwE), a place where you can find experienced developers with Multisite Ultimate expertise. +Sometimes, we really need some awesome customization to make our network flows exactly the way we want. If that's what you are looking for, we recommend [Codeable](https://codeable.io/partners/wpultimo/?ref=7wHwE), a place where you can find experienced developers with Ultimate Multisite expertise. [Codeable](https://codeable.io/partners/wpultimo/?ref=7wHwE) is a platform connecting customers with qualified WordPress freelance developers, able to work on projects of any size. They have a meticulous application process to ensure you are matched with experts specifically qualified for the task you have in mind. @@ -40,7 +40,7 @@ After that, if you don't have a [Codeable](https://codeable.io/partners/wpultimo Once you have published your [Codeable](https://codeable.io/partners/wpultimo/?ref=7wHwE) project, the platform will connect you with developers who match the skill set required for your project. -This process will help to find the right person for your job, who has experience with WordPress and Multisite Ultimate! +This process will help to find the right person for your job, who has experience with WordPress and Ultimate Multisite! Codeable's minimum rate is $70–$120 USD per hour. Estimates will change according to the scope of work, complexity, and urgency of a project. diff --git a/.wiki/how-to-get-help.md b/.wiki/how-to-get-help.md index b6504d944..7f1d5deb9 100644 --- a/.wiki/how-to-get-help.md +++ b/.wiki/how-to-get-help.md @@ -1,6 +1,6 @@ # How to get help -You got your valid License key, and attached to that is access to our team to help you solve issues you might encounter during your time setting up Multisite Ultimate. +You got your valid License key, and attached to that is access to our team to help you solve issues you might encounter during your time setting up Ultimate Multisite. This lesson covers the available support channels for license holders and what kind of info you'll need to have at hand to contact our support team. @@ -10,7 +10,7 @@ You can access different articles and tutorials from our help site which you can [https://help.wpultimo.com/](../../../index.html) -We encourage our users to familiarize themselves with Multisite Ultimate's basic features and functions. There are "Getting Started" articles available on our help site and answers to common questions can be found there as well, like how to install add-ons, how to integrate payment gateways, etc. +We encourage our users to familiarize themselves with Ultimate Multisite's basic features and functions. There are "Getting Started" articles available on our help site and answers to common questions can be found there as well, like how to install add-ons, how to integrate payment gateways, etc. ## Contact Support @@ -20,4 +20,4 @@ When contacting support for technical issues, please make sure you provide a det ## Community Site -Our [community site](https://community.wpultimo.com/) is a venue for Multisite Ultimate users to interact with each other. It serves as an information system where members can post, comment on discussions, give advice, collaborate, or crowdsource. You will be required to provide your Multisite Ultimate license key to unlock private spaces/pages. +Our [community site](https://community.wpultimo.com/) is a venue for Ultimate Multisite users to interact with each other. It serves as an information system where members can post, comment on discussions, give advice, collaborate, or crowdsource. You will be required to provide your Ultimate Multisite license key to unlock private spaces/pages. diff --git a/.wiki/how-to-join-wp-ultimo-community.md b/.wiki/how-to-join-wp-ultimo-community.md index 2cc277d2c..ad20e2d91 100644 --- a/.wiki/how-to-join-wp-ultimo-community.md +++ b/.wiki/how-to-join-wp-ultimo-community.md @@ -1,6 +1,6 @@ -# How to join Multisite Ultimate Community +# How to join Ultimate Multisite Community -Multisite Ultimate Community is a space where you can get in touch with other Multisite Ultimate users and share tips, experiences and more. To access Multisite Ultimate Community go to . +Ultimate Multisite Community is a space where you can get in touch with other Ultimate Multisite users and share tips, experiences and more. To access Ultimate Multisite Community go to . On the welcome page go to the “**creating your account here** ” link. @@ -22,11 +22,11 @@ Channels on the Lounge section and the “Dev Logs” channel are open to everyo ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-h2Ybqs4sD2JxYu6ceMlrJLZKgWCkO9LMNR8c09jQf_yzTQJda7zb0eic7auD7zAjP9cTOdEOCTev9EpetxTNM8vvI7Jp9s6i3fkjrd-tXhzJiALAfD4mLRiCW57d6PgevRsRUsfs) -This access will be granted once you provide us with your active Multisite Ultimate license key. To do it click on any private channel link and then click the **Unlock** button. +This access will be granted once you provide us with your active Ultimate Multisite license key. To do it click on any private channel link and then click the **Unlock** button. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Q73mIIR_XXf63IK9-B7CJ54JSBp9T-O9k7RBUthwaIdlFUoak1q6TZe--Ul6BUtDKphEyBuO4nxYTq2cFstYGRImf4B-9V6vsQqvNjtDj7qBXaUdbkbZ5R9wnWAYwDyoRO29lIUC) -You will be redirected to our unlock access page. Enter your Multisite Ultimate license key and click the Unlock Access button: +You will be redirected to our unlock access page. Enter your Ultimate Multisite license key and click the Unlock Access button: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-LFwxVXeXZ-DI-FVxgZEKBRsb2SrTNwj4rRApgnpHPMBcCP6kLGzuOH7cbbVu5zqK4QUVeI9-VsvhT7g898JWESYtIirLhjBfOXTTk9x_NEVLySSsu6IWllulx4DSf7AOU2hRguZq) diff --git a/.wiki/how-to-use-wp-ultimo-snippets-on-our-github-repository.md b/.wiki/how-to-use-wp-ultimo-snippets-on-our-github-repository.md index 55eef9453..f9cf28755 100644 --- a/.wiki/how-to-use-wp-ultimo-snippets-on-our-github-repository.md +++ b/.wiki/how-to-use-wp-ultimo-snippets-on-our-github-repository.md @@ -1,6 +1,6 @@ -# How to use Multisite Ultimate snippets on our GitHub repository +# How to use Ultimate Multisite snippets on our GitHub repository -There are code snippets available in GitHub repository that are frequently requested by Multisite Ultimate users who wish to add small functionalities like adding Google Analytics script on sign-up pages or hiding a meta box from the admin dashboard. +There are code snippets available in GitHub repository that are frequently requested by Ultimate Multisite users who wish to add small functionalities like adding Google Analytics script on sign-up pages or hiding a meta box from the admin dashboard. This article will show you how to use or more specifically where to place these codes. @@ -20,7 +20,7 @@ There are 2 ways for you to add the code 2. On the "Edit Themes" page, make sure that you have your active theme selected on the dropdown field located on the upper right-hand side of your screen (#3 on the screenshot below). - 3. Click the functions.php file under the "Theme Files" section to load the file. Scroll down at the bottom and paste the Multisite Ultimate snippet you got from GitHub repository. + 3. Click the functions.php file under the "Theme Files" section to load the file. Scroll down at the bottom and paste the Ultimate Multisite snippet you got from GitHub repository. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-image.png) @@ -38,4 +38,4 @@ These special mu-plugins are loaded before all other regular plugins, and they c 3\. Create a new PHP file on your computer named wu-snippet.php using Notepad or any code editor. -4\. Place the Multisite Ultimate code snippet you got GitHub repository into the file and save it. You can also add this code on top of the code snippet to label your mu plugin. +4\. Place the Ultimate Multisite code snippet you got GitHub repository into the file and save it. You can also add this code on top of the code snippet to label your mu plugin. diff --git a/.wiki/installing-wp-ultimo-v2.md b/.wiki/installing-wp-ultimo-v2.md index 0d00774cf..063aa9ec4 100644 --- a/.wiki/installing-wp-ultimo-v2.md +++ b/.wiki/installing-wp-ultimo-v2.md @@ -1,26 +1,26 @@ -# Installing Multisite Ultimate (v2) +# Installing Ultimate Multisite (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ _**NOTE:** This tutorial assumes that you already have your WordPress Multisite installed and configured. To see how you can install and configure WP Multisite, take a look at_ [_this tutorial_](https://www.wpbeginner.com/glossary/multisite/) _by WP Beginner._ The time has come! -You finally have everything you need to get started building your online business with WordPress Multisite and Multisite Ultimate. +You finally have everything you need to get started building your online business with WordPress Multisite and Ultimate Multisite. -Now, how do you install Multisite Ultimate? +Now, how do you install Ultimate Multisite? ## Getting the plugin's .zip file -After finishing your Multisite Ultimate purchase, you will receive an email with the .zip file of our plugin and your license key. +After finishing your Ultimate Multisite purchase, you will receive an email with the .zip file of our plugin and your license key. -![Freemius email with Multisite Ultimate .zip file and your license key](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-SJrIP7WCKD.png) +![Freemius email with Ultimate Multisite .zip file and your license key](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-SJrIP7WCKD.png) -Keep in mind this download link expires after some time, so if you want to download Multisite Ultimate after the link expires, you would need to do it by signing into your [Freemius account](https://help.wpultimo.com/article/282-how-can-i-access-my-account-page-for-the-first-time) and downloading it from there. +Keep in mind this download link expires after some time, so if you want to download Ultimate Multisite after the link expires, you would need to do it by signing into your [Freemius account](https://help.wpultimo.com/article/282-how-can-i-access-my-account-page-for-the-first-time) and downloading it from there. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-5TZCOQGhZ2.png) -Remember to also have your **license key** ready, since you will need it to activate Multisite Ultimate. +Remember to also have your **license key** ready, since you will need it to activate Ultimate Multisite. ### Where to find your license key @@ -28,7 +28,7 @@ You can find your License key on the email you received after the purchase and i ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-u0gaB13yA7.png) -## How to install Multisite Ultimate +## How to install Ultimate Multisite After getting the file, go to your network Dashboard and access the **Plugins** page where you can manage all the plugins you have. @@ -36,15 +36,15 @@ After getting the file, go to your network Dashboard and access the **Plugins** There, click **Add New** and then, **Upload Plugin**. -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-0EBR5s3CV9.png)Choose the .zip file of Multisite Ultimate and click **Install Now** *.* +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-0EBR5s3CV9.png)Choose the .zip file of Ultimate Multisite and click **Install Now** *.* -![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-S1Ocb8uDqc.png)You should receive a confirmation message. Right below this message click to Network Activate your plugin, since Multisite Ultimate is a multisite plugin and needs to be activated network-wide. +![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-S1Ocb8uDqc.png)You should receive a confirmation message. Right below this message click to Network Activate your plugin, since Ultimate Multisite is a multisite plugin and needs to be activated network-wide. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-TJdlVeDLaT.png) That will redirect you to our Setup Wizard. -_**NOTE:** If you have Multisite Ultimate 1.x installed on your Multisite, you'll have the option to replace the plugin with the version you've just downloaded. Please, go ahead and click to **Replace current with uploaded**._ +_**NOTE:** If you have Ultimate Multisite 1.x installed on your Multisite, you'll have the option to replace the plugin with the version you've just downloaded. Please, go ahead and click to **Replace current with uploaded**._ ![](https://support.delta.nextpress.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBcDhjIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e05ff580eff348cd6375b85e29dc5f706cef773f/Migration.png) @@ -54,17 +54,17 @@ Here you are able to set up your network in a few minutes by clicking Get Starte ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-xu9x5Ic4On.png) -This will redirect you to the Pre-Install Checks where you can find your System Information and WordPress installation. This will tell you if it meets Multisite Ultimate's requirements. If everything is ok, click to Go to the Next Step. +This will redirect you to the Pre-Install Checks where you can find your System Information and WordPress installation. This will tell you if it meets Ultimate Multisite's requirements. If everything is ok, click to Go to the Next Step. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-mXkWim2aqC.png) -The next step is to key in your Multisite Ultimate license key (that Freemius sent you by email or that you downloaded on your Freemius dashboard) and activate the plugin. This will ensure that all the features including add-ons will be available on your site. +The next step is to key in your Ultimate Multisite license key (that Freemius sent you by email or that you downloaded on your Freemius dashboard) and activate the plugin. This will ensure that all the features including add-ons will be available on your site. After putting in your key, click Agree & Activate_._ ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-dI5kglEI2P.png) -After license activation, you can start the actual installation by clicking Install on the next page. This will automatically create the necessary files and database for Multisite Ultimate to function. +After license activation, you can start the actual installation by clicking Install on the next page. This will automatically create the necessary files and database for Ultimate Multisite to function. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-V0e2172hOG.png) @@ -74,10 +74,10 @@ After you set these parameters, click Continue to go to the next step. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-8toN93TqK3.png) -The following page will allow you to install predefined templates, products, etc. This will help you get started and serve as your guide to familiarize yourself with managing Multisite Ultimate features. +The following page will allow you to install predefined templates, products, etc. This will help you get started and serve as your guide to familiarize yourself with managing Ultimate Multisite features. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-4Fo6tjsHxf.png) -And this is all it takes! You can click Finish and start navigating Multisite Ultimate from the left-hand side of your [network Admin Dashboard](https://help.wpultimo.com/article/330-understanding-the-wp-ultimo-dashboard). +And this is all it takes! You can click Finish and start navigating Ultimate Multisite from the left-hand side of your [network Admin Dashboard](https://help.wpultimo.com/article/330-understanding-the-wp-ultimo-dashboard). ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-feDUW5fW4o.png)Go ahead and have some fun! diff --git a/.wiki/integrating-wp-ultimo-with-zapier.md b/.wiki/integrating-wp-ultimo-with-zapier.md index 0ab7f3a64..8d6093ace 100644 --- a/.wiki/integrating-wp-ultimo-with-zapier.md +++ b/.wiki/integrating-wp-ultimo-with-zapier.md @@ -1,4 +1,4 @@ -# Integrating Multisite Ultimate with Zapier +# Integrating Ultimate Multisite with Zapier In one of the articles, we discussed [Webhooks](1677127281-a-first-look-on-webhooks.html)[ ](https://help.wpultimo.com/article/432-webhooks)and how they can be used to integrate with 3rd party applications. @@ -6,13 +6,13 @@ Using webhooks is a bit complicated as it requires advanced knowledge in coding Zapier has integration with over 5000+ apps which makes communication between different applications easier. -You can create **Triggers** that will be set off when events happen on your network (eg an account is created and triggers the account_create event) or generate **Actions** on your network reacting to external events (eg create a new account membership in your Multisite Ultimate network). +You can create **Triggers** that will be set off when events happen on your network (eg an account is created and triggers the account_create event) or generate **Actions** on your network reacting to external events (eg create a new account membership in your Ultimate Multisite network). -This is possible because **Multisite Ultimate Zapier's triggers** and actions are powered by the [REST API](https://developer.wpultimo.com/api/docs/). +This is possible because **Ultimate Multisite Zapier's triggers** and actions are powered by the [REST API](https://developer.wpultimo.com/api/docs/). ## How to start -First, search for Multisite Ultimate in the Zapier app list. Alternatively, you can click [this link](https://zapier.com/apps/wp-ultimo/integrations). +First, search for Ultimate Multisite in the Zapier app list. Alternatively, you can click [this link](https://zapier.com/apps/wp-ultimo/integrations). Go to your dashboard and press the **+** **Create Zap** button on the left sidebar to set up a new Zap. @@ -24,7 +24,7 @@ In the search box type "wp ultimo". Click to choose the **Beta** version option. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-BrOYbp7dSE.png) -After selecting our app, choose the available event: **New Multisite Ultimate Event**. +After selecting our app, choose the available event: **New Ultimate Multisite Event**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-srblXqJnQE.png) @@ -32,7 +32,7 @@ Now we need to give Zapier access to **your network**. Clicking in **Sign in** w ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-HcULsQoFpZ.png) -Go to your network admin panel and navigate to **Multisite Ultimate > Settings** > **API & Webhooks** and look for the API Settings section. +Go to your network admin panel and navigate to **Ultimate Multisite > Settings** > **API & Webhooks** and look for the API Settings section. Select the **Enable API** option as it is required for this connection to work. @@ -66,7 +66,7 @@ In our tutorial the test was **completed successfully** and returned the payload Actions use information from other triggers to create new entries in your network. -In the **creating an action step** you will choose the Multisite Ultimate **Beta** and the option of **Create Items on Multisite Ultimate**. +In the **creating an action step** you will choose the Ultimate Multisite **Beta** and the option of **Create Items on Ultimate Multisite**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-swCbHP8jNG.png) diff --git a/.wiki/known-incompatibilities-with-other-plugins.md b/.wiki/known-incompatibilities-with-other-plugins.md index 9c12892fe..5035d321c 100644 --- a/.wiki/known-incompatibilities-with-other-plugins.md +++ b/.wiki/known-incompatibilities-with-other-plugins.md @@ -1,23 +1,23 @@ # Known incompatibilities with other Plugins -After installing and activating Multisite Ultimate, you might run into issues due to unaddressed incompatibilities with other plugins. +After installing and activating Ultimate Multisite, you might run into issues due to unaddressed incompatibilities with other plugins. -We are actively working to reduce this list with each and every new release, but if a plugin is listed here, you might need to deactivate it in order to have a fully functional Multisite Ultimate Network. +We are actively working to reduce this list with each and every new release, but if a plugin is listed here, you might need to deactivate it in order to have a fully functional Ultimate Multisite Network. Here is a list of them and what you should do in these cases: -**Some WPMU DEV plugins** Some of the plugins _no longer_ maintained by WPMU DEV are known to cause the Multisite Ultimate registration flow to halt on the last step (the user isn't able to create an account). Here's a list of the plugins that cause those issues: +**Some WPMU DEV plugins** Some of the plugins _no longer_ maintained by WPMU DEV are known to cause the Ultimate Multisite registration flow to halt on the last step (the user isn't able to create an account). Here's a list of the plugins that cause those issues: - * Signup Language: _Multisite Ultimate has an add-on that offers the same functionality, called Multisite Ultimate: Language Switcher._ + * Signup Language: _Ultimate Multisite has an add-on that offers the same functionality, called Ultimate Multisite: Language Switcher._ - * Set Blog Description on Blog Creation: _This is built into Multisite Ultimate, so there's no need for an extra plugin._ + * Set Blog Description on Blog Creation: _This is built into Ultimate Multisite, so there's no need for an extra plugin._ - * New Blog Templates: _This is built into Multisite Ultimate, so there's no need for an extra plugin._ + * New Blog Templates: _This is built into Ultimate Multisite, so there's no need for an extra plugin._ - * Set Password on Multisite Blog Creation: _This is built into Multisite Ultimate, so there's no need for an extra plugin._ + * Set Password on Multisite Blog Creation: _This is built into Ultimate Multisite, so there's no need for an extra plugin._ - * Signup TOS: _This is built into Multisite Ultimate, so there's no need for an extra plugin._ + * Signup TOS: _This is built into Ultimate Multisite, so there's no need for an extra plugin._ - * Anti-Splog: Although less powerful, this is also _built into Multisite Ultimate._ + * Anti-Splog: Although less powerful, this is also _built into Ultimate Multisite._ -**Note** : All other WPMU Dev plugins can be used normally alongside Multisite Ultimate. Examples include _Smush_ , _Forminator_ , _Defender,_ etc. +**Note** : All other WPMU Dev plugins can be used normally alongside Ultimate Multisite. Examples include _Smush_ , _Forminator_ , _Defender,_ etc. diff --git a/.wiki/managing-memberships-v2.md b/.wiki/managing-memberships-v2.md index 8e51ff0bb..8eeef67fe 100644 --- a/.wiki/managing-memberships-v2.md +++ b/.wiki/managing-memberships-v2.md @@ -1,8 +1,8 @@ # Managing Memberships (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -In Multisite Ultimate 2.0 you can manage memberships and access all the subscriptions on your network. +In Ultimate Multisite 2.0 you can manage memberships and access all the subscriptions on your network. There you can review and edit members subscription details such as plans and products included in their subscription, the number of sites, billing amount and frequency, payment history of each member and timestamps. diff --git a/.wiki/managing-payments-and-invoices.md b/.wiki/managing-payments-and-invoices.md index c3c809079..58f99fda0 100644 --- a/.wiki/managing-payments-and-invoices.md +++ b/.wiki/managing-payments-and-invoices.md @@ -1,10 +1,10 @@ # Managing Payments and Invoices -Manage payments in Multisite Ultimate is as easy as it gets. You can set the auto-renew, allow trials and configure invoices. In version 2.0 you can set different payment gateways to fulfill your customers needs. Currently, you can enable payments via Stripe, Stripe Checkout, PayPal or receive manually. +Manage payments in Ultimate Multisite is as easy as it gets. You can set the auto-renew, allow trials and configure invoices. In version 2.0 you can set different payment gateways to fulfill your customers needs. Currently, you can enable payments via Stripe, Stripe Checkout, PayPal or receive manually. ## General Payment Settings -To access your payment settings go to your Multisite Ultimate Settings page and navigate to the Payments tab. +To access your payment settings go to your Ultimate Multisite Settings page and navigate to the Payments tab. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FMFCBQ03jj.png) @@ -72,7 +72,7 @@ You can also generate the payment's invoice by clicking on the button on the top ### Customizing Invoices -Multisite Ultimate allows you to customize the invoices you send to your customers. +Ultimate Multisite allows you to customize the invoices you send to your customers. To do it, navigate to Payments page. On the right column, on the Invoices box, click to Go to Customizer. diff --git a/.wiki/managing-shareable-links-for-plans.md b/.wiki/managing-shareable-links-for-plans.md index 4afaddf47..58bf5a490 100644 --- a/.wiki/managing-shareable-links-for-plans.md +++ b/.wiki/managing-shareable-links-for-plans.md @@ -1,6 +1,6 @@ # Managing Shareable Links for Plans -Multisite Ultimate offers you the option to share plan links directly with your clients. In order to do this, go to any of your plans' edit pages and click the _Click to copy the Shareable Link_ button. +Ultimate Multisite offers you the option to share plan links directly with your clients. In order to do this, go to any of your plans' edit pages and click the _Click to copy the Shareable Link_ button. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-2DJoMvapXh.png) diff --git a/.wiki/managing-sites.md b/.wiki/managing-sites.md index 453e3c376..1530d7811 100644 --- a/.wiki/managing-sites.md +++ b/.wiki/managing-sites.md @@ -2,7 +2,7 @@ Sites or Subsites are basically the bread and butter of your business. In this article, we will discuss how to manage and distinguish each type of site as well as what information is linked or connected to it. -Multisite Ultimate has 3 types of sites: **Customer-owned** which are sites under specific customers; **Site templates** which are your pre-defined sites that customers select as boilerplate; and **Regular WP sites** which are plain regular subsites in your multisite installation. +Ultimate Multisite has 3 types of sites: **Customer-owned** which are sites under specific customers; **Site templates** which are your pre-defined sites that customers select as boilerplate; and **Regular WP sites** which are plain regular subsites in your multisite installation. ## How to add a new site @@ -18,7 +18,7 @@ Make sure that the **Copy Media on Duplication** option is enabled then click th ## How to manage existing sites -To manage the Sites, you can go to Multisite Ultimate menu and find the **Sites** option. This will bring up the Sites page which will show the list of subsites within your network. Notice that each site is labeled based on its type. +To manage the Sites, you can go to Ultimate Multisite menu and find the **Sites** option. This will bring up the Sites page which will show the list of subsites within your network. Notice that each site is labeled based on its type. ![sites page](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-va1CHZcPCa.png) diff --git a/.wiki/managing-system-emails.md b/.wiki/managing-system-emails.md index 4715cb4df..ddf7cae40 100644 --- a/.wiki/managing-system-emails.md +++ b/.wiki/managing-system-emails.md @@ -2,7 +2,7 @@ # Reseting & Importing system emails -New Multisite Ultimate versions, as well as add-ons, can and will register new emails from time to time. +New Ultimate Multisite versions, as well as add-ons, can and will register new emails from time to time. To prevent conflicts and other issues, we won't add the new email templates as System Emails on your install automatically, unless they are crucial to the correct functioning of a given feature. @@ -10,7 +10,7 @@ However, super admins and agents can import this newly registered emails via the ## How to import system emails -Go to your Multisite Ultimate Settings page and head to the Emails tab. +Go to your Ultimate Multisite Settings page and head to the Emails tab. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-yIQvxZcJqk.png) diff --git a/.wiki/migrating-from-v1.md b/.wiki/migrating-from-v1.md index ba780eab5..5fb02e01a 100644 --- a/.wiki/migrating-from-v1.md +++ b/.wiki/migrating-from-v1.md @@ -1,10 +1,10 @@ # Migrating from V1 -## Multisite Ultimate has switched from its original 1.x family of releases to the 2.x family of releases. +## Ultimate Multisite has switched from its original 1.x family of releases to the 2.x family of releases. -Multisite Ultimate version 2.0 and up is a complete rewrite of the codebase, meaning that there's very little shared between the old version and the new one. For that reason, when upgrading from 1.x to 2.x, your data will need to be migrated to a format that the new versions can understand. +Ultimate Multisite version 2.0 and up is a complete rewrite of the codebase, meaning that there's very little shared between the old version and the new one. For that reason, when upgrading from 1.x to 2.x, your data will need to be migrated to a format that the new versions can understand. -Thankfully, Multisite Ultimate 2.0+ **comes with a migrator** built into the core that is capable of detecting data from the old version and converting it to the new format. This migration happens during the **Setup Wizard** of version 2.0+. +Thankfully, Ultimate Multisite 2.0+ **comes with a migrator** built into the core that is capable of detecting data from the old version and converting it to the new format. This migration happens during the **Setup Wizard** of version 2.0+. This lesson covers how the migrator works, what to do in cases of failure, and how to troubleshoot issues that might arise during this process. @@ -16,13 +16,13 @@ The first step is to download the plugin .zip file and install version 2.0 on yo After you [install and activate version 2.0](1677127281-installing-wp-ultimo.html), the system will automatically detect that your Multisite is running on the legacy version and you will see this message at the top of the plugin page. -_**NOTE:** If you have Multisite Ultimate 1.x installed on your Multisite, you'll have the option to replace the plugin with the version you've just downloaded. Please, go ahead and click to **Replace current with uploaded**._ +_**NOTE:** If you have Ultimate Multisite 1.x installed on your Multisite, you'll have the option to replace the plugin with the version you've just downloaded. Please, go ahead and click to **Replace current with uploaded**._ ![](https://support.delta.nextpress.co/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBcDRjIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c2aff9b312e5b7ec95c9e2c5355480d4aa7258fd/Migration.png) The next page will let you know what legacy add-ons you have installed along with version 1.x. It will have instructions on whether the version you are using is compatible with version 2.0 or if you need to install an upgraded version of the add-on after the migration. -![Message on the top of the plugins page: Thanks for updating to Multisite Ultimate version 2.0. There's a link below it that leads the user to the version upgrader. Then, there's a list of add-ons that need to be updated.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-4E9kAFlcb5.png) +![Message on the top of the plugins page: Thanks for updating to Ultimate Multisite version 2.0. There's a link below it that leads the user to the version upgrader. Then, there's a list of add-ons that need to be updated.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-4E9kAFlcb5.png) Once you are ready to proceed, you can click the button that says **Visit the Installer to finish the upgrade**. @@ -32,11 +32,11 @@ It will then bring you to the installation wizard page with some welcome message ![Setup Wizard's welcoming page. Framed in red at the bottom-right corner: Get Started button.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-1dvRbsEnrN.png) -After clicking **Get Started** , it will redirect you to the Pre-install Checks_._ This will show you your System Information and WordPress installation and tell you if it meets [Multisite Ultimate's requirements](https://help.wpultimo.com/article/323-wp-ultimo-requirements). +After clicking **Get Started** , it will redirect you to the Pre-install Checks_._ This will show you your System Information and WordPress installation and tell you if it meets [Ultimate Multisite's requirements](https://help.wpultimo.com/article/323-wp-ultimo-requirements). -![Pre-install Checks page showing confirmation messages that the installation meets Multisite Ultimate's requirements. Framed on red, on the bottom-right corner: Go to the next step button.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-i0SwDNkaEO.png) +![Pre-install Checks page showing confirmation messages that the installation meets Ultimate Multisite's requirements. Framed on red, on the bottom-right corner: Go to the next step button.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-i0SwDNkaEO.png) -The next step is to key in your Multisite Ultimate license key and activate the plugin. This will ensure that all the features, including add-ons, will be available on your site. +The next step is to key in your Ultimate Multisite license key and activate the plugin. This will ensure that all the features, including add-ons, will be available on your site. ![License activation page listing what the support includes and what it doesn't. There's a box on the bottom to insert the plugin's license. Framed in red, on the bottom-right corner: Agree and activate button.](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-QAwmR9oLQL.png) @@ -44,11 +44,11 @@ After putting in your key, click **Agree & Activate**. After license activation, you can begin the actual installation by clicking **Install** on the next page. This will automatically create the necessary files and database needed for version 2.0 to function. -![Installation page showing what will be updated in order to Multisite Ultimate to function. Framed in red, on the bottom-right: Install button](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FCyBH12y4d.png) +![Installation page showing what will be updated in order to Ultimate Multisite to function. Framed in red, on the bottom-right: Install button](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FCyBH12y4d.png) ## Now, the migration -The migrator has a built-in safety feature wherein it will check your entire multisite to make sure that all your Multisite Ultimate data can be migrated without any issues. Click the **Run Check** button to start the process. +The migrator has a built-in safety feature wherein it will check your entire multisite to make sure that all your Ultimate Multisite data can be migrated without any issues. Click the **Run Check** button to start the process. ![Migration page explaining it will run a check to see if all your data from v1 can be converted. Framed in red, on the bottom-right corner: Run check button](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-vXLXFLjogz.png) @@ -70,4 +70,4 @@ If the system doesn't find any error, you will see a success message and a **Mig And this is all it takes! -You can either continue to run the Wizard setup to update your logo and other things on your network or start navigating your Multisite Ultimate version 2.0 menu and its new interface. Go ahead and have some fun. +You can either continue to run the Wizard setup to update your logo and other things on your network or start navigating your Ultimate Multisite version 2.0 menu and its new interface. Go ahead and have some fun. diff --git a/.wiki/placing-ads-on-your-network-with-wp-ultimo-ad-injector.md b/.wiki/placing-ads-on-your-network-with-wp-ultimo-ad-injector.md index 3d7863f8d..cbbcc30e1 100644 --- a/.wiki/placing-ads-on-your-network-with-wp-ultimo-ad-injector.md +++ b/.wiki/placing-ads-on-your-network-with-wp-ultimo-ad-injector.md @@ -1,8 +1,8 @@ -# Placing Ads on your network with Multisite Ultimate: Ad Injector +# Placing Ads on your network with Ultimate Multisite: Ad Injector -Multisite Ultimate: Ad Injector is a **free add-on** that gives you the tools to place ads on your plans right from their edit page. +Ultimate Multisite: Ad Injector is a **free add-on** that gives you the tools to place ads on your plans right from their edit page. -After installing Multisite Ultimate: Ad Injector, go to your _Plugins_ page to activate it. +After installing Ultimate Multisite: Ad Injector, go to your _Plugins_ page to activate it. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-KgDegqpbeb.png) @@ -32,7 +32,7 @@ _Go to the Admin Panel Ad Code option if you want to display ads on your user's ### Beyond Advertising -You can also use Multisite Ultimate: Ad Injector to offer support to high-tier plans. +You can also use Ultimate Multisite: Ad Injector to offer support to high-tier plans. Just go to _Admin Panel Ads_ option and add the HTML code for your support tool. diff --git a/.wiki/re-ordering-the-wp-ultimo-country-list.md b/.wiki/re-ordering-the-wp-ultimo-country-list.md index 66abb9205..59d4c41fe 100644 --- a/.wiki/re-ordering-the-wp-ultimo-country-list.md +++ b/.wiki/re-ordering-the-wp-ultimo-country-list.md @@ -1,4 +1,4 @@ -# Re-ordering the Multisite Ultimate country list +# Re-ordering the Ultimate Multisite country list The dropdown to select a country is ordered alphabetically based on the English variants of the country names. This might mean that, sometimes, the home country of your company and/or most of your customers is buried in the middle of a huge country name list. diff --git a/.wiki/sending-emails-and-broadcasts-v2.md b/.wiki/sending-emails-and-broadcasts-v2.md index 499533ca9..cfa97d79d 100644 --- a/.wiki/sending-emails-and-broadcasts-v2.md +++ b/.wiki/sending-emails-and-broadcasts-v2.md @@ -1,18 +1,18 @@ # Sending Emails and Broadcasts (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -Multisite Ultimate comes with a feature that will allow you to communicate with your customers by sending an email to a targeted user or a group of users as well as sending notices on their admin dashboard to broadcast announcements +Ultimate Multisite comes with a feature that will allow you to communicate with your customers by sending an email to a targeted user or a group of users as well as sending notices on their admin dashboard to broadcast announcements ## Add admin notices to your customers’ dashboard with Broadcasts -Using the Multisite Ultimate broadcast feature, you can add **admin notices** to your user’s subsite admin dashboard. +Using the Ultimate Multisite broadcast feature, you can add **admin notices** to your user’s subsite admin dashboard. This is extremely helpful should you need to make an announcement like system maintenance or offering new products or services to your existing users. This is how the admin notice will look on your user’s dashboard. ![broadcast account](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-UhCB0zV12U.png) -To start an admin notice, go to your network admin dashboard and under the **Multisite Ultimate** menu, you will find the **Broadcasts** option. +To start an admin notice, go to your network admin dashboard and under the **Ultimate Multisite** menu, you will find the **Broadcasts** option. ![broadcast admin](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-UBLRopntNQ.png) @@ -44,9 +44,9 @@ And that is it. The admin notice should immediately show on your user’s dashbo ## Send emails to your customers -Using the Multisite Ultimate broadcast feature, you can send an email to your users. You have an option to send the email only to specific users or target a specific user group based on the product or plan they are subscribed under. +Using the Ultimate Multisite broadcast feature, you can send an email to your users. You have an option to send the email only to specific users or target a specific user group based on the product or plan they are subscribed under. -To start an email broadcast, go to your network admin dashboard and under the Multisite Ultimate menu, you will find the Broadcast option. +To start an email broadcast, go to your network admin dashboard and under the Ultimate Multisite menu, you will find the Broadcast option. ![email admin](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-UBLRopntNQ.png) @@ -74,11 +74,11 @@ And that is how easy it is to send an email to your end-users using the broadcas ## System emails -System emails in Multisite Ultimate are those **automatic notifications** sent by the system after certain actions like registration, payment, domain mapping, etc. These emails can be edited or modified from Multisite Ultimate settings. It also comes with a feature that will allow you to reset and import existing settings from another Multisite Ultimate installation. +System emails in Ultimate Multisite are those **automatic notifications** sent by the system after certain actions like registration, payment, domain mapping, etc. These emails can be edited or modified from Ultimate Multisite settings. It also comes with a feature that will allow you to reset and import existing settings from another Ultimate Multisite installation. ### Resetting & Importing -New Multisite Ultimate versions, as well as add-ons, can and will register new emails from time to time. +New Ultimate Multisite versions, as well as add-ons, can and will register new emails from time to time. To prevent conflicts and other issues, **we won't add the new email templates as System Emails on your install automatically** , unless they are crucial to the correct functioning of a given feature. @@ -86,7 +86,7 @@ However, super admins and agents can import this newly registered emails via the #### How to import system emails -Go to your Multisite Ultimate Settings page and head to the **Emails** tab. +Go to your Ultimate Multisite Settings page and head to the **Emails** tab. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-yIQvxZcJqk.png) diff --git a/.wiki/setting-the-sunrise-constant-to-true-on-closte.md b/.wiki/setting-the-sunrise-constant-to-true-on-closte.md index f4e85fa0e..2fdee94dd 100644 --- a/.wiki/setting-the-sunrise-constant-to-true-on-closte.md +++ b/.wiki/setting-the-sunrise-constant-to-true-on-closte.md @@ -1,6 +1,6 @@ # Setting the Sunrise constant to true on Closte -Some host providers lock the wp-config.php for security reasons. This means that Multisite Ultimate cannot automatically edit the file to include the necessary constants to get domain mapping and other features to work. Closte is one such host. +Some host providers lock the wp-config.php for security reasons. This means that Ultimate Multisite cannot automatically edit the file to include the necessary constants to get domain mapping and other features to work. Closte is one such host. However, Closte offers a way to add constants to the wp-config.php in a secure manner. You just need to follow the steps below: @@ -18,8 +18,8 @@ Then, on the **Settings** , find the WP-Config tab, and then the "Additional wp- ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FqVEnSTIu9.png) -In the context of installing Multisite Ultimate, you'll need to add the sunrise constant onto that field. Simply add a new line and paste the line below. After that, click the **Save All** button. +In the context of installing Ultimate Multisite, you'll need to add the sunrise constant onto that field. Simply add a new line and paste the line below. After that, click the **Save All** button. define('SUNRISE', true); -That's it, you're all set. Return to the Multisite Ultimate install wizard and refresh the page to continue the process. +That's it, you're all set. Return to the Ultimate Multisite install wizard and refresh the page to continue the process. diff --git a/.wiki/setting-up-manual-payments-v2.md b/.wiki/setting-up-manual-payments-v2.md index c73954529..5bc61bbdd 100644 --- a/.wiki/setting-up-manual-payments-v2.md +++ b/.wiki/setting-up-manual-payments-v2.md @@ -1,6 +1,6 @@ # Setting Up Manual Payments (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ Manual payments are a way for to you offer other payment methods should **Stripe** or **PayPal** is not available for your users. It can be a wire or bank transfer or any other payment method available to your users locally. @@ -8,7 +8,7 @@ Manual payments are a way for to you offer other payment methods should **Stripe Setting up manual payment is very easy. You just need to enable it under payment gateways and put in detailed instructions on how the user should send the payment. -First, go to **Multisite Ultimate > Settings > Payments**. Below **Payment Gateways** , toggle **Manual** on. You will see that a **Payment Instructions** box will show up for you. +First, go to **Ultimate Multisite > Settings > Payments**. Below **Payment Gateways** , toggle **Manual** on. You will see that a **Payment Instructions** box will show up for you. Add to this box the information your customer will need to make the payment. It can be your bank account details and your email so the customer can send you the payment confirmation, for example. diff --git a/.wiki/setting-up-the-paypal-gateway-v2.md b/.wiki/setting-up-the-paypal-gateway-v2.md index 335bd2ba6..71021ba2c 100644 --- a/.wiki/setting-up-the-paypal-gateway-v2.md +++ b/.wiki/setting-up-the-paypal-gateway-v2.md @@ -1,6 +1,6 @@ # Setting Up The PayPal Gateway (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ You can activate up to four methods of payment on our payment settings page: Stripe, Stripe Checkout, PayPal and Manual. In this article, we will see how to integrate with **PayPal**. @@ -10,7 +10,7 @@ Note that you need to have a **PayPal Business account** to obtain the API crede ## Enabling PayPal on your network -To enable PayPal as an available payment method on your network, go to **Multisite Ultimate > Settings > Payments** tab and tick the box next to PayPal. +To enable PayPal as an available payment method on your network, go to **Ultimate Multisite > Settings > Payments** tab and tick the box next to PayPal. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FhlfHHJLPl.png) diff --git a/.wiki/setting-up-the-stripe-gateway-v2.md b/.wiki/setting-up-the-stripe-gateway-v2.md index 6c1e56419..ab8bd19be 100644 --- a/.wiki/setting-up-the-stripe-gateway-v2.md +++ b/.wiki/setting-up-the-stripe-gateway-v2.md @@ -1,12 +1,12 @@ # Setting Up The Stripe Gateway (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ You can activate up to four methods of payment on our payment settings page: Stripe, Stripe Checkout, PayPal and Manual. In this article, we will see how to integrate with **Stripe**. ## Enabling Stripe -To enable Stripe as an available payment gateway on your network, go to **Multisite Ultimate > Settings > Payments** and tick the toggle next to **Stripe** or **Stripe Checkout** on the Active Payment Gateways section. +To enable Stripe as an available payment gateway on your network, go to **Ultimate Multisite > Settings > Payments** and tick the toggle next to **Stripe** or **Stripe Checkout** on the Active Payment Gateways section. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-UUtLaJgx7R.png) @@ -36,7 +36,7 @@ You can either use **Test Data** (to test if the integration is working on your ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-kdVC3W8Bsr.png) -Copy the value from the **Publishable key** and **Secret key** , from the **Token** column and paste it on Multisite Ultimate Stripe Gateway fields. Then click to **Save Changes**. +Copy the value from the **Publishable key** and **Secret key** , from the **Token** column and paste it on Ultimate Multisite Stripe Gateway fields. Then click to **Save Changes**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-JyAifSGNOn.png) @@ -44,13 +44,13 @@ Copy the value from the **Publishable key** and **Secret key** , from the **Toke ## Setting up Stripe Webhook -Stripe sends webhook events that notify Multisite Ultimate any time an event happens on **your stripe account**. +Stripe sends webhook events that notify Ultimate Multisite any time an event happens on **your stripe account**. Click **Developers** and then choose the **Webhooks** item in the left menu. Then on the right hand side click **Add endpoint** *.* ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-LmYsdylNdd.png) -You will need an **Endpoint URL** *.* Multisite Ultimate automatically generates the endpoint URL which you can find right below the **Webhook Listener URL** field in **Multisite Ultimate Stripe Gateway** section_._ +You will need an **Endpoint URL** *.* Ultimate Multisite automatically generates the endpoint URL which you can find right below the **Webhook Listener URL** field in **Ultimate Multisite Stripe Gateway** section_._ ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-sZrCX9OZaw.png) diff --git a/.wiki/setting-up-the-woocommerce-integration-v2.md b/.wiki/setting-up-the-woocommerce-integration-v2.md index ef968cb10..b5629f372 100644 --- a/.wiki/setting-up-the-woocommerce-integration-v2.md +++ b/.wiki/setting-up-the-woocommerce-integration-v2.md @@ -1,20 +1,20 @@ # Setting Up The WooCommerce Integration (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -_**ATTENTION:** Multisite Ultimate: WooCommerce Integration requires WooCommerce to be activated at least on your main site._ +_**ATTENTION:** Ultimate Multisite: WooCommerce Integration requires WooCommerce to be activated at least on your main site._ -We understand that _Stripe_ and _PayPal_ are not available in some countries which limit or hinders Multisite Ultimate users from effectively using our plugin. So we created an **add-on to integrate _WooCommerce_**. +We understand that _Stripe_ and _PayPal_ are not available in some countries which limit or hinders Ultimate Multisite users from effectively using our plugin. So we created an **add-on to integrate _WooCommerce_**. -_WooCommerce_ is a very popular eCommerce plugin. Developers around the world created add-ons to integrate different payment gateways to it. We took advantage of this to extend the payments gateways you can use in the Multisite Ultimate billing system. +_WooCommerce_ is a very popular eCommerce plugin. Developers around the world created add-ons to integrate different payment gateways to it. We took advantage of this to extend the payments gateways you can use in the Ultimate Multisite billing system. ## Setting It Up -First, you need to install the WooCommerce Integration add-on which is **free for licensed users**. To install it, click on Multisite Ultimate on your super admin dashboard and select **Add-ons**. +First, you need to install the WooCommerce Integration add-on which is **free for licensed users**. To install it, click on Ultimate Multisite on your super admin dashboard and select **Add-ons**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-RRyV5DYA9v.png) -Here you can find all Multisite Ultimate add-ons. Click on the **Multisite Ultimate: WooCommerce Integration** add-on. +Here you can find all Ultimate Multisite add-ons. Click on the **Ultimate Multisite: WooCommerce Integration** add-on. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-4AiiRzTKme.png) @@ -30,7 +30,7 @@ After activating it, if you still don't have the WooCommerce plugin installed an ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-1U4DaZPAiR.png) -Once installed, you will see an additional option under the Multisite Ultimate payments settings. You can then **enable** the _WooCommerce_ option from there. +Once installed, you will see an additional option under the Ultimate Multisite payments settings. You can then **enable** the _WooCommerce_ option from there. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-HDQ1SG1pYO.png) @@ -44,19 +44,19 @@ The WooCommerce Integration works in a very similar way to the way our [Manual G * Users then receive an invoice in their email, with a link to perform the payment (the link also appears on their billing history from their subsite dashboard). That link redirects the user to the _**WooCommerce**_ **checkout** , where users will be able to select one of the **available _WooCommerce_ gateways** in order to process their payment. - * Once the payment is received, the membership is **renewed** , the payment is logged on Multisite Ultimate and the order is set to complete. + * Once the payment is received, the membership is **renewed** , the payment is logged on Ultimate Multisite and the order is set to complete. ### Some Important Notes: - * The default functionality of Multisite Ultimate still works with this integration form. For example, **issuing refunds** from the **Subscription Management** screen will communicate with WooCommerce to issue the refund using the selected payment form. + * The default functionality of Ultimate Multisite still works with this integration form. For example, **issuing refunds** from the **Subscription Management** screen will communicate with WooCommerce to issue the refund using the selected payment form. - * Multisite Ultimate: WooCommerce Integration relies on WP-Cron to work. This works very well most times, but if the site has low traffic then the cron is not prompted to check for scheduled events and the event is missed, which can cause execution delays. + * Ultimate Multisite: WooCommerce Integration relies on WP-Cron to work. This works very well most times, but if the site has low traffic then the cron is not prompted to check for scheduled events and the event is missed, which can cause execution delays. ## Woocommerce Subscriptions Plugin Manually initiating a payment each month is not ideal for end-users to do as a subscription is expected to automatically recur every billing cycle. So we designed the WooCommerce Integration addon to **support the WooCommerce Subscriptions plugin**. This will automate the payment to make the transaction easier for your end-users. -All you need to do is **install** the [Woocommerce Subscriptions plugin](https://woocommerce.com/products/woocommerce-subscriptions/) and have it **activated on your main site**. Then go back to Multisite Ultimate payments settings and **enable the integration**. +All you need to do is **install** the [Woocommerce Subscriptions plugin](https://woocommerce.com/products/woocommerce-subscriptions/) and have it **activated on your main site**. Then go back to Ultimate Multisite payments settings and **enable the integration**. And that is it. Your end-users will no longer need to manually make a payment at the end of their billing cycle. diff --git a/.wiki/site-templates-v2.md b/.wiki/site-templates-v2.md index 0297baad5..4c541c651 100644 --- a/.wiki/site-templates-v2.md +++ b/.wiki/site-templates-v2.md @@ -1,8 +1,8 @@ # Site Templates (v2) -_**NOTE: This article refers to Multisite Ultimate version 2.x. If you are using version 1.x,**_ [see this article](https://help.wpultimo.com/article/404-site-templates) _**.**_ +_**NOTE: This article refers to Ultimate Multisite version 2.x. If you are using version 1.x,**_ [see this article](https://help.wpultimo.com/article/404-site-templates) _**.**_ -Our goal when creating a premium network with Multisite Ultimate is to automate as many processes as possible while giving our clients flexibility and different options to choose from when creating their websites. One easy way to achieve this balance is to make use of the Multisite Ultimate Site Templates feature. +Our goal when creating a premium network with Ultimate Multisite is to automate as many processes as possible while giving our clients flexibility and different options to choose from when creating their websites. One easy way to achieve this balance is to make use of the Ultimate Multisite Site Templates feature. ## What is a Site Template? @@ -14,7 +14,7 @@ That sounds awesome, but how do I create a new site template? It is as simple as ## Creating and Editing a new Site Template -Site Templates are just normal sites on your network. To create a new template you can simply go to **Network Admin > Multisite Ultimate > Sites > Add Site.** +Site Templates are just normal sites on your network. To create a new template you can simply go to **Network Admin > Ultimate Multisite > Sites > Add Site.** **![add site template](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-D1F8SOUTYU.png)** @@ -52,7 +52,7 @@ Basically, there are two approaches you can use now (not simultaneously): In this mode, your clients won’t be able to choose a template when they create an account, but rather you will define which template should be used on each of your Plans. -To do that, you’ll need to go to **Multisite Ultimate > Products > Edit**. +To do that, you’ll need to go to **Ultimate Multisite > Products > Edit**. ![Assign site template](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-t7UjzQEG5g.png) @@ -70,7 +70,7 @@ On the **Edit Product** page. Under the **Product Options** section, find the ** ### Default Mode: Site template selection on the Checkout form -If you wish all your site templates to be available during the registration, or maybe do not prefer doing extra work of assigning or specifying site templates under each product you create. Then you can simply set the site template selection under your **Checkout Form**. To do this, you just need to go to **Multisite Ultimate > Checkout Forms**. Then click **Edit** under the form you wish to configure. +If you wish all your site templates to be available during the registration, or maybe do not prefer doing extra work of assigning or specifying site templates under each product you create. Then you can simply set the site template selection under your **Checkout Form**. To do this, you just need to go to **Ultimate Multisite > Checkout Forms**. Then click **Edit** under the form you wish to configure. ![Assign site template](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-FaXifuzMu3.png) @@ -84,7 +84,7 @@ A modal window will appear. Under the **Template Sites** field you can select an ### Site Template Options -There are other site templates functions available that you can turn on or off under Multisite Ultimate settings. +There are other site templates functions available that you can turn on or off under Ultimate Multisite settings. ![Site template option](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-wrwT3rqFEf.png) @@ -106,7 +106,7 @@ Site templates as discussed in this article are boilerplate but still part of yo ## Pre-populating Site Templates with auto search-and-replace -One of the most powerful features of Multisite Ultimate is the ability to add arbitrary text, color, and select fields onto the registration form. Once we have that data captured, we can use it to pre-populate the content in certain parts of the site template selected. Then, when the new site is being published, Multisite Ultimate will replace the placeholders with the actual information entered during registration. +One of the most powerful features of Ultimate Multisite is the ability to add arbitrary text, color, and select fields onto the registration form. Once we have that data captured, we can use it to pre-populate the content in certain parts of the site template selected. Then, when the new site is being published, Ultimate Multisite will replace the placeholders with the actual information entered during registration. For example, if you wish to get your end-user's company name during registration and automatically put the company name on the home page. On your template site home page you need to add the placeholders, like in the image below (placeholders should be added surrounded by double curly braces - {{placeholder_name}}). @@ -122,7 +122,7 @@ Your customer will then be able to fill that field during the registration. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-preview) -Multisite Ultimate will then replace the placeholders with the data provided by the customer automatically. +Ultimate Multisite will then replace the placeholders with the data provided by the customer automatically. ![replace placeholder](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-chL5wf7wmY.png) @@ -132,7 +132,7 @@ All of that is great, but we do run into an ugly problem: now our site templates To solve that, we offer the option of setting fake values for the placeholders, and we use those values to search and replace their contents on the template sites while your customers are visiting. -You can have access to the template placeholders editor by heading to **Multisite Ultimate > Settings > Sites**, and then, on the sidebar, clicking the **Edit Placeholders** link. +You can have access to the template placeholders editor by heading to **Ultimate Multisite > Settings > Sites**, and then, on the sidebar, clicking the **Edit Placeholders** link. ![placeholder settings](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ztZnAexNEZ.png) diff --git a/.wiki/tax-handling.md b/.wiki/tax-handling.md index 378ff6ce6..fcdef5003 100644 --- a/.wiki/tax-handling.md +++ b/.wiki/tax-handling.md @@ -1,14 +1,14 @@ # Tax Handling -Multisite Ultimate has a tax collection module built into our core plugin, so if you need to collect sales taxes on your plans, packages and services, you can easily do so without resorting to installing any add-ons. +Ultimate Multisite has a tax collection module built into our core plugin, so if you need to collect sales taxes on your plans, packages and services, you can easily do so without resorting to installing any add-ons. For companies located in Europe, we offer an **add-on** that adds tools and features to better **support VAT** compliance. -Multisite Ultimate does not file or remit taxes on your behalf to the government; we simply help you collect the appropriate taxes at the time of the transaction. **You’ll still need to remit taxes on your own.** +Ultimate Multisite does not file or remit taxes on your behalf to the government; we simply help you collect the appropriate taxes at the time of the transaction. **You’ll still need to remit taxes on your own.** ## Enabling Tax Collection -Tax collection is not enabled by default. To enable it, you need to go to **Multisite Ultimate > Settings > Taxes** and toggle to enable the Enable Taxes setting. +Tax collection is not enabled by default. To enable it, you need to go to **Ultimate Multisite > Settings > Taxes** and toggle to enable the Enable Taxes setting. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ICSEhm7yhk.png) @@ -58,7 +58,7 @@ You can set the tax category for a particular product by going to the [Product e ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-vkh5NXKplU.png) -On that same screen, you can toggle off the **Is Taxable?** toggle to let Multisite Ultimate know that it should not collect taxes on that given product. +On that same screen, you can toggle off the **Is Taxable?** toggle to let Ultimate Multisite know that it should not collect taxes on that given product. ## European VAT Support @@ -70,11 +70,11 @@ Our VAT tools help with a couple of important things: * VAT Number collection and validation - and reverse charging for VAT exempt entities (such as companies with valid VAT numbers); -To install that add-on, go to **Multisite Ultimate > Settings** and then click on the **Check our Add-ons** sidebar link. +To install that add-on, go to **Ultimate Multisite > Settings** and then click on the **Check our Add-ons** sidebar link. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-AsMyAH5HKC.png) -You'll be redirected to our add-ons page. There, you can search for the **Multisite Ultimate VAT add-on** and install it. +You'll be redirected to our add-ons page. There, you can search for the **Ultimate Multisite VAT add-on** and install it. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-AQ6gWfdY5G.png) @@ -100,8 +100,8 @@ You can also edit the values after pulling them. To do it, simply edit the table ### VAT Validation -When VAT support is enabled, Multisite Ultimate will add an additional field to the checkout form, bellow the billing address field. The field will only show up for customers located in the EU. +When VAT support is enabled, Ultimate Multisite will add an additional field to the checkout form, bellow the billing address field. The field will only show up for customers located in the EU. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-ITUbFOIM4r.png) -Multisite Ultimate will then validate the VAT Number and if it comes back as a valid one, the reverse charge mechanism is applied and the tax rate is set to 0% on that order. +Ultimate Multisite will then validate the VAT Number and if it comes back as a valid one, the reverse charge mechanism is applied and the tax rate is set to 0% on that order. diff --git a/.wiki/the-registration-flow-v2.md b/.wiki/the-registration-flow-v2.md index 0b36e5ca1..6e52376a6 100644 --- a/.wiki/the-registration-flow-v2.md +++ b/.wiki/the-registration-flow-v2.md @@ -1,6 +1,6 @@ # The Registration Flow (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ Users can register in different ways to your network. They can use your registration form or a shareable link to a pre-selected plan. Here we will show you how your customers can register on your network using the available paths and what happens after they register on your network. @@ -8,7 +8,7 @@ Users can register in different ways to your network. They can use your registra This is the standard registration process. You create a registration page with a [checkout form](https://help.wpultimo.com/article/406-customizing-your-registration-form) and this will be where your customers will go to register on your network and subscribe to a plan. You can have multiple registration pages, each one with a different registration form if you want. -The default page for registration is [_**yourdomain.com/register**_](http://yourdomain.com/register), but you can change this at any time on **Multisite Ultimate > Settings > Login & Registration > Default Registration Page**. +The default page for registration is [_**yourdomain.com/register**_](http://yourdomain.com/register), but you can change this at any time on **Ultimate Multisite > Settings > Login & Registration > Default Registration Page**. After a user get to your registration page (usually clicking on a **Sign in** or **Buy now** button), they will se your registration form there. @@ -34,7 +34,7 @@ The registration process will be the same: they will need to fill their name, us ### Registering Using Manual Payments: -If you do not want to use PayPal, Stripe or any other payment gateway offered by Multisite Ultimate or its add-on integrations, you can use manual payments for your customers. This way, you can generate an invoice for them to pay on your preferred payment processor after they register on your network. +If you do not want to use PayPal, Stripe or any other payment gateway offered by Ultimate Multisite or its add-on integrations, you can use manual payments for your customers. This way, you can generate an invoice for them to pay on your preferred payment processor after they register on your network. The registration process will be exactly the same as above, but on the registration page your customers will see a message stating that they will receive an email with further instructions to complete the payment. @@ -44,13 +44,13 @@ And after the registration is completed, they will see the payment instructions ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-hX0GPWYfEA.png) -The payment instructions can be changed on **Multisite Ultimate > Settings > Payments** after toggling on the **Manual** payment option: +The payment instructions can be changed on **Ultimate Multisite > Settings > Payments** after toggling on the **Manual** payment option: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-RpPGDd0BZo.png) After your customers complete the manual payment and send you the confirmation, you need to **manually confirm the payment** to activate the customer membership and website. -To do this, go to **Multisite Ultimate > Payments** and find the customer payment. It should still show a **Pending** status. +To do this, go to **Ultimate Multisite > Payments** and find the customer payment. It should still show a **Pending** status. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-2rW0tFemEP.png) diff --git a/.wiki/the-wp-ultimo-affiliate-program.md b/.wiki/the-wp-ultimo-affiliate-program.md index 0d46df70d..e3a9ec591 100644 --- a/.wiki/the-wp-ultimo-affiliate-program.md +++ b/.wiki/the-wp-ultimo-affiliate-program.md @@ -1,6 +1,6 @@ -# The Multisite Ultimate Affiliate Program +# The Ultimate Multisite Affiliate Program -You can become a Multisite Ultimate affiliate by joining our Lemon Squeezy affiliate program. +You can become a Ultimate Multisite affiliate by joining our Lemon Squeezy affiliate program. First go to our affiliates page on , and click the button to become an affiliate. ![](https://docs.nextpress.us/uploads/d63c485e-f614-4a5a-b86d-4f604036e979.png) @@ -15,9 +15,9 @@ You will receive a confirmation email from Lemon Squeezy once your application i You can manage and view all of your affiliate memberships, referrals and payouts on your Affiliate Hub. ![](https://docs.nextpress.us/uploads/ce97a82d-ab63-4a43-bfa3-eb62e10e29bf.png) -## **How does Multisite Ultimate’s affiliate program work?** +## **How does Ultimate Multisite’s affiliate program work?** -If you become a Multisite Ultimate affiliate you will have a referral URL to sell Multisite Ultimate on your website, page or other social network. +If you become a Ultimate Multisite affiliate you will have a referral URL to sell Ultimate Multisite on your website, page or other social network. Each sale made through this link gives you a 20% commission on the license value. diff --git a/.wiki/the-wp-ultimo-register-api-endpoint.md b/.wiki/the-wp-ultimo-register-api-endpoint.md index eb2cd2eb5..a15aae2d8 100644 --- a/.wiki/the-wp-ultimo-register-api-endpoint.md +++ b/.wiki/the-wp-ultimo-register-api-endpoint.md @@ -1,18 +1,18 @@ -# The Multisite Ultimate Register API endpoint +# The Ultimate Multisite Register API endpoint -In this tutorial, you will learn how to use the Multisite Ultimate /register API endpoint to create the entire onboarding process for a new customer in your network and how to do that with Zapier. +In this tutorial, you will learn how to use the Ultimate Multisite /register API endpoint to create the entire onboarding process for a new customer in your network and how to do that with Zapier. The endpoint uses the POST method and is called by the URL _**https://yoursite.com/wp-json/wu/v2/register**_. In this call, 4 processes will be executed within your network: * A new WordPress user or its identification through the user ID will be created. - * A new Customer in Multisite Ultimate or its identification through the customer ID will be created. + * A new Customer in Ultimate Multisite or its identification through the customer ID will be created. * A new site on the WordPress network will be created. - * In the end, a new Membership in Multisite Ultimate will be created. + * In the end, a new Membership in Ultimate Multisite will be created. -For this process, you will need your API credentials. To get them, go to your network admin panel, navigate to **Multisite Ultimate > Settings** > **API & Webhooks,** and look for the API Settings section. +For this process, you will need your API credentials. To get them, go to your network admin panel, navigate to **Ultimate Multisite > Settings** > **API & Webhooks,** and look for the API Settings section. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-MzcShcSVgI.png) Select the **Enable API** and get your API credentials. @@ -25,7 +25,7 @@ Let's have an overview of the minimum information we need to send to the endpoin ### Customer -This is the information that is necessary for the process of creating the User and the Multisite Ultimate Customer: +This is the information that is necessary for the process of creating the User and the Ultimate Multisite Customer: "customer_id" : integer @@ -41,7 +41,7 @@ The only information we need inside this object is Membership Status. ### **Products** -Products are given an array with 1 or more product ID from your network. Beware, this endpoint does not create products. Check Multisite Ultimate's documentation to better understand the product creation endpoint. +Products are given an array with 1 or more product ID from your network. Beware, this endpoint does not create products. Check Ultimate Multisite's documentation to better understand the product creation endpoint. **"products" : [1,2],** @@ -67,7 +67,7 @@ Do you know how to use and enjoy everything that the new version of Zapier offer ### Creating an action -To better illustrate how to use the registration endpoint with Zapier, let's create an integration with Google Forms. Every time this form is filled out and the information is saved in the form's answer sheet, a new membership will be created in the Multisite Ultimate network. +To better illustrate how to use the registration endpoint with Zapier, let's create an integration with Google Forms. Every time this form is filled out and the information is saved in the form's answer sheet, a new membership will be created in the Ultimate Multisite network. In Google Forms, make a form with the minimum fields necessary to create a new membership in the network. @@ -79,7 +79,7 @@ Now in Zapier, make a new Zap and connect the created form in Google through the Done! The Google Forms form is connected with Zapier and ready to be integrated with the network. Now let's move on to the Action that will result from the Trigger that Google Forms triggers every time it's filled. -Locate the new Multisite Ultimate app and select it. For this kind of Zap choose the Register option. +Locate the new Ultimate Multisite app and select it. For this kind of Zap choose the Register option. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-hq2yHGYR31.png) diff --git a/.wiki/touring-the-admin-panel.md b/.wiki/touring-the-admin-panel.md index 1b14b8591..e53014f03 100644 --- a/.wiki/touring-the-admin-panel.md +++ b/.wiki/touring-the-admin-panel.md @@ -1,16 +1,16 @@ # Touring the Admin Panel -## The Multisite Ultimate Grand Tour +## The Ultimate Multisite Grand Tour -The Ultimate WaaS Solution. +The Ultimate Multisite Solution. -Multisite Ultimate aims to be as simple and self-explanatory as possible, but when you have a tool that does as much as ours do, it might be overwhelming to learn how to navigate the plugin options and admin pages on your own. +Ultimate Multisite aims to be as simple and self-explanatory as possible, but when you have a tool that does as much as ours do, it might be overwhelming to learn how to navigate the plugin options and admin pages on your own. -In this lesson, we'll have a tour of the Multisite Ultimate admin pages to help you get situated. We'll also cover particular pages of interest when getting started and teach you how to use _The Jumper_ to get around faster. +In this lesson, we'll have a tour of the Ultimate Multisite admin pages to help you get situated. We'll also cover particular pages of interest when getting started and teach you how to use _The Jumper_ to get around faster. ## Dashboard -Multisite Ultimate _Dashboard_ will show you some basic reports and analytics. This includes revenues, site activities like which product is selling, how many new memberships your site is getting, the number of site visitors, and its location. +Ultimate Multisite _Dashboard_ will show you some basic reports and analytics. This includes revenues, site activities like which product is selling, how many new memberships your site is getting, the number of site visitors, and its location. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-mldvqu9moz0orfcbqmqhqlnss8zz) @@ -70,13 +70,13 @@ _Broadcasts_ is a useful tool for super admin in rolling out announcements or se ## Settings -The _Settings_ page is where you go to configure Multisite Ultimate. You can edit things such as registration settings, payments, API and webhooks, domain mapping and other integrations. You can also access and install Multisite Ultimate add-ons from here. +The _Settings_ page is where you go to configure Ultimate Multisite. You can edit things such as registration settings, payments, API and webhooks, domain mapping and other integrations. You can also access and install Ultimate Multisite add-ons from here. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-vrrdyuda503g18ttuhducdae88mj) -### Installing Multisite Ultimate Add-ons +### Installing Ultimate Multisite Add-ons -To install Multisite Ultimate add-ons go to the _Add-ons_ block on the right side of the _Settings_ page and click the _Check our Add-ons_ button. This will redirect you to the list of Multisite Ultimate add-ons, where you can download and install them. +To install Ultimate Multisite add-ons go to the _Add-ons_ block on the right side of the _Settings_ page and click the _Check our Add-ons_ button. This will redirect you to the list of Ultimate Multisite add-ons, where you can download and install them. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-olpc08ovkkd2ler5x3p6rpmsdbi1) @@ -90,6 +90,6 @@ The _Events_ page keeps a record of all the events and logs happening within you ## Webhooks -This section is for advanced users as webhooks are commonly used to deliver data to another application. This is useful should you need to send data from Multisite Ultimate to another platform like Zapier. +This section is for advanced users as webhooks are commonly used to deliver data to another application. This is useful should you need to send data from Ultimate Multisite to another platform like Zapier. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-aqmmcl8jds5wroiya7jv2yqyhgg0) diff --git a/.wiki/translating-wp-ultimo.md b/.wiki/translating-wp-ultimo.md index cdb61da52..5edcb8bba 100644 --- a/.wiki/translating-wp-ultimo.md +++ b/.wiki/translating-wp-ultimo.md @@ -1,12 +1,12 @@ -# Translating Multisite Ultimate +# Translating Ultimate Multisite -Multisite Ultimate's code is developed in English, but the plugin and its add-ons ship with the necessary files (.pot) to allow you to easily translate them to your native language. +Ultimate Multisite's code is developed in English, but the plugin and its add-ons ship with the necessary files (.pot) to allow you to easily translate them to your native language. -In this article, we will cover how you can translate your copy of Multisite Ultimate for yourself. +In this article, we will cover how you can translate your copy of Ultimate Multisite for yourself. -## Translating Multisite Ultimate locally +## Translating Ultimate Multisite locally -If you want to translate Multisite Ultimate for your own project, there are several options available: +If you want to translate Ultimate Multisite for your own project, there are several options available: ### Use Poedit to translate the .pot file @@ -14,9 +14,9 @@ You can download and use a desktop application called **Poedit** , which allows More on Poedit: [The fastest and most convenient way to translate interfaces — Poedit](https://poedit.net) -### Using Loco Translate to translate Multisite Ultimate +### Using Loco Translate to translate Ultimate Multisite -If you don't want to have the hassle of installing a desktop application and copying and pasting files to your server, you can translate Multisite Ultimate directly from the admin panel using another WordPress plugin called **Loco Translate**. +If you don't want to have the hassle of installing a desktop application and copying and pasting files to your server, you can translate Ultimate Multisite directly from the admin panel using another WordPress plugin called **Loco Translate**. Loco optimizes the entire workflow, adding a translation screen inside your WP Admin. There you can create a new translation set and Loco will compile the .po and .mo files for you. diff --git a/.wiki/understanding-the-wp-ultimo-dashboard.md b/.wiki/understanding-the-wp-ultimo-dashboard.md index f14e208d0..a0d41f6e7 100644 --- a/.wiki/understanding-the-wp-ultimo-dashboard.md +++ b/.wiki/understanding-the-wp-ultimo-dashboard.md @@ -1,18 +1,18 @@ -# Understanding the Multisite Ultimate Dashboard +# Understanding the Ultimate Multisite Dashboard -Before we immerse ourselves in more advanced configuration options and the operational aspects of Multisite Ultimate let us take a look at the dashboard. +Before we immerse ourselves in more advanced configuration options and the operational aspects of Ultimate Multisite let us take a look at the dashboard. -Like many WordPress plugins, Multisite Ultimate creates a network-level menu entry titled ‘Multisite Ultimate’ with a number of children entries underneath. +Like many WordPress plugins, Ultimate Multisite creates a network-level menu entry titled ‘Ultimate Multisite’ with a number of children entries underneath. ## Network Dashboard Widgets -Multisite Ultimate injects a few useful widgets into the network-level dashboard. This dashboard is found by navigating to My Sites > Network Admin > Dashboard. The widgets are designed to provide easy access to information and common operations for the network administrator. +Ultimate Multisite injects a few useful widgets into the network-level dashboard. This dashboard is found by navigating to My Sites > Network Admin > Dashboard. The widgets are designed to provide easy access to information and common operations for the network administrator. ### First Steps ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-srqWv5VyzOrGTkof9L9a_Mmm8mdsbxSU8znvqjPFOav6rT_fzn3VQRxqqSU6m1216mVWYZTPpY-_1dBufyyPuaWQihxTrAYrwm8gPSN1XqLPuOZEzxC5O992EVxksgF2vy_5wRc0=s0) -This widget predominantly appears on a fresh installation of Multisite Ultimate such as ours and reminds the network administrator to complete additional tasks. +This widget predominantly appears on a fresh installation of Ultimate Multisite such as ours and reminds the network administrator to complete additional tasks. ### Summary @@ -24,7 +24,7 @@ The summary widget reports on the number of signups and their revenue for the da ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Y8E31QvWTL_xAFuo2fCqibJzQAUu_JZpF5v9g-iPqmnX1YoRgKcshwGup7oLkvPiJLoj1OhWDF3bp8yKR3A5xOAMEYkP2drb1NBDQUDThoPqUCYwhqcVr16CU71D6dHpx66fvmUj=s0) -This widget reports on events across Multisite Ultimate for which there is a variety to report on. Events could include aspects such as signups, cancellations, creations, and deletions of sites and other activities. +This widget reports on events across Ultimate Multisite for which there is a variety to report on. Events could include aspects such as signups, cancellations, creations, and deletions of sites and other activities. Please refer to the events section of the documentation for a more detailed description. @@ -38,25 +38,25 @@ This utility widget displays a short summary of users and sites in the network. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Ovcqef6K5qSXNE6w80HoQGbR7XsJVp3TYicPsbEnn41LuA_USpQj5DGSZScB8oEsbsa7Bsfcl7s1-4BF1sD9axFfJE8Lt5Jg4LiuSSJujJiSP316BDvhyHl5k_WnzI3Endv33F5g=s0) -This widget fetches and displays the latest Multisite Ultimate news. It is advantageous to keep an eye on this widget for information about updates, critical bugs, and security fixes. +This widget fetches and displays the latest Ultimate Multisite news. It is advantageous to keep an eye on this widget for information about updates, critical bugs, and security fixes. -## Multisite Ultimate Dashboard +## Ultimate Multisite Dashboard -Where the network-level dashboard presents holistic information about the network the Multisite Ultimate dashboard located at the top-level of the Multisite Ultimate menu presents information about the service. +Where the network-level dashboard presents holistic information about the network the Ultimate Multisite dashboard located at the top-level of the Ultimate Multisite menu presents information about the service. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-Wz5dIEwYk16TZwTWFxYpQdMaUDrm1-I_zmx5d1vHUoJX1ZE38MZYWLaK9QaOTfDKU-J0hTQ_VlEflxKJ9YT3227K8h4XHiZzDVyFFQ-3kLz2klP5j2lZUhxDTRGgvYls8CNS0w0s=s0) ## Welcome Tour -On a fresh installation of Multisite Ultimate a brief welcome tour is displayed familiarizing the network administrator with the dashboard and its new functions. Customers of Multisite Ultimate 1.x will notice the dashboard as a new addition as well as more intuitive navigation and options. +On a fresh installation of Ultimate Multisite a brief welcome tour is displayed familiarizing the network administrator with the dashboard and its new functions. Customers of Ultimate Multisite 1.x will notice the dashboard as a new addition as well as more intuitive navigation and options. ### Documentation ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-RYcf2DQi6AnVgd85FoU7p4l_F_TVNCVDiERXdjgcYLVwFpA7agYRlewopnQk-MWh6ynKRaM-E7fJYo7IaZHzu-KXtsoIMz9PpMOOV1ixKD-51Moy5n40h-95tQxHNFRW77FCyWnA=s0) -At the top of the dashboard lies the ‘Documentation’ link. The documentation (this documentation) contains a wealth of information regarding the installation, operation, support, and maintenance of Multisite Ultimate as well as ancillary information designed to be helpful to the network administrator. +At the top of the dashboard lies the ‘Documentation’ link. The documentation (this documentation) contains a wealth of information regarding the installation, operation, support, and maintenance of Ultimate Multisite as well as ancillary information designed to be helpful to the network administrator. -The documentation link is prevalent on most Multisite Ultimate pages providing contextual help when called upon. Thus when working with sites, for example, the documentation link will provide help related to the creation and management of network sites. +The documentation link is prevalent on most Ultimate Multisite pages providing contextual help when called upon. Thus when working with sites, for example, the documentation link will provide help related to the creation and management of network sites. ### Monthly Recurring Revenue Growth diff --git a/.wiki/understanding-your-dashboard-v2.md b/.wiki/understanding-your-dashboard-v2.md index f32f1200e..d89e1b62b 100644 --- a/.wiki/understanding-your-dashboard-v2.md +++ b/.wiki/understanding-your-dashboard-v2.md @@ -1,18 +1,18 @@ # Understanding your Dashboard (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ -Multisite Ultimate v2 has a dedicated **Dashboard** under the Multisite Ultimate menu, but it also adds some sections to the Network Dashboard. This article will explain the sections you will see both on the Network and the Multisite Ultimate Dashboards. +Ultimate Multisite v2 has a dedicated **Dashboard** under the Ultimate Multisite menu, but it also adds some sections to the Network Dashboard. This article will explain the sections you will see both on the Network and the Ultimate Multisite Dashboards. ## The Network Dashboard: -Multisite Ultimate injects a few useful widgets into the network-level dashboard. This dashboard is found by navigating to **My Sites > Network Admin > Dashboard**. The widgets are designed to provide easy access to information and common operations for the network administrator. This is how the network dashboard should look: +Ultimate Multisite injects a few useful widgets into the network-level dashboard. This dashboard is found by navigating to **My Sites > Network Admin > Dashboard**. The widgets are designed to provide easy access to information and common operations for the network administrator. This is how the network dashboard should look: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-pwJc0Mgd3l.png) Now, let's take a look at each widget of the network dashboard: -**First Steps:** This widget predominantly appears on a fresh installation of Multisite Ultimate such as ours and reminds the network administrator to complete additional tasks, like configuring a payment method and create a test account. +**First Steps:** This widget predominantly appears on a fresh installation of Ultimate Multisite such as ours and reminds the network administrator to complete additional tasks, like configuring a payment method and create a test account. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-Jtiq6tiSGk.png) @@ -20,7 +20,7 @@ Now, let's take a look at each widget of the network dashboard: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-169qHa0DyY.png) -**Activity Stream:** This widget reports on events across Multisite Ultimate for which there is a variety to report on. Events could include aspects such as signups, cancellations, creations, and deletions of sites and other activities. +**Activity Stream:** This widget reports on events across Ultimate Multisite for which there is a variety to report on. Events could include aspects such as signups, cancellations, creations, and deletions of sites and other activities. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-VauK7uGvG4.png) @@ -28,23 +28,23 @@ Now, let's take a look at each widget of the network dashboard: ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-hDfVORWUys.png) -**News & Discussions:** This widget fetches and displays the latest Multisite Ultimate news. It is advantageous to keep an eye on this widget for information about updates, critical bugs, and security fixes. +**News & Discussions:** This widget fetches and displays the latest Ultimate Multisite news. It is advantageous to keep an eye on this widget for information about updates, critical bugs, and security fixes. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-vywHpdIdHj.png) -## **The Multisite Ultimate Dashboard:** +## **The Ultimate Multisite Dashboard:** -While the network dashboard presents holistic information about the network, the Multisite Ultimate dashboard located at the top-level of the Multisite Ultimate menu presents information about the service. +While the network dashboard presents holistic information about the network, the Ultimate Multisite dashboard located at the top-level of the Ultimate Multisite menu presents information about the service. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-7dcQ9MDkoZ.png) #### Welcome Tour: -On a fresh installation of Multisite Ultimate v2 a brief welcome tour is displayed familiarizing the network administrator with the dashboard and its new functions. +On a fresh installation of Ultimate Multisite v2 a brief welcome tour is displayed familiarizing the network administrator with the dashboard and its new functions. -**Documentation:** At the top of the dashboard lies the **Documentation** link. The documentation (this documentation) contains a wealth of information regarding the installation, operation, support, and maintenance of Multisite Ultimate as well as ancillary information designed to be helpful to the network administrator. +**Documentation:** At the top of the dashboard lies the **Documentation** link. The documentation (this documentation) contains a wealth of information regarding the installation, operation, support, and maintenance of Ultimate Multisite as well as ancillary information designed to be helpful to the network administrator. -The documentation link is prevalent on most Multisite Ultimate pages providing contextual help when called upon. Thus when working with sites, for example, the documentation link will provide help related to the creation and management of network sites. +The documentation link is prevalent on most Ultimate Multisite pages providing contextual help when called upon. Thus when working with sites, for example, the documentation link will provide help related to the creation and management of network sites. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-AvuWqzBqqU.png) @@ -68,4 +68,4 @@ The date range governs the period of the information displayed by the widgets di **Signups by Forms:** On this section you can see how many customers signed up to your network using your main checkout form - and any other checkout form that you have - and how many were added by the super admin(s) of the network. -**Most Visited Sites:** The most visited websites of your network. To make this function work, you need to enable the visit counting function at **Multisite Ultimate > Settings > Sites > Enable Visits Limitation and Counting**. +**Most Visited Sites:** The most visited websites of your network. To make this function work, you need to enable the visit counting function at **Ultimate Multisite > Settings > Sites > Enable Visits Limitation and Counting**. diff --git a/.wiki/upgrading-a-plan-v2.md b/.wiki/upgrading-a-plan-v2.md index 5f4f26181..b659c9552 100644 --- a/.wiki/upgrading-a-plan-v2.md +++ b/.wiki/upgrading-a-plan-v2.md @@ -1,6 +1,6 @@ # Upgrading a Plan (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ Your customers are able to upgrade their plans at any time. They can either upgrade to another plan or purchase any additional services or packages that you offer on your network. @@ -40,7 +40,7 @@ After the checkout is completed, the new product(s) will be added to your custom On each of your products, you'll have an **Up & Downgrades** tab. The first option on that tab is a field called **Plan Group**. -**Plan groups** is what allows you to let Multisite Ultimate know that certain plans belong to the same "family", and therefore should be used to construct upgrade/downgrade path options. +**Plan groups** is what allows you to let Ultimate Multisite know that certain plans belong to the same "family", and therefore should be used to construct upgrade/downgrade path options. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-KZFTDp2LlW.png) @@ -50,4 +50,4 @@ For example, you have a **Free plan** , a **Basic Plan** and a **Premium Plan** ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-dbabo1khAz.png) -What this should do is tell Multisite Ultimate that there is a "family" of plans in the network called **High End**. When offering upgrades or downgrades, only plans from the same family will be presented as an option for the user. +What this should do is tell Ultimate Multisite that there is a "family" of plans in the network called **High End**. When offering upgrades or downgrades, only plans from the same family will be presented as an option for the user. diff --git a/.wiki/using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo.md b/.wiki/using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo.md index 71a6e5f1c..61eb90280 100644 --- a/.wiki/using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo.md +++ b/.wiki/using-wp-ultimo-affiliatewp-integration-to-create-your-own-referral-program-for-wp-ultimo.md @@ -1,20 +1,20 @@ -# Using Multisite Ultimate: AffiliateWP Integration to create your own referral program for Multisite Ultimate +# Using Ultimate Multisite: AffiliateWP Integration to create your own referral program for Ultimate Multisite -[AffiliateWP](https://affiliatewp.com/) has become the go-to solution when building an affiliate program for your online business. Multisite Ultimate: AffiliateWP is the bridge that will enable you to build the same thing for your premium network. +[AffiliateWP](https://affiliatewp.com/) has become the go-to solution when building an affiliate program for your online business. Ultimate Multisite: AffiliateWP is the bridge that will enable you to build the same thing for your premium network. ## Getting Started First of all, you **need to have** [**AffiliateWP**](https://affiliatewp.com/) **active**! You won't be able to use our add-on if you don't have **the plugin that integrates with it**. In case you don’t plan to let your clients use it on their sites as well, AffiliateWP should be active only on your main site. -Also, you’ll need both **Multisite Ultimate** and **Multisite Ultimate: AffiliateWP** **activated** **network-wide**. +Also, you’ll need both **Ultimate Multisite** and **Ultimate Multisite: AffiliateWP** **activated** **network-wide**. -## Adding Multisite Ultimate as an AffiliateWP Integration +## Adding Ultimate Multisite as an AffiliateWP Integration -On your main site, head to Affiliates Settings, and on the Integrations tab, check Multisite Ultimate. This will tell [AffiliateWP](https://affiliatewp.com/) to start tracking visits and conversions from the Multisite Ultimate sign-up flow. +On your main site, head to Affiliates Settings, and on the Integrations tab, check Ultimate Multisite. This will tell [AffiliateWP](https://affiliatewp.com/) to start tracking visits and conversions from the Ultimate Multisite sign-up flow. [![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-602126536867724dfc6f0a54-zkWh3TFms-1F9087E6-928C-4043-94B9-F85966AF05DA.png)](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-602126536867724dfc6f0a54-zkWh3TFms-1F9087E6-928C-4043-94B9-F85966AF05DA.png) -_Check the Multisite Ultimate box at the bottom and save_ +_Check the Ultimate Multisite box at the bottom and save_ That’s pretty much all that it takes. Visits coming from referral links will be tracked and when that user later makes his first payment, the conversion will be created and a commission will be put aside to the affiliate responsible for the conversion. diff --git a/.wiki/using-wp-ultimo-mailchimp-integration.md b/.wiki/using-wp-ultimo-mailchimp-integration.md index 70e3da87c..99cecbf72 100644 --- a/.wiki/using-wp-ultimo-mailchimp-integration.md +++ b/.wiki/using-wp-ultimo-mailchimp-integration.md @@ -1,16 +1,16 @@ -# Using Multisite Ultimate: MailChimp Integration +# Using Ultimate Multisite: MailChimp Integration -Syncing subscribers' emails with your MailChimp lists is really easy with our Multisite Ultimate: MailChimp Integration Add-on. This tutorial aims to help you get everything set up! +Syncing subscribers' emails with your MailChimp lists is really easy with our Ultimate Multisite: MailChimp Integration Add-on. This tutorial aims to help you get everything set up! ## Getting an API key -Before we start to get into the different settings available, we need a MailChimp API key. This will allow Multisite Ultimate to talk with the MailChimp API to retrieve lists, groups, and add email addresses to those lists and groups when users sign up. +Before we start to get into the different settings available, we need a MailChimp API key. This will allow Ultimate Multisite to talk with the MailChimp API to retrieve lists, groups, and add email addresses to those lists and groups when users sign up. Follow this tutorial to get your own MailChimp API key: [About API Keys | MailChimp](https://kb.mailchimp.com/integrations/api-integrations/about-api-keys) [![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-60212659ac2f834ec53865f3-zimbKYFZo-B4D1E28C-1203-4E9A-AC7B-D8E9B5659B93.png)](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-60212659ac2f834ec53865f3-zimbKYFZo-B4D1E28C-1203-4E9A-AC7B-D8E9B5659B93.png) -_Add your MailChimp API key on_ _**Multisite Ultimate Settings - > Add-on Settings -> MailChimp**_ +_Add your MailChimp API key on_ _**Ultimate Multisite Settings - > Add-on Settings -> MailChimp**_ ## Integration Mode diff --git a/.wiki/what-is-wordpress-multisite.md b/.wiki/what-is-wordpress-multisite.md index 3d99fb58f..f77609f22 100644 --- a/.wiki/what-is-wordpress-multisite.md +++ b/.wiki/what-is-wordpress-multisite.md @@ -56,7 +56,7 @@ Once you convert your single-site WordPress installation into multisite, the ori Plugins and themes can only be installed or uninstalled from the network admin panel by super admins. Subsite admins can then choose to activate or deactivate those plugins or themes unless the super admin network activates a plugin, which forces it to be active for all subsites all the time. -_Note: as you can see, inviting someone to your network and granting them super admin status gives this user total control over your network. As an example, other super admins can even remove your super admin status, effectively locking you out of your own network admin panel. In order to allow Multisite Ultimate customers to have granular control over what additional super admins can do, we have an add-on called Support Agents. This add-on allows you to create yet another kind of user – an agent – with only the permissions they might need to perform their tasks on the network._ +_Note: as you can see, inviting someone to your network and granting them super admin status gives this user total control over your network. As an example, other super admins can even remove your super admin status, effectively locking you out of your own network admin panel. In order to allow Ultimate Multisite customers to have granular control over what additional super admins can do, we have an add-on called Support Agents. This add-on allows you to create yet another kind of user – an agent – with only the permissions they might need to perform their tasks on the network._ ## What is shared among subsites and what is not @@ -90,7 +90,7 @@ One day, John needs to buy a new pair of shoes and he finds the perfect ones in What happened here is that John’s user is shared across the entire network so when he tries to create an account to checkout on Alice’s site, WordPress will detect that a user with the same email address already exists and throw an error. -_Note: We realize how bad that can be depending on your use-case, so Multisite Ultimate has an option that bypasses the regular checks for an existing user, allowing multiple accounts to be created using the same email address. Each account is bound to a subsite, so the risk of collision is kept to a minimal. In the example above, John would not get an error message and would be able to buy those shoes without an issue. This option is called Enable Multiple Accounts, and can be activate on Multisite Ultimate → Settings → Login & Registration._ +_Note: We realize how bad that can be depending on your use-case, so Ultimate Multisite has an option that bypasses the regular checks for an existing user, allowing multiple accounts to be created using the same email address. Each account is bound to a subsite, so the risk of collision is kept to a minimal. In the example above, John would not get an error message and would be able to buy those shoes without an issue. This option is called Enable Multiple Accounts, and can be activate on Ultimate Multisite → Settings → Login & Registration._ Even though the user table is shared, users can be added to and removed from subsites by the subsite admins or the super admin, and they can even have different user roles on different subsites. diff --git a/.wiki/why-is-wp-ultimo-no-longer-sold-at-codecanyon.md b/.wiki/why-is-wp-ultimo-no-longer-sold-at-codecanyon.md index af5ed609f..63004954f 100644 --- a/.wiki/why-is-wp-ultimo-no-longer-sold-at-codecanyon.md +++ b/.wiki/why-is-wp-ultimo-no-longer-sold-at-codecanyon.md @@ -1,18 +1,18 @@ -# Why is Multisite Ultimate no longer sold at CodeCanyon? +# Why is Ultimate Multisite no longer sold at CodeCanyon? ### NO! Our plugin price IS NOT $100,000! -[We changed our pricing model](https://wpultimo.com/wp-ultimo-1-9-0-is-out-domain-reseller-integration-with-opensrs-new-pricing-structure-and-development-roadmap-strategy-for-2-0-features/), therefore Multisite Ultimate will not be sold at CodeCanyon anymore. +[We changed our pricing model](https://wpultimo.com/wp-ultimo-1-9-0-is-out-domain-reseller-integration-with-opensrs-new-pricing-structure-and-development-roadmap-strategy-for-2-0-features/), therefore Ultimate Multisite will not be sold at CodeCanyon anymore. **OMG! I bought a license on CodeCanyon! What will happen to me?** -Don't worry! If you are one of our early supporters and bought Multisite Ultimate before prices changed, you now own a Lifetime License and can access all of our add-ons. +Don't worry! If you are one of our early supporters and bought Ultimate Multisite before prices changed, you now own a Lifetime License and can access all of our add-ons. -You will find Multisite Ultimate on the platform though, at an unusually high price, in order to avoid purchases there. The product will not be removed from CodeCanyon until the transition process is fully completed. +You will find Ultimate Multisite on the platform though, at an unusually high price, in order to avoid purchases there. The product will not be removed from CodeCanyon until the transition process is fully completed. This is due to the type of licenses we have. -In the beginning, Multisite Ultimate was a one-time payment plugin. +In the beginning, Ultimate Multisite was a one-time payment plugin. Today, we rely on subscription plans (except for our Lifetime license), which are not supported by CodeCanyon. diff --git a/.wiki/why-wp-ultimo.md b/.wiki/why-wp-ultimo.md index 9592eb6a7..bbea851bf 100644 --- a/.wiki/why-wp-ultimo.md +++ b/.wiki/why-wp-ultimo.md @@ -1,46 +1,46 @@ -# Why Multisite Ultimate +# Why Ultimate Multisite If you got to this article, you probably heard that our plugin might be the solution to make your business idea come true. We hope you have the answers you need by the end of this piece. -## What is Multisite Ultimate? +## What is Ultimate Multisite? -Multisite Ultimate is a WordPress Multisite plugin that enables you to offer customers a WaaS (a Website as a Service). With our plugin, you can have various subscription tiers and have customers pay you a recurring fee to have a site hosted in your Multisite network. +Ultimate Multisite is a WordPress Multisite plugin that enables you to offer customers a WaaS (a Website as a Service). With our plugin, you can have various subscription tiers and have customers pay you a recurring fee to have a site hosted in your Multisite network. -Multisite Ultimate lets you receive your payments with different gateways (such as WooCommerce or Stripe), create site templates to make your life much easier when a new user registers on your network, map domains, and personalize your registration forms to create a customized experience for your customers. +Ultimate Multisite lets you receive your payments with different gateways (such as WooCommerce or Stripe), create site templates to make your life much easier when a new user registers on your network, map domains, and personalize your registration forms to create a customized experience for your customers. And this is just the beginning since you can extend its functions with add-ons and webhooks. ## Other features -Multisite Ultimate also offers: +Ultimate Multisite also offers: - * Domain Mapping integration with Managed WordPress hosting providers: Multisite Ultimate automatically adds mapped domains to the admin panels of WP Engine, Cloudways, cPanel, RunCloud, Closte, and more when a new domain is mapped, so you don’t have to do it manually. In some cases, we’ll even trigger SSL certificate fetching for you. + * Domain Mapping integration with Managed WordPress hosting providers: Ultimate Multisite automatically adds mapped domains to the admin panels of WP Engine, Cloudways, cPanel, RunCloud, Closte, and more when a new domain is mapped, so you don’t have to do it manually. In some cases, we’ll even trigger SSL certificate fetching for you. - * Webhooks: Multisite Ultimate has a powerful Webhook system that allows you to integrate your network with a number of different services. We even offer direct integration with Zapier, which opens your network to some 1000+ apps and services available on their platform. + * Webhooks: Ultimate Multisite has a powerful Webhook system that allows you to integrate your network with a number of different services. We even offer direct integration with Zapier, which opens your network to some 1000+ apps and services available on their platform. - * Powerful Admin Pages to help your customers using your favorite page builder: Multisite Ultimate has a handy add-on called Admin Pages Creator, which basically allows you to add fully customized Admin Pages to your customers’ dashboard using Elementor, Beaver Builder, and Brizy templates. + * Powerful Admin Pages to help your customers using your favorite page builder: Ultimate Multisite has a handy add-on called Admin Pages Creator, which basically allows you to add fully customized Admin Pages to your customers’ dashboard using Elementor, Beaver Builder, and Brizy templates. * Two different Admin Themes to customize the dashboard experience of your customers: Check Material WP and PRO. And more advanced stuff: - * Support to Template Overrides: With Multisite Ultimate, you can replace the default HTML templates for the signup flow with your own versions without worrying about changing core plugin files. + * Support to Template Overrides: With Ultimate Multisite, you can replace the default HTML templates for the signup flow with your own versions without worrying about changing core plugin files. * Search and Replace API: You can also annotate site templates with placeholders like {{site_name}} and use the Search and Replace API to auto-populate those placeholders with information provided by your customer right after sign-up, automatically. ## Use cases -Now it's time to see some of the possible use cases for Multisite Ultimate. +Now it's time to see some of the possible use cases for Ultimate Multisite. ### Case 1: An Agency Typically the core skills of an agency lie in the design of websites with aspects such as their hosting or marketing being listed as additional services. -For agencies, Multisite Ultimate presents an incredible value proposition in its ability to host and manage multiple websites on a single platform. Even more so agencies who standardize their designs on particular themes such as GeneratePress, Astra, OceanWP, or others can leverage Multisite Ultimate’s abilities to automatically activate these themes for each new site. +For agencies, Ultimate Multisite presents an incredible value proposition in its ability to host and manage multiple websites on a single platform. Even more so agencies who standardize their designs on particular themes such as GeneratePress, Astra, OceanWP, or others can leverage Ultimate Multisite’s abilities to automatically activate these themes for each new site. -Tight control over plugins and themes is maintained on a per-product basis through Multisite Ultimate’s settings allowing plugins and themes to be made available or hidden as well as their activation state when instantiated for a new site. +Tight control over plugins and themes is maintained on a per-product basis through Ultimate Multisite’s settings allowing plugins and themes to be made available or hidden as well as their activation state when instantiated for a new site. -Agencies will find peace of mind with Multisite Ultimate allowing them to do what they do best - design exceptional websites. +Agencies will find peace of mind with Ultimate Multisite allowing them to do what they do best - design exceptional websites. ### Case 2: Niche Provider @@ -48,7 +48,7 @@ There is an old saying which says, “Do one thing and do it well”. For many s If you are focused on developing a niche network of sites you would probably want to provide services based on a common framework and platform. That's when site templates may help! -One of Multisite Ultimate’s innovative features, a template site is one where the theme has been installed and activated, necessary plugins installed and activated, and sample posts or pages created. When a customer creates a new site based on the template, the contents and settings of the template are copied to the newly created site. +One of Ultimate Multisite’s innovative features, a template site is one where the theme has been installed and activated, necessary plugins installed and activated, and sample posts or pages created. When a customer creates a new site based on the template, the contents and settings of the template are copied to the newly created site. For a provider of niche sites and services, this provides an unparalleled advantage in the ability to instantly create a site ready to go with custom plugins and design. The customer only needs to provide minimal input to complete the service. @@ -56,10 +56,10 @@ For a provider of niche sites and services, this provides an unparalleled advant There are a myriad of ways to host WordPress sites but rarely it is as simple as providing web space to a customer with a pre-installed version of WordPress. This is because a number of decisions and considerations need to come together to provide a meaningful service. -Multisite Ultimate excels in this area by providing a comprehensive turnkey solution for the hosting of WordPress sites. Included in the solution are the core mechanisms to provide subscription services, payment collection, checkout forms, discount vouchers, and customer communications. +Ultimate Multisite excels in this area by providing a comprehensive turnkey solution for the hosting of WordPress sites. Included in the solution are the core mechanisms to provide subscription services, payment collection, checkout forms, discount vouchers, and customer communications. -Much of the integral work required to correctly install, configure, and maintain a WordPress Multisite is facilitated by Multisite Ultimate to the extent that network administrators need only consider aspects as they relate to their service or niche such as product tiers, pricing, and service offers. +Much of the integral work required to correctly install, configure, and maintain a WordPress Multisite is facilitated by Ultimate Multisite to the extent that network administrators need only consider aspects as they relate to their service or niche such as product tiers, pricing, and service offers. -For developers wishing to integrate with Multisite Ultimate, the solution also offers a comprehensive RESTful API and Webhooks for event notification. +For developers wishing to integrate with Ultimate Multisite, the solution also offers a comprehensive RESTful API and Webhooks for event notification. -Without reliance on a myriad of external plugins and licenses, Multisite Ultimate provides a feature-rich and comparable solution to that of Wix, Squarespace, [WordPress.com](https://WordPress.com), and others. +Without reliance on a myriad of external plugins and licenses, Ultimate Multisite provides a feature-rich and comparable solution to that of Wix, Squarespace, [WordPress.com](https://WordPress.com), and others. diff --git a/.wiki/wp-ultimo-101.md b/.wiki/wp-ultimo-101.md index 685e561d8..b3a73bcce 100644 --- a/.wiki/wp-ultimo-101.md +++ b/.wiki/wp-ultimo-101.md @@ -1,6 +1,6 @@ -# Multisite Ultimate 101 +# Ultimate Multisite 101 -Multisite Ultimate is a WordPress Multisite plugin that enables you to offer a WaaS or Websites as a Service to customers. Before we dive in and learn how Multisite Ultimate can help your business and customers there is some foundational knowledge that we need to acquire. +Ultimate Multisite is a WordPress Multisite plugin that enables you to offer a WaaS or Websites as a Service to customers. Before we dive in and learn how Ultimate Multisite can help your business and customers there is some foundational knowledge that we need to acquire. ## The WordPress Multisite @@ -14,7 +14,7 @@ Within its core, WordPress provides a feature simply titled ‘Multisite’ whic In essence, a WordPress multisite can be thought of as this: A University maintains a single installation of WordPress but each faculty maintains their own WordPress site. -To break down this statement let’s take a look at some of the basic terminology present not only in Multisite Ultimate’s documentation but also across the WordPress community. +To break down this statement let’s take a look at some of the basic terminology present not only in Ultimate Multisite’s documentation but also across the WordPress community. ### The Network @@ -24,7 +24,7 @@ There are a number of distinct differences between a multisite network and a sta #### Subdomain vs. Subdirectory -One of the most immediate decisions you will need to make is whether the multisite installation will operate with _subdirectories_ or _subdomains_. Multisite Ultimate works equally well with both choices but there are some architectural differences between the two configurations. +One of the most immediate decisions you will need to make is whether the multisite installation will operate with _subdirectories_ or _subdomains_. Ultimate Multisite works equally well with both choices but there are some architectural differences between the two configurations. In _subdirectory_ configuration, network sites inherit a path based upon the main domain name. For example a network site labelled ‘site1’ will have it’s full URL as . In _subdomain_ configuration, the network site will have its own _subdomain_ derived from the main domain name. Thus a site labelled ‘site1’ will have its full URL as . @@ -120,15 +120,15 @@ For network administrators this presents an additional layer of complexity both To this extent whilst WordPress Multisite provides a means to allow [www.anotherdomain.com](http://www.anotherdomain.com) to be mapped to ‘site1’ the network administrator is left with the challenge of externally managing the DNS entries and the implementation of SSL certificates. -## Multisite Ultimate +## Ultimate Multisite -With the differences between a stand-alone WordPress installation and a Multisite installation understood, let's take a look at how Multisite Ultimate is the ultimate arsenal for providing Websites as a Service. +With the differences between a stand-alone WordPress installation and a Multisite installation understood, let's take a look at how Ultimate Multisite is the ultimate arsenal for providing Websites as a Service. ### Introduction -Multisite Ultimate is your Swiss Army knife when it comes to creating a Website as a Service (WaaS). Think of Wix.com, Squarespace, WordPress.com and then think of owning your own service. +Ultimate Multisite is your Swiss Army knife when it comes to creating a Website as a Service (WaaS). Think of Wix.com, Squarespace, WordPress.com and then think of owning your own service. -Under the hood Multisite Ultimate makes use of WordPress Multisite but it does so in a way that not only solves the myriad of challenges network administrators face with multisite installations but enhances the capabilities allowing for a wide variety of use cases to be supported. +Under the hood Ultimate Multisite makes use of WordPress Multisite but it does so in a way that not only solves the myriad of challenges network administrators face with multisite installations but enhances the capabilities allowing for a wide variety of use cases to be supported. In the following sections we will take a look at some common use cases and considerations required to support those cases. @@ -138,19 +138,19 @@ In the following sections we will take a look at some common use cases and consi Typically the core skills of an agency lie in the design of websites with aspects such as their hosting or marketing being listed as additional services. -For agencies Multisite Ultimate presents an incredible value proposition in its abilities to host and manage multiple websites on a single platform. Even more so for agencies who standardize their designs on particular themes such as GeneratePress, Astra, OceanWP or others can leverage Multisite Ultimate’s abilities to automatically activate these themes for each new site. +For agencies Ultimate Multisite presents an incredible value proposition in its abilities to host and manage multiple websites on a single platform. Even more so for agencies who standardize their designs on particular themes such as GeneratePress, Astra, OceanWP or others can leverage Ultimate Multisite’s abilities to automatically activate these themes for each new site. -Similarly with the abundance of deals for agency pricing to common and popular plugins, the use of Multisite Ultimate allows agencies to leverage existing investments by providing a common platform from which plugins can be installed, maintained and made use of. +Similarly with the abundance of deals for agency pricing to common and popular plugins, the use of Ultimate Multisite allows agencies to leverage existing investments by providing a common platform from which plugins can be installed, maintained and made use of. -Most likely the use of a configuration would be desired and fortunately Multisite Ultimate makes it incredibly easy to facilitate domain mapping and SSL certificates with its integrations for a number of popular hosting providers as well as services such as Cloudflare and cPanel. +Most likely the use of a configuration would be desired and fortunately Ultimate Multisite makes it incredibly easy to facilitate domain mapping and SSL certificates with its integrations for a number of popular hosting providers as well as services such as Cloudflare and cPanel. -Thus by leveraging one of these providers or by placing Multisite Ultimate behind Cloudflare aspects such as the management of domains and SSL certificates become somewhat trivial. +Thus by leveraging one of these providers or by placing Ultimate Multisite behind Cloudflare aspects such as the management of domains and SSL certificates become somewhat trivial. -Agencies who prefer to keep a tight control over the creation of sites will appreciate the ease at which they can create sites and associate sites with customers and plans through Multisite Ultimate’s streamlined interface. +Agencies who prefer to keep a tight control over the creation of sites will appreciate the ease at which they can create sites and associate sites with customers and plans through Ultimate Multisite’s streamlined interface. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-4cYCjjZwK0DZhrlY2NLHTL4waL99PANVZmSJ4AN5MXLTxb1pVF0aAtC4dWJP2hW1pD_v6hL8X7G80LRk-NuazRQDkIPCuhuRJgIMjA4DxuQzVjWEz1Ag2RKnkqwkvmSfcgy2PLrS) -Tight control over plugins and themes are maintained on a per-product basis through Multisite Ultimate’s intuitive interfaces allowing plugins and themes to be made available or hidden as well as their activation state when instantiated for a new site. +Tight control over plugins and themes are maintained on a per-product basis through Ultimate Multisite’s intuitive interfaces allowing plugins and themes to be made available or hidden as well as their activation state when instantiated for a new site. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-VVpPcr8bvKd2qf9zPB_1SBiVpEYdtmskG_iO0tNCJOm2RXbU6kSC1czyLV1CaU5Mw2fWd-k2r1bnQV_yA4zOL6qnYKLWohnI-EDYhXcpxD_4n-rabGlxjQO8iyjtOgXhuDL5r2y7) @@ -158,7 +158,7 @@ Themes provide similar functionality, allowing for particular themes to be activ ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-3CEl6U5CPdKatlXAcG5B9jJux_iWOYpUTI4crCgW15EFkhh4pODF7hYlMyzc3na8QAefadz1kcnY_T7Yn6ZyxbBMJdfRfa16IFZma_-u7NHTtMbLZwJ9f7JbqG1QTh0y1l9WWj5z) -Agencies will find peace of mind with Multisite Ultimate allowing them to do what they do best - design exceptional web sites. +Agencies will find peace of mind with Ultimate Multisite allowing them to do what they do best - design exceptional web sites. #### Case 2: Niche Provider @@ -168,7 +168,7 @@ Perhaps you are an avid golfer promoting websites to clubs or you might be an av For many reasons you would want to provide services based on a common framework and platform. It could be that you have designed or invested in bespoke plugins to provide the required functionality or it may be the case that industry best practices require some form of standardized approach to design. -One of Multisite Ultimate’s innovative features is the use of template sites. A template site is one where the theme has been installed and activated, necessary plugins installed and activated and sample posts or pages created. When a customer creates a new site based upon the template, the contents and settings of the template are copied to the newly created site. +One of Ultimate Multisite’s innovative features is the use of template sites. A template site is one where the theme has been installed and activated, necessary plugins installed and activated and sample posts or pages created. When a customer creates a new site based upon the template, the contents and settings of the template are copied to the newly created site. For a provider of niche sites and services this provides an unparalleled advantage in the ability to instantly create a site ready to go with custom plugins and design. The customer need only provide the most minimal input to complete the service. @@ -178,21 +178,21 @@ Depending on the requirements both _subdirectory_ or _subdomain_ configurations There are a myriad of ways to host WordPress sites but rarely is it as simple as providing web space to a customer with a pre-installed version of WordPress. This is because a number of decisions and considerations need to come together to provide a meaningful service. -Multisite Ultimate excels in this area by providing a comprehensive turnkey solution for the hosting of WordPress sites. Included in the solution are the core mechanisms to provide subscription services, payment collection, checkout forms, discount vouchers and customer communications. +Ultimate Multisite excels in this area by providing a comprehensive turnkey solution for the hosting of WordPress sites. Included in the solution are the core mechanisms to provide subscription services, payment collection, checkout forms, discount vouchers and customer communications. -Much of the integral work required to correctly install, configure and maintain a WordPress Multisite is facilitated by Multisite Ultimate to the extent that network administrators need only consider aspects as it relates to their service or niche such as product tiers, pricing and service offers. +Much of the integral work required to correctly install, configure and maintain a WordPress Multisite is facilitated by Ultimate Multisite to the extent that network administrators need only consider aspects as it relates to their service or niche such as product tiers, pricing and service offers. -For developers wishing to integrate with Multisite Ultimate, the solution also offers a comprehensive RESTful API and Webhooks for event notification. +For developers wishing to integrate with Ultimate Multisite, the solution also offers a comprehensive RESTful API and Webhooks for event notification. -Without reliance on a myriad of external plugins and licenses, Multisite Ultimate provides a feature rich and comparable solution to that of Wix, Squarespace, WordPress.com and others. +Without reliance on a myriad of external plugins and licenses, Ultimate Multisite provides a feature rich and comparable solution to that of Wix, Squarespace, WordPress.com and others. ### Architecture Considerations -Whilst not a comprehensive guide, the following items should serve as guidance to the correct selection of technologies to support a Multisite Ultimate installation. +Whilst not a comprehensive guide, the following items should serve as guidance to the correct selection of technologies to support a Ultimate Multisite installation. #### Shared vs. Dedicated Hosting -Unfortunately not all hosting providers are equal and some practice extreme server densities. Low-cost providers typically generate revenue by maximizing server density. As such your Multisite Ultimate installation may only be one of several hundred sites on the same server. +Unfortunately not all hosting providers are equal and some practice extreme server densities. Low-cost providers typically generate revenue by maximizing server density. As such your Ultimate Multisite installation may only be one of several hundred sites on the same server. Without appropriate safeguards in place from the provider, sites on a shared server experience the ‘noisy neighbour’ problem. That is, a site on the same server consuming that many resources that other sites have to compete for the remaining resources. Often this presents itself as sites that are slow or fail to respond in a timely manner. @@ -200,27 +200,27 @@ As a provider of web hosting yourself the flow on effects will mean that your cu In short, cheap does not mean good. -Multisite Ultimate is known to work with a number of good hosting providers and integrates well with their environment to provide functions such as domain mapping and automatic SSL. These providers value performance and provide a higher grade service than shared hosting. +Ultimate Multisite is known to work with a number of good hosting providers and integrates well with their environment to provide functions such as domain mapping and automatic SSL. These providers value performance and provide a higher grade service than shared hosting. For a list of compatible providers and complete set-up instructions for each please check the documentation of Compatible Providers. #### Performance Considerations -Multisite Ultimate is not a slow application, rather, it is remarkably fast. It does, however, perform only as good as the underlying application and infrastructure and can leverage only that which it has access to. +Ultimate Multisite is not a slow application, rather, it is remarkably fast. It does, however, perform only as good as the underlying application and infrastructure and can leverage only that which it has access to. -Consider this: You’re the network administrator of a Multisite Ultimate installation with 100 sites. Some of those sites are doing well and attract a number of website visitors each day. +Consider this: You’re the network administrator of a Ultimate Multisite installation with 100 sites. Some of those sites are doing well and attract a number of website visitors each day. This scenario would be different on a smaller scale of say one to five sites but before long problems of scale would be evident. -Left unattended, the single Multisite Ultimate site would be responsible for fulfilling the requests of all visitors to the sites. These requests could be for dynamic PHP pages or static assets such as stylesheets, javascript or media files. Whether one or a hundred sites, these tasks become repetitive, monotonous and wasteful. It is unnecessary to use CPU power and memory to process a PHP file when the output is the same static information for every request. +Left unattended, the single Ultimate Multisite site would be responsible for fulfilling the requests of all visitors to the sites. These requests could be for dynamic PHP pages or static assets such as stylesheets, javascript or media files. Whether one or a hundred sites, these tasks become repetitive, monotonous and wasteful. It is unnecessary to use CPU power and memory to process a PHP file when the output is the same static information for every request. -Similarly one request for a PHP or HTML page in turn generates multiple succeeding requests for scripts, stylesheets and image files. Those requests are targeted directly to your Multisite Ultimate server. +Similarly one request for a PHP or HTML page in turn generates multiple succeeding requests for scripts, stylesheets and image files. Those requests are targeted directly to your Ultimate Multisite server. One could easily solve this problem by upgrading the server but it does not fix a secondary problem - geographic latencies. Only multiple servers in multiple locations could properly address this problem. For this reason most network administrators make use of front-end caching solutions and content distribution networks (CDN) to fulfill the requests for static pages. Fulfilling these requests and serving assets before the request reaches the server saves processing resources, eliminates delays, avoids unnecessary upgrades and maximizes technology investments. -Multisite Ultimate includes a sophisticated Cloudflare add-on enabling network administrators to place their installations behind Cloudflare and make use of not only its caching capabilities but DNS hosting, SSL certificates and security mechanisms as well. +Ultimate Multisite includes a sophisticated Cloudflare add-on enabling network administrators to place their installations behind Cloudflare and make use of not only its caching capabilities but DNS hosting, SSL certificates and security mechanisms as well. #### Backups @@ -242,7 +242,7 @@ Snapshots may attract an additional cost with the hosting provider but it is an #### External Scripts -There appears to be no shortage of external scripts and solutions to backup WordPress and MySQL resources and these would work well for Multisite Ultimate as it is a WordPress plugin making use of the WordPress filesystem and database. Thus a solution that backs up WordPress sites would adequately cover Multisite Ultimate’s needs. +There appears to be no shortage of external scripts and solutions to backup WordPress and MySQL resources and these would work well for Ultimate Multisite as it is a WordPress plugin making use of the WordPress filesystem and database. Thus a solution that backs up WordPress sites would adequately cover Ultimate Multisite’s needs. We cannot recommend any one script over another but our general advice is to run several backup and restore tests to ensure that the results are desired and to ‘be sure to be sure’ by continuously evaluating the script and its functionality specifically where some form of differential backup strategy is applied. @@ -262,7 +262,7 @@ Much has been discussed already regarding domain names in multisite _subdomain_ ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-GwkLVUQ9Wb.png) -This type of DNS entry will successfully resolve _subdomains_ such as ‘site1.domain.com’ and ‘site2.domain.com’ to an IP address of 1.2.3.4 thus supporting Multisite Ultimate and to a larger extent WordPress Multisite using _subdomain_ mode. +This type of DNS entry will successfully resolve _subdomains_ such as ‘site1.domain.com’ and ‘site2.domain.com’ to an IP address of 1.2.3.4 thus supporting Ultimate Multisite and to a larger extent WordPress Multisite using _subdomain_ mode. This may work perfectly well for HTTP because the target host is read from the HTTP headers but rarely is the web so simple these days where secure HTTPS transactions are almost mandatory. @@ -272,17 +272,17 @@ For _subdomain_ mode the use of a wildcard SSL certificate will pair perfectly w However, it should be noted that wildcard SSL certificates may not work with services such as Cloudflare unless you are on an enterprise plan or set the entry to DNS only in which case all caching and optimization is bypassed. -Out-of-the-box Multisite Ultimate provides a solution to this problem demonstrating our extensive experience with the needs of WordPress multisites. Activating this simple add-on will have Multisite Ultimate make use of your Cloudflare credentials to automatically add DNS entries for network sites in Cloudflare and set their mode to ‘proxied’. In this manner each network subsite, when created, will have the full protection and benefits of Cloudflare including SSL. +Out-of-the-box Ultimate Multisite provides a solution to this problem demonstrating our extensive experience with the needs of WordPress multisites. Activating this simple add-on will have Ultimate Multisite make use of your Cloudflare credentials to automatically add DNS entries for network sites in Cloudflare and set their mode to ‘proxied’. In this manner each network subsite, when created, will have the full protection and benefits of Cloudflare including SSL. -Depending on the nature and purpose of your Multisite Ultimate installation there may be a need for customers to use their own domains. In this case the network administrator is charged with solving two problems. One, the hosting of the domain name and two, SSL certificates for the domain. +Depending on the nature and purpose of your Ultimate Multisite installation there may be a need for customers to use their own domains. In this case the network administrator is charged with solving two problems. One, the hosting of the domain name and two, SSL certificates for the domain. -For many, the use of Cloudflare is an easy option. The customer need only place their domain on Cloudflare, point a CNAME to the root domain of Multisite Ultimate and map their domain in Multisite Ultimate to begin taking advantage of their custom domain name. +For many, the use of Cloudflare is an easy option. The customer need only place their domain on Cloudflare, point a CNAME to the root domain of Ultimate Multisite and map their domain in Ultimate Multisite to begin taking advantage of their custom domain name. -Outside of this, alternative solutions need to be sought which is why Multisite Ultimate recommends a list of Compatible Providers. This is because the process of setting up DNS and SSL can be a non-trivial process. However, with Multisite Ultimate’s integration with these providers the complexity is much removed and the procedure is automated. +Outside of this, alternative solutions need to be sought which is why Ultimate Multisite recommends a list of Compatible Providers. This is because the process of setting up DNS and SSL can be a non-trivial process. However, with Ultimate Multisite’s integration with these providers the complexity is much removed and the procedure is automated. #### Plugins -It is highly likely that you would need additional plugins to provide functionality to your customers or network sites. Do all plugins work with WordPress Multisite and Multisite Ultimate? Well, it depends. +It is highly likely that you would need additional plugins to provide functionality to your customers or network sites. Do all plugins work with WordPress Multisite and Ultimate Multisite? Well, it depends. Whilst most plugins are installable in a WordPress Multisite their activation and licensing varies from author to author. diff --git a/.wiki/wp-ultimo-hooks-and-filters.md b/.wiki/wp-ultimo-hooks-and-filters.md index 7b36540f1..8e1b000c4 100644 --- a/.wiki/wp-ultimo-hooks-and-filters.md +++ b/.wiki/wp-ultimo-hooks-and-filters.md @@ -1,6 +1,6 @@ -# Multisite Ultimate Hooks and filters +# Ultimate Multisite Hooks and filters -Multisite Ultimate is made up of a whole load of functions and database queries. It has hooks and filters that will allow you to modify or add new code to existing functions. +Ultimate Multisite is made up of a whole load of functions and database queries. It has hooks and filters that will allow you to modify or add new code to existing functions. We created a list of these hooks and filters as a reference to help advanced users further customize their network. You can access the list from Github by clicking the link below. diff --git a/.wiki/wp-ultimo-requirements.md b/.wiki/wp-ultimo-requirements.md index 9de700608..c4805c64e 100644 --- a/.wiki/wp-ultimo-requirements.md +++ b/.wiki/wp-ultimo-requirements.md @@ -1,22 +1,22 @@ -# Multisite Ultimate Requirements +# Ultimate Multisite Requirements -The first thing you might ask yourself before purchasing Multisite Ultimate is what are the requirements to run our plugin. Well, luckily, there are only a few basic requirements for running Multisite Ultimate: a **domain name** , a good **hosting provider** and a WordPress **Multisite** installation. That's all you need! +The first thing you might ask yourself before purchasing Ultimate Multisite is what are the requirements to run our plugin. Well, luckily, there are only a few basic requirements for running Ultimate Multisite: a **domain name** , a good **hosting provider** and a WordPress **Multisite** installation. That's all you need! ## Domain Name First, let's talk about the domain name. -When choosing a domain name, keep in mind what is your specific niche and what you will be creating with Multisite Ultimate: Do you want to create an agency? Sell shop-like websites? Or maybe a WordPress web hosting? Everything is possible with Multisite Ultimate. +When choosing a domain name, keep in mind what is your specific niche and what you will be creating with Ultimate Multisite: Do you want to create an agency? Sell shop-like websites? Or maybe a WordPress web hosting? Everything is possible with Ultimate Multisite. -Our plugin provides subscription services, payment collection, checkout forms, discount vouchers and customer communications. A great amount of the work required to install, configure and maintain a WordPress Multisite is facilitated by Multisite Ultimate. +Our plugin provides subscription services, payment collection, checkout forms, discount vouchers and customer communications. A great amount of the work required to install, configure and maintain a WordPress Multisite is facilitated by Ultimate Multisite. Any niche you choose can be managed using our plugin as long as you sell websites as a service! Make sure to choose a domain name that matches your business plan. ## Hosting Provider -Now that you have a catching domain name that represents your niche and business, you will need to choose a good web hosting company to host your network with Multisite Ultimate. There are some good options on the market. Some hosting providers integrate well with Multisite Ultimate, which might be a decisive factor depending on what you are planning to build. +Now that you have a catching domain name that represents your niche and business, you will need to choose a good web hosting company to host your network with Ultimate Multisite. There are some good options on the market. Some hosting providers integrate well with Ultimate Multisite, which might be a decisive factor depending on what you are planning to build. -Multisite Ultimate should work in any hosting provider. The only difference is that some hosting companies like _WPMU DEV Hosting_ , _WP Engine_ , _Closte_ , _Cloudways_ , _Gridpane_ and _Runcloud_ have a tighter integration for domain mapping. For other hosting, you may need to map the custom domains manually. It is also a good idea to get a hosting provider that supports AutoSSL. _Closte_ , _Runcloud_ and _cPanel_ support it. +Ultimate Multisite should work in any hosting provider. The only difference is that some hosting companies like _WPMU DEV Hosting_ , _WP Engine_ , _Closte_ , _Cloudways_ , _Gridpane_ and _Runcloud_ have a tighter integration for domain mapping. For other hosting, you may need to map the custom domains manually. It is also a good idea to get a hosting provider that supports AutoSSL. _Closte_ , _Runcloud_ and _cPanel_ support it. When it comes to server specifications, there is no specific formula as it will depend on the features and functions you will offer and the size of your network. A shared hosting may be a good start, but as soon as your network starts to grow, you will probably need a dedicated VPS. @@ -26,11 +26,11 @@ Now, let's talk a little about a WordPress Multisite installation. WordPress Multisite allows you to have a network of sites on a single installation. This is a built-in feature, but it’s not active by default. You need to enable this feature inside your WordPress installation and web hosting control panel. -Having WordPress with Multisite enabled **is the base for Multisite Ultimate**. Since the main use of Multisite Ultimate is to help users manage and sell websites as a service, this needs to be done on WordPress with Multisite enabled. +Having WordPress with Multisite enabled **is the base for Ultimate Multisite**. Since the main use of Ultimate Multisite is to help users manage and sell websites as a service, this needs to be done on WordPress with Multisite enabled. We have [an in-depth article](https://help.wpultimo.com/article/265-how-do-i-install-wordpress-multisite) teaching step by step what needs to be done to enable the Multisite feature on your WordPress installation. -After you have Multisite enabled on WordPress, it is time to install Multisite Ultimate. To correctly install Multisite Ultimate, you must have: +After you have Multisite enabled on WordPress, it is time to install Ultimate Multisite. To correctly install Ultimate Multisite, you must have: * WordPress: v5.3+ (Recommended: Last stable version) @@ -38,10 +38,10 @@ After you have Multisite enabled on WordPress, it is time to install Multisite U * MySQL: v5+ (Recommended: 5.6, in case you don't have 8.0 available on your hosting provider) -These are the only software requirements for Multisite Ultimate. +These are the only software requirements for Ultimate Multisite. -Keep in mind that Multisite Ultimate may work with PHP 8.0 but we recommend running it with PHP 7.4.x. +Keep in mind that Ultimate Multisite may work with PHP 8.0 but we recommend running it with PHP 7.4.x. Also, we recommend installing it on **main domains** , not subdomains or subdirectories. It might work on subdomains/subdirectories, but it might present some errors. -For a detailed guide on how to install Multisite Ultimate, [click here](https://help.wpultimo.com/article/360-installing-wp-ultimo). +For a detailed guide on how to install Ultimate Multisite, [click here](https://help.wpultimo.com/article/360-installing-wp-ultimo). diff --git a/.wiki/your-client-s-account-page-v2.md b/.wiki/your-client-s-account-page-v2.md index c40f08a51..4ce638e0b 100644 --- a/.wiki/your-client-s-account-page-v2.md +++ b/.wiki/your-client-s-account-page-v2.md @@ -1,6 +1,6 @@ # Your Client's Account Page (v2) -_**IMPORTANT NOTE: This article refers to Multisite Ultimate version 2.x.**_ +_**IMPORTANT NOTE: This article refers to Ultimate Multisite version 2.x.**_ When customers subscribe to a plan on your network, they get access to a website and its dashboard with important information regarding their payments, memberships, domains, plan limitations, etc... @@ -24,7 +24,7 @@ The first block right below your customers' website name shows an overview of th ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-XNTPsXaqzp.png) -Right below this block, your customers can see the **About This Site** and the **Site Limits** blocks. These blocks show them all the limitations that comes to their plan: disk space, posts, pages, visits, etc... These limits can be configured on each plan page on **Multisite Ultimate > Products**. +Right below this block, your customers can see the **About This Site** and the **Site Limits** blocks. These blocks show them all the limitations that comes to their plan: disk space, posts, pages, visits, etc... These limits can be configured on each plan page on **Ultimate Multisite > Products**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-6kVmMDoiCU.png) @@ -46,9 +46,9 @@ A new window will appear to your customer. All he need to do is to fill in the n ### Changing the Site Template: -To allow your customers to change their site templates, you need to go to **Multisite Ultimate > Settings > Sites** and toggle on the option **Allow Template Switching**. +To allow your customers to change their site templates, you need to go to **Ultimate Multisite > Settings > Sites** and toggle on the option **Allow Template Switching**. -Also, on **Multisite Ultimate > Products**, select your plans and go to the **Site Templates** tab. Make sure the option **Allow Site Templates** is toggled on and on **Site Template Selection Mode** , the option **Choose Available Site Templates** is selected. +Also, on **Ultimate Multisite > Products**, select your plans and go to the **Site Templates** tab. Make sure the option **Allow Site Templates** is toggled on and on **Site Template Selection Mode** , the option **Choose Available Site Templates** is selected. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-rjixD7iShD.png) @@ -69,13 +69,13 @@ After toggling on the confirmation and clicking to **Process Switch** , the new ### Adding Custom Domains: -Your customers will also have the option to add a custom domain for this plan on their account page. To allow your customers to use custom domains, go to **Multisite Ultimate > Settings >** [Domain Mapping](https://help.wpultimo.com/article/365-domain-mapping-101). +Your customers will also have the option to add a custom domain for this plan on their account page. To allow your customers to use custom domains, go to **Ultimate Multisite > Settings >** [Domain Mapping](https://help.wpultimo.com/article/365-domain-mapping-101). Toggle on the option **Enable Domain Mapping**. This will allow your customers to use custom domains on a network level. Don't forget to also check if the domain mapping is enabled on a product basis - because you can limit a product to not allow your customers to use custom domains. -Go to **Multisite Ultimate > Products**. Select the plan of your choice and go to the **Custom Domains** tab. Toggle on the option **Allow Custom Domains**. +Go to **Ultimate Multisite > Products**. Select the plan of your choice and go to the **Custom Domains** tab. Toggle on the option **Allow Custom Domains**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-J7mrCTfet6.png) @@ -87,7 +87,7 @@ The first window that opens will show your customers a message instructing them ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-emhM26Abhn.png) -This message can be edited (by you) on **Multisite Ultimate > Settings > Domain Mapping > Add New Domain Instructions**. +This message can be edited (by you) on **Ultimate Multisite > Settings > Domain Mapping > Add New Domain Instructions**. ![](https://wp-ultimo-space.fra1.cdn.digitaloceanspaces.com/hs-file-6ZjI8Fk6Gw.png) diff --git a/DEPLOY.md b/DEPLOY.md new file mode 100644 index 000000000..6e79ac637 --- /dev/null +++ b/DEPLOY.md @@ -0,0 +1,219 @@ +# Ultimate Multisite - WordPress.org Deploy Tool + +This document explains how to use the automated deploy tool for deploying Ultimate Multisite to the WordPress.org plugin repository. + +## Prerequisites + +Before using the deploy tool, ensure you have: + +1. **SVN Access**: Access to the WordPress.org SVN repository for `ultimate-multisite` +2. **Required Software**: + - `svn` command line tool + - `node` and `npm` (for building assets) + - `composer` (for PHP dependencies) + - `rsync` (for file copying) + +3. **Environment Variables**: + - `SVN_USERNAME`: Your WordPress.org username (`superdav42`) + - `SVN_PASSWORD`: Your WordPress.org password + +## Setup + +1. **Set Environment Variables**: + ```bash + export SVN_USERNAME="superdav42" + export SVN_PASSWORD="your-wordpress-org-password" + ``` + + For security, consider adding these to your shell profile (`.bashrc`, `.zshrc`, etc.) or use a `.env` file. + +2. **Verify Access**: + Test SVN access manually: + ```bash + svn checkout https://plugins.svn.wordpress.org/ultimate-multisite/trunk temp-test --username $SVN_USERNAME --password $SVN_PASSWORD + rm -rf temp-test + ``` + +## Version Management + +Before deployment, ensure version consistency across all files: + +- `ultimate-multisite.php` - Line 7: `Version: 2.4.3` +- `readme.txt` - Line 9: `Stable tag: 2.4.3` +- `package.json` - Line 2: `"version": "2.4.3"` + +The deploy script will validate these versions match before proceeding. + +## Usage + +### Basic Deployment + +Deploy the current version (auto-detected from plugin files): +```bash +./deploy.sh +``` + +### Version-Specific Deployment + +Deploy a specific version (must match plugin file versions): +```bash +./deploy.sh 2.4.4 +``` + +## Deployment Process + +The script performs these steps automatically: + +1. **Environment Validation** + - Checks for required commands (svn, node, npm, composer) + - Validates environment variables + - Confirms running from correct directory + +2. **Version Validation** + - Extracts versions from all relevant files + - Ensures version consistency across: + - `ultimate-multisite.php` + - `readme.txt` + - `package.json` + - Validates provided version argument (if any) + +3. **Plugin Build** + - Installs npm dependencies + - Runs `npm run build` to: + - Install Composer dependencies (production only) + - Minify JavaScript and CSS assets + - Generate translation files + - Create optimized plugin archive + +4. **SVN Repository Preparation** + - Creates temporary directory + - Checks out WordPress.org SVN repository + - Prepares trunk and tag directories + +5. **File Copy** + - Copies plugin files excluding development files: + - Git files and directories + - `node_modules/` + - Test directories and files + - Development scripts and tools + - Docker and environment files + - Build artifacts + +6. **SVN Commit** + - Adds new files to SVN + - Removes deleted files + - Shows status for review + - **Prompts for confirmation** before committing + - Commits to both trunk and version tag + +7. **Cleanup** + - Removes temporary directories and files + +## Files Excluded from Deployment + +The following files and directories are automatically excluded: + +- `.git*` - Git files and directories +- `node_modules/` - npm dependencies +- `vendor/bin/` - Composer binary files +- `vendor/*/tests/` and `vendor/*/test/` - Vendor test files +- `tests/` - Plugin test directory +- `cypress/` - End-to-end test files +- Development configuration files +- Build scripts and utilities +- Docker and environment files +- Archive files (*.zip, *.tar.gz) + +## Safety Features + +1. **Version Validation**: Prevents deployment with mismatched versions +2. **Environment Checks**: Validates all required tools and credentials +3. **Confirmation Prompt**: Requires manual confirmation before SVN commit +4. **Cleanup**: Automatically cleans temporary files +5. **Error Handling**: Exits safely on any error + +## Troubleshooting + +### Common Issues + +**"SVN_USERNAME environment variable is required"** +- Set the environment variable: `export SVN_USERNAME="superdav42"` + +**"Version mismatch detected!"** +- Update version numbers in all files to match before deploying + +**"Main plugin file not found"** +- Run the script from the `/home/dave/multisite/ultimate-multisite/` directory + +**"SVN authentication failed"** +- Verify your WordPress.org credentials +- Check that your account has commit access to `ultimate-multisite` + +**"Command not found: svn/node/composer"** +- Install missing required software + +### Manual Recovery + +If deployment fails partway through: + +1. Check the SVN status: + ```bash + cd /tmp/ultimate-multisite-deploy/svn + svn status + ``` + +2. Manually commit if needed: + ```bash + svn commit -m "Deploy version X.X.X" --username $SVN_USERNAME --password $SVN_PASSWORD + ``` + +3. Clean up: + ```bash + rm -rf /tmp/ultimate-multisite-deploy + ``` + +## Security Notes + +- Store credentials securely (use environment variables, not hardcoded) +- Consider using SSH keys for SVN if available +- The script never logs or stores passwords +- Temporary files are cleaned up automatically + +## Release Workflow + +Recommended workflow for releases: + +1. **Update Version Numbers**: + - Update `ultimate-multisite.php` + - Update `readme.txt` (stable tag and changelog) + - Update `package.json` + +2. **Test Locally**: + - Run `npm run build` + - Test plugin functionality + - Run unit tests: `vendor/bin/phpunit` + +3. **Commit to Git**: + ```bash + git add . + git commit -m "Version 2.4.4 release" + git tag v2.4.4 + git push origin main --tags + ``` + +4. **Deploy to WordPress.org**: + ```bash + export SVN_USERNAME="superdav42" + export SVN_PASSWORD="your-password" + ./deploy.sh + ``` + +5. **Verify Deployment**: + - Check https://wordpress.org/plugins/ultimate-multisite/ + - Verify new version appears in admin + +## Support + +For issues with the deploy script: +- Check the GitHub repository: https://github.com/superdav42/wp-multisite-waas +- Open an issue with deployment logs and error messages \ No newline at end of file diff --git a/DEVELOPER-DOCUMENTATION.md b/DEVELOPER-DOCUMENTATION.md index 6ce703f50..9eea289ce 100644 --- a/DEVELOPER-DOCUMENTATION.md +++ b/DEVELOPER-DOCUMENTATION.md @@ -14,7 +14,7 @@ ## Introduction -This comprehensive guide provides developers with everything needed to integrate with, extend, or develop addons for WP Ultimo (Multisite Ultimate). WP Ultimo transforms a WordPress Multisite network into a Website-as-a-Service (WaaS) platform. +This comprehensive guide provides developers with everything needed to integrate with, extend, or develop addons for Ultimate Multisite. Ultimate Multisite transforms a WordPress Multisite network into a Website-as-a-Service (WaaS) platform. ### Key Features for Developers: - **REST API** - Complete CRUD operations for all entities @@ -1157,7 +1157,7 @@ class Leads_Admin_Page extends \WP_Ultimo\Admin_Pages\Base_Admin_Page { 'menu_title' => __('Leads', 'my-addon'), 'capability' => 'wu_read_leads', 'position' => $this->position, - 'parent' => 'multisite-ultimate', + 'parent' => 'wp-ultimo', 'callback' => [$this, 'render'] ]); } diff --git a/README.md b/README.md index da275ddf4..fe8ad80b3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Multisite Ultimate +# Ultimate Multisite

- Multisite Ultimate Logo + Ultimate Multisite Logo

@@ -23,7 +23,7 @@ ## 🌟 Overview -**Multisite Ultimate** helps you transform your WordPress Multisite installation into a powerful Website as a Service (WaaS) platform. This plugin enables you to offer website creation, hosting, and management services to your customers through a streamlined interface. +**Ultimate Multisite** helps you transform your WordPress Multisite installation into a powerful Website as a Service (WaaS) platform. This plugin enables you to offer website creation, hosting, and management services to your customers through a streamlined interface. This plugin was formerly known as WP Ultimo and is now community maintained. @@ -47,7 +47,7 @@ This plugin was formerly known as WP Ultimo and is now community maintained. ## 🔧 Installation -There are two recommended ways to install Multisite Ultimate: +There are two recommended ways to install Ultimate Multisite: ### Method 1: Using the pre-packaged release (Recommended) @@ -94,7 +94,7 @@ This method requires command-line access to your server and familiarity with Git

"Cannot declare class ComposerAutoloaderInitWPUltimoDependencies, because the name is already in use"

This error usually occurs when updating from an older version of WP Ultimo or when multiple versions of the plugin are installed.

-

Solution: Deactivate and remove any older versions of WP Ultimo or Multisite Ultimate before activating the new version.

+

Solution: Deactivate and remove any older versions of WP Ultimo or Ultimate Multisite before activating the new version.

@@ -105,7 +105,7 @@ This method requires command-line access to your server and familiarity with Git ## 🚀 Contributing -We welcome contributions to Multisite Ultimate! Here's how you can contribute effectively: +We welcome contributions to Ultimate Multisite! Here's how you can contribute effectively: ### Development Workflow @@ -229,7 +229,7 @@ We recommend running this in a staging environment before updating your producti ### Version [2.3.3] - Released on 2024-01-29 -- Improved: Plugin renamed to Multisite Ultimate +- Improved: Plugin renamed to Ultimate Multisite - Removed: Enforcement of paid license - Fixed: Incompatibilities with WordPress 6.7 and i18n timing - Improved: Reduced plugin size by removing many unnecessary files and shrinking images @@ -238,7 +238,7 @@ For the complete changelog, please see [readme.txt](readme.txt). ## 👥 Contributors -Multisite Ultimate is an open-source project with contributions from: +Ultimate Multisite is an open-source project with contributions from: - [aanduque](https://github.com/aanduque) - [superdav42](https://github.com/superdav42) @@ -246,9 +246,9 @@ Multisite Ultimate is an open-source project with contributions from: ## 📄 License -Multisite Ultimate is licensed under the GPL v2 or later. +Ultimate Multisite is licensed under the GPL v2 or later. -Copyright © 2024 [Multisite Ultimate Contributors](https://github.com/superdav42/wp-multisite-waas/graphs/contributors) +Copyright © 2024 [Ultimate Multisite Contributors](https://github.com/superdav42/wp-multisite-waas/graphs/contributors) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as diff --git a/assets/js/setup-wizard.js b/assets/js/setup-wizard.js index 10d352355..47acc46d5 100644 --- a/assets/js/setup-wizard.js +++ b/assets/js/setup-wizard.js @@ -155,6 +155,8 @@ }); + $('#poststuff [name=next]').removeAttr('disabled'); + }); }(jQuery)); diff --git a/assets/js/setup-wizard.min.js b/assets/js/setup-wizard.min.js index eaf48a1e6..249c6f6b3 100644 --- a/assets/js/setup-wizard.min.js +++ b/assets/js/setup-wizard.min.js @@ -1 +1 @@ -if((r=>{window._wu_block_ui_polyfill=wu_block_ui_polyfill,wu_block_ui_polyfill=function(){},r(document).ready(function(){r("#poststuff").on("submit","form",function(t){t.preventDefault();let s=r(this),a=s.find("table[data-id]").data("id"),d=(s.find("[name=next]").attr("disabled","disabled"),s.find("tr[data-content]")),l=(d=d.filter(function(){var t=r(this).find("input[type=checkbox]");return!t.length||t.is(":checked")}),0),o=0;!function e(t){window.onbeforeunload=function(){return""};if(0===t.length)return d.length!==l&&"migration"!==a||(window.onbeforeunload=null,_wu_block_ui_polyfill(r("#poststuff .inside")),setTimeout(()=>{s.get(0).submit()},100)),s.find("[name=next]").removeAttr("disabled"),!1;let n=r(t);let i=n.data("content");n.get(0).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});n.find("td.status").attr("class","").addClass("status").find("> span").html(wu_setup[i].installing).end().find(".spinner").addClass("is-active").end().find("a.help").slideUp();r.ajax({url:ajaxurl,method:"post",data:{action:"wu_setup_install",installer:i,"dry-run":wu_setup_settings.dry_run},success(t){!0===t.success?(n.find("td.status").attr("class","").addClass("status wu-text-green-600").find("> span").html(wu_setup[i].success).end().find(".spinner").removeClass("is-active"),n.removeAttr("data-content"),l++):n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("> span").html(t.data[0].message).end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))},error(){n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("span").html("").end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))}})}(d.eq(o))})})})(jQuery),"function"!=typeof wu_initialize_tooltip){let t=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})},e=function(t){return jQuery(t).wu_block({message:"Please wait...",overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}}),jQuery(t)};jQuery(document).ready(function(){t()})} \ No newline at end of file +if((r=>{window._wu_block_ui_polyfill=wu_block_ui_polyfill,wu_block_ui_polyfill=function(){},r(document).ready(function(){r("#poststuff").on("submit","form",function(t){t.preventDefault();let s=r(this),a=s.find("table[data-id]").data("id"),d=(s.find("[name=next]").attr("disabled","disabled"),s.find("tr[data-content]")),l=(d=d.filter(function(){var t=r(this).find("input[type=checkbox]");return!t.length||t.is(":checked")}),0),o=0;!function e(t){window.onbeforeunload=function(){return""};if(0===t.length)return d.length!==l&&"migration"!==a||(window.onbeforeunload=null,_wu_block_ui_polyfill(r("#poststuff .inside")),setTimeout(()=>{s.get(0).submit()},100)),s.find("[name=next]").removeAttr("disabled"),!1;let n=r(t);let i=n.data("content");n.get(0).scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});n.find("td.status").attr("class","").addClass("status").find("> span").html(wu_setup[i].installing).end().find(".spinner").addClass("is-active").end().find("a.help").slideUp();r.ajax({url:ajaxurl,method:"post",data:{action:"wu_setup_install",installer:i,"dry-run":wu_setup_settings.dry_run},success(t){!0===t.success?(n.find("td.status").attr("class","").addClass("status wu-text-green-600").find("> span").html(wu_setup[i].success).end().find(".spinner").removeClass("is-active"),n.removeAttr("data-content"),l++):n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("> span").html(t.data[0].message).end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))},error(){n.find("td.status").attr("class","").addClass("status wu-text-red-400").find("span").html("").end().find(".spinner").removeClass("is-active").end().find("a.help").slideDown(),o++,e(d.eq(o))}})}(d.eq(o))}),r("#poststuff [name=next]").removeAttr("disabled")})})(jQuery),"function"!=typeof wu_initialize_tooltip){let t=function(){jQuery('[role="tooltip"]').tipTip({attribute:"aria-label"})},e=function(t){return jQuery(t).wu_block({message:"Please wait...",overlayCSS:{backgroundColor:"#FFF",opacity:.6},css:{padding:0,margin:0,width:"50%",fontSize:"14px !important",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"none",backgroundColor:"none",cursor:"wait"}}),jQuery(t)};jQuery(document).ready(function(){t()})} \ No newline at end of file diff --git a/blueprint.json b/blueprint.json index e554e558c..cdc488ff3 100644 --- a/blueprint.json +++ b/blueprint.json @@ -1,8 +1,8 @@ { "$schema": "https://playground.wordpress.net/blueprint-schema.json", "meta": { - "title": "Multisite Ultimate Demo", - "description": "A demo of Multisite Ultimate running in your browser.", + "title": "Ultimate Multisite Demo", + "description": "A demo of Ultimate Multisite running in your browser.", "author": "superdav42", "categories": ["Multisite", "Site"] }, diff --git a/composer-plugins/wp-ultimo-autoloader-plugin/src/WP_Ultimo_Autoloader_Plugin.php b/composer-plugins/wp-ultimo-autoloader-plugin/src/WP_Ultimo_Autoloader_Plugin.php index e086f7499..63af4a20f 100644 --- a/composer-plugins/wp-ultimo-autoloader-plugin/src/WP_Ultimo_Autoloader_Plugin.php +++ b/composer-plugins/wp-ultimo-autoloader-plugin/src/WP_Ultimo_Autoloader_Plugin.php @@ -3,7 +3,7 @@ * WP Ultimo Autoloader Plugin * * Composer plugin that modifies the Jetpack autoloader classmap to prevent - * autoloading when WP_ULTIMO_PLUGIN_FILE is defined but doesn't end with 'multisite-ultimate.php'. + * autoloading when WP_ULTIMO_PLUGIN_FILE is defined but doesn't end with 'ultimate-multisite.php'. * * @package WP_Ultimo */ @@ -103,7 +103,7 @@ public function modifyJetpackAutoloader( Event $event ) { // Find the opening PHP tag and add our check right after it $search = " __('day', 'multisite-ultimate'), - 'days' => __('days', 'multisite-ultimate'), - 'week' => __('week', 'multisite-ultimate'), - 'weeks' => __('weeks', 'multisite-ultimate'), - 'month' => __('month', 'multisite-ultimate'), - 'months' => __('months', 'multisite-ultimate'), - 'year' => __('year', 'multisite-ultimate'), - 'years' => __('years', 'multisite-ultimate'), + 'day' => __('day', 'ultimate-multisite'), + 'days' => __('days', 'ultimate-multisite'), + 'week' => __('week', 'ultimate-multisite'), + 'weeks' => __('weeks', 'ultimate-multisite'), + 'month' => __('month', 'ultimate-multisite'), + 'months' => __('months', 'ultimate-multisite'), + 'year' => __('year', 'ultimate-multisite'), + 'years' => __('years', 'ultimate-multisite'), ]; diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 000000000..32bd9e052 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,348 @@ +#!/bin/bash + +# Ultimate Multisite - WordPress.org SVN Deploy Script +# Builds the plugin and deploys it to the WordPress.org plugin repository +# +# Usage: ./deploy.sh [version] +# +# Requirements: +# - SVN_USERNAME environment variable (WordPress.org username) +# - SVN_PASSWORD environment variable (WordPress.org password) +# - svn command line tool installed +# +# Example: +# export SVN_USERNAME="superdav42" +# export SVN_PASSWORD="your-password" +# ./deploy.sh 2.4.4 + +set -e # Exit on any error + +# Colors for output +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +BLUE='\033[0;34m' +NC='\033[0m' # No Color + +# Plugin configuration +PLUGIN_SLUG="ultimate-multisite" +SVN_URL="https://plugins.svn.wordpress.org/$PLUGIN_SLUG" +MAIN_PLUGIN_FILE="ultimate-multisite.php" +README_TXT="readme.txt" +PACKAGE_JSON="package.json" + +# Directory paths +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +TEMP_DIR="/tmp/ultimate-multisite-deploy" +SVN_DIR="$TEMP_DIR/svn" +BUILD_DIR="$TEMP_DIR/build" + +# Function to print colored output +print_status() { + echo -e "${BLUE}[INFO]${NC} $1" +} + +print_success() { + echo -e "${GREEN}[SUCCESS]${NC} $1" +} + +print_warning() { + echo -e "${YELLOW}[WARNING]${NC} $1" +} + +print_error() { + echo -e "${RED}[ERROR]${NC} $1" +} + +# Function to check if command exists +command_exists() { + command -v "$1" >/dev/null 2>&1 +} + +# Function to validate environment +validate_environment() { + print_status "Validating environment..." + + # Check required commands + if ! command_exists svn; then + print_error "SVN is not installed. Please install SVN to continue." + exit 1 + fi + + if ! command_exists node; then + print_error "Node.js is not installed. Please install Node.js to continue." + exit 1 + fi + + if ! command_exists npm; then + print_error "npm is not installed. Please install npm to continue." + exit 1 + fi + + if ! command_exists composer; then + print_error "Composer is not installed. Please install Composer to continue." + exit 1 + fi + + # Check environment variables + if [[ -z "$SVN_USERNAME" ]]; then + print_error "SVN_USERNAME environment variable is required" + print_error "Set it with: export SVN_USERNAME=\"superdav42\"" + exit 1 + fi + + if [[ -z "$SVN_PASSWORD" ]]; then + print_error "SVN_PASSWORD environment variable is required" + print_error "Set it with: export SVN_PASSWORD=\"your-password\"" + exit 1 + fi + + # Check if we're in the right directory + if [[ ! -f "$MAIN_PLUGIN_FILE" ]]; then + print_error "Main plugin file ($MAIN_PLUGIN_FILE) not found. Please run this script from the plugin root directory." + exit 1 + fi + + print_success "Environment validation passed" +} + +# Function to extract version from file +get_version_from_file() { + local file=$1 + local pattern=$2 + + if [[ ! -f "$file" ]]; then + print_error "File $file not found" + return 1 + fi + + local version=$(grep "$pattern" "$file" | head -1 | sed -E "s/.*$pattern([0-9]+\.[0-9]+\.[0-9]+).*/\1/") + + if [[ -z "$version" ]]; then + print_error "Could not extract version from $file using pattern $pattern" + return 1 + fi + + echo "$version" +} + +# Function to validate version consistency +validate_versions() { + print_status "Validating version consistency..." + + # Get versions from different files + local plugin_version=$(get_version_from_file "$MAIN_PLUGIN_FILE" "Version: ") + local readme_version=$(get_version_from_file "$README_TXT" "Stable tag: ") + local package_version=$(get_version_from_file "$PACKAGE_JSON" "\"version\": \"") + + print_status "Found versions:" + print_status " Plugin file: $plugin_version" + print_status " readme.txt: $readme_version" + print_status " package.json: $package_version" + + # Check if all versions match + if [[ "$plugin_version" != "$readme_version" ]] || [[ "$plugin_version" != "$package_version" ]]; then + print_error "Version mismatch detected!" + print_error "All files must have the same version number before deployment." + print_error "Please update all version numbers to match and try again." + exit 1 + fi + + # If a version was provided as argument, validate it matches + if [[ -n "$1" ]] && [[ "$1" != "$plugin_version" ]]; then + print_error "Provided version ($1) doesn't match plugin version ($plugin_version)" + print_error "Please update the plugin version or use the correct version argument." + exit 1 + fi + + echo "$plugin_version" +} + +# Function to run build process +build_plugin() { + print_status "Building plugin..." + + # Clean up any previous builds + if [[ -d "node_modules" ]]; then + print_status "Cleaning previous node_modules..." + rm -rf node_modules + fi + + # Install dependencies and run build + print_status "Installing npm dependencies..." + npm install + + print_status "Running build process..." + npm run build + + print_success "Plugin build completed" +} + +# Function to prepare SVN repository +prepare_svn_repo() { + local version=$1 + + print_status "Preparing SVN repository..." + + # Clean up temp directory + if [[ -d "$TEMP_DIR" ]]; then + rm -rf "$TEMP_DIR" + fi + mkdir -p "$TEMP_DIR" + + # Checkout SVN repository + print_status "Checking out SVN repository..." + svn checkout "$SVN_URL" "$SVN_DIR" --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive + + # Create version directory if it doesn't exist + if [[ ! -d "$SVN_DIR/tags/$version" ]]; then + mkdir -p "$SVN_DIR/tags/$version" + fi + + print_success "SVN repository prepared" +} + +# Function to copy plugin files to SVN +copy_plugin_files() { + local version=$1 + + print_status "Copying plugin files..." + + # Create build directory + mkdir -p "$BUILD_DIR" + + # Copy all files except excluded ones + rsync -av \ + --exclude='.git*' \ + --exclude='node_modules/' \ + --exclude='vendor/bin/' \ + --exclude='vendor/*/tests/' \ + --exclude='vendor/*/test/' \ + --exclude='vendor/*/*/tests/' \ + --exclude='vendor/*/*/test/' \ + --exclude='tests/' \ + --exclude='cypress/' \ + --exclude='cypress.config.*' \ + --exclude='.wp-env.json' \ + --exclude='deploy.sh' \ + --exclude='*.log' \ + --exclude='.env*' \ + --exclude='docker-compose.yml' \ + --exclude='Dockerfile' \ + --exclude='.dockerignore' \ + --exclude='bin/' \ + --exclude='scripts/archive.js' \ + --exclude='scripts/post-archive.js' \ + --exclude='scripts/clean-*.js' \ + --exclude='scripts/copy-libs.js' \ + --exclude='scripts/uglify.js' \ + --exclude='scripts/cleancss.js' \ + --exclude='scripts/makepot.js' \ + --exclude='utils/' \ + --exclude='encrypt-sectrets.php' \ + --exclude='*.zip' \ + --exclude='*.tar.gz' \ + ./ "$BUILD_DIR/" + + # Copy to trunk + print_status "Copying to trunk..." + rsync -av --delete "$BUILD_DIR/" "$SVN_DIR/trunk/" + + # Copy to version tag + print_status "Copying to version tag $version..." + rsync -av --delete "$BUILD_DIR/" "$SVN_DIR/tags/$version/" + + print_success "Plugin files copied" +} + +# Function to handle SVN operations +commit_to_svn() { + local version=$1 + + print_status "Preparing SVN commit..." + + cd "$SVN_DIR" + + # Add any new files + svn add --force . + + # Remove any deleted files + svn status | grep '^!' | awk '{print $2}' | xargs -r svn remove + + # Show status + print_status "SVN status:" + svn status + + # Ask for confirmation + echo "" + print_warning "About to commit version $version to WordPress.org repository." + print_warning "This will make the plugin version publicly available." + read -p "Do you want to continue? (y/N): " -n 1 -r + echo "" + + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + print_status "Deployment cancelled by user" + exit 0 + fi + + # Commit changes + print_status "Committing to SVN..." + svn commit -m "Deploy version $version" --username "$SVN_USERNAME" --password "$SVN_PASSWORD" --non-interactive + + print_success "Successfully deployed version $version to WordPress.org!" +} + +# Function to cleanup +cleanup() { + print_status "Cleaning up temporary files..." + if [[ -d "$TEMP_DIR" ]]; then + rm -rf "$TEMP_DIR" + fi + print_success "Cleanup completed" +} + +# Main deployment function +main() { + local provided_version=$1 + + print_status "Starting WordPress.org deployment process..." + print_status "Plugin: Ultimate Multisite" + print_status "SVN URL: $SVN_URL" + + # Validate environment + validate_environment + + # Validate and get version + local version=$(validate_versions "$provided_version") + print_success "Using version: $version" + + # Build the plugin + build_plugin + + # Prepare SVN repository + prepare_svn_repo "$version" + + # Copy plugin files + copy_plugin_files "$version" + + # Commit to SVN + commit_to_svn "$version" + + # Cleanup + cleanup + + print_success "Deployment completed successfully!" + print_success "Plugin version $version is now available on WordPress.org" +} + +# Handle script interruption +trap cleanup EXIT INT TERM + +# Check if version argument is provided +if [[ $# -gt 1 ]]; then + print_error "Too many arguments. Usage: $0 [version]" + exit 1 +fi + +# Run main function +main "$1" \ No newline at end of file diff --git a/inc/admin-pages/class-addons-admin-page.php b/inc/admin-pages/class-addons-admin-page.php index ce599b4db..39ed115ba 100644 --- a/inc/admin-pages/class-addons-admin-page.php +++ b/inc/admin-pages/class-addons-admin-page.php @@ -184,7 +184,7 @@ public function display_more_info() { public function install_addon() { if (! current_user_can('manage_network_plugins')) { - $error = new \WP_Error('error', __('You do not have enough permissions to perform this task.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('You do not have enough permissions to perform this task.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -197,7 +197,7 @@ public function install_addon() { if (! $download_url) { // translators: %s slug of the addon. - wp_send_json_error(sprintf(__('Unable to download update addon. User does not have permission to install %s', 'multisite-ultimate'), $addon_slug), 400); + wp_send_json_error(sprintf(__('Unable to download update addon. User does not have permission to install %s', 'ultimate-multisite'), $addon_slug), 400); } /** @@ -206,7 +206,7 @@ public function install_addon() { $allowed = strncmp($download_url, MULTISITE_ULTIMATE_UPDATE_URL, strlen(MULTISITE_ULTIMATE_UPDATE_URL)) === 0; if (! $allowed) { - $error = new \WP_Error('insecure-url', __('You are trying to download an add-on from an insecure URL', 'multisite-ultimate')); + $error = new \WP_Error('insecure-url', __('You are trying to download an add-on from an insecure URL', 'ultimate-multisite')); wp_send_json_error($error); } @@ -267,7 +267,7 @@ public function register_scripts() { 'search' => wu_request('s', ''), 'category' => wu_request('tab', 'all'), 'i18n' => array( - 'all' => __('All Add-ons', 'multisite-ultimate'), + 'all' => __('All Add-ons', 'ultimate-multisite'), ), ) ); @@ -311,7 +311,7 @@ protected function get_addons_list() { if (is_wp_error($data) || empty($data)) { // translators: %s error message. - wu_log_add('api-calls', sprintf(__('Failed to fetch addons from API: %s', 'multisite-ultimate'), $data ? $data->get_error_message() : __('no addons returned', 'multisite-ultimate'))); + wu_log_add('api-calls', sprintf(__('Failed to fetch addons from API: %s', 'ultimate-multisite'), $data ? $data->get_error_message() : __('no addons returned', 'ultimate-multisite'))); return array(); } @@ -349,7 +349,7 @@ public function serve_addons_list() { */ public function get_title() { - return __('Add-ons', 'multisite-ultimate'); + return __('Add-ons', 'ultimate-multisite'); } /** @@ -360,7 +360,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Add-ons', 'multisite-ultimate'); + return __('Add-ons', 'ultimate-multisite'); } /** @@ -447,47 +447,47 @@ public function get_sections() { return array( 'all' => array( - 'title' => __('All Add-ons', 'multisite-ultimate'), + 'title' => __('All Add-ons', 'ultimate-multisite'), 'icon' => 'dashicons-wu-grid', ), 'premium' => array( - 'title' => __('Premium', 'multisite-ultimate'), + 'title' => __('Premium', 'ultimate-multisite'), 'icon' => 'dashicons-wu-rocket', ), 'free' => array( - 'title' => __('Free', 'multisite-ultimate'), + 'title' => __('Free', 'ultimate-multisite'), 'icon' => 'dashicons-wu-pin', ), 'gateways' => array( - 'title' => __('Gateways', 'multisite-ultimate'), + 'title' => __('Gateways', 'ultimate-multisite'), 'icon' => 'dashicons-wu-credit-card', ), 'growth' => array( - 'title' => __('Growth & Scaling', 'multisite-ultimate'), + 'title' => __('Growth & Scaling', 'ultimate-multisite'), 'icon' => 'dashicons-wu-line-graph', ), 'integrations' => array( - 'title' => __('Integrations', 'multisite-ultimate'), + 'title' => __('Integrations', 'ultimate-multisite'), 'icon' => 'dashicons-wu-power-plug', ), 'customization' => array( - 'title' => __('Customization', 'multisite-ultimate'), + 'title' => __('Customization', 'ultimate-multisite'), 'icon' => 'dashicons-wu-edit', ), 'admin-theme' => array( - 'title' => __('Admin Themes', 'multisite-ultimate'), + 'title' => __('Admin Themes', 'ultimate-multisite'), 'icon' => 'dashicons-wu-palette', ), 'monetization' => array( - 'title' => __('Monetization', 'multisite-ultimate'), + 'title' => __('Monetization', 'ultimate-multisite'), 'icon' => 'dashicons-wu-credit', ), 'migrators' => array( - 'title' => __('Migrators', 'multisite-ultimate'), + 'title' => __('Migrators', 'ultimate-multisite'), 'icon' => 'dashicons-wu-publish', ), 'marketplace' => array( - 'title' => __('Marketplace', 'multisite-ultimate'), + 'title' => __('Marketplace', 'ultimate-multisite'), 'icon' => 'dashicons-wu-shop', ), ); diff --git a/inc/admin-pages/class-base-admin-page.php b/inc/admin-pages/class-base-admin-page.php index 5cb9f17eb..e8def9d06 100644 --- a/inc/admin-pages/class-base-admin-page.php +++ b/inc/admin-pages/class-base-admin-page.php @@ -4,7 +4,7 @@ * * Abstract class that makes it easy to create new admin pages. * - * Most of Multisite Ultimate pages are implemented using this class, which means that the filters and hooks + * Most of Ultimate Multisite pages are implemented using this class, which means that the filters and hooks * listed below can be used to append content to all of our pages at once. * * @package WP_Ultimo @@ -195,7 +195,7 @@ public function __construct() { * * Unlike the wu_page_load, which only runs when a specific page * is being seen, this hook runs at registration for every admin page - * being added using Multisite Ultimate code. + * being added using Ultimate Multisite code. * * @since 2.0.0 * @param string $page_id The ID of this page. @@ -472,7 +472,7 @@ public function add_submenu_page() { } /** - * Adds Multisite Ultimate branding to this page, if that's the case. + * Adds Ultimate Multisite branding to this page, if that's the case. * * @since 2.0.0 * @return void @@ -509,7 +509,7 @@ public function add_container_toggle(): void { } /** - * Adds the Multisite Ultimate branding header. + * Adds the Ultimate Multisite branding header. * * @since 2.0.0 * @return void @@ -525,7 +525,7 @@ public function brand_header(): void { } /** - * Adds the Multisite Ultimate branding footer. + * Adds the Ultimate Multisite branding footer. * * @since 2.0.0 * @return void @@ -599,7 +599,7 @@ final public function enqueue_default_hooks(): void { add_action("load-$this->page_hook", [$this, 'add_admin_body_classes'], 20); /* - * Add the page to Multisite Ultimate branding (aka top-bar and footer) + * Add the page to Ultimate Multisite branding (aka top-bar and footer) */ if (is_network_admin()) { add_action("load-$this->page_hook", [$this, 'add_branding']); @@ -626,7 +626,7 @@ public function get_title_links() { if (wu_get_documentation_url($this->get_id(), false)) { $this->action_links[] = [ 'url' => wu_get_documentation_url($this->get_id()), - 'label' => __('Documentation', 'multisite-ultimate'), + 'label' => __('Documentation', 'ultimate-multisite'), 'icon' => 'wu-open-book', ]; } diff --git a/inc/admin-pages/class-base-customer-facing-admin-page.php b/inc/admin-pages/class-base-customer-facing-admin-page.php index d011117f3..d455fd4b3 100644 --- a/inc/admin-pages/class-base-customer-facing-admin-page.php +++ b/inc/admin-pages/class-base-customer-facing-admin-page.php @@ -122,7 +122,7 @@ public function render_edit_page(): void { $fields['title'] = [ 'type' => 'text', - 'title' => __('Page & Menu Title', 'multisite-ultimate'), + 'title' => __('Page & Menu Title', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'title', ''), 'tooltip' => '', ]; @@ -130,14 +130,14 @@ public function render_edit_page(): void { if ($this->menu_settings) { $fields['position'] = [ 'type' => 'number', - 'title' => __('Menu', 'multisite-ultimate'), + 'title' => __('Menu', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'position', ''), 'tooltip' => '', ]; $fields['menu_icon'] = [ 'type' => 'dashicon', - 'title' => __('Menu Icon', 'multisite-ultimate'), + 'title' => __('Menu Icon', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'menu_icon', ''), 'tooltip' => '', ]; @@ -150,14 +150,14 @@ public function render_edit_page(): void { 'fields' => [ 'reset' => [ 'type' => 'submit', - 'title' => __('Reset Settings', 'multisite-ultimate'), + 'title' => __('Reset Settings', 'ultimate-multisite'), 'value' => 'edit', 'classes' => 'button', 'wrapper_classes' => 'wu-mb-0', ], 'submit' => [ 'type' => 'submit', - 'title' => __('Save Changes', 'multisite-ultimate'), + 'title' => __('Save Changes', 'ultimate-multisite'), 'value' => 'edit', 'classes' => 'button button-primary', 'wrapper_classes' => 'wu-mb-0', @@ -376,9 +376,9 @@ public function register_additional_scripts(): void { 'customize_link' => add_query_arg('customize', 1), 'close_link' => remove_query_arg('customize'), 'i18n' => [ - 'page_customize_label' => __('Customize Page', 'multisite-ultimate'), - 'customize_label' => __('Customize Elements', 'multisite-ultimate'), - 'close_label' => __('Exit Customize Mode', 'multisite-ultimate'), + 'page_customize_label' => __('Customize Page', 'ultimate-multisite'), + 'customize_label' => __('Customize Elements', 'ultimate-multisite'), + 'close_label' => __('Exit Customize Mode', 'ultimate-multisite'), ], ] ); diff --git a/inc/admin-pages/class-broadcast-edit-admin-page.php b/inc/admin-pages/class-broadcast-edit-admin-page.php index c915dadd3..973975135 100644 --- a/inc/admin-pages/class-broadcast-edit-admin-page.php +++ b/inc/admin-pages/class-broadcast-edit-admin-page.php @@ -1,6 +1,6 @@ add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -113,12 +113,12 @@ public function register_widgets(): void { 'fields' => [ 'type' => [ 'type' => 'select', - 'title' => __('Broadcast Type', 'multisite-ultimate'), - 'placeholder' => __('Type', 'multisite-ultimate'), - 'desc' => __('Broadcast type cannot be edited.', 'multisite-ultimate'), + 'title' => __('Broadcast Type', 'ultimate-multisite'), + 'placeholder' => __('Type', 'ultimate-multisite'), + 'desc' => __('Broadcast type cannot be edited.', 'ultimate-multisite'), 'options' => [ - 'broadcast_email' => __('Email', 'multisite-ultimate'), - 'broadcast_notice' => __('Admin Notice', 'multisite-ultimate'), + 'broadcast_email' => __('Email', 'ultimate-multisite'), + 'broadcast_notice' => __('Admin Notice', 'ultimate-multisite'), ], 'value' => $this->get_object()->get_type(), 'tooltip' => '', @@ -129,14 +129,14 @@ public function register_widgets(): void { ], 'notice_type' => [ 'type' => 'select', - 'title' => __('Broadcast Status', 'multisite-ultimate'), - 'placeholder' => __('Status', 'multisite-ultimate'), - 'desc' => __('This option determines the color of the admin notice.', 'multisite-ultimate'), + 'title' => __('Broadcast Status', 'ultimate-multisite'), + 'placeholder' => __('Status', 'ultimate-multisite'), + 'desc' => __('This option determines the color of the admin notice.', 'ultimate-multisite'), 'options' => [ - 'info' => __('Info (blue)', 'multisite-ultimate'), - 'success' => __('Success (green)', 'multisite-ultimate'), - 'warning' => __('Warning (yellow)', 'multisite-ultimate'), - 'error' => __('Error (red)', 'multisite-ultimate'), + 'info' => __('Info (blue)', 'ultimate-multisite'), + 'success' => __('Success (green)', 'ultimate-multisite'), + 'warning' => __('Warning (yellow)', 'ultimate-multisite'), + 'error' => __('Error (red)', 'ultimate-multisite'), ], 'value' => $this->get_object()->get_notice_type(), 'tooltip' => '', @@ -149,9 +149,9 @@ public function register_widgets(): void { ] ); - add_meta_box('wp-ultimo-broadcast-customer-targets', __('Customer Targets', 'multisite-ultimate'), [$this, 'output_default_widget_customer_targets'], get_current_screen()->id, 'side'); + add_meta_box('wp-ultimo-broadcast-customer-targets', __('Customer Targets', 'ultimate-multisite'), [$this, 'output_default_widget_customer_targets'], get_current_screen()->id, 'side'); - add_meta_box('wp-ultimo-broadcast-product-targets', __('Product Targets', 'multisite-ultimate'), [$this, 'output_default_widget_product_targets'], get_current_screen()->id, 'side'); + add_meta_box('wp-ultimo-broadcast-product-targets', __('Product Targets', 'ultimate-multisite'), [$this, 'output_default_widget_product_targets'], get_current_screen()->id, 'side'); } /** @@ -192,7 +192,7 @@ public function output_default_widget_customer_targets(): void {
%s
", - esc_html__('No customer found', 'multisite-ultimate') + esc_html__('No customer found', 'ultimate-multisite') ); break; @@ -279,9 +279,9 @@ public function output_default_widget_customer_targets(): void { %s %s ', esc_attr(wu_get_form_url('view_broadcast_targets', $modal_atts)), - esc_attr__('Targets', 'multisite-ultimate'), + esc_attr__('Targets', 'ultimate-multisite'), esc_html($targets_count), - esc_html__('Targets', 'multisite-ultimate') + esc_html__('Targets', 'ultimate-multisite') ); } else { $count = $targets_count - 6; @@ -299,9 +299,9 @@ public function output_default_widget_customer_targets(): void { %s %s ', esc_attr(wu_get_form_url('view_broadcast_targets', $modal_atts)), - esc_attr__('Targets', 'multisite-ultimate'), + esc_attr__('Targets', 'ultimate-multisite'), esc_html($targets_count), - esc_html__('Targets', 'multisite-ultimate') + esc_html__('Targets', 'ultimate-multisite') ); } @@ -352,7 +352,7 @@ public function output_default_widget_product_targets(): void { } // translators: %s is the number of customers. - $description = sprintf(__('%s customer(s) targeted.', 'multisite-ultimate'), $customer_count); + $description = sprintf(__('%s customer(s) targeted.', 'ultimate-multisite'), $customer_count); $product_targets[ $key ] = [ 'link' => $link, @@ -367,7 +367,7 @@ public function output_default_widget_product_targets(): void { $args = [ 'targets' => $product_targets, - 'loading_text' => __('Loading...', 'multisite-ultimate'), + 'loading_text' => __('Loading...', 'ultimate-multisite'), 'wrapper_class' => 'wu-bg-gray-100 wu--mt-3 wu--mb-6 wu--mx-3', 'modal_class' => 'wubox', ]; @@ -383,7 +383,7 @@ public function output_default_widget_product_targets(): void { */ public function get_title() { - return $this->edit ? __('Edit Broadcast', 'multisite-ultimate') : __('Add new Broadcast', 'multisite-ultimate'); + return $this->edit ? __('Edit Broadcast', 'ultimate-multisite') : __('Add new Broadcast', 'ultimate-multisite'); } /** @@ -394,7 +394,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Broadcast', 'multisite-ultimate'); + return __('Edit Broadcast', 'ultimate-multisite'); } /** @@ -417,15 +417,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Broadcast', 'multisite-ultimate'), - 'add_new_label' => __('Add new Broadcast', 'multisite-ultimate'), - 'updated_message' => __('Broadcast updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Broadcast Title', 'multisite-ultimate'), - 'title_description' => __('This title is used on the message itself, and in the case of a broadcast email, it will be used as the subject.', 'multisite-ultimate'), - 'save_button_label' => __('Save Broadcast', 'multisite-ultimate'), + 'edit_label' => __('Edit Broadcast', 'ultimate-multisite'), + 'add_new_label' => __('Add new Broadcast', 'ultimate-multisite'), + 'updated_message' => __('Broadcast updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Broadcast Title', 'ultimate-multisite'), + 'title_description' => __('This title is used on the message itself, and in the case of a broadcast email, it will be used as the subject.', 'ultimate-multisite'), + 'save_button_label' => __('Save Broadcast', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Broadcast', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Broadcast', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-broadcast-list-admin-page.php b/inc/admin-pages/class-broadcast-list-admin-page.php index 3fb2044b4..50428ae17 100644 --- a/inc/admin-pages/class-broadcast-list-admin-page.php +++ b/inc/admin-pages/class-broadcast-list-admin-page.php @@ -1,6 +1,6 @@ $link, @@ -267,8 +267,8 @@ public function render_add_new_broadcast_modal(): void { $fields = [ 'type' => [ 'type' => 'select-icon', - 'title' => __('Broadcast Type', 'multisite-ultimate'), - 'desc' => __('Select the type of message you want to send.', 'multisite-ultimate'), + 'title' => __('Broadcast Type', 'ultimate-multisite'), + 'desc' => __('Select the type of message you want to send.', 'ultimate-multisite'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -281,29 +281,29 @@ public function render_add_new_broadcast_modal(): void { ], 'options' => [ 'broadcast_notice' => [ - 'title' => __('Message', 'multisite-ultimate'), - 'tooltip' => __('Display a message on your customers\' dashboard.', 'multisite-ultimate'), + 'title' => __('Message', 'ultimate-multisite'), + 'tooltip' => __('Display a message on your customers\' dashboard.', 'ultimate-multisite'), 'icon' => 'dashicons-before dashicons-excerpt-view', ], 'broadcast_email' => [ - 'title' => __('Email', 'multisite-ultimate'), - 'tooltip' => __('Send an email to your customers.', 'multisite-ultimate'), + 'title' => __('Email', 'ultimate-multisite'), + 'tooltip' => __('Send an email to your customers.', 'ultimate-multisite'), 'icon' => 'dashicons-before dashicons-email', ], ], ], 'step_note' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('← Back to Type Selection', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('← Back to Type Selection', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-show' => 'step === 2', ], ], 'target_customers' => [ 'type' => 'model', - 'title' => __('Target Customers', 'multisite-ultimate'), - 'desc' => __('This broadcast will be sent to the user or users that are selected here. You can select more than one.', 'multisite-ultimate'), - 'placeholder' => __('Search a customer...', 'multisite-ultimate'), + 'title' => __('Target Customers', 'ultimate-multisite'), + 'desc' => __('This broadcast will be sent to the user or users that are selected here. You can select more than one.', 'ultimate-multisite'), + 'placeholder' => __('Search a customer...', 'ultimate-multisite'), 'min' => 1, 'html_attr' => [ 'v-model' => 'target_customers', @@ -319,9 +319,9 @@ public function render_add_new_broadcast_modal(): void { ], 'target_products' => [ 'type' => 'model', - 'title' => __('Target Product', 'multisite-ultimate'), - 'desc' => __('This broadcast will be sent to the users that have this product. You can select more than one.', 'multisite-ultimate'), - 'placeholder' => __('Search for a product..', 'multisite-ultimate'), + 'title' => __('Target Product', 'ultimate-multisite'), + 'desc' => __('This broadcast will be sent to the users that have this product. You can select more than one.', 'ultimate-multisite'), + 'placeholder' => __('Search for a product..', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'target_products', 'data-model' => 'product', @@ -335,15 +335,15 @@ public function render_add_new_broadcast_modal(): void { ], ], 'notice_type' => [ - 'title' => __('Message Type', 'multisite-ultimate'), - 'desc' => __('The color of the notice is based on the type.', 'multisite-ultimate'), + 'title' => __('Message Type', 'ultimate-multisite'), + 'desc' => __('The color of the notice is based on the type.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'success', 'options' => [ - 'success' => __('Success (green)', 'multisite-ultimate'), - 'info' => __('Info (blue)', 'multisite-ultimate'), - 'warning' => __('Warning (orange)', 'multisite-ultimate'), - 'error' => __('Error (red)', 'multisite-ultimate'), + 'success' => __('Success (green)', 'ultimate-multisite'), + 'info' => __('Info (blue)', 'ultimate-multisite'), + 'warning' => __('Warning (orange)', 'ultimate-multisite'), + 'error' => __('Error (red)', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => "step === 2 && require('type', 'broadcast_notice')", @@ -352,16 +352,16 @@ public function render_add_new_broadcast_modal(): void { ], 'step_note_2' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('← Back to Target Selection', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('← Back to Target Selection', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-show' => 'step === 3', ], ], 'subject' => [ 'type' => 'text', - 'title' => __('Message Subject', 'multisite-ultimate'), - 'desc' => __('The title will appear above the main content in the notice or used as subject of the email.', 'multisite-ultimate'), - 'placeholder' => __('Enter a title for your broadcast.', 'multisite-ultimate'), + 'title' => __('Message Subject', 'ultimate-multisite'), + 'desc' => __('The title will appear above the main content in the notice or used as subject of the email.', 'ultimate-multisite'), + 'placeholder' => __('Enter a title for your broadcast.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'subject', ], @@ -371,8 +371,8 @@ public function render_add_new_broadcast_modal(): void { ], 'content' => [ 'id' => 'content', - 'title' => __('Content', 'multisite-ultimate'), - 'desc' => __('The main content of your broadcast.', 'multisite-ultimate'), + 'title' => __('Content', 'ultimate-multisite'), + 'desc' => __('The main content of your broadcast.', 'ultimate-multisite'), 'type' => 'wp-editor', 'settings' => [ 'tinymce' => ['toolbar1' => 'bold,italic,strikethrough,link,unlink,undo,redo,pastetext'], @@ -386,7 +386,7 @@ public function render_add_new_broadcast_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Next Step →', 'multisite-ultimate'), + 'title' => __('Next Step →', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -400,7 +400,7 @@ public function render_add_new_broadcast_modal(): void { ], 'submit_button_2' => [ 'type' => 'submit', - 'title' => __('Next Step →', 'multisite-ultimate'), + 'title' => __('Next Step →', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -414,7 +414,7 @@ public function render_add_new_broadcast_modal(): void { ], 'submit_button_3' => [ 'type' => 'submit', - 'title' => __('Send →', 'multisite-ultimate'), + 'title' => __('Send →', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -484,8 +484,8 @@ public function register_widgets() {} public function get_labels() { return [ - 'deleted_message' => __('Broadcast removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Broadcast', 'multisite-ultimate'), + 'deleted_message' => __('Broadcast removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Broadcast', 'ultimate-multisite'), ]; } @@ -497,7 +497,7 @@ public function get_labels() { */ public function get_title() { - return __('Broadcast', 'multisite-ultimate'); + return __('Broadcast', 'ultimate-multisite'); } /** @@ -508,7 +508,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Broadcasts', 'multisite-ultimate'); + return __('Broadcasts', 'ultimate-multisite'); } /** @@ -519,7 +519,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Broadcasts', 'multisite-ultimate'); + return __('Broadcasts', 'ultimate-multisite'); } /** @@ -532,14 +532,14 @@ public function action_links() { return [ [ - 'label' => __('Add Broadcast', 'multisite-ultimate'), + 'label' => __('Add Broadcast', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_broadcast_message'), ], [ 'url' => wu_network_admin_url('wp-ultimo-emails'), - 'label' => __('System Emails', 'multisite-ultimate'), + 'label' => __('System Emails', 'ultimate-multisite'), 'icon' => 'wu-mail', ], ]; diff --git a/inc/admin-pages/class-checkout-form-edit-admin-page.php b/inc/admin-pages/class-checkout-form-edit-admin-page.php index de02a71c8..2333ad150 100644 --- a/inc/admin-pages/class-checkout-form-edit-admin-page.php +++ b/inc/admin-pages/class-checkout-form-edit-admin-page.php @@ -1,6 +1,6 @@ __('Generate Shortcode', 'multisite-ultimate'), + 'label' => __('Generate Shortcode', 'ultimate-multisite'), 'icon' => 'wu-copy', 'classes' => 'wubox', 'url' => wu_get_form_url('shortcode_checkout', $url_atts), @@ -218,7 +218,7 @@ public function content_checkout_form_by_settings(): void { ); if ($index < $count - 1) { - printf('
', esc_attr__('Step Separator', 'multisite-ultimate')); + printf('
', esc_attr__('Step Separator', 'ultimate-multisite')); } } @@ -376,9 +376,9 @@ public function get_create_field_fields($attributes = []) { 'v-model' => 'tab', ], 'options' => [ - 'content' => __('Field', 'multisite-ultimate'), - 'advanced' => __('Additional Settings', 'multisite-ultimate'), - 'style' => __('Style', 'multisite-ultimate'), + 'content' => __('Field', 'ultimate-multisite'), + 'advanced' => __('Additional Settings', 'ultimate-multisite'), + 'style' => __('Style', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'type', @@ -388,8 +388,8 @@ public function get_create_field_fields($attributes = []) { // Content Tab 'type' => [ 'type' => 'select-icon', - 'title' => __('Field Type', 'multisite-ultimate'), - 'desc' => __('Select the type of field you want to add to the checkout form.', 'multisite-ultimate'), + 'title' => __('Field Type', 'ultimate-multisite'), + 'desc' => __('Select the type of field you want to add to the checkout form.', 'ultimate-multisite'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -406,7 +406,7 @@ public function get_create_field_fields($attributes = []) { 'type_note' => [ 'type' => 'note', 'order' => 0, - 'desc' => sprintf('%s', __('← Back to Field Type Selection', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('← Back to Field Type Selection', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-show' => 'type && (!saved && !name)', 'v-cloak' => '1', @@ -424,9 +424,9 @@ public function get_create_field_fields($attributes = []) { // Advanced Tab 'from_request' => [ 'type' => 'toggle', - 'title' => __('Pre-fill from Request', 'multisite-ultimate'), - 'tooltip' => __('The key is the field slug. If your field has the slug "my-color" for example, adding ?my-color=blue will pre-fill this field with the value "blue".', 'multisite-ultimate'), - 'desc' => __('Enable this to allow this field to be pre-filled based on the request parameters.', 'multisite-ultimate'), + 'title' => __('Pre-fill from Request', 'ultimate-multisite'), + 'tooltip' => __('The key is the field slug. If your field has the slug "my-color" for example, adding ?my-color=blue will pre-fill this field with the value "blue".', 'ultimate-multisite'), + 'desc' => __('Enable this to allow this field to be pre-filled based on the request parameters.', 'ultimate-multisite'), 'value' => 1, 'order' => 100, 'html_attr' => [ @@ -442,12 +442,12 @@ public function get_create_field_fields($attributes = []) { 'logged' => [ 'type' => 'select', 'value' => 'always', - 'title' => __('Field Visibility', 'multisite-ultimate'), - 'desc' => __('Select the visibility of this field.', 'multisite-ultimate'), + 'title' => __('Field Visibility', 'ultimate-multisite'), + 'desc' => __('Select the visibility of this field.', 'ultimate-multisite'), 'options' => [ - 'always' => __('Always show', 'multisite-ultimate'), - 'logged_only' => __('Only show for logged in users', 'multisite-ultimate'), - 'guests_only' => __('Only show for guests', 'multisite-ultimate'), + 'always' => __('Always show', 'ultimate-multisite'), + 'logged_only' => __('Only show for logged in users', 'ultimate-multisite'), + 'guests_only' => __('Only show for guests', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'logged', @@ -469,9 +469,9 @@ public function get_create_field_fields($attributes = []) { // Style Tab 'width' => [ 'type' => 'number', - 'title' => __('Wrapper Width', 'multisite-ultimate'), - 'placeholder' => __('100', 'multisite-ultimate'), - 'desc' => __('Set the width of this field wrapper (in %).', 'multisite-ultimate'), + 'title' => __('Wrapper Width', 'ultimate-multisite'), + 'placeholder' => __('100', 'ultimate-multisite'), + 'desc' => __('Set the width of this field wrapper (in %).', 'ultimate-multisite'), 'min' => 0, 'max' => 100, 'value' => 100, @@ -486,9 +486,9 @@ public function get_create_field_fields($attributes = []) { ], 'wrapper_element_classes' => [ 'type' => 'text', - 'title' => __('Wrapper CSS Classes', 'multisite-ultimate'), - 'placeholder' => __('e.g. custom-field example-class', 'multisite-ultimate'), - 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field wrapper element.', 'multisite-ultimate'), + 'title' => __('Wrapper CSS Classes', 'ultimate-multisite'), + 'placeholder' => __('e.g. custom-field example-class', 'ultimate-multisite'), + 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field wrapper element.', 'ultimate-multisite'), 'value' => '', 'order' => 54, 'html_attr' => [ @@ -501,9 +501,9 @@ public function get_create_field_fields($attributes = []) { ], 'element_classes' => [ 'type' => 'text', - 'title' => __('Field CSS Classes', 'multisite-ultimate'), - 'placeholder' => __('e.g. custom-field example-class', 'multisite-ultimate'), - 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field element itself, when possible.', 'multisite-ultimate'), + 'title' => __('Field CSS Classes', 'ultimate-multisite'), + 'placeholder' => __('e.g. custom-field example-class', 'ultimate-multisite'), + 'desc' => __('You can enter multiple CSS classes separated by spaces. These will be applied to the field element itself, when possible.', 'ultimate-multisite'), 'value' => '', 'order' => 56, 'html_attr' => [ @@ -563,7 +563,7 @@ public function get_create_field_fields($attributes = []) { [ 'submit_button' => [ 'type' => 'submit', - 'title' => empty($attributes) ? __('Add Field', 'multisite-ultimate') : __('Save Field', 'multisite-ultimate'), + 'title' => empty($attributes) ? __('Add Field', 'ultimate-multisite') : __('Save Field', 'ultimate-multisite'), 'value' => 'save', 'order' => 100, 'classes' => 'button button-primary wu-w-full', @@ -717,7 +717,7 @@ function ($value) { [ 'duration' => 1, 'duration_unit' => 'month', - 'label' => __('Monthly', 'multisite-ultimate'), + 'label' => __('Monthly', 'ultimate-multisite'), ], ]; } @@ -773,7 +773,7 @@ public function handle_add_new_form_field_modal(): void { wp_send_json_error( new \WP_Error( 'checkout-form-not-found', - __('The checkout form could not be found.', 'multisite-ultimate') + __('The checkout form could not be found.', 'ultimate-multisite') ) ); } @@ -851,18 +851,18 @@ public function render_add_new_form_step_modal(): void { 'v-model' => 'tab', ], 'options' => [ - 'content' => __('Content', 'multisite-ultimate'), - 'visibility' => __('Visibility', 'multisite-ultimate'), - 'style' => __('Style', 'multisite-ultimate'), + 'content' => __('Content', 'ultimate-multisite'), + 'visibility' => __('Visibility', 'ultimate-multisite'), + 'style' => __('Style', 'ultimate-multisite'), ], ], // Content Tab 'id' => [ 'type' => 'text', - 'title' => __('Step ID', 'multisite-ultimate'), - 'placeholder' => __('e.g. step-name', 'multisite-ultimate'), - 'desc' => __('This will be used on the URL. Only alpha-numeric and hyphens allowed.', 'multisite-ultimate'), + 'title' => __('Step ID', 'ultimate-multisite'), + 'placeholder' => __('e.g. step-name', 'ultimate-multisite'), + 'desc' => __('This will be used on the URL. Only alpha-numeric and hyphens allowed.', 'ultimate-multisite'), 'value' => '', 'html_attr' => [ 'v-on:input' => 'id = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', @@ -883,9 +883,9 @@ public function render_add_new_form_step_modal(): void { ], 'name' => [ 'type' => 'text', - 'title' => __('Step Title', 'multisite-ultimate'), - 'placeholder' => __('e.g. My Extra Step', 'multisite-ultimate'), - 'desc' => __('Mostly used internally, but made available for templates.', 'multisite-ultimate'), + 'title' => __('Step Title', 'ultimate-multisite'), + 'placeholder' => __('e.g. My Extra Step', 'ultimate-multisite'), + 'desc' => __('Mostly used internally, but made available for templates.', 'ultimate-multisite'), 'tooltip' => '', 'value' => '', 'html_attr' => [ @@ -899,9 +899,9 @@ public function render_add_new_form_step_modal(): void { ], 'desc' => [ 'type' => 'textarea', - 'title' => __('Step Description', 'multisite-ultimate'), - 'placeholder' => __('e.g. This is the last step!', 'multisite-ultimate'), - 'desc' => __('Mostly used internally, but made available for templates.', 'multisite-ultimate'), + 'title' => __('Step Description', 'ultimate-multisite'), + 'placeholder' => __('e.g. This is the last step!', 'ultimate-multisite'), + 'desc' => __('Mostly used internally, but made available for templates.', 'ultimate-multisite'), 'tooltip' => '', 'value' => '', 'html_attr' => [ @@ -918,12 +918,12 @@ public function render_add_new_form_step_modal(): void { 'logged' => [ 'type' => 'select', 'value' => 'always', - 'title' => __('Logged Status', 'multisite-ultimate'), - 'desc' => __('Select the visibility of this step.', 'multisite-ultimate'), + 'title' => __('Logged Status', 'ultimate-multisite'), + 'desc' => __('Select the visibility of this step.', 'ultimate-multisite'), 'options' => [ - 'always' => __('Always show', 'multisite-ultimate'), - 'logged_only' => __('Only show for logged in users', 'multisite-ultimate'), - 'guests_only' => __('Only show for guests', 'multisite-ultimate'), + 'always' => __('Always show', 'ultimate-multisite'), + 'logged_only' => __('Only show for logged in users', 'ultimate-multisite'), + 'guests_only' => __('Only show for guests', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'logged', @@ -937,9 +937,9 @@ public function render_add_new_form_step_modal(): void { // Style Tab 'element_id' => [ 'type' => 'text', - 'title' => __('Element ID', 'multisite-ultimate'), - 'placeholder' => __('myfield', 'multisite-ultimate'), - 'desc' => __('A custom ID to be added to the form element. Do not add the # symbol.', 'multisite-ultimate'), + 'title' => __('Element ID', 'ultimate-multisite'), + 'placeholder' => __('myfield', 'ultimate-multisite'), + 'desc' => __('A custom ID to be added to the form element. Do not add the # symbol.', 'ultimate-multisite'), 'value' => '', 'html_attr' => [ 'v-model' => 'element_id', @@ -952,9 +952,9 @@ public function render_add_new_form_step_modal(): void { 'classes' => [ 'type' => 'text', - 'title' => __('Extra CSS Classes', 'multisite-ultimate'), - 'placeholder' => __('custom-field example-class', 'multisite-ultimate'), - 'desc' => __('You can enter multiple CSS classes separated by spaces.', 'multisite-ultimate'), + 'title' => __('Extra CSS Classes', 'ultimate-multisite'), + 'placeholder' => __('custom-field example-class', 'ultimate-multisite'), + 'desc' => __('You can enter multiple CSS classes separated by spaces.', 'ultimate-multisite'), 'value' => '', 'html_attr' => [ 'v-model' => 'classes', @@ -968,7 +968,7 @@ public function render_add_new_form_step_modal(): void { // Submit Button 'submit_button' => [ 'type' => 'submit', - 'title' => empty($_step) ? __('Add Step', 'multisite-ultimate') : __('Save Step', 'multisite-ultimate'), + 'title' => empty($_step) ? __('Add Step', 'ultimate-multisite') : __('Save Step', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -1029,7 +1029,7 @@ public function handle_add_new_form_step_modal(): void { wp_send_json_error( new \WP_Error( 'checkout-form-not-found', - __('The checkout form could not be found.', 'multisite-ultimate') + __('The checkout form could not be found.', 'ultimate-multisite') ) ); } @@ -1144,10 +1144,10 @@ public function register_scripts(): void { 'register_page' => wu_get_registration_url(), 'steps' => $steps, 'headers' => [ - 'order' => __('Order', 'multisite-ultimate'), - 'name' => __('Label', 'multisite-ultimate'), - 'type' => __('Type', 'multisite-ultimate'), - 'slug' => __('Slug', 'multisite-ultimate'), + 'order' => __('Order', 'ultimate-multisite'), + 'name' => __('Label', 'ultimate-multisite'), + 'type' => __('Type', 'ultimate-multisite'), + 'slug' => __('Slug', 'ultimate-multisite'), 'move' => '', ], ] @@ -1200,9 +1200,9 @@ public function get_thank_you_page_fields() { $new_fields['conversion_snippets'] = [ 'type' => 'code-editor', - 'title' => __('Conversion Snippets', 'multisite-ultimate'), + 'title' => __('Conversion Snippets', 'ultimate-multisite'), // translators: %s is a list of placeholders. - 'desc' => sprintf(__('Add custom snippets in HTML (with javascript support) to add conversion tracking pixels and such. This code is only run on the successful Thank You step.
Available placeholders are: %s', 'multisite-ultimate'), $fields_placeholder), + 'desc' => sprintf(__('Add custom snippets in HTML (with javascript support) to add conversion tracking pixels and such. This code is only run on the successful Thank You step.
Available placeholders are: %s', 'ultimate-multisite'), $fields_placeholder), 'value' => $this->get_object()->get_conversion_snippets(), 'lang' => 'htmlmixed', ]; @@ -1238,15 +1238,15 @@ public function register_widgets(): void { $this->add_tabs_widget( 'advanced', [ - 'title' => __('Advanced Options', 'multisite-ultimate'), + 'title' => __('Advanced Options', 'ultimate-multisite'), 'position' => 'advanced', 'html_attr' => [ 'data-on-load' => 'wu_initialize_code_editors', ], 'sections' => [ 'thank-you' => [ - 'title' => __('Thank You', 'multisite-ultimate'), - 'desc' => __('Configure the Thank You page for this Checkout Form.', 'multisite-ultimate'), + 'title' => __('Thank You', 'ultimate-multisite'), + 'desc' => __('Configure the Thank You page for this Checkout Form.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-emoji-happy', 'state' => [ 'enable_thank_you_page' => $this->get_object()->has_thank_you_page(), @@ -1255,8 +1255,8 @@ public function register_widgets(): void { 'fields' => $this->get_thank_you_page_fields(), ], 'scripts' => [ - 'title' => __('Scripts', 'multisite-ultimate'), - 'desc' => __('Configure the Thank You page for this Checkout Form.', 'multisite-ultimate'), + 'title' => __('Scripts', 'ultimate-multisite'), + 'desc' => __('Configure the Thank You page for this Checkout Form.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-code', 'state' => [ 'enable_thank_you_page' => $this->get_object()->has_thank_you_page(), @@ -1265,16 +1265,16 @@ public function register_widgets(): void { 'fields' => [ 'custom_css' => [ 'type' => 'code-editor', - 'title' => __('Custom CSS', 'multisite-ultimate'), - 'desc' => __('Add custom CSS code to your checkout form. SCSS syntax is supported.', 'multisite-ultimate'), + 'title' => __('Custom CSS', 'ultimate-multisite'), + 'desc' => __('Add custom CSS code to your checkout form. SCSS syntax is supported.', 'ultimate-multisite'), 'value' => $this->get_object()->get_custom_css(), 'lang' => 'css', ], ], ], 'restrictions' => [ - 'title' => __('Restrictions', 'multisite-ultimate'), - 'desc' => __('Control the access to this checkout form.', 'multisite-ultimate'), + 'title' => __('Restrictions', 'ultimate-multisite'), + 'desc' => __('Control the access to this checkout form.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-block', 'state' => [ 'restrict_by_country' => $this->get_object()->has_country_lock(), @@ -1282,17 +1282,17 @@ public function register_widgets(): void { 'fields' => [ 'restrict_by_country' => [ 'type' => 'toggle', - 'title' => __('Restrict by Country', 'multisite-ultimate'), - 'desc' => __('Restrict this checkout form to specific countries.', 'multisite-ultimate'), + 'title' => __('Restrict by Country', 'ultimate-multisite'), + 'desc' => __('Restrict this checkout form to specific countries.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'restrict_by_country', ], ], 'allowed_countries' => [ 'type' => 'select', - 'title' => __('Allowed Countries', 'multisite-ultimate'), - 'desc' => __('Select the allowed countries.', 'multisite-ultimate'), - 'placeholder' => __('Type to search countries...', 'multisite-ultimate'), + 'title' => __('Allowed Countries', 'ultimate-multisite'), + 'desc' => __('Select the allowed countries.', 'ultimate-multisite'), + 'placeholder' => __('Type to search countries...', 'ultimate-multisite'), 'options' => 'wu_get_countries', 'value' => $this->get_object()->get_allowed_countries(), 'wrapper_html_attr' => [ @@ -1313,7 +1313,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], 'position' => 'advanced', @@ -1335,8 +1335,8 @@ public function register_widgets(): void { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Checkout Form Slug', 'multisite-ultimate'), - 'desc' => __('This is used to create shortcodes and more.', 'multisite-ultimate'), + 'title' => __('Checkout Form Slug', 'ultimate-multisite'), + 'desc' => __('This is used to create shortcodes and more.', 'ultimate-multisite'), 'value' => $this->get_object()->get_slug(), 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -1349,7 +1349,7 @@ public function register_widgets(): void { ], 'slug_change_note' => [ 'type' => 'note', - 'desc' => __('You are changing the form slug. If you save this change, all the shortcodes and blocks referencing this slug will stop working until you update them with the new slug.', 'multisite-ultimate'), + 'desc' => __('You are changing the form slug. If you save this change, all the shortcodes and blocks referencing this slug will stop working until you update them with the new slug.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_slug != slug) && slug', @@ -1363,12 +1363,12 @@ public function register_widgets(): void { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this checkout form.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this checkout form.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -1380,17 +1380,17 @@ public function register_widgets(): void { [ [ 'id' => 'checkout-form-editor', - 'title' => __('Welcome to the Checkout Form builder!', 'multisite-ultimate'), + 'title' => __('Welcome to the Checkout Form builder!', 'ultimate-multisite'), 'text' => [ - __('You should be able to create registration forms in any way, shape, and form you desire. This editor allows you to do just that 😃', 'multisite-ultimate'), - __('Want a registration form with multiple steps? Check! A single step? Check! Control the visibility of certain steps and fields based on the context of the customer? Check!', 'multisite-ultimate'), + __('You should be able to create registration forms in any way, shape, and form you desire. This editor allows you to do just that 😃', 'ultimate-multisite'), + __('Want a registration form with multiple steps? Check! A single step? Check! Control the visibility of certain steps and fields based on the context of the customer? Check!', 'ultimate-multisite'), ], ], [ 'id' => 'add-new-step', - 'title' => __('Adding new Steps', 'multisite-ultimate'), + 'title' => __('Adding new Steps', 'ultimate-multisite'), 'text' => [ - __('To add a new step to the registration form, use this button here.', 'multisite-ultimate'), + __('To add a new step to the registration form, use this button here.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#wp-ultimo-list-table-add-new-1 > div > div.wu-w-1\/2.wu-text-right > ul > li:nth-child(2) > a', @@ -1399,10 +1399,10 @@ public function register_widgets(): void { ], [ 'id' => 'add-new-field', - 'title' => __('Adding new Fields', 'multisite-ultimate'), + 'title' => __('Adding new Fields', 'ultimate-multisite'), 'text' => [ - __('To add a new field to a step, use this button here. You can add fields to capture additional data from your customers and use that data to populate site templates.', 'multisite-ultimate'), - sprintf('%s', wu_get_documentation_url('wp-ultimo-populate-site-template'), __('You can learn more about that here →', 'multisite-ultimate')), + __('To add a new field to a step, use this button here. You can add fields to capture additional data from your customers and use that data to populate site templates.', 'ultimate-multisite'), + sprintf('%s', wu_get_documentation_url('wp-ultimo-populate-site-template'), __('You can learn more about that here →', 'ultimate-multisite')), ], 'attachTo' => [ 'element' => '#wp-ultimo-list-table-checkout > div.inside > div.wu-bg-gray-100.wu-px-4.wu-py-3.wu--m-3.wu-mt-3.wu-border-t.wu-border-l-0.wu-border-r-0.wu-border-b-0.wu-border-gray-400.wu-border-solid.wu-text-right > ul > li:nth-child(3) > a', @@ -1421,7 +1421,7 @@ public function register_widgets(): void { */ public function get_title() { - return $this->edit ? __('Edit Checkout Form', 'multisite-ultimate') : __('Add new Checkout Form', 'multisite-ultimate'); + return $this->edit ? __('Edit Checkout Form', 'ultimate-multisite') : __('Add new Checkout Form', 'ultimate-multisite'); } /** @@ -1432,7 +1432,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Checkout_Form', 'multisite-ultimate'); + return __('Edit Checkout_Form', 'ultimate-multisite'); } /** @@ -1444,15 +1444,15 @@ public function get_menu_title() { public function get_labels() { return [ - 'edit_label' => __('Edit Checkout Form', 'multisite-ultimate'), - 'add_new_label' => __('Add new Checkout Form', 'multisite-ultimate'), - 'updated_message' => __('Checkout Form updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Checkout Form Name', 'multisite-ultimate'), - 'title_description' => __('This name is used for internal reference only.', 'multisite-ultimate'), - 'save_button_label' => __('Save Checkout Form', 'multisite-ultimate'), + 'edit_label' => __('Edit Checkout Form', 'ultimate-multisite'), + 'add_new_label' => __('Add new Checkout Form', 'ultimate-multisite'), + 'updated_message' => __('Checkout Form updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Checkout Form Name', 'ultimate-multisite'), + 'title_description' => __('This name is used for internal reference only.', 'ultimate-multisite'), + 'save_button_label' => __('Save Checkout Form', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Checkout Form', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Checkout Form', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-checkout-form-list-admin-page.php b/inc/admin-pages/class-checkout-form-list-admin-page.php index a2aa99546..a8d6ff16e 100644 --- a/inc/admin-pages/class-checkout-form-list-admin-page.php +++ b/inc/admin-pages/class-checkout-form-list-admin-page.php @@ -1,6 +1,6 @@ 'checkout-form-list', - 'title' => __('Checkout Forms', 'multisite-ultimate'), + 'title' => __('Checkout Forms', 'ultimate-multisite'), 'text' => [ - __('Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers.', 'multisite-ultimate'), + __('Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers.', 'ultimate-multisite'), ], ], [ 'id' => 'default-form', - 'title' => __('Experiment!', 'multisite-ultimate'), + 'title' => __('Experiment!', 'ultimate-multisite'), 'text' => [ - __('You can create as many checkout forms as you want, with different fields, products on offer, etc.', 'multisite-ultimate'), - __('Planning on running some sort of promotion? Why not create a custom landing page with a tailor-maid checkout form to go with? The possibilities are endless.', 'multisite-ultimate'), + __('You can create as many checkout forms as you want, with different fields, products on offer, etc.', 'ultimate-multisite'), + __('Planning on running some sort of promotion? Why not create a custom landing page with a tailor-maid checkout form to go with? The possibilities are endless.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#wp-ultimo-wrap > h1 > a:first-child', @@ -121,8 +121,8 @@ public function render_add_new_checkout_form_modal(): void { $fields = [ 'template' => [ 'type' => 'select-icon', - 'title' => __('Checkout Form Template', 'multisite-ultimate'), - 'desc' => __('Select a starting point for a new Checkout Form.', 'multisite-ultimate'), + 'title' => __('Checkout Form Template', 'ultimate-multisite'), + 'desc' => __('Select a starting point for a new Checkout Form.', 'ultimate-multisite'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -132,22 +132,22 @@ public function render_add_new_checkout_form_modal(): void { ], 'options' => [ 'single-step' => [ - 'title' => __('Single Step', 'multisite-ultimate'), + 'title' => __('Single Step', 'ultimate-multisite'), 'icon' => 'dashicons-before dashicons-list-view', ], 'multi-step' => [ - 'title' => __('Multi-Step', 'multisite-ultimate'), + 'title' => __('Multi-Step', 'ultimate-multisite'), 'icon' => 'dashicons-before dashicons-excerpt-view', ], 'blank' => [ - 'title' => __('Blank', 'multisite-ultimate'), + 'title' => __('Blank', 'ultimate-multisite'), 'icon' => 'dashicons-before dashicons-admin-page', ], ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Go to the Editor →', 'multisite-ultimate'), + 'title' => __('Go to the Editor →', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -189,7 +189,7 @@ public function handle_add_new_checkout_form_modal(): void { $checkout_form->use_template($template); - $checkout_form->set_name(__('Draft Checkout Form', 'multisite-ultimate')); + $checkout_form->set_name(__('Draft Checkout Form', 'ultimate-multisite')); $checkout_form->set_slug(uniqid()); @@ -222,8 +222,8 @@ public function handle_add_new_checkout_form_modal(): void { public function get_labels() { return [ - 'deleted_message' => __('Checkout Form removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Checkout Form', 'multisite-ultimate'), + 'deleted_message' => __('Checkout Form removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Checkout Form', 'ultimate-multisite'), ]; } @@ -235,7 +235,7 @@ public function get_labels() { */ public function get_title() { - return __('Checkout Forms', 'multisite-ultimate'); + return __('Checkout Forms', 'ultimate-multisite'); } /** @@ -246,7 +246,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Checkout Forms', 'multisite-ultimate'); + return __('Checkout Forms', 'ultimate-multisite'); } /** @@ -257,7 +257,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Checkout Forms', 'multisite-ultimate'); + return __('Checkout Forms', 'ultimate-multisite'); } /** @@ -270,7 +270,7 @@ public function action_links() { return [ [ - 'label' => __('Add Checkout Form', 'multisite-ultimate'), + 'label' => __('Add Checkout Form', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_checkout_form'), diff --git a/inc/admin-pages/class-customer-edit-admin-page.php b/inc/admin-pages/class-customer-edit-admin-page.php index 1629dbbc5..95b7f6c9f 100644 --- a/inc/admin-pages/class-customer-edit-admin-page.php +++ b/inc/admin-pages/class-customer-edit-admin-page.php @@ -1,6 +1,6 @@ get_object(); @@ -200,16 +200,16 @@ public function render_transfer_customer_modal(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'multisite-ultimate'), - 'desc' => __('This will start the transfer of assets from one user to another.', 'multisite-ultimate'), + 'title' => __('Confirm Transfer', 'ultimate-multisite'), + 'desc' => __('This will start the transfer of assets from one user to another.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'multisite-ultimate'), - 'placeholder' => __('Start Transfer', 'multisite-ultimate'), + 'title' => __('Start Transfer', 'ultimate-multisite'), + 'placeholder' => __('Start Transfer', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -262,11 +262,11 @@ public function handle_transfer_customer_modal(): void { $target_user = get_user_by('id', wu_request('target_user_id')); if ( ! $customer) { - wp_send_json_error(new \WP_Error('not-found', __('Customer not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Customer not found.', 'ultimate-multisite'))); } if ( ! $target_user) { - wp_send_json_error(new \WP_Error('not-found', __('User not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('User not found.', 'ultimate-multisite'))); } $customer->set_user_id($target_user->ID); @@ -302,8 +302,8 @@ public function customer_extra_delete_fields($fields, $customer): array { $custom_fields = [ 'delete_all' => [ 'type' => 'toggle', - 'title' => __('Delete everything', 'multisite-ultimate'), - 'desc' => __('Sites, payments and memberships.', 'multisite-ultimate'), + 'title' => __('Delete everything', 'ultimate-multisite'), + 'desc' => __('Sites, payments and memberships.', 'ultimate-multisite'), 'html_attr' => [ 'v-bind:value' => 'delete_all_confirmed', 'v-model' => 'delete_all_confirmed', @@ -311,8 +311,8 @@ public function customer_extra_delete_fields($fields, $customer): array { ], 're_assignment_customer_id' => [ 'type' => 'model', - 'title' => __('Re-assignment to customer', 'multisite-ultimate'), - 'placeholder' => __('Select Customer...', 'multisite-ultimate'), + 'title' => __('Re-assignment to customer', 'ultimate-multisite'), + 'placeholder' => __('Select Customer...', 'ultimate-multisite'), 'html_attr' => [ 'data-model' => 'customer', 'data-value-field' => 'id', @@ -450,7 +450,7 @@ public function generate_customer_meta_fields() { foreach ($custom_meta_keys as $key => $value) { $field_location_breadcrumbs = [ - __('Custom field', 'multisite-ultimate'), + __('Custom field', 'ultimate-multisite'), ]; $form = wu_get_isset($value, 'form'); @@ -465,7 +465,7 @@ public function generate_customer_meta_fields() { $location = sprintf( '%s %s', - __('Location:', 'multisite-ultimate'), + __('Location:', 'ultimate-multisite'), implode(' → ', array_filter($field_location_breadcrumbs)) ); @@ -491,7 +491,7 @@ public function generate_customer_meta_fields() { $delete_link = sprintf( '%s', esc_url($delete_url), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ); } @@ -528,10 +528,10 @@ public function generate_customer_meta_fields() { if ($meta_fields_unset) { $collapsible_header['display_unset_fields'] = [ - 'title' => __('Display unset fields', 'multisite-ultimate'), + 'title' => __('Display unset fields', 'ultimate-multisite'), 'desc' => __( 'If fields were added after the customer creation or onto a different form, they will not have a set value for this customer. You can manually set those here.', - 'multisite-ultimate' + 'ultimate-multisite' ), 'type' => 'toggle', 'wrapper_classes' => 'wu-bg-gray-100', @@ -546,14 +546,14 @@ public function generate_customer_meta_fields() { if (empty($final_fields)) { $final_fields['empty'] = [ 'type' => 'note', - 'desc' => __('No custom meta data collected and no custom fields found.', 'multisite-ultimate'), + 'desc' => __('No custom meta data collected and no custom fields found.', 'ultimate-multisite'), 'classes' => 'wu-text-center', ]; } $final_fields['display_new_meta_repeater'] = [ - 'title' => __('Manually add custom meta fields', 'multisite-ultimate'), - 'desc' => __('Add new custom meta fields to this customer.', 'multisite-ultimate'), + 'title' => __('Manually add custom meta fields', 'ultimate-multisite'), + 'desc' => __('Add new custom meta fields to this customer.', 'ultimate-multisite'), 'type' => 'toggle', 'wrapper_classes' => 'wu-bg-gray-100', 'html_attr' => [ @@ -562,7 +562,7 @@ public function generate_customer_meta_fields() { ]; $default_meta_value = fn(string $type, $value = '', bool $is_default = false) => [ - 'title' => __('Value', 'multisite-ultimate'), + 'title' => __('Value', 'ultimate-multisite'), 'type' => $type, 'value' => $value, 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', @@ -587,12 +587,12 @@ public function generate_customer_meta_fields() { 'type' => 'note', 'desc' => sprintf( '', - __('Remove', 'multisite-ultimate') + __('Remove', 'ultimate-multisite') ), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'new_meta_slug' => [ - 'title' => __('Slug', 'multisite-ultimate'), + 'title' => __('Slug', 'ultimate-multisite'), 'type' => 'text', 'value' => '', 'wrapper_classes' => 'wu-w-1/4', @@ -603,7 +603,7 @@ public function generate_customer_meta_fields() { ], ], 'new_meta_title' => [ - 'title' => __('Title', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), 'type' => 'text', 'value' => '', 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', @@ -612,14 +612,14 @@ public function generate_customer_meta_fields() { ], ], 'new_meta_type' => [ - 'title' => __('Type', 'multisite-ultimate'), + 'title' => __('Type', 'ultimate-multisite'), 'type' => 'select', 'options' => [ - 'text' => __('Text', 'multisite-ultimate'), - 'textarea' => __('Textarea', 'multisite-ultimate'), - 'checkbox' => __('Checkbox', 'multisite-ultimate'), - 'color' => __('Color', 'multisite-ultimate'), - 'image' => __('Image', 'multisite-ultimate'), + 'text' => __('Text', 'ultimate-multisite'), + 'textarea' => __('Textarea', 'ultimate-multisite'), + 'checkbox' => __('Checkbox', 'ultimate-multisite'), + 'color' => __('Color', 'ultimate-multisite'), + 'image' => __('Image', 'ultimate-multisite'), ], 'wrapper_classes' => 'wu-w-1/4 wu-ml-2', 'html_attr' => [ @@ -642,7 +642,7 @@ public function generate_customer_meta_fields() { ], 'repeat_option' => [ 'type' => 'submit', - 'title' => __('+ Add meta field', 'multisite-ultimate'), + 'title' => __('+ Add meta field', 'ultimate-multisite'), 'classes' => 'button wu-self-end', 'wrapper_classes' => 'wu-bg-whiten wu-items-end', 'html_attr' => [ @@ -681,7 +681,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'multisite-ultimate'), + 'title' => __('At a Glance', 'ultimate-multisite'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-m-0 wu--mt-1 wu--mx-3 wu--mb-3', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', @@ -692,23 +692,23 @@ public function register_widgets(): void { 'id' => [ 'type' => 'text-display', 'copy' => true, - 'title' => __('Customer ID', 'multisite-ultimate'), + 'title' => __('Customer ID', 'ultimate-multisite'), 'display_value' => $this->get_object()->get_id(), 'tooltip' => '', ], 'last_login' => [ 'edit' => false, - 'title' => __('Last Login', 'multisite-ultimate'), + 'title' => __('Last Login', 'ultimate-multisite'), 'type' => 'text-edit', 'value' => $this->edit ? $this->get_object()->get_last_login(false) : __( 'No date', - 'multisite-ultimate' + 'ultimate-multisite' ), 'display_value' => $this->edit ? $this->get_object()->get_last_login(false) : false, ], 'total_grossed' => [ 'type' => 'text-display', - 'title' => __('Total Grossed', 'multisite-ultimate'), + 'title' => __('Total Grossed', 'ultimate-multisite'), 'display_value' => wu_format_currency($this->get_object()->get_total_grossed()), 'tooltip' => '', ], @@ -719,7 +719,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'memberships', [ - 'title' => __('Memberships', 'multisite-ultimate'), + 'title' => __('Memberships', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Customers_Membership_List_Table(), 'query_filter' => [$this, 'memberships_query_filter'], ] @@ -728,34 +728,34 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Customer Options', 'multisite-ultimate'), + 'title' => __('Customer Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => apply_filters( 'wu_customer_options_sections', [ 'general' => [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General options for the customer.', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General options for the customer.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-globe', 'fields' => [ 'vip' => [ 'type' => 'toggle', - 'title' => __('VIP', 'multisite-ultimate'), - 'desc' => __('Set this customer as a VIP.', 'multisite-ultimate'), + 'title' => __('VIP', 'ultimate-multisite'), + 'desc' => __('Set this customer as a VIP.', 'ultimate-multisite'), 'tooltip' => '', 'value' => $this->get_object()->is_vip(), ], ], ], 'billing_info' => [ - 'title' => __('Billing Info', 'multisite-ultimate'), - 'desc' => __('Billing information for this particular customer', 'multisite-ultimate'), + 'title' => __('Billing Info', 'ultimate-multisite'), + 'desc' => __('Billing information for this particular customer', 'ultimate-multisite'), 'icon' => 'dashicons-wu-address', 'fields' => $this->get_object()->get_billing_address()->get_fields(), ], 'custom_meta' => [ - 'title' => __('Custom Meta', 'multisite-ultimate'), - 'desc' => __('Custom data collected via Multisite Ultimate forms.', 'multisite-ultimate'), + 'title' => __('Custom Meta', 'ultimate-multisite'), + 'desc' => __('Custom data collected via Ultimate Multisite forms.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-database wu-pt-px', 'fields' => $this->generate_customer_meta_fields(), 'state' => [ @@ -772,8 +772,8 @@ public function register_widgets(): void { // @todo: bring these back // phpcs:disable // 'payment_methods' => array( - // 'title' => __('Payment Methods', 'multisite-ultimate'), - // 'desc' => __('Add extra information to this customer.', 'multisite-ultimate'), + // 'title' => __('Payment Methods', 'ultimate-multisite'), + // 'desc' => __('Add extra information to this customer.', 'ultimate-multisite'), // 'icon' => 'dashicons-wu-credit-card', // 'fields' => apply_filters('wu_customer_payment_methods', array(), $this->get_object(), $this), // ), @@ -787,7 +787,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'payments', [ - 'title' => __('Payments', 'multisite-ultimate'), + 'title' => __('Payments', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Customers_Payment_List_Table(), 'query_filter' => [$this, 'memberships_query_filter'], ] @@ -796,7 +796,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'sites', [ - 'title' => __('Sites', 'multisite-ultimate'), + 'title' => __('Sites', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Customers_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] @@ -805,7 +805,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -835,9 +835,9 @@ public function register_widgets(): void { 'fields' => [ 'user_id' => [ 'type' => 'model', - 'title' => __('User', 'multisite-ultimate'), - 'placeholder' => __('Search WordPress user...', 'multisite-ultimate'), - 'desc' => __('The WordPress user associated to this customer.', 'multisite-ultimate'), + 'title' => __('User', 'ultimate-multisite'), + 'placeholder' => __('Search WordPress user...', 'ultimate-multisite'), + 'desc' => __('The WordPress user associated to this customer.', 'ultimate-multisite'), 'value' => $this->get_object()->get_user_id(), 'tooltip' => '', 'min' => 1, @@ -858,7 +858,7 @@ public function register_widgets(): void { 'type' => 'note', 'desc' => __( 'Changing the user will transfer the customer and all its assets to the new user.', - 'multisite-ultimate' + 'ultimate-multisite' ), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ @@ -868,16 +868,16 @@ public function register_widgets(): void { ], 'email_verification' => [ 'type' => 'select', - 'title' => __('Email Verification', 'multisite-ultimate'), - 'placeholder' => __('Select Status', 'multisite-ultimate'), + 'title' => __('Email Verification', 'ultimate-multisite'), + 'placeholder' => __('Select Status', 'ultimate-multisite'), 'desc' => __( 'The email verification status. This gets automatically switched to Verified when the customer verifies their email address.', - 'multisite-ultimate' + 'ultimate-multisite' ), 'options' => [ - 'none' => __('None', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'verified' => __('Verified', 'multisite-ultimate'), + 'none' => __('None', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'verified' => __('Verified', 'ultimate-multisite'), ], 'value' => $this->get_object()->get_email_verification(), 'tooltip' => '', @@ -890,10 +890,10 @@ public function register_widgets(): void { ], 'confirm_membership' => [ 'type' => 'toggle', - 'title' => __('Activate Memberships', 'multisite-ultimate'), + 'title' => __('Activate Memberships', 'ultimate-multisite'), 'desc' => __( 'If you toggle this option, this change in status will also activate the related pending memberships. If any sites are pending, they are also going to be published automatically.', - 'multisite-ultimate' + 'ultimate-multisite' ), 'value' => 0, 'wrapper_html_attr' => [ @@ -903,7 +903,7 @@ public function register_widgets(): void { ], 'send_verification' => [ 'type' => 'submit', - 'title' => __('Re-send Verification Email →', 'multisite-ultimate'), + 'title' => __('Re-send Verification Email →', 'ultimate-multisite'), 'value' => 'send_verification', 'classes' => 'button wu-w-full', 'wrapper_html_attr' => [ @@ -924,7 +924,7 @@ public function register_widgets(): void { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Customer', 'multisite-ultimate'), + 'display_value' => __('Transfer Customer', 'ultimate-multisite'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -939,7 +939,7 @@ public function register_widgets(): void { 'target_user_id' => '', ] ) . "=' + user_id", - 'title' => __('Transfer Customer', 'multisite-ultimate'), + 'title' => __('Transfer Customer', 'ultimate-multisite'), ], ], ], @@ -949,16 +949,16 @@ public function register_widgets(): void { $this->add_fields_widget( 'last-login', [ - 'title' => __('Last Login & IPs', 'multisite-ultimate'), + 'title' => __('Last Login & IPs', 'ultimate-multisite'), 'fields' => [ 'last_login' => [ 'edit' => true, - 'title' => __('Last Login', 'multisite-ultimate'), + 'title' => __('Last Login', 'ultimate-multisite'), 'type' => 'text-edit', 'date' => true, 'value' => $this->edit ? $this->get_object()->get_last_login(false) : __( 'No date', - 'multisite-ultimate' + 'ultimate-multisite' ), 'display_value' => $this->edit ? $this->get_object()->get_last_login(false) : false, 'placeholder' => '2020-04-04 12:00:00', @@ -969,12 +969,12 @@ public function register_widgets(): void { ], ], 'ips' => [ - 'title' => __('IP Address', 'multisite-ultimate'), + 'title' => __('IP Address', 'ultimate-multisite'), 'type' => 'text-edit', 'display_value' => $this->get_object()->get_last_ip(), ], 'country' => [ - 'title' => __('IP Address Country', 'multisite-ultimate'), + 'title' => __('IP Address Country', 'ultimate-multisite'), 'type' => 'text-edit', 'display_value' => [$this, 'render_country'], ], @@ -1017,7 +1017,7 @@ public function render_country() { */ public function get_title() { - return $this->edit ? __('Edit Customer', 'multisite-ultimate') : __('Add new Customer', 'multisite-ultimate'); + return $this->edit ? __('Edit Customer', 'ultimate-multisite') : __('Add new Customer', 'ultimate-multisite'); } /** @@ -1028,7 +1028,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Customer', 'multisite-ultimate'); + return __('Edit Customer', 'ultimate-multisite'); } /** @@ -1051,15 +1051,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Customer', 'multisite-ultimate'), - 'add_new_label' => __('Add new Customer', 'multisite-ultimate'), - 'updated_message' => __('Customer updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Customer', 'multisite-ultimate'), + 'edit_label' => __('Edit Customer', 'ultimate-multisite'), + 'add_new_label' => __('Add new Customer', 'ultimate-multisite'), + 'updated_message' => __('Customer updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Customer', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save Customer', 'multisite-ultimate'), + 'save_button_label' => __('Save Customer', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Customer', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Customer', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } @@ -1278,7 +1278,7 @@ public function handle_send_verification_notice(): void { if (isset($_GET['notice_verification_sent'])) : // phpcs:ignore WordPress.Security.NonceVerification ?>
-

+

'type', ], 'options' => [ - 'existing' => __('Existing User', 'multisite-ultimate'), - 'new' => __('Invite New', 'multisite-ultimate'), + 'existing' => __('Existing User', 'ultimate-multisite'), + 'new' => __('Invite New', 'ultimate-multisite'), ], ], 'user_id' => [ 'type' => 'model', - 'title' => __('Existing User', 'multisite-ultimate'), - 'placeholder' => __('Search WordPress user...', 'multisite-ultimate'), + 'title' => __('Existing User', 'ultimate-multisite'), + 'placeholder' => __('Search WordPress user...', 'ultimate-multisite'), 'tooltip' => '', 'min' => 1, 'wrapper_html_attr' => [ @@ -206,24 +206,24 @@ public function render_add_new_customer_modal(): void { ], 'username' => [ 'type' => 'text', - 'title' => __('Username', 'multisite-ultimate'), - 'placeholder' => __('E.g. johnsmith', 'multisite-ultimate'), + 'title' => __('Username', 'ultimate-multisite'), + 'placeholder' => __('E.g. johnsmith', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], ], 'email_address' => [ 'type' => 'email', - 'title' => __('Email Address', 'multisite-ultimate'), - 'placeholder' => __('E.g. customer@wpultimo.dev', 'multisite-ultimate'), + 'title' => __('Email Address', 'ultimate-multisite'), + 'placeholder' => __('E.g. customer@wpultimo.dev', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], ], 'set_password' => [ 'type' => 'toggle', - 'title' => __('Set Password', 'multisite-ultimate'), - 'desc' => __('If not set, the user will be asked to set a password after accepting the invite.', 'multisite-ultimate'), + 'title' => __('Set Password', 'ultimate-multisite'), + 'desc' => __('If not set, the user will be asked to set a password after accepting the invite.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new')", ], @@ -233,15 +233,15 @@ public function render_add_new_customer_modal(): void { ], 'password' => [ 'type' => 'password', - 'title' => __('Password', 'multisite-ultimate'), - 'placeholder' => __('E.g. p@$$w0rd', 'multisite-ultimate'), + 'title' => __('Password', 'ultimate-multisite'), + 'placeholder' => __('E.g. p@$$w0rd', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'new') && require('set_password', true)", ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Create Customer', 'multisite-ultimate'), + 'title' => __('Create Customer', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -332,8 +332,8 @@ public function register_widgets() {} public function get_labels() { return [ - 'deleted_message' => __('Customer removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Customer', 'multisite-ultimate'), + 'deleted_message' => __('Customer removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Customer', 'ultimate-multisite'), ]; } @@ -345,7 +345,7 @@ public function get_labels() { */ public function get_title() { - return __('Customers', 'multisite-ultimate'); + return __('Customers', 'ultimate-multisite'); } /** @@ -356,7 +356,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Customers', 'multisite-ultimate'); + return __('Customers', 'ultimate-multisite'); } /** @@ -367,7 +367,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Customers', 'multisite-ultimate'); + return __('Customers', 'ultimate-multisite'); } /** @@ -380,13 +380,13 @@ public function action_links() { return [ [ - 'label' => __('Add Customer', 'multisite-ultimate'), + 'label' => __('Add Customer', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_customer'), ], [ - 'label' => __('Export as CSV', 'multisite-ultimate'), + 'label' => __('Export as CSV', 'ultimate-multisite'), 'icon' => 'wu-export', 'url' => add_query_arg( [ diff --git a/inc/admin-pages/class-customizer-admin-page.php b/inc/admin-pages/class-customizer-admin-page.php index eef12d74e..e405b09b3 100644 --- a/inc/admin-pages/class-customizer-admin-page.php +++ b/inc/admin-pages/class-customizer-admin-page.php @@ -1,6 +1,6 @@ id) { $preset_options = [ 'last_7_days' => [ - 'label' => __('Last 7 days', 'multisite-ultimate'), + 'label' => __('Last 7 days', 'ultimate-multisite'), 'start_date' => date_i18n('Y-m-d', strtotime('-7 days')), 'end_date' => date_i18n('Y-m-d'), ], 'last_30_days' => [ - 'label' => __('Last 30 days', 'multisite-ultimate'), + 'label' => __('Last 30 days', 'ultimate-multisite'), 'start_date' => date_i18n('Y-m-d', strtotime('-30 days')), 'end_date' => date_i18n('Y-m-d'), ], 'year_to_date' => [ - 'label' => __('Year to date', 'multisite-ultimate'), + 'label' => __('Year to date', 'ultimate-multisite'), 'start_date' => date_i18n('Y-m-d', strtotime('first day of january this year')), 'end_date' => date_i18n('Y-m-d'), ], @@ -180,7 +180,7 @@ public function get_views() { 'general' => [ 'field' => 'type', 'url' => add_query_arg('tab', 'general'), - 'label' => __('General', 'multisite-ultimate'), + 'label' => __('General', 'ultimate-multisite'), 'count' => 0, ], ]; @@ -209,7 +209,7 @@ public function register_widgets(): void { * * @param string $tab The current tab. * @param \WP_Screen $screen The screen object. - * @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page Multisite Ultimate admin page instance. + * @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page Ultimate Multisite admin page instance. */ do_action("wu_dashboard_{$this->tab}_widgets", $this->tab, $screen, $this); @@ -220,7 +220,7 @@ public function register_widgets(): void { * * @param string $tab The current tab. * @param \WP_Screen $screen The screen object. - * @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page Multisite Ultimate admin page instance. + * @param \WP_Ultimo\Admin_Pages\Dashboard_Admin_Page $page Ultimate Multisite admin page instance. */ do_action('wu_dashboard_widgets', $this->tab, $screen, $this); @@ -230,16 +230,16 @@ public function register_widgets(): void { [ [ 'id' => 'your-dashboard', - 'title' => __('Our dashboard', 'multisite-ultimate'), + 'title' => __('Our dashboard', 'ultimate-multisite'), 'text' => [ - __('This is the Multisite Ultimate Dashboard, where you will find most of the important information you will need regarding your business\' performance.', 'multisite-ultimate'), + __('This is the Ultimate Multisite Dashboard, where you will find most of the important information you will need regarding your business\' performance.', 'ultimate-multisite'), ], ], [ 'id' => 'documentation', - 'title' => __('Learning more', 'multisite-ultimate'), + 'title' => __('Learning more', 'ultimate-multisite'), 'text' => [ - __('Most of the Multisite Ultimate admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the Multisite Ultimate site.', 'multisite-ultimate'), + __('Most of the Ultimate Multisite admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the Ultimate Multisite site.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#wp-ultimo-wrap > h1 > a:last-child', @@ -248,9 +248,9 @@ public function register_widgets(): void { ], [ 'id' => 'mrr-growth', - 'title' => __('It\'s all about growth!', 'multisite-ultimate'), + 'title' => __('It\'s all about growth!', 'ultimate-multisite'), 'text' => [ - __('This graph allows you to follow how your monthly recurring revenue is growing this year.', 'multisite-ultimate'), + __('This graph allows you to follow how your monthly recurring revenue is growing this year.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#wp-ultimo-mrr-growth', @@ -259,10 +259,10 @@ public function register_widgets(): void { ], [ 'id' => 'tailor-made', - 'title' => __('Date-range support', 'multisite-ultimate'), + 'title' => __('Date-range support', 'ultimate-multisite'), 'text' => [ - __('Checking statistics and comparing data for different periods is key in maintaining a good grasp on your business.', 'multisite-ultimate'), - __('You can use the date-range selectors to have access to just the data you need and nothing more.', 'multisite-ultimate'), + __('Checking statistics and comparing data for different periods is key in maintaining a good grasp on your business.', 'ultimate-multisite'), + __('You can use the date-range selectors to have access to just the data you need and nothing more.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#dashboard-filters', @@ -286,18 +286,18 @@ public function register_widgets(): void { public function register_general_tab_widgets($tab, $screen): void { if (current_user_can('wu_read_financial')) { - add_meta_box('wp-ultimo-mrr-growth', __('Monthly Recurring Revenue Growth', 'multisite-ultimate'), [$this, 'output_widget_mrr_growth'], $screen->id, 'full', 'high'); + add_meta_box('wp-ultimo-mrr-growth', __('Monthly Recurring Revenue Growth', 'ultimate-multisite'), [$this, 'output_widget_mrr_growth'], $screen->id, 'full', 'high'); - add_meta_box('wp-ultimo-revenue', __('Revenue', 'multisite-ultimate'), [$this, 'output_widget_revenues'], $screen->id, 'normal', 'high'); + add_meta_box('wp-ultimo-revenue', __('Revenue', 'ultimate-multisite'), [$this, 'output_widget_revenues'], $screen->id, 'normal', 'high'); } - add_meta_box('wp-ultimo-countries', __('Signups by Countries', 'multisite-ultimate'), [$this, 'output_widget_countries'], $screen->id, 'side', 'high'); + add_meta_box('wp-ultimo-countries', __('Signups by Countries', 'ultimate-multisite'), [$this, 'output_widget_countries'], $screen->id, 'side', 'high'); - add_meta_box('wp-ultimo-signups', __('Signups by Form', 'multisite-ultimate'), [$this, 'output_widget_forms'], $screen->id, 'side', 'high'); + add_meta_box('wp-ultimo-signups', __('Signups by Form', 'ultimate-multisite'), [$this, 'output_widget_forms'], $screen->id, 'side', 'high'); - add_meta_box('wp-ultimo-most-visited-sites', __('Most Visited Sites', 'multisite-ultimate'), [$this, 'output_widget_most_visited_sites'], $screen->id, 'side', 'low'); + add_meta_box('wp-ultimo-most-visited-sites', __('Most Visited Sites', 'ultimate-multisite'), [$this, 'output_widget_most_visited_sites'], $screen->id, 'side', 'low'); - add_meta_box('wp-ultimo-new-accounts', __('New Memberships', 'multisite-ultimate'), [$this, 'output_widget_new_accounts'], $screen->id, 'normal', 'low'); + add_meta_box('wp-ultimo-new-accounts', __('New Memberships', 'ultimate-multisite'), [$this, 'output_widget_new_accounts'], $screen->id, 'normal', 'low'); } /** @@ -449,7 +449,7 @@ function ($item) { * Add edge case for no plan. */ $products['none'] = (object) [ - 'name' => __('No Product', 'multisite-ultimate'), + 'name' => __('No Product', 'ultimate-multisite'), 'count' => 0, ]; @@ -514,8 +514,8 @@ public function register_scripts(): void { 'today' => date_i18n('Y-m-d', strtotime('tomorrow')), 'month_list' => $month_list, 'i18n' => [ - 'new_mrr' => __('New MRR', 'multisite-ultimate'), - 'cancellations' => __('Cancellations', 'multisite-ultimate'), + 'new_mrr' => __('New MRR', 'ultimate-multisite'), + 'cancellations' => __('Cancellations', 'ultimate-multisite'), ], ] ); @@ -537,7 +537,7 @@ public function register_scripts(): void { */ public function get_title() { - return __('Dashboard', 'multisite-ultimate'); + return __('Dashboard', 'ultimate-multisite'); } /** @@ -548,7 +548,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Multisite WaaS', 'multisite-ultimate'); + return __('Ultimate Multisite', 'ultimate-multisite'); } /** @@ -559,7 +559,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Dashboard', 'multisite-ultimate'); + return __('Dashboard', 'ultimate-multisite'); } /** @@ -617,7 +617,7 @@ public function render_csv_button($args): void { ', - esc_html__('CSV', 'multisite-ultimate'), + esc_html__('CSV', 'ultimate-multisite'), esc_attr($slug), esc_attr($header_strings), esc_attr($data_strings), diff --git a/inc/admin-pages/class-discount-code-edit-admin-page.php b/inc/admin-pages/class-discount-code-edit-admin-page.php index 25660b4f7..2ccbd54b7 100644 --- a/inc/admin-pages/class-discount-code-edit-admin-page.php +++ b/inc/admin-pages/class-discount-code-edit-admin-page.php @@ -1,6 +1,6 @@ add_fields_widget( 'description', [ - 'title' => __('Description', 'multisite-ultimate'), + 'title' => __('Description', 'ultimate-multisite'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Description', 'multisite-ultimate'), - 'placeholder' => __('Tell your customers what this product is about.', 'multisite-ultimate'), + 'title' => __('Description', 'ultimate-multisite'), + 'placeholder' => __('Tell your customers what this product is about.', 'ultimate-multisite'), 'value' => $this->get_object()->get_description(), 'html_attr' => [ 'rows' => 3, @@ -114,30 +114,30 @@ public function register_widgets(): void { $options = [ 'general' => [ - 'title' => __('Limit Uses', 'multisite-ultimate'), + 'title' => __('Limit Uses', 'ultimate-multisite'), 'icon' => 'dashicons-wu-lock', - 'desc' => __('Rules and limitations to the applicability of this discount code.', 'multisite-ultimate'), + 'desc' => __('Rules and limitations to the applicability of this discount code.', 'ultimate-multisite'), 'fields' => [ 'uses' => [ - 'title' => __('Uses', 'multisite-ultimate'), + 'title' => __('Uses', 'ultimate-multisite'), 'type' => 'text-display', // translators: %d is the number of times the coupon was used. - 'display_value' => sprintf(__('This discount code was used %d times.', 'multisite-ultimate'), $this->get_object()->get_uses()), - 'tooltip' => __('The number of times that this discount code was used so far.', 'multisite-ultimate'), + 'display_value' => sprintf(__('This discount code was used %d times.', 'ultimate-multisite'), $this->get_object()->get_uses()), + 'tooltip' => __('The number of times that this discount code was used so far.', 'ultimate-multisite'), ], 'max_uses' => [ - 'title' => __('Max Uses', 'multisite-ultimate'), - 'desc' => __('Use this option to set a limit on how many times this discount code can be used. Leave blank or 0 for unlimited uses.', 'multisite-ultimate'), + 'title' => __('Max Uses', 'ultimate-multisite'), + 'desc' => __('Use this option to set a limit on how many times this discount code can be used. Leave blank or 0 for unlimited uses.', 'ultimate-multisite'), 'type' => 'number', 'min' => 0, 'placeholder' => 0, - 'value' => $this->get_object()->has_max_uses() ? $this->get_object()->get_max_uses() : __('Unlimited', 'multisite-ultimate'), + 'value' => $this->get_object()->has_max_uses() ? $this->get_object()->get_max_uses() : __('Unlimited', 'ultimate-multisite'), ], ], ], 'time' => [ - 'title' => __('Start & Expiration Dates', 'multisite-ultimate'), - 'desc' => __('Define a start and end date for this discount code. Useful when running campaigns for a pre-determined period.', 'multisite-ultimate'), + 'title' => __('Start & Expiration Dates', 'ultimate-multisite'), + 'desc' => __('Define a start and end date for this discount code. Useful when running campaigns for a pre-determined period.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-calendar', 'state' => [ 'enable_date_start' => $this->get_object()->get_date_start(), @@ -146,19 +146,19 @@ public function register_widgets(): void { 'fields' => [ 'enable_date_start' => [ 'type' => 'toggle', - 'title' => __('Enable Start Date', 'multisite-ultimate'), - 'desc' => __('Allows you to set a start date for this coupon code.', 'multisite-ultimate'), + 'title' => __('Enable Start Date', 'ultimate-multisite'), + 'desc' => __('Allows you to set a start date for this coupon code.', 'ultimate-multisite'), 'value' => 1, 'html_attr' => [ 'v-model' => 'enable_date_start', ], ], 'date_start' => [ - 'title' => __('Start Date', 'multisite-ultimate'), - 'desc' => __('The discount code will only be good to be used after this date.', 'multisite-ultimate') . ' ' . $tz_note, + 'title' => __('Start Date', 'ultimate-multisite'), + 'desc' => __('The discount code will only be good to be used after this date.', 'ultimate-multisite') . ' ' . $tz_note, 'type' => 'text', 'date' => true, - 'value' => $this->edit ? $this->get_object()->get_date_start() : __('No date', 'multisite-ultimate'), + 'value' => $this->edit ? $this->get_object()->get_date_start() : __('No date', 'ultimate-multisite'), 'placeholder' => 'E.g. 2020-04-04 12:00:00', 'wrapper_html_attr' => [ 'v-cloak' => 1, @@ -173,19 +173,19 @@ public function register_widgets(): void { ], 'enable_date_expiration' => [ 'type' => 'toggle', - 'title' => __('Enable Expiration Date', 'multisite-ultimate'), - 'desc' => __('Allows you to set an expiration date for this coupon code.', 'multisite-ultimate'), + 'title' => __('Enable Expiration Date', 'ultimate-multisite'), + 'desc' => __('Allows you to set an expiration date for this coupon code.', 'ultimate-multisite'), 'value' => 1, 'html_attr' => [ 'v-model' => 'enable_date_expiration', ], ], 'date_expiration' => [ - 'title' => __('Expiration Date', 'multisite-ultimate'), - 'desc' => __('The discount code will expire after this date.', 'multisite-ultimate') . ' ' . $tz_note, + 'title' => __('Expiration Date', 'ultimate-multisite'), + 'desc' => __('The discount code will expire after this date.', 'ultimate-multisite') . ' ' . $tz_note, 'type' => 'text', 'date' => true, - 'value' => $this->edit ? $this->get_object()->get_date_expiration() : __('Never Expires', 'multisite-ultimate'), + 'value' => $this->edit ? $this->get_object()->get_date_expiration() : __('Never Expires', 'ultimate-multisite'), 'placeholder' => 'E.g. 2020-04-04 12:00:00', 'wrapper_html_attr' => [ 'v-cloak' => 1, @@ -201,8 +201,8 @@ public function register_widgets(): void { ], ], 'products' => [ - 'title' => __('Limit Products', 'multisite-ultimate'), - 'desc' => __('Determine if you want this discount code to apply to all discountable products or not.', 'multisite-ultimate'), + 'title' => __('Limit Products', 'ultimate-multisite'), + 'desc' => __('Determine if you want this discount code to apply to all discountable products or not.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-price-tag', 'state' => [ 'limit_products' => $this->get_object()->get_limit_products(), @@ -211,8 +211,8 @@ public function register_widgets(): void { [ 'limit_products' => [ 'type' => 'toggle', - 'title' => __('Select Products', 'multisite-ultimate'), - 'desc' => __('Manually select to which products this discount code should be applicable.', 'multisite-ultimate'), + 'title' => __('Select Products', 'ultimate-multisite'), + 'desc' => __('Manually select to which products this discount code should be applicable.', 'ultimate-multisite'), 'value' => 1, 'html_attr' => [ 'v-model' => 'limit_products', @@ -227,7 +227,7 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Advanced Options', 'multisite-ultimate'), + 'title' => __('Advanced Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => apply_filters('wu_discount_code_options_sections', $options, $this->get_object()), ] @@ -241,7 +241,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -265,10 +265,10 @@ public function register_widgets(): void { ], 'fields' => [ 'code' => [ - 'title' => __('Coupon Code', 'multisite-ultimate'), + 'title' => __('Coupon Code', 'ultimate-multisite'), 'type' => 'text', - 'placeholder' => __('E.g. XMAS10OFF', 'multisite-ultimate'), - 'desc' => __('The actual code your customers will enter during checkout.', 'multisite-ultimate'), + 'placeholder' => __('E.g. XMAS10OFF', 'ultimate-multisite'), + 'desc' => __('The actual code your customers will enter during checkout.', 'ultimate-multisite'), 'value' => $this->get_object()->get_code(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -281,7 +281,7 @@ public function register_widgets(): void { ], 'value_group' => [ 'type' => 'group', - 'title' => __('Discount', 'multisite-ultimate'), + 'title' => __('Discount', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-cloak' => '1', ], @@ -292,9 +292,9 @@ public function register_widgets(): void { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'multisite-ultimate'), + 'percentage' => __('Percentage (%)', 'ultimate-multisite'), // translators: %s is the currency symbol. e.g. $ - 'absolute' => sprintf(__('Absolute (%s)', 'multisite-ultimate'), wu_get_currency_symbol()), + 'absolute' => sprintf(__('Absolute (%s)', 'ultimate-multisite'), wu_get_currency_symbol()), ], 'html_attr' => [ 'v-model' => 'type', @@ -315,8 +315,8 @@ public function register_widgets(): void { ], 'apply_to_renewals' => [ 'type' => 'toggle', - 'title' => __('Apply to Renewals', 'multisite-ultimate'), - 'desc' => __('By default, discounts are only applied to the first payment.', 'multisite-ultimate'), + 'title' => __('Apply to Renewals', 'ultimate-multisite'), + 'desc' => __('By default, discounts are only applied to the first payment.', 'ultimate-multisite'), 'value' => $this->get_object()->should_apply_to_renewals(), 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -324,8 +324,8 @@ public function register_widgets(): void { ], 'apply_to_setup_fee' => [ 'type' => 'toggle', - 'title' => __('Setup Fee Discount', 'multisite-ultimate'), - 'desc' => __('Also set a discount for setup fee?', 'multisite-ultimate'), + 'title' => __('Setup Fee Discount', 'ultimate-multisite'), + 'desc' => __('Also set a discount for setup fee?', 'ultimate-multisite'), 'value' => $this->get_object()->get_setup_fee_value() > 0, 'html_attr' => [ 'v-model' => 'apply_to_setup_fee', @@ -336,7 +336,7 @@ public function register_widgets(): void { ], 'setup_fee_value_group' => [ 'type' => 'group', - 'title' => __('Setup Fee Discount', 'multisite-ultimate'), + 'title' => __('Setup Fee Discount', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'apply_to_setup_fee', 'v-cloak' => '1', @@ -348,9 +348,9 @@ public function register_widgets(): void { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'multisite-ultimate'), + 'percentage' => __('Percentage (%)', 'ultimate-multisite'), // translators: %s is the currency symbol. e.g. $ - 'absolute' => sprintf(__('Absolute (%s)', 'multisite-ultimate'), wu_get_currency_symbol()), + 'absolute' => sprintf(__('Absolute (%s)', 'ultimate-multisite'), wu_get_currency_symbol()), ], 'html_attr' => [ 'v-model' => 'setup_fee_type', @@ -375,12 +375,12 @@ public function register_widgets(): void { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this discount code for new sign-ups.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this discount code for new sign-ups.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -404,7 +404,7 @@ protected function get_product_field_list() { $fields[ "allowed_products_{$product_id}" ] = [ 'type' => 'toggle', 'title' => $product->get_name(), - 'desc' => __('Make applicable to this product.', 'multisite-ultimate'), + 'desc' => __('Make applicable to this product.', 'ultimate-multisite'), 'tooltip' => '', 'wrapper_classes' => '', 'html_attr' => [ @@ -432,7 +432,7 @@ protected function get_product_field_list() { $fields['allowed_products_no_products'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('You do not have any products at this moment.', 'multisite-ultimate'), + 'desc' => __('You do not have any products at this moment.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-cloak' => 1, 'v-show' => 'limit_products', @@ -453,7 +453,7 @@ public function handle_legacy_options(): void { global $wp_filter; - $tabs = [__('Legacy Add-ons', 'multisite-ultimate')]; + $tabs = [__('Legacy Add-ons', 'ultimate-multisite')]; if ( ! isset($wp_filter['wp_ultimo_coupon_advanced_options'])) { return; @@ -466,9 +466,9 @@ public function handle_legacy_options(): void { $fields = [ 'heading' => [ 'type' => 'header', - 'title' => __('Legacy Options', 'multisite-ultimate'), + 'title' => __('Legacy Options', 'ultimate-multisite'), // translators: %s is the comma-separated list of legacy add-ons. - 'desc' => sprintf(__('Options for %s, and others.', 'multisite-ultimate'), implode(', ', $tabs)), + 'desc' => sprintf(__('Options for %s, and others.', 'ultimate-multisite'), implode(', ', $tabs)), ], ]; @@ -488,7 +488,7 @@ public function handle_legacy_options(): void { $this->add_fields_widget( 'legacy-options', [ - 'title' => __('Legacy Options', 'multisite-ultimate'), + 'title' => __('Legacy Options', 'ultimate-multisite'), 'position' => 'normal', 'fields' => $fields, 'classes' => 'wu-legacy-options-panel', @@ -545,7 +545,7 @@ public function query_filter($args) { */ public function get_title() { - return $this->edit ? __('Edit Discount Code', 'multisite-ultimate') : __('Add new Discount Code', 'multisite-ultimate'); + return $this->edit ? __('Edit Discount Code', 'ultimate-multisite') : __('Add new Discount Code', 'ultimate-multisite'); } /** @@ -556,7 +556,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Discount Code', 'multisite-ultimate'); + return __('Edit Discount Code', 'ultimate-multisite'); } /** @@ -579,15 +579,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Discount Code', 'multisite-ultimate'), - 'add_new_label' => __('Add new Discount Code', 'multisite-ultimate'), - 'updated_message' => __('Discount Code updated successfully!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Discount Code', 'multisite-ultimate'), + 'edit_label' => __('Edit Discount Code', 'ultimate-multisite'), + 'add_new_label' => __('Add new Discount Code', 'ultimate-multisite'), + 'updated_message' => __('Discount Code updated successfully!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Discount Code', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save Discount Code', 'multisite-ultimate'), + 'save_button_label' => __('Save Discount Code', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Discount Code', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Discount Code', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-discount-code-list-admin-page.php b/inc/admin-pages/class-discount-code-list-admin-page.php index 98391e239..a619543e7 100644 --- a/inc/admin-pages/class-discount-code-list-admin-page.php +++ b/inc/admin-pages/class-discount-code-list-admin-page.php @@ -1,6 +1,6 @@ __('Discount Code removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Discount Code', 'multisite-ultimate'), + 'deleted_message' => __('Discount Code removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Discount Code', 'ultimate-multisite'), ]; } @@ -84,7 +84,7 @@ public function get_labels() { */ public function get_title() { - return __('Discount Codes', 'multisite-ultimate'); + return __('Discount Codes', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Discount Codes', 'multisite-ultimate'); + return __('Discount Codes', 'ultimate-multisite'); } /** @@ -106,7 +106,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Discount Codes', 'multisite-ultimate'); + return __('Discount Codes', 'ultimate-multisite'); } /** @@ -120,7 +120,7 @@ public function action_links() { return [ [ 'url' => wu_network_admin_url('wp-ultimo-edit-discount-code'), - 'label' => __('Add Discount Code', 'multisite-ultimate'), + 'label' => __('Add Discount Code', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', ], ]; diff --git a/inc/admin-pages/class-domain-edit-admin-page.php b/inc/admin-pages/class-domain-edit-admin-page.php index cee84a036..b71d2b7e4 100644 --- a/inc/admin-pages/class-domain-edit-admin-page.php +++ b/inc/admin-pages/class-domain-edit-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'model', - 'title' => __('Set another domain as primary', 'multisite-ultimate'), + 'title' => __('Set another domain as primary', 'ultimate-multisite'), 'html_attr' => [ 'data-model' => 'domain', 'data-value-field' => 'id', @@ -180,16 +180,16 @@ public function domain_extra_delete_fields($fields, $domain) { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Deletion', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'multisite-ultimate'), - 'placeholder' => __('Delete', 'multisite-ultimate'), + 'title' => __('Delete', 'ultimate-multisite'), + 'placeholder' => __('Delete', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -241,14 +241,14 @@ public function register_widgets(): void { $this->add_fields_widget( 'domain-url', [ - 'title' => __('Domain URL', 'multisite-ultimate'), + 'title' => __('Domain URL', 'ultimate-multisite'), 'position' => 'normal', 'after' => [$this, 'render_dns_widget'], 'fields' => [ 'domain' => [ 'type' => 'text-display', - 'title' => __('Domain', 'multisite-ultimate'), - 'tooltip' => __('Editing an existing domain is not possible. If you want to make changes to this domain, first delete it, and then re-add the right domain.', 'multisite-ultimate'), + 'title' => __('Domain', 'ultimate-multisite'), + 'tooltip' => __('Editing an existing domain is not possible. If you want to make changes to this domain, first delete it, and then re-add the right domain.', 'ultimate-multisite'), 'display_value' => '' . $this->get_object()->get_domain() . ' ', ], ], @@ -258,12 +258,12 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Domain Options', 'multisite-ultimate'), + 'title' => __('Domain Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => [ 'general' => [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General options for the domain.', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General options for the domain.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-globe', 'state' => [ 'primary_domain' => $this->get_object()->is_primary_domain(), @@ -271,9 +271,9 @@ public function register_widgets(): void { 'fields' => [ 'primary_domain' => [ 'type' => 'toggle', - 'title' => __('Is Primary Domain?', 'multisite-ultimate'), - 'desc' => __('Set as the primary domain.', 'multisite-ultimate'), - 'tooltip' => __('Setting this as the primary domain will remove any other domain mapping marked as the primary domain for this site.', 'multisite-ultimate'), + 'title' => __('Is Primary Domain?', 'ultimate-multisite'), + 'desc' => __('Set as the primary domain.', 'ultimate-multisite'), + 'tooltip' => __('Setting this as the primary domain will remove any other domain mapping marked as the primary domain for this site.', 'ultimate-multisite'), 'value' => $this->get_object()->is_primary_domain(), 'html_attr' => [ 'v-model' => 'primary_domain', @@ -281,15 +281,15 @@ public function register_widgets(): void { ], 'primary_note' => [ 'type' => 'note', - 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'multisite-ultimate'), + 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-if' => "require('primary_domain', true)", ], ], 'secure' => [ 'type' => 'toggle', - 'title' => __('Is Secure?', 'multisite-ultimate'), - 'desc' => __('Force the load using HTTPS.', 'multisite-ultimate'), + 'title' => __('Is Secure?', 'ultimate-multisite'), + 'desc' => __('Force the load using HTTPS.', 'ultimate-multisite'), 'value' => $this->get_object()->is_secure(), ], ], @@ -301,18 +301,18 @@ public function register_widgets(): void { $this->add_list_table_widget( 'sites', [ - 'title' => __('Linked Site', 'multisite-ultimate'), + 'title' => __('Linked Site', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Memberships_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] ); - add_meta_box('wp-ultimo-domain-log', __('Domain Test Log', 'multisite-ultimate'), [$this, 'render_log_widget'], get_current_screen()->id, 'normal', null); + add_meta_box('wp-ultimo-domain-log', __('Domain Test Log', 'ultimate-multisite'), [$this, 'render_log_widget'], get_current_screen()->id, 'normal', null); $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -332,9 +332,9 @@ public function register_widgets(): void { 'fields' => [ 'stage' => [ 'type' => 'select', - 'title' => __('Stage', 'multisite-ultimate'), - 'placeholder' => __('Select Stage', 'multisite-ultimate'), - 'desc' => __('The stage in the checking lifecycle of this domain.', 'multisite-ultimate'), + 'title' => __('Stage', 'ultimate-multisite'), + 'placeholder' => __('Select Stage', 'ultimate-multisite'), + 'desc' => __('The stage in the checking lifecycle of this domain.', 'ultimate-multisite'), 'options' => Domain_Stage::to_array(), 'value' => $this->get_object()->get_stage(), 'wrapper_html_attr' => [ @@ -347,9 +347,9 @@ public function register_widgets(): void { ], 'blog_id' => [ 'type' => 'model', - 'title' => __('Site', 'multisite-ultimate'), - 'placeholder' => __('Search Site...', 'multisite-ultimate'), - 'desc' => __('The target site of this domain.', 'multisite-ultimate'), + 'title' => __('Site', 'ultimate-multisite'), + 'placeholder' => __('Search Site...', 'ultimate-multisite'), + 'desc' => __('The target site of this domain.', 'ultimate-multisite'), 'value' => $this->get_object()->get_blog_id(), 'tooltip' => '', 'html_attr' => [ @@ -373,7 +373,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'basic', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'html_attr' => [ 'data-wu-app' => 'basic', 'data-state' => wu_convert_to_state( @@ -385,8 +385,8 @@ public function register_widgets(): void { 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this domain.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this domain.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), 'html_attr' => [ 'v-cloak' => '1', @@ -399,7 +399,7 @@ public function register_widgets(): void { ], 'note' => [ 'type' => 'note', - 'desc' => __('This domain has a domain stage that forces it to be inactive. Change the status to Ready or Ready (without SSL) to be able to control the active status directly.', 'multisite-ultimate'), + 'desc' => __('This domain has a domain stage that forces it to be inactive. Change the status to Ready or Ready (without SSL) to be able to control the active status directly.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => $check_for_active_string, @@ -452,7 +452,7 @@ public function render_log_widget(): void { */ public function get_title() { - return $this->edit ? __('Edit Domain', 'multisite-ultimate') : __('Add new Domain', 'multisite-ultimate'); + return $this->edit ? __('Edit Domain', 'ultimate-multisite') : __('Add new Domain', 'ultimate-multisite'); } /** @@ -463,7 +463,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Domain', 'multisite-ultimate'); + return __('Edit Domain', 'ultimate-multisite'); } /** @@ -486,15 +486,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Domain', 'multisite-ultimate'), - 'add_new_label' => __('Add new Domain', 'multisite-ultimate'), - 'updated_message' => __('Domain updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Domain', 'multisite-ultimate'), + 'edit_label' => __('Edit Domain', 'ultimate-multisite'), + 'add_new_label' => __('Add new Domain', 'ultimate-multisite'), + 'updated_message' => __('Domain updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Domain', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save Domain', 'multisite-ultimate'), + 'save_button_label' => __('Save Domain', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Domain', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Domain', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-domain-list-admin-page.php b/inc/admin-pages/class-domain-list-admin-page.php index 3c12cd4b2..9b8761dc4 100644 --- a/inc/admin-pages/class-domain-list-admin-page.php +++ b/inc/admin-pages/class-domain-list-admin-page.php @@ -1,6 +1,6 @@ Multisite Ultimate: Domain Seller add-on.', 'multisite-ultimate'), $addon_url); + $note_desc = sprintf(__('To activate this feature you need to install the Ultimate Multisite: Domain Seller add-on.', 'ultimate-multisite'), $addon_url); $fields = [ 'type' => [ 'type' => 'tab-select', 'options' => [ - 'add' => __('Add Existing Domain', 'multisite-ultimate'), - 'register' => __('Register New', 'multisite-ultimate'), + 'add' => __('Add Existing Domain', 'ultimate-multisite'), + 'register' => __('Register New', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'type', @@ -108,18 +108,18 @@ public function render_add_new_domain_modal(): void { ], 'domain' => [ 'type' => 'text', - 'title' => __('Domain', 'multisite-ultimate'), - 'placeholder' => __('E.g. mydomain.com', 'multisite-ultimate'), - 'desc' => __('Be sure the domain has the right DNS setup in place before adding it.', 'multisite-ultimate'), + 'title' => __('Domain', 'ultimate-multisite'), + 'placeholder' => __('E.g. mydomain.com', 'ultimate-multisite'), + 'desc' => __('Be sure the domain has the right DNS setup in place before adding it.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('type', 'add')", ], ], 'blog_id' => [ 'type' => 'model', - 'title' => __('Apply to Site', 'multisite-ultimate'), - 'placeholder' => __('Search Sites...', 'multisite-ultimate'), - 'desc' => __('The target site of the domain being added.', 'multisite-ultimate'), + 'title' => __('Apply to Site', 'ultimate-multisite'), + 'placeholder' => __('Search Sites...', 'ultimate-multisite'), + 'desc' => __('The target site of the domain being added.', 'ultimate-multisite'), 'html_attr' => [ 'data-model' => 'site', 'data-value-field' => 'blog_id', @@ -133,30 +133,30 @@ public function render_add_new_domain_modal(): void { ], 'stage' => [ 'type' => 'select', - 'title' => __('Stage', 'multisite-ultimate'), - 'placeholder' => __('Select Stage', 'multisite-ultimate'), - 'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through Multisite Ultimate\'s automated tests.', 'multisite-ultimate'), + 'title' => __('Stage', 'ultimate-multisite'), + 'placeholder' => __('Select Stage', 'ultimate-multisite'), + 'desc' => __('The stage in the domain check lifecycle. Leave "Checking DNS" to have the domain go through Ultimate Multisite\'s automated tests.', 'ultimate-multisite'), 'options' => Domain_Stage::to_array(), 'value' => Domain_Stage::CHECKING_DNS, ], 'primary_domain' => [ 'type' => 'toggle', - 'title' => __('Primary Domain', 'multisite-ultimate'), - 'desc' => __('Check to set this domain as the primary', 'multisite-ultimate'), + 'title' => __('Primary Domain', 'ultimate-multisite'), + 'desc' => __('Check to set this domain as the primary', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'primary_domain', ], ], 'primary_note' => [ 'type' => 'note', - 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'multisite-ultimate'), + 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => "require('primary_domain', true)", ], ], 'submit_button_new' => [ 'type' => 'submit', - 'title' => __('Add Existing Domain', 'multisite-ultimate'), + 'title' => __('Add Existing Domain', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -174,7 +174,7 @@ public function render_add_new_domain_modal(): void { ], 'submit_button_register' => [ 'type' => 'submit', - 'title' => __('Register and Add Domain (soon)', 'multisite-ultimate'), + 'title' => __('Register and Add Domain (soon)', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -281,8 +281,8 @@ public function handle_add_new_domain_modal(): void { public function get_labels() { return [ - 'deleted_message' => __('Domains removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Domains', 'multisite-ultimate'), + 'deleted_message' => __('Domains removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Domains', 'ultimate-multisite'), ]; } @@ -294,7 +294,7 @@ public function get_labels() { */ public function get_title() { - return __('Domains', 'multisite-ultimate'); + return __('Domains', 'ultimate-multisite'); } /** @@ -305,7 +305,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Domains', 'multisite-ultimate'); + return __('Domains', 'ultimate-multisite'); } /** @@ -316,7 +316,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Domains', 'multisite-ultimate'); + return __('Domains', 'ultimate-multisite'); } /** @@ -329,7 +329,7 @@ public function action_links() { return [ [ - 'label' => __('Add Domain', 'multisite-ultimate'), + 'label' => __('Add Domain', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_domain'), diff --git a/inc/admin-pages/class-edit-admin-page.php b/inc/admin-pages/class-edit-admin-page.php index 564ab50b3..28f01be65 100644 --- a/inc/admin-pages/class-edit-admin-page.php +++ b/inc/admin-pages/class-edit-admin-page.php @@ -4,7 +4,7 @@ * * Abstract class that makes it easy to create new admin pages. * - * Most of Multisite Ultimate pages are implemented using this class, which means that the filters and hooks + * Most of Ultimate Multisite pages are implemented using this class, which means that the filters and hooks * listed below can be used to append content to all of our pages at once. * * @package WP_Ultimo @@ -143,11 +143,11 @@ protected function add_lock_notices() { if ($locked && $this->edit) { // translators: %1$s is the date, using the site format options, %2$s is a
tag. - $message = sprintf(esc_html__('This item is locked from editions. %2$s This is probably due to a background action being performed (like a transfer between different accounts, for example). You can manually unlock it, but be careful. The lock should be released automatically in %1$s seconds.', 'multisite-ultimate'), wu_get_next_queue_run() + 10, '
'); + $message = sprintf(esc_html__('This item is locked from editions. %2$s This is probably due to a background action being performed (like a transfer between different accounts, for example). You can manually unlock it, but be careful. The lock should be released automatically in %1$s seconds.', 'ultimate-multisite'), wu_get_next_queue_run() + 10, '
'); $actions = [ 'preview' => [ - 'title' => esc_html__('Unlock', 'multisite-ultimate'), + 'title' => esc_html__('Unlock', 'ultimate-multisite'), 'url' => add_query_arg( [ 'remove-lock' => 1, @@ -266,15 +266,15 @@ final public function process_delete(): void { public function get_labels() { $default_labels = [ - 'edit_label' => __('Edit Object', 'multisite-ultimate'), - 'add_new_label' => __('Add New Object', 'multisite-ultimate'), - 'updated_message' => __('Object updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Object Name', 'multisite-ultimate'), + 'edit_label' => __('Edit Object', 'ultimate-multisite'), + 'add_new_label' => __('Add New Object', 'ultimate-multisite'), + 'updated_message' => __('Object updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Object Name', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save', 'multisite-ultimate'), + 'save_button_label' => __('Save', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; return apply_filters('wu_edit_admin_page_labels', $default_labels); @@ -322,7 +322,7 @@ public function register_widgets() { $this->add_info_widget( 'info', [ - 'title' => __('Timestamps', 'multisite-ultimate'), + 'title' => __('Timestamps', 'ultimate-multisite'), 'position' => 'side-bottom', ] ); @@ -352,7 +352,7 @@ protected function add_info_widget($id, $atts = []) { $created_value = call_user_func([$this->get_object(), "get_$created_key"]); $atts['fields'][ $created_key ] = [ - 'title' => __('Created at', 'multisite-ultimate'), + 'title' => __('Created at', 'ultimate-multisite'), 'type' => 'text-display', 'date' => true, 'display_value' => $this->edit ? $created_value : false, @@ -369,10 +369,10 @@ protected function add_info_widget($id, $atts = []) { if ($this->edit && true === $show_modified) { $atts['fields']['date_modified'] = [ - 'title' => __('Last Modified at', 'multisite-ultimate'), + 'title' => __('Last Modified at', 'ultimate-multisite'), 'type' => 'text-display', 'date' => true, - 'display_value' => $this->edit ? $this->get_object()->get_date_modified() : __('No date', 'multisite-ultimate'), + 'display_value' => $this->edit ? $this->get_object()->get_date_modified() : __('No date', 'ultimate-multisite'), 'value' => $this->get_object()->get_date_modified(), 'placeholder' => '2020-04-04 12:00:00', 'html_attr' => [ @@ -403,7 +403,7 @@ protected function add_list_table_widget($id, $atts = []) { 'widget_id' => $id, 'before' => fn() => null, 'after' => fn() => null, - 'title' => __('List Table', 'multisite-ultimate'), + 'title' => __('List Table', 'ultimate-multisite'), 'position' => 'advanced', 'screen' => get_current_screen(), 'page' => $this, @@ -468,7 +468,7 @@ protected function add_fields_widget($id, $atts = []) { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'multisite-ultimate'), + 'title' => __('Fields', 'ultimate-multisite'), 'position' => 'side', 'screen' => get_current_screen(), 'fields' => [], @@ -486,7 +486,7 @@ function () use ($atts) { if (wu_get_isset($atts['html_attr'], 'data-wu-app')) { $atts['fields']['loading'] = [ 'type' => 'note', - 'desc' => sprintf('
%s
', __('Loading...', 'multisite-ultimate')), + 'desc' => sprintf('
%s
', __('Loading...', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-if' => 0, ], @@ -537,7 +537,7 @@ protected function add_tabs_widget($id, $atts = []) { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Tabs', 'multisite-ultimate'), + 'title' => __('Tabs', 'ultimate-multisite'), 'position' => 'advanced', 'screen' => get_current_screen(), 'sections' => [], @@ -653,7 +653,7 @@ protected function add_widget($id, $atts = []) { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'multisite-ultimate'), + 'title' => __('Fields', 'ultimate-multisite'), 'screen' => get_current_screen(), 'position' => 'side', 'display' => '__return_empty_string', @@ -676,7 +676,7 @@ protected function add_save_widget($id, $atts = []) { $labels = $this->get_labels(); - $atts['title'] = __('Save', 'multisite-ultimate'); + $atts['title'] = __('Save', 'ultimate-multisite'); /** * Adds Submit Button @@ -696,7 +696,7 @@ protected function add_save_widget($id, $atts = []) { } if ($this->get_object() && $this->edit && $this->get_object()->is_locked()) { - $atts['fields']['submit_save']['title'] = __('Locked', 'multisite-ultimate'); + $atts['fields']['submit_save']['title'] = __('Locked', 'ultimate-multisite'); $atts['fields']['submit_save']['value'] = 'none'; $atts['fields']['submit_save']['html_attr']['disabled'] = 'disabled'; } @@ -718,7 +718,7 @@ protected function add_delete_widget($id, $atts = []) { $labels = $this->get_labels(); $atts_default = [ - 'title' => __('Delete', 'multisite-ultimate'), + 'title' => __('Delete', 'ultimate-multisite'), 'position' => 'side-bottom', ]; $atts = array_merge($atts_default, $atts); diff --git a/inc/admin-pages/class-email-edit-admin-page.php b/inc/admin-pages/class-email-edit-admin-page.php index 6f26afecd..38d21640e 100644 --- a/inc/admin-pages/class-email-edit-admin-page.php +++ b/inc/admin-pages/class-email-edit-admin-page.php @@ -1,6 +1,6 @@ get_object(); // translators: %s is replaced with the number of days. - $days_text = sprintf(__('Send %s day(s) after the event.', 'multisite-ultimate'), '{{ days }}'); + $days_text = sprintf(__('Send %s day(s) after the event.', 'ultimate-multisite'), '{{ days }}'); // translators: %1$s is replaced with the number of hours, %2$s is replaced with the number of minutes. - $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'multisite-ultimate'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}'); + $hour_text = sprintf(__('Send %1$s hour(s) and %2$s minute(s) after the event.', 'ultimate-multisite'), '{{ hours.split(":").shift() }}', '{{ hours.split(":").pop() }}'); $desc = sprintf( '%s @@ -155,8 +155,8 @@ public function register_widgets(): void { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Slug', 'multisite-ultimate'), - 'desc' => __('An unique identifier for this system email.', 'multisite-ultimate'), + 'title' => __('Slug', 'ultimate-multisite'), + 'desc' => __('An unique identifier for this system email.', 'ultimate-multisite'), 'value' => $this->edit ? $object->get_slug() : '', 'html_attr' => [ 'required' => 'required', @@ -166,9 +166,9 @@ public function register_widgets(): void { ], 'event' => [ 'type' => 'select', - 'title' => __('Event', 'multisite-ultimate'), - 'desc' => __('The event that will trigger the sending of this email.', 'multisite-ultimate'), - 'placeholder' => __('Event', 'multisite-ultimate'), + 'title' => __('Event', 'ultimate-multisite'), + 'desc' => __('The event that will trigger the sending of this email.', 'ultimate-multisite'), + 'placeholder' => __('Event', 'ultimate-multisite'), 'options' => 'wu_get_event_types_as_options', 'value' => $this->edit ? $object->get_event() : 0, 'html_attr' => [ @@ -177,13 +177,13 @@ public function register_widgets(): void { ], 'target' => [ 'type' => 'select', - 'title' => __('Target', 'multisite-ultimate'), - 'desc' => __('To whom this email should be sent.', 'multisite-ultimate'), - 'placeholder' => __('Network Administrators', 'multisite-ultimate'), + 'title' => __('Target', 'ultimate-multisite'), + 'desc' => __('To whom this email should be sent.', 'ultimate-multisite'), + 'placeholder' => __('Network Administrators', 'ultimate-multisite'), 'value' => $this->edit ? $object->get_target() : 'admin', 'options' => [ - 'admin' => __('Network Administrators', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), + 'admin' => __('Network Administrators', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'target', @@ -191,8 +191,8 @@ public function register_widgets(): void { ], 'send_copy_to_admin' => [ 'type' => 'toggle', - 'title' => __('Send Copy to Admins?', 'multisite-ultimate'), - 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'multisite-ultimate'), + 'title' => __('Send Copy to Admins?', 'ultimate-multisite'), + 'desc' => __('Checking this options will add the network admins as bcc every time this email is sent to a customer.', 'ultimate-multisite'), 'value' => $this->edit ? $object->get_send_copy_to_admin() : false, 'wrapper_html_attr' => [ 'v-show' => 'target == "customer"', @@ -201,8 +201,8 @@ public function register_widgets(): void { ], 'schedule' => [ 'type' => 'toggle', - 'title' => __('Schedule?', 'multisite-ultimate'), - 'desc' => __('You can define when the email is sent after the event triggers.', 'multisite-ultimate'), + 'title' => __('Schedule?', 'ultimate-multisite'), + 'desc' => __('You can define when the email is sent after the event triggers.', 'ultimate-multisite'), 'value' => $this->edit ? $this->get_object()->has_schedule() : 0, 'html_attr' => [ 'v-model' => 'schedule', @@ -210,8 +210,8 @@ public function register_widgets(): void { ], 'send_date' => [ 'type' => 'group', - 'title' => __('Scheduling Options', 'multisite-ultimate'), - 'tooltip' => __('When this email will be sent after the event?', 'multisite-ultimate'), + 'title' => __('Scheduling Options', 'ultimate-multisite'), + 'tooltip' => __('When this email will be sent after the event?', 'ultimate-multisite'), 'desc' => $desc, 'desc_id' => 'send_date_desc', 'wrapper_html_attr' => [ @@ -225,8 +225,8 @@ public function register_widgets(): void { 'wrapper_classes' => 'wu-w-2/3', 'value' => $this->edit ? $object->get_schedule_type() : 'days', 'options' => [ - 'hours' => __('Delay for hours', 'multisite-ultimate'), - 'days' => __('Delay for days', 'multisite-ultimate'), + 'hours' => __('Delay for hours', 'ultimate-multisite'), + 'days' => __('Delay for days', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'schedule_type', @@ -271,17 +271,17 @@ public function register_widgets(): void { ] ); - add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'multisite-ultimate'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []); + add_meta_box('wp-ultimo-placeholders', __('Placeholders', 'ultimate-multisite'), [$this, 'output_default_widget_placeholders'], get_current_screen()->id, 'normal', null, []); $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this email.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this email.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -291,40 +291,40 @@ public function register_widgets(): void { $this->add_tabs_widget( 'email_edit_options', [ - 'title' => __('Advanced Options', 'multisite-ultimate'), + 'title' => __('Advanced Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => [ 'general' => [ - 'title' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), 'icon' => 'dashicons-wu-lock', - 'desc' => __('Rules and limitations to the applicability of this discount code.', 'multisite-ultimate'), + 'desc' => __('Rules and limitations to the applicability of this discount code.', 'ultimate-multisite'), 'state' => [ 'sender' => $this->edit ? $object->get_custom_sender() : 0, ], 'fields' => [ 'style' => [ 'type' => 'select', - 'title' => __('Email Style', 'multisite-ultimate'), - 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'multisite-ultimate'), - 'placeholder' => __('Style', 'multisite-ultimate'), + 'title' => __('Email Style', 'ultimate-multisite'), + 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'ultimate-multisite'), + 'placeholder' => __('Style', 'ultimate-multisite'), 'options' => [ - 'default' => __('Use Default', 'multisite-ultimate'), - 'html' => __('HTML Emails', 'multisite-ultimate'), - 'plain' => __('Plain Emails', 'multisite-ultimate'), + 'default' => __('Use Default', 'ultimate-multisite'), + 'html' => __('HTML Emails', 'ultimate-multisite'), + 'plain' => __('Plain Emails', 'ultimate-multisite'), ], 'value' => $this->edit ? $object->get_style() : 'html', ], ], ], 'sender' => [ - 'title' => __('Custom Sender', 'multisite-ultimate'), + 'title' => __('Custom Sender', 'ultimate-multisite'), 'icon' => 'dashicons-wu-mail', - 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'multisite-ultimate'), + 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'ultimate-multisite'), 'fields' => [ 'custom_sender' => [ 'type' => 'toggle', - 'title' => __('Use a custom sender?', 'multisite-ultimate'), - 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'multisite-ultimate'), + 'title' => __('Use a custom sender?', 'ultimate-multisite'), + 'desc' => __('You can define an email and a name that will only be used when this email is sent.', 'ultimate-multisite'), 'value' => $this->edit ? $object->get_custom_sender() : 0, 'html_attr' => [ 'v-model' => 'sender', @@ -332,8 +332,8 @@ public function register_widgets(): void { ], 'custom_sender_name' => [ 'type' => 'text', - 'title' => __('From "Name"', 'multisite-ultimate'), - 'desc' => __('Override the global from name for this particular email.', 'multisite-ultimate'), + 'title' => __('From "Name"', 'ultimate-multisite'), + 'desc' => __('Override the global from name for this particular email.', 'ultimate-multisite'), 'wrapper_classes' => 'wu-full', 'value' => $this->edit ? $object->get_custom_sender_name() : '', 'wrapper_html_attr' => [ @@ -343,8 +343,8 @@ public function register_widgets(): void { ], 'custom_sender_email' => [ 'type' => 'email', - 'title' => __('From "Email"', 'multisite-ultimate'), - 'desc' => __('Override the global from email for this particular email.', 'multisite-ultimate'), + 'title' => __('From "Email"', 'ultimate-multisite'), + 'desc' => __('Override the global from email for this particular email.', 'ultimate-multisite'), 'wrapper_classes' => 'wu-full', 'value' => $this->edit ? $object->get_custom_sender_email() : '', 'wrapper_html_attr' => [ @@ -373,8 +373,8 @@ public function output_default_widget_placeholders($unused, $data): void { wu_get_template( 'email/widget-placeholders', [ - 'title' => __('Event Payload', 'multisite-ultimate'), - 'loading_text' => __('Loading Payload', 'multisite-ultimate'), + 'title' => __('Event Payload', 'ultimate-multisite'), + 'loading_text' => __('Loading Payload', 'ultimate-multisite'), ] ); } @@ -387,7 +387,7 @@ public function output_default_widget_placeholders($unused, $data): void { */ public function get_title() { - return $this->edit ? __('Edit Email', 'multisite-ultimate') : __('Add new Email', 'multisite-ultimate'); + return $this->edit ? __('Edit Email', 'ultimate-multisite') : __('Add new Email', 'ultimate-multisite'); } /** @@ -398,7 +398,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Email', 'multisite-ultimate'); + return __('Edit Email', 'ultimate-multisite'); } /** @@ -420,12 +420,12 @@ public function action_links() { return [ [ 'url' => wu_network_admin_url('wp-ultimo-emails'), - 'label' => __('Go Back', 'multisite-ultimate'), + 'label' => __('Go Back', 'ultimate-multisite'), 'icon' => 'wu-reply', ], [ 'url' => $send_test_link, - 'label' => __('Send Test Email', 'multisite-ultimate'), + 'label' => __('Send Test Email', 'ultimate-multisite'), 'icon' => 'wu-mail', 'classes' => 'wubox', ], @@ -441,15 +441,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Email', 'multisite-ultimate'), - 'add_new_label' => __('Add new Email', 'multisite-ultimate'), - 'updated_message' => __('Email updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Email Subject', 'multisite-ultimate'), - 'title_description' => __('This will be used as the email subject line.', 'multisite-ultimate'), - 'save_button_label' => __('Save Email', 'multisite-ultimate'), + 'edit_label' => __('Edit Email', 'ultimate-multisite'), + 'add_new_label' => __('Add new Email', 'ultimate-multisite'), + 'updated_message' => __('Email updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Email Subject', 'ultimate-multisite'), + 'title_description' => __('This will be used as the email subject line.', 'ultimate-multisite'), + 'save_button_label' => __('Save Email', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Email', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Email', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-email-list-admin-page.php b/inc/admin-pages/class-email-list-admin-page.php index 7cee8f2e3..379d2b2af 100644 --- a/inc/admin-pages/class-email-list-admin-page.php +++ b/inc/admin-pages/class-email-list-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'email', - 'title' => __('Send To', 'multisite-ultimate'), - 'placeholder' => __('E.g. network@email.com', 'multisite-ultimate'), - 'desc' => __('The test email will be sent to the above email address.', 'multisite-ultimate'), + 'title' => __('Send To', 'ultimate-multisite'), + 'placeholder' => __('E.g. network@email.com', 'ultimate-multisite'), + 'desc' => __('The test email will be sent to the above email address.', 'ultimate-multisite'), 'value' => get_network_option(null, 'admin_email'), 'html_attr' => [ 'required' => 'required', @@ -200,7 +200,7 @@ public function render_send_new_test_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Send Test Email', 'multisite-ultimate'), + 'title' => __('Send Test Email', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -236,7 +236,7 @@ public function handle_send_new_test_modal() { $send_to = wu_request('send_to'); if ( ! $email_id || ! $send_to) { - $error = new \WP_Error('error', __('Something wrong happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('Something wrong happened.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -275,7 +275,7 @@ public function handle_send_new_test_modal() { $send_mail = wu_send_mail($from, $to, $args); if ( ! $send_mail) { - $error = new \WP_Error('error', __('Something wrong happened with your test.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('Something wrong happened with your test.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -289,7 +289,7 @@ public function handle_send_new_test_modal() { 'wp-ultimo-edit-email', [ 'id' => $email_id, - 'test_notice' => __('Test sent successfully', 'multisite-ultimate'), + 'test_notice' => __('Test sent successfully', 'ultimate-multisite'), ] ), ] @@ -303,7 +303,7 @@ public function handle_send_new_test_modal() { 'redirect_url' => wu_network_admin_url( 'wp-ultimo-emails', [ - 'notice' => __('Test sent successfully', 'multisite-ultimate'), + 'notice' => __('Test sent successfully', 'ultimate-multisite'), ] ), ] @@ -326,8 +326,8 @@ public function render_reset_import_modal(): void { $fields = [ 'reset_emails' => [ 'type' => 'toggle', - 'title' => __('Reset System Emails ', 'multisite-ultimate'), - 'desc' => __('Restore the system emails to their original content.', 'multisite-ultimate'), + 'title' => __('Reset System Emails ', 'ultimate-multisite'), + 'desc' => __('Restore the system emails to their original content.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -339,7 +339,7 @@ public function render_reset_import_modal(): void { $fields['reset_note'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('No emails to reset.', 'multisite-ultimate'), + 'desc' => __('No emails to reset.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'wrapper_html_attr' => [ @@ -379,8 +379,8 @@ public function render_reset_import_modal(): void { $fields['import_emails'] = [ 'type' => 'toggle', - 'title' => __('Import System Emails', 'multisite-ultimate'), - 'desc' => __('Add new system emails based on Multisite Ultimate presets.', 'multisite-ultimate'), + 'title' => __('Import System Emails', 'ultimate-multisite'), + 'desc' => __('Add new system emails based on Ultimate Multisite presets.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -391,7 +391,7 @@ public function render_reset_import_modal(): void { $fields['import_note'] = [ 'type' => 'note', 'title' => '', - 'desc' => __('All emails are already present.', 'multisite-ultimate'), + 'desc' => __('All emails are already present.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'wrapper_html_attr' => [ @@ -429,7 +429,7 @@ public function render_reset_import_modal(): void { $fields['submit_button'] = [ 'type' => 'submit', - 'title' => __('Reset and/or Import', 'multisite-ultimate'), + 'title' => __('Reset and/or Import', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -543,8 +543,8 @@ public function render_reset_confirmation_modal(): void { $fields = [ 'single_reset' => [ 'type' => 'toggle', - 'title' => __('Confirm Reset', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Reset', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'default' => 0, 'html_attr' => [ 'required' => 'required', @@ -556,7 +556,7 @@ public function render_reset_confirmation_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Reset Email', 'multisite-ultimate'), + 'title' => __('Reset Email', 'ultimate-multisite'), 'value' => 'reset', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-right', @@ -593,7 +593,7 @@ public function handle_reset_confirmation_modal() { $email_id = wu_request('email_id'); if ( ! $single_reset || ! $email_id) { - $error = new \WP_Error('error', __('Something wrong happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('Something wrong happened.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -612,7 +612,7 @@ public function handle_reset_confirmation_modal() { $new_email = wu_get_email_by('slug', $slug); if ( ! $new_email) { - $error = new \WP_Error('error', __('Something wrong happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('Something wrong happened.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -643,18 +643,18 @@ public function action_links() { return [ [ 'url' => wu_network_admin_url('wp-ultimo-edit-email'), - 'label' => __('Add System Email', 'multisite-ultimate'), + 'label' => __('Add System Email', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', ], [ 'url' => wu_network_admin_url('wp-ultimo-customize-email-template&id=' . $email_template_default), - 'label' => __('Email Template', 'multisite-ultimate'), + 'label' => __('Email Template', 'ultimate-multisite'), 'icon' => 'wu-mail', ], [ 'url' => wu_get_form_url('reset_import'), 'classes' => 'wubox', - 'label' => __('Reset or Import', 'multisite-ultimate'), + 'label' => __('Reset or Import', 'ultimate-multisite'), 'icon' => 'wu-cycle', ], ]; diff --git a/inc/admin-pages/class-email-template-customize-admin-page.php b/inc/admin-pages/class-email-template-customize-admin-page.php index 7b5f01fc7..5162aab73 100644 --- a/inc/admin-pages/class-email-template-customize-admin-page.php +++ b/inc/admin-pages/class-email-template-customize-admin-page.php @@ -1,6 +1,6 @@ get_site_url(), 'logo_url' => wu_get_network_logo(), 'content' => $content, - 'subject' => __('Sample Subject', 'multisite-ultimate'), + 'subject' => __('Sample Subject', 'ultimate-multisite'), 'is_editor' => true, 'template_settings' => [ 'use_custom_logo' => wu_string_to_bool(wu_request('use_custom_logo', $first_request ? $object->get_setting('use_custom_logo', false) : false)), @@ -218,7 +218,7 @@ public function register_widgets(): void { 'fields' => [ 'note' => [ 'type' => 'note', - 'desc' => __('System emails and broadcasts will be sent using this template.', 'multisite-ultimate'), + 'desc' => __('System emails and broadcasts will be sent using this template.', 'ultimate-multisite'), ], ], ] @@ -243,15 +243,15 @@ public function register_widgets(): void { 'v-model' => 'tab', ], 'options' => [ - 'header' => __('Header', 'multisite-ultimate'), - 'content' => __('Content', 'multisite-ultimate'), - 'footer' => __('Footer', 'multisite-ultimate'), + 'header' => __('Header', 'ultimate-multisite'), + 'content' => __('Content', 'ultimate-multisite'), + 'footer' => __('Footer', 'ultimate-multisite'), ], ], 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'multisite-ultimate'), - 'desc' => __('You can set a different logo to be used on the system emails.', 'multisite-ultimate'), + 'title' => __('Use Custom Logo', 'ultimate-multisite'), + 'desc' => __('You can set a different logo to be used on the system emails.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', 'v-cloak' => 1, @@ -263,8 +263,8 @@ public function register_widgets(): void { 'custom_logo' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Custom Logo', 'multisite-ultimate'), - 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'multisite-ultimate'), + 'title' => __('Custom Logo', 'ultimate-multisite'), + 'desc' => __('The custom logo is used in the email header, if HTML emails are used.', 'ultimate-multisite'), 'value' => $custom_logo, 'img' => $custom_logo_url, 'wrapper_html_attr' => [ @@ -277,8 +277,8 @@ public function register_widgets(): void { ], 'background_color' => [ 'type' => 'color-picker', - 'title' => __('Background Color', 'multisite-ultimate'), - 'tooltip' => __('The cover background color of the email.', 'multisite-ultimate'), + 'title' => __('Background Color', 'ultimate-multisite'), + 'tooltip' => __('The cover background color of the email.', 'ultimate-multisite'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -290,7 +290,7 @@ public function register_widgets(): void { ], 'title_color' => [ 'type' => 'color-picker', - 'title' => __('Title Color', 'multisite-ultimate'), + 'title' => __('Title Color', 'ultimate-multisite'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -302,14 +302,14 @@ public function register_widgets(): void { ], 'title_size' => [ 'type' => 'select', - 'title' => __('Title Size', 'multisite-ultimate'), + 'title' => __('Title Size', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'title_size'), 'options' => [ - 'h1' => __('h1', 'multisite-ultimate'), - 'h2' => __('h2', 'multisite-ultimate'), - 'h3' => __('h3', 'multisite-ultimate'), - 'h4' => __('h4', 'multisite-ultimate'), - 'h5' => __('h5', 'multisite-ultimate'), + 'h1' => __('h1', 'ultimate-multisite'), + 'h2' => __('h2', 'ultimate-multisite'), + 'h3' => __('h3', 'ultimate-multisite'), + 'h4' => __('h4', 'ultimate-multisite'), + 'h5' => __('h5', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -321,13 +321,13 @@ public function register_widgets(): void { ], 'title_align' => [ 'type' => 'select', - 'title' => __('Title Align', 'multisite-ultimate'), - 'tooltip' => __('Aligment of the font in the title.', 'multisite-ultimate'), + 'title' => __('Title Align', 'ultimate-multisite'), + 'tooltip' => __('Aligment of the font in the title.', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'title_align', ''), 'options' => [ - 'left' => __('Left', 'multisite-ultimate'), - 'center' => __('Center', 'multisite-ultimate'), - 'right' => __('Right', 'multisite-ultimate'), + 'left' => __('Left', 'ultimate-multisite'), + 'center' => __('Center', 'ultimate-multisite'), + 'right' => __('Right', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -339,13 +339,13 @@ public function register_widgets(): void { ], 'title_font' => [ 'type' => 'select', - 'title' => __('Title Font-Family', 'multisite-ultimate'), + 'title' => __('Title Font-Family', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'title_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'multisite-ultimate'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'multisite-ultimate'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'multisite-ultimate'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'multisite-ultimate'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'ultimate-multisite'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'ultimate-multisite'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'ultimate-multisite'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "header")', @@ -357,7 +357,7 @@ public function register_widgets(): void { ], 'content_color' => [ 'type' => 'color-picker', - 'title' => __('Content Color', 'multisite-ultimate'), + 'title' => __('Content Color', 'ultimate-multisite'), 'value' => '#000000', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -369,13 +369,13 @@ public function register_widgets(): void { ], 'content_align' => [ 'type' => 'select', - 'title' => __('Content Alignment', 'multisite-ultimate'), - 'tooltip' => __('Alignment of the font in the main email content.', 'multisite-ultimate'), + 'title' => __('Content Alignment', 'ultimate-multisite'), + 'tooltip' => __('Alignment of the font in the main email content.', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'content_align', ''), 'options' => [ - 'left' => __('Left', 'multisite-ultimate'), - 'center' => __('Center', 'multisite-ultimate'), - 'right' => __('Right', 'multisite-ultimate'), + 'left' => __('Left', 'ultimate-multisite'), + 'center' => __('Center', 'ultimate-multisite'), + 'right' => __('Right', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -387,13 +387,13 @@ public function register_widgets(): void { ], 'content_font' => [ 'type' => 'select', - 'title' => __('Content Font-Family', 'multisite-ultimate'), + 'title' => __('Content Font-Family', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'content_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'multisite-ultimate'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'multisite-ultimate'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'multisite-ultimate'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'multisite-ultimate'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'ultimate-multisite'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'ultimate-multisite'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'ultimate-multisite'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "content")', @@ -405,8 +405,8 @@ public function register_widgets(): void { ], 'display_company_address' => [ 'type' => 'toggle', - 'title' => __('Display Company Address', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide your company address.', 'multisite-ultimate'), + 'title' => __('Display Company Address', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide your company address.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', 'v-cloak' => 1, @@ -417,8 +417,8 @@ public function register_widgets(): void { ], 'footer_text' => [ 'type' => 'textarea', - 'title' => __('Footer Content', 'multisite-ultimate'), - 'placeholder' => __('e.g. Extra info in the email footer.', 'multisite-ultimate'), + 'title' => __('Footer Content', 'ultimate-multisite'), + 'placeholder' => __('e.g. Extra info in the email footer.', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'footer_text', ''), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -430,13 +430,13 @@ public function register_widgets(): void { ], 'footer_font' => [ 'type' => 'select', - 'title' => __('Footer Font-Family', 'multisite-ultimate'), + 'title' => __('Footer Font-Family', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'footer_font', ''), 'options' => [ - 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'multisite-ultimate'), - 'Arial, Helvetica, sans-serif' => __('Arial', 'multisite-ultimate'), - 'Times New Roman, Times, serif' => __('Times New Roman', 'multisite-ultimate'), - 'Lucida Console, Courier, monospace' => __('Lucida', 'multisite-ultimate'), + 'Helvetica Neue, Helvetica, Helvetica, Arial, sans-serif' => __('Helvetica', 'ultimate-multisite'), + 'Arial, Helvetica, sans-serif' => __('Arial', 'ultimate-multisite'), + 'Times New Roman, Times, serif' => __('Times New Roman', 'ultimate-multisite'), + 'Lucida Console, Courier, monospace' => __('Lucida', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -448,7 +448,7 @@ public function register_widgets(): void { ], 'footer_color' => [ 'type' => 'color-picker', - 'title' => __('Footer Color', 'multisite-ultimate'), + 'title' => __('Footer Color', 'ultimate-multisite'), 'value' => '#000000', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -460,13 +460,13 @@ public function register_widgets(): void { ], 'footer_align' => [ 'type' => 'select', - 'title' => __('Footer Alignment', 'multisite-ultimate'), - 'tooltip' => __('Alignment of the font in the main email footer.', 'multisite-ultimate'), + 'title' => __('Footer Alignment', 'ultimate-multisite'), + 'tooltip' => __('Alignment of the font in the main email footer.', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'footer_align', ''), 'options' => [ - 'left' => __('Left', 'multisite-ultimate'), - 'center' => __('Center', 'multisite-ultimate'), - 'right' => __('Right', 'multisite-ultimate'), + 'left' => __('Left', 'ultimate-multisite'), + 'center' => __('Center', 'ultimate-multisite'), + 'right' => __('Right', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "footer")', @@ -489,7 +489,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'multisite-ultimate'), + 'title' => __('Customizer', 'ultimate-multisite'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ @@ -510,7 +510,7 @@ public function register_widgets(): void { */ public function get_title() { - return __('Customize Email Template:', 'multisite-ultimate'); + return __('Customize Email Template:', 'ultimate-multisite'); } /** @@ -521,7 +521,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Customize Email Template', 'multisite-ultimate'); + return __('Customize Email Template', 'ultimate-multisite'); } /** @@ -544,16 +544,16 @@ public function action_links() { public function get_labels() { return [ - 'customize_label' => __('Customize Email Template', 'multisite-ultimate'), - 'add_new_label' => __('Customize Email Template', 'multisite-ultimate'), - 'edit_label' => __('Edit Email Template', 'multisite-ultimate'), - 'updated_message' => __('Email Template updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Email Template Name', 'multisite-ultimate'), - 'title_description' => __('This name is used for internal reference only.', 'multisite-ultimate'), - 'save_button_label' => __('Save Template', 'multisite-ultimate'), + 'customize_label' => __('Customize Email Template', 'ultimate-multisite'), + 'add_new_label' => __('Customize Email Template', 'ultimate-multisite'), + 'edit_label' => __('Edit Email Template', 'ultimate-multisite'), + 'updated_message' => __('Email Template updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Email Template Name', 'ultimate-multisite'), + 'title_description' => __('This name is used for internal reference only.', 'ultimate-multisite'), + 'save_button_label' => __('Save Template', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Email Template', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Email Template', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-event-list-admin-page.php b/inc/admin-pages/class-event-list-admin-page.php index 995fc07e0..f7c0323f9 100644 --- a/inc/admin-pages/class-event-list-admin-page.php +++ b/inc/admin-pages/class-event-list-admin-page.php @@ -1,6 +1,6 @@ __('Event removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Event', 'multisite-ultimate'), + 'deleted_message' => __('Event removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Event', 'ultimate-multisite'), ]; } @@ -173,7 +173,7 @@ public function get_labels() { */ public function get_title() { - return __('Events', 'multisite-ultimate'); + return __('Events', 'ultimate-multisite'); } /** @@ -184,7 +184,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Events', 'multisite-ultimate'); + return __('Events', 'ultimate-multisite'); } /** @@ -195,7 +195,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Events', 'multisite-ultimate'); + return __('Events', 'ultimate-multisite'); } /** @@ -209,7 +209,7 @@ public function action_links() { return [ [ 'url' => wu_network_admin_url('wp-ultimo-view-logs'), - 'label' => __('View Logs', 'multisite-ultimate'), + 'label' => __('View Logs', 'ultimate-multisite'), 'icon' => 'dashicons dashicons-editor-ol', ], ]; diff --git a/inc/admin-pages/class-event-view-admin-page.php b/inc/admin-pages/class-event-view-admin-page.php index e5f60e40b..86c3efb3a 100644 --- a/inc/admin-pages/class-event-view-admin-page.php +++ b/inc/admin-pages/class-event-view-admin-page.php @@ -1,6 +1,6 @@ id, 'normal', 'default'); + add_meta_box('wp-ultimo-message', __('Event Message', 'ultimate-multisite'), [$this, 'output_default_widget_message'], get_current_screen()->id, 'normal', 'default'); - add_meta_box('wp-ultimo-initiator', __('Event', 'multisite-ultimate'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default'); + add_meta_box('wp-ultimo-initiator', __('Event', 'ultimate-multisite'), [$this, 'output_default_widget_initiator'], get_current_screen()->id, 'side', 'default'); - add_meta_box('wp-ultimo-payload', __('Event Payload', 'multisite-ultimate'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default'); + add_meta_box('wp-ultimo-payload', __('Event Payload', 'ultimate-multisite'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', 'default'); $this->add_info_widget( 'info', [ - 'title' => __('Timestamps', 'multisite-ultimate'), + 'title' => __('Timestamps', 'ultimate-multisite'), 'position' => 'side', 'modified' => false, ] @@ -176,8 +176,8 @@ public function output_default_widget_payload(): void { wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'multisite-ultimate'), - 'loading_text' => __('Loading Payload', 'multisite-ultimate'), + 'title' => __('Event Payload', 'ultimate-multisite'), + 'loading_text' => __('Loading Payload', 'ultimate-multisite'), 'payload' => wp_json_encode($object->get_payload(), JSON_PRETTY_PRINT), ] ); @@ -208,7 +208,7 @@ public function output_default_widget_initiator(): void { */ public function get_title() { - return $this->edit ? __('Edit Event', 'multisite-ultimate') : __('Add new Event', 'multisite-ultimate'); + return $this->edit ? __('Edit Event', 'ultimate-multisite') : __('Add new Event', 'ultimate-multisite'); } /** @@ -219,7 +219,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Event', 'multisite-ultimate'); + return __('Edit Event', 'ultimate-multisite'); } /** @@ -242,15 +242,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Event', 'multisite-ultimate'), - 'add_new_label' => __('Add new Event', 'multisite-ultimate'), - 'updated_message' => __('Event updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Event', 'multisite-ultimate'), + 'edit_label' => __('Edit Event', 'ultimate-multisite'), + 'add_new_label' => __('Add new Event', 'ultimate-multisite'), + 'updated_message' => __('Event updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Event', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save Event', 'multisite-ultimate'), + 'save_button_label' => __('Save Event', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Event', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Event', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php index 6aa3f92e8..c84ba6993 100644 --- a/inc/admin-pages/class-hosting-integration-wizard-admin-page.php +++ b/inc/admin-pages/class-hosting-integration-wizard-admin-page.php @@ -1,6 +1,6 @@ [ - 'title' => __('Activation', 'multisite-ultimate'), + 'title' => __('Activation', 'ultimate-multisite'), 'view' => [$this, 'section_activation'], 'handler' => [$this, 'handle_activation'], ], 'instructions' => [ - 'title' => __('Instructions', 'multisite-ultimate'), + 'title' => __('Instructions', 'ultimate-multisite'), 'view' => [$this, 'section_instructions'], ], 'config' => [ - 'title' => __('Configuration', 'multisite-ultimate'), + 'title' => __('Configuration', 'ultimate-multisite'), 'view' => [$this, 'section_configuration'], 'handler' => [$this, 'handle_configuration'], ], 'testing' => [ - 'title' => __('Testing Integration', 'multisite-ultimate'), + 'title' => __('Testing Integration', 'ultimate-multisite'), 'view' => [$this, 'section_test'], ], 'done' => [ - 'title' => __('Ready!', 'multisite-ultimate'), + 'title' => __('Ready!', 'ultimate-multisite'), 'view' => [$this, 'section_ready'], ], ]; diff --git a/inc/admin-pages/class-invoice-template-customize-admin-page.php b/inc/admin-pages/class-invoice-template-customize-admin-page.php index 57f0d515e..863719cb3 100644 --- a/inc/admin-pages/class-invoice-template-customize-admin-page.php +++ b/inc/admin-pages/class-invoice-template-customize-admin-page.php @@ -1,6 +1,6 @@ [ 'note' => [ 'type' => 'note', - 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.

Existing PDF Invoices will not be affected unless explicitly re-generated', 'multisite-ultimate'), + 'desc' => __('Changes to this template will be applied to all PDF invoices generated after the change.

Existing PDF Invoices will not be affected unless explicitly re-generated', 'ultimate-multisite'), ], ], ] @@ -190,17 +190,17 @@ public function register_widgets(): void { 'v-model' => 'tab', ], 'options' => [ - 'general' => __('General', 'multisite-ultimate'), - 'colors' => __('Colors', 'multisite-ultimate'), - 'images' => __('Images', 'multisite-ultimate'), + 'general' => __('General', 'ultimate-multisite'), + 'colors' => __('Colors', 'ultimate-multisite'), + 'images' => __('Images', 'ultimate-multisite'), ], ], 'paid_tag_text' => [ 'type' => 'text', - 'title' => __('Paid Tag', 'multisite-ultimate'), - 'placeholder' => __('e.g. Paid.', 'multisite-ultimate'), - 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'multisite-ultimate')), + 'title' => __('Paid Tag', 'ultimate-multisite'), + 'placeholder' => __('e.g. Paid.', 'ultimate-multisite'), + 'value' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', 'v-cloak' => 1, @@ -211,12 +211,12 @@ public function register_widgets(): void { ], 'font' => [ 'type' => 'select', - 'title' => __('Font-Family', 'multisite-ultimate'), + 'title' => __('Font-Family', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'font', ''), 'options' => [ - 'DejaVuSansCondensed' => __('Sans-Serif', 'multisite-ultimate'), - 'DejaVuSerifCondensed' => __('Serif', 'multisite-ultimate'), - 'FreeMono' => __('Mono', 'multisite-ultimate'), + 'DejaVuSansCondensed' => __('Sans-Serif', 'ultimate-multisite'), + 'DejaVuSerifCondensed' => __('Serif', 'ultimate-multisite'), + 'FreeMono' => __('Mono', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -228,8 +228,8 @@ public function register_widgets(): void { ], 'footer_message' => [ 'type' => 'textarea', - 'title' => __('Footer Content', 'multisite-ultimate'), - 'placeholder' => __('e.g. Extra Info about the Invoice.', 'multisite-ultimate'), + 'title' => __('Footer Content', 'ultimate-multisite'), + 'placeholder' => __('e.g. Extra Info about the Invoice.', 'ultimate-multisite'), 'value' => wu_get_isset($settings, 'footer_message', ''), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -242,7 +242,7 @@ public function register_widgets(): void { 'primary_color' => [ 'type' => 'color-picker', - 'title' => __('Primary Color', 'multisite-ultimate'), + 'title' => __('Primary Color', 'ultimate-multisite'), 'value' => '#00a1ff', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', @@ -255,8 +255,8 @@ public function register_widgets(): void { 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'multisite-ultimate'), - 'desc' => __('You can set a different logo to be used on the invoice.', 'multisite-ultimate'), + 'title' => __('Use Custom Logo', 'ultimate-multisite'), + 'desc' => __('You can set a different logo to be used on the invoice.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "images")', 'v-cloak' => 1, @@ -267,8 +267,8 @@ public function register_widgets(): void { ], 'custom_logo' => [ 'type' => 'image', - 'title' => __('Custom Logo', 'multisite-ultimate'), - 'desc' => __('This will be added to the top of the generated PDF.', 'multisite-ultimate'), + 'title' => __('Custom Logo', 'ultimate-multisite'), + 'desc' => __('This will be added to the top of the generated PDF.', 'ultimate-multisite'), 'value' => $custom_logo, 'img' => $custom_logo_url, 'stacked' => true, @@ -284,7 +284,7 @@ public function register_widgets(): void { $settings = [ 'footer_message' => wu_get_isset($settings, 'footer_message', ''), - 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'multisite-ultimate')), + 'paid_tag_text' => wu_get_isset($settings, 'paid_tag_text', __('Paid', 'ultimate-multisite')), 'primary_color' => wu_get_isset($settings, 'primary_color', '00a1ff'), 'use_custom_logo' => wu_get_isset($settings, 'use_custom_logo'), 'custom_logo' => wu_get_isset($settings, 'custom_logo'), @@ -302,7 +302,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'multisite-ultimate'), + 'title' => __('Customizer', 'ultimate-multisite'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ @@ -323,7 +323,7 @@ public function register_widgets(): void { */ public function get_title() { - return __('Customize Invoice Template', 'multisite-ultimate'); + return __('Customize Invoice Template', 'ultimate-multisite'); } /** @@ -334,7 +334,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Customize Invoice Template', 'multisite-ultimate'); + return __('Customize Invoice Template', 'ultimate-multisite'); } /** @@ -357,14 +357,14 @@ public function action_links() { public function get_labels() { return [ - 'customize_label' => __('Customize Invoice Template', 'multisite-ultimate'), - 'add_new_label' => __('Customize Invoice Template', 'multisite-ultimate'), - 'edit_label' => __('Edit Invoice Template', 'multisite-ultimate'), - 'updated_message' => __('Invoice Template updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Invoice Template Name', 'multisite-ultimate'), - 'title_description' => __('This name is used for internal reference only.', 'multisite-ultimate'), - 'save_button_label' => __('Save Invoice Template', 'multisite-ultimate'), - 'save_description' => __('Save Invoice Template', 'multisite-ultimate'), + 'customize_label' => __('Customize Invoice Template', 'ultimate-multisite'), + 'add_new_label' => __('Customize Invoice Template', 'ultimate-multisite'), + 'edit_label' => __('Edit Invoice Template', 'ultimate-multisite'), + 'updated_message' => __('Invoice Template updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Invoice Template Name', 'ultimate-multisite'), + 'title_description' => __('This name is used for internal reference only.', 'ultimate-multisite'), + 'save_button_label' => __('Save Invoice Template', 'ultimate-multisite'), + 'save_description' => __('Save Invoice Template', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-jobs-list-admin-page.php b/inc/admin-pages/class-jobs-list-admin-page.php index 67f779d90..525847c19 100644 --- a/inc/admin-pages/class-jobs-list-admin-page.php +++ b/inc/admin-pages/class-jobs-list-admin-page.php @@ -1,6 +1,6 @@ __('Object removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Object', 'multisite-ultimate'), + 'deleted_message' => __('Object removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Object', 'ultimate-multisite'), ]; } @@ -214,7 +214,7 @@ public function save_screen_option($value, $option, $other_value) { } /** - * Dumb function. Child classes need to implement this to set the table that Multisite Ultimate will use + * Dumb function. Child classes need to implement this to set the table that Ultimate Multisite will use * * @since 1.8.2 * @return WP_List_Table diff --git a/inc/admin-pages/class-membership-edit-admin-page.php b/inc/admin-pages/class-membership-edit-admin-page.php index 266dc5821..caa89f67d 100644 --- a/inc/admin-pages/class-membership-edit-admin-page.php +++ b/inc/admin-pages/class-membership-edit-admin-page.php @@ -1,6 +1,6 @@ [ - 'title' => __('Preview', 'multisite-ultimate'), + 'title' => __('Preview', 'ultimate-multisite'), 'url' => add_query_arg('preview-swap', 1), ], ]; @@ -129,7 +129,7 @@ protected function add_swap_notices() { $date = new \DateTime($swap_order->scheduled_date); // translators: %s is the date, using the site format options - $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'multisite-ultimate'), $date->format(get_option('date_format'))); + $message = sprintf(__('There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades.', 'ultimate-multisite'), $date->format(get_option('date_format'))); WP_Ultimo()->notices->add($message, 'warning', 'network-admin', false, $actions); } @@ -224,16 +224,16 @@ public function render_transfer_membership_modal(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'multisite-ultimate'), - 'desc' => __('This will start the transfer of assets from one customer to another.', 'multisite-ultimate'), + 'title' => __('Confirm Transfer', 'ultimate-multisite'), + 'desc' => __('This will start the transfer of assets from one customer to another.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'multisite-ultimate'), - 'placeholder' => __('Start Transfer', 'multisite-ultimate'), + 'title' => __('Start Transfer', 'ultimate-multisite'), + 'placeholder' => __('Start Transfer', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -283,17 +283,17 @@ public function handle_transfer_membership_modal(): void { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'ultimate-multisite'))); } $target_customer = wu_get_customer(wu_request('target_customer_id')); if ( ! $target_customer) { - wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Target customer not found.', 'ultimate-multisite'))); } if ($target_customer->get_id() === $membership->get_customer_id()) { - wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Cannot transfer to the same customer.', 'ultimate-multisite'))); } /* @@ -355,26 +355,26 @@ public function register_widgets(): void { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'multisite-ultimate'), + 'title' => __('At a Glance', 'ultimate-multisite'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-widget-inset', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', 'fields' => [ 'status' => [ 'type' => 'text-display', - 'title' => __('Membership Status', 'multisite-ultimate'), + 'title' => __('Membership Status', 'ultimate-multisite'), 'display_value' => $tag, 'tooltip' => '', ], 'hash' => [ 'copy' => true, 'type' => 'text-display', - 'title' => __('Reference ID', 'multisite-ultimate'), + 'title' => __('Reference ID', 'ultimate-multisite'), 'display_value' => $this->get_object()->get_hash(), ], 'total_grossed' => [ 'type' => 'text-display', - 'title' => __('Total Grossed', 'multisite-ultimate'), + 'title' => __('Total Grossed', 'ultimate-multisite'), 'display_value' => wu_format_currency($this->get_object()->get_total_grossed(), $this->get_object()->get_currency()), 'wrapper_classes' => 'sm:wu-border-r-0', ], @@ -386,7 +386,7 @@ public function register_widgets(): void { 'membership-products', [ 'position' => 'normal', - 'title' => __('Products', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Membership_Line_Item_List_Table(), 'after' => [$this, 'output_widget_products'], ] @@ -395,7 +395,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'payments', [ - 'title' => __('Payments', 'multisite-ultimate'), + 'title' => __('Payments', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Customers_Payment_List_Table(), 'query_filter' => [$this, 'payments_query_filter'], ] @@ -404,7 +404,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'sites', [ - 'title' => __('Sites', 'multisite-ultimate'), + 'title' => __('Sites', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Memberships_Site_List_Table(), 'query_filter' => [$this, 'sites_query_filter'], ] @@ -413,7 +413,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'customer', [ - 'title' => __('Linked Customer', 'multisite-ultimate'), + 'title' => __('Linked Customer', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Site_Customer_List_Table(), 'query_filter' => [$this, 'customer_query_filter'], ] @@ -422,27 +422,27 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Membership Options', 'multisite-ultimate'), + 'title' => __('Membership Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => apply_filters( 'wu_membership_options_sections', [ 'general' => [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General membership options', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General membership options', 'ultimate-multisite'), 'icon' => 'dashicons-wu-globe', 'fields' => [ 'blocking' => [ 'type' => 'toggle', - 'title' => __('Is Blocking?', 'multisite-ultimate'), - 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'multisite-ultimate'), + 'title' => __('Is Blocking?', 'ultimate-multisite'), + 'desc' => __('Should we block access to the site, plugins, themes, and services after the expiration date is reached?', 'ultimate-multisite'), 'value' => true, ], ], ], 'billing_info' => [ - 'title' => __('Billing Info', 'multisite-ultimate'), - 'desc' => __('Billing information for this particular membership.', 'multisite-ultimate'), + 'title' => __('Billing Info', 'ultimate-multisite'), + 'desc' => __('Billing information for this particular membership.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-address', 'fields' => $this->get_object()->get_billing_address()->get_fields(), ], @@ -459,7 +459,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -469,8 +469,8 @@ public function register_widgets(): void { $regular_fields = [ 'status' => [ 'type' => 'select', - 'title' => __('Status', 'multisite-ultimate'), - 'desc' => __('The membership current status.', 'multisite-ultimate'), + 'title' => __('Status', 'ultimate-multisite'), + 'desc' => __('The membership current status.', 'ultimate-multisite'), 'value' => $this->get_object()->get_status(), 'options' => Membership_Status::to_array(), 'tooltip' => '', @@ -483,8 +483,8 @@ public function register_widgets(): void { ], 'cancellation_reason' => [ 'type' => 'textarea', - 'title' => __('Cancellation Reason', 'multisite-ultimate'), - 'desc' => __('The reason why the customer cancelled this membership.', 'multisite-ultimate'), + 'title' => __('Cancellation Reason', 'ultimate-multisite'), + 'desc' => __('The reason why the customer cancelled this membership.', 'ultimate-multisite'), 'value' => $this->get_object()->get_cancellation_reason(), 'wrapper_html_attr' => [ 'v-show' => 'status == \'cancelled\'', @@ -493,8 +493,8 @@ public function register_widgets(): void { ], 'cancel_gateway' => [ 'type' => 'toggle', - 'title' => __('Cancel on gateway', 'multisite-ultimate'), - 'desc' => __('If enable we will cancel the subscription on payment method', 'multisite-ultimate'), + 'title' => __('Cancel on gateway', 'ultimate-multisite'), + 'desc' => __('If enable we will cancel the subscription on payment method', 'ultimate-multisite'), 'value' => false, 'wrapper_html_attr' => [ 'v-show' => ! empty($this->get_object()->get_gateway_customer_id()) ? 'status == \'cancelled\'' : 'false', @@ -507,9 +507,9 @@ public function register_widgets(): void { ], 'customer_id' => [ 'type' => 'model', - 'title' => __('Customer', 'multisite-ultimate'), - 'placeholder' => __('Search a Customer...', 'multisite-ultimate'), - 'desc' => __('The owner of this membership.', 'multisite-ultimate'), + 'title' => __('Customer', 'ultimate-multisite'), + 'placeholder' => __('Search a Customer...', 'ultimate-multisite'), + 'desc' => __('The owner of this membership.', 'ultimate-multisite'), 'value' => $this->get_object()->get_customer_id(), 'tooltip' => '', 'html_attr' => [ @@ -528,7 +528,7 @@ public function register_widgets(): void { ], 'transfer_note' => [ 'type' => 'note', - 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'multisite-ultimate'), + 'desc' => __('Changing the customer will transfer this membership and all its assets, including sites, to the new customer.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_customer_id != customer_id) && customer_id', @@ -549,7 +549,7 @@ public function register_widgets(): void { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Membership', 'multisite-ultimate'), + 'display_value' => __('Transfer Membership', 'ultimate-multisite'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -564,7 +564,7 @@ public function register_widgets(): void { 'target_customer_id' => '', ] ) . "=' + customer_id", - 'title' => __('Transfer Membership', 'multisite-ultimate'), + 'title' => __('Transfer Membership', 'ultimate-multisite'), ], ], ]; @@ -574,7 +574,7 @@ public function register_widgets(): void { unset($regular_fields['transfer']); - $regular_fields['submit_save']['title'] = __('Locked', 'multisite-ultimate'); + $regular_fields['submit_save']['title'] = __('Locked', 'ultimate-multisite'); $regular_fields['submit_save']['value'] = 'none'; $regular_fields['submit_save']['html_attr']['disabled'] = 'disabled'; } @@ -600,7 +600,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'pricing', [ - 'title' => __('Billing Amount', 'multisite-ultimate'), + 'title' => __('Billing Amount', 'ultimate-multisite'), 'html_attr' => [ 'data-wu-app' => 'true', 'data-state' => wp_json_encode( @@ -621,10 +621,10 @@ public function register_widgets(): void { // Fields for price '_initial_amount' => [ 'type' => 'text', - 'title' => __('Initial Amount', 'multisite-ultimate'), + 'title' => __('Initial Amount', 'ultimate-multisite'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'multisite-ultimate'), wu_format_currency(199)), - 'desc' => __('The initial amount collected on the first payment.', 'multisite-ultimate'), + 'placeholder' => sprintf(__('E.g. %s', 'ultimate-multisite'), wu_format_currency(199)), + 'desc' => __('The initial amount collected on the first payment.', 'ultimate-multisite'), 'value' => $this->get_object()->get_initial_amount(), 'money' => true, 'html_attr' => [ @@ -642,8 +642,8 @@ public function register_widgets(): void { ], 'recurring' => [ 'type' => 'toggle', - 'title' => __('Is Recurring', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this membership.', 'multisite-ultimate'), + 'title' => __('Is Recurring', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this membership.', 'ultimate-multisite'), 'value' => $this->get_object()->is_recurring(), 'html_attr' => [ 'v-model' => 'is_recurring', @@ -660,9 +660,9 @@ public function register_widgets(): void { ], 'recurring_amount_group' => [ 'type' => 'group', - 'title' => __('Recurring Amount', 'multisite-ultimate'), + 'title' => __('Recurring Amount', 'ultimate-multisite'), // translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week) - 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'multisite-ultimate'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), + 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'ultimate-multisite'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), 'wrapper_html_attr' => [ 'v-show' => 'is_recurring', 'v-cloak' => '1', @@ -698,10 +698,10 @@ public function register_widgets(): void { 'v-model' => 'duration_unit', ], 'options' => [ - 'day' => __('Days', 'multisite-ultimate'), - 'week' => __('Weeks', 'multisite-ultimate'), - 'month' => __('Months', 'multisite-ultimate'), - 'year' => __('Years', 'multisite-ultimate'), + 'day' => __('Days', 'ultimate-multisite'), + 'week' => __('Weeks', 'ultimate-multisite'), + 'month' => __('Months', 'ultimate-multisite'), + 'year' => __('Years', 'ultimate-multisite'), ], ], ], @@ -734,9 +734,9 @@ public function register_widgets(): void { ], 'billing_cycles' => [ 'type' => 'number', - 'title' => __('Billing Cycles', 'multisite-ultimate'), - 'placeholder' => __('E.g. 0', 'multisite-ultimate'), - 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'multisite-ultimate'), + 'title' => __('Billing Cycles', 'ultimate-multisite'), + 'placeholder' => __('E.g. 0', 'ultimate-multisite'), + 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'ultimate-multisite'), 'value' => $this->get_object()->get_billing_cycles(), 'min' => 0, 'wrapper_html_attr' => [ @@ -746,8 +746,8 @@ public function register_widgets(): void { ], 'times_billed' => [ 'type' => 'number', - 'title' => __('Times Billed', 'multisite-ultimate'), - 'desc' => __('The number of times this membership was billed so far.', 'multisite-ultimate'), + 'title' => __('Times Billed', 'ultimate-multisite'), + 'desc' => __('The number of times this membership was billed so far.', 'ultimate-multisite'), 'value' => $this->get_object()->get_times_billed(), 'min' => 0, 'wrapper_html_attr' => [ @@ -758,8 +758,8 @@ public function register_widgets(): void { 'auto_renew' => [ 'type' => 'toggle', - 'title' => __('Auto-Renew?', 'multisite-ultimate'), - 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'multisite-ultimate'), + 'title' => __('Auto-Renew?', 'ultimate-multisite'), + 'desc' => __('Activating this will tell the gateway to try to automatically charge for this membership.', 'ultimate-multisite'), 'value' => $this->get_object()->should_auto_renew(), 'wrapper_html_attr' => [ 'v-show' => 'is_recurring', @@ -771,10 +771,10 @@ public function register_widgets(): void { ], 'gateway' => [ 'type' => 'text', - 'title' => __('Gateway', 'multisite-ultimate'), - 'placeholder' => __('e.g. stripe', 'multisite-ultimate'), - 'description' => __('e.g. stripe', 'multisite-ultimate'), - 'desc' => __('Payment gateway used to process the payment.', 'multisite-ultimate'), + 'title' => __('Gateway', 'ultimate-multisite'), + 'placeholder' => __('e.g. stripe', 'ultimate-multisite'), + 'description' => __('e.g. stripe', 'ultimate-multisite'), + 'desc' => __('Payment gateway used to process the payment.', 'ultimate-multisite'), 'value' => $this->get_object()->get_gateway(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -798,7 +798,7 @@ public function register_widgets(): void { $url = apply_filters("wu_{$gateway_id}_remote_customer_url", $this->get_object()->get_gateway_customer_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'multisite-ultimate')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'ultimate-multisite')); } return ''; @@ -810,8 +810,8 @@ public function register_widgets(): void { 'fields' => [ 'gateway_customer_id' => [ 'type' => 'text', - 'title' => __('Gateway Customer ID', 'multisite-ultimate'), - 'placeholder' => __('Gateway Customer ID', 'multisite-ultimate'), + 'title' => __('Gateway Customer ID', 'ultimate-multisite'), + 'placeholder' => __('Gateway Customer ID', 'ultimate-multisite'), 'value' => $this->get_object()->get_gateway_customer_id(), 'tooltip' => '', 'wrapper_classes' => 'wu-w-full', @@ -836,7 +836,7 @@ public function register_widgets(): void { $url = apply_filters("wu_{$gateway_id}_remote_subscription_url", $this->get_object()->get_gateway_subscription_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'multisite-ultimate')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'ultimate-multisite')); } return ''; @@ -848,8 +848,8 @@ public function register_widgets(): void { 'fields' => [ 'gateway_subscription_id' => [ 'type' => 'text', - 'title' => __('Gateway Subscription ID', 'multisite-ultimate'), - 'placeholder' => __('Gateway Subscription ID', 'multisite-ultimate'), + 'title' => __('Gateway Subscription ID', 'ultimate-multisite'), + 'placeholder' => __('Gateway Subscription ID', 'ultimate-multisite'), 'value' => $this->get_object()->get_gateway_subscription_id(), 'tooltip' => '', 'wrapper_classes' => 'wu-w-full', @@ -863,7 +863,7 @@ public function register_widgets(): void { 'gateway_note' => [ 'type' => 'note', - 'desc' => __('We will try to cancel the old subscription on the gateway.', 'multisite-ultimate'), + 'desc' => __('We will try to cancel the old subscription on the gateway.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => 'is_recurring && (' . implode( @@ -884,10 +884,10 @@ public function register_widgets(): void { $timestamp_fields = []; $timestamps = [ - 'date_expiration' => __('Expires at', 'multisite-ultimate'), - 'date_renewed' => __('Last Renewed at', 'multisite-ultimate'), - 'date_trial_end' => __('Trial Ends at', 'multisite-ultimate'), - 'date_cancellation' => __('Cancelled at', 'multisite-ultimate'), + 'date_expiration' => __('Expires at', 'ultimate-multisite'), + 'date_renewed' => __('Last Renewed at', 'ultimate-multisite'), + 'date_trial_end' => __('Trial Ends at', 'ultimate-multisite'), + 'date_cancellation' => __('Cancelled at', 'ultimate-multisite'), ]; foreach ($timestamps as $timestamp_name => $timestamp_label) { @@ -912,7 +912,7 @@ public function register_widgets(): void { if ( ! $this->get_object()->is_lifetime()) { $timestamp_fields['convert_to_lifetime'] = [ 'type' => 'submit', - 'title' => __('Convert to Lifetime', 'multisite-ultimate'), + 'title' => __('Convert to Lifetime', 'ultimate-multisite'), 'value' => 'convert_to_lifetime', 'classes' => 'button wu-w-full', 'wrapper_html_attr' => [], @@ -922,7 +922,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'membership-timestamps', [ - 'title' => __('Important Timestamps', 'multisite-ultimate'), + 'title' => __('Important Timestamps', 'ultimate-multisite'), 'fields' => $timestamp_fields, ] ); @@ -952,7 +952,7 @@ public function output_widget_products() { */ public function get_title() { - return $this->edit ? __('Edit Membership', 'multisite-ultimate') : __('Add new Membership', 'multisite-ultimate'); + return $this->edit ? __('Edit Membership', 'ultimate-multisite') : __('Add new Membership', 'ultimate-multisite'); } /** @@ -963,7 +963,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Membership', 'multisite-ultimate'); + return __('Edit Membership', 'ultimate-multisite'); } /** @@ -986,15 +986,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Membership', 'multisite-ultimate'), - 'add_new_label' => __('Add new Membership', 'multisite-ultimate'), - 'updated_message' => __('Membership updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Membership Name', 'multisite-ultimate'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'multisite-ultimate'), - 'save_button_label' => __('Save Membership', 'multisite-ultimate'), + 'edit_label' => __('Edit Membership', 'ultimate-multisite'), + 'add_new_label' => __('Add new Membership', 'ultimate-multisite'), + 'updated_message' => __('Membership updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Membership Name', 'ultimate-multisite'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'ultimate-multisite'), + 'save_button_label' => __('Save Membership', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Membership', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Membership', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } @@ -1104,7 +1104,7 @@ public function get_object() { $actions = [ 'preview' => [ - 'title' => __('← Go back', 'multisite-ultimate'), + 'title' => __('← Go back', 'ultimate-multisite'), 'url' => remove_query_arg('preview-swap', wu_get_current_url()), ], ]; @@ -1112,7 +1112,7 @@ public function get_object() { $date = new \DateTime($swap_order->scheduled_date); // translators: %s is the date, using the site format options - $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'multisite-ultimate'), $date->format(get_option('date_format'))); + $message = sprintf(__('This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful.', 'ultimate-multisite'), $date->format(get_option('date_format'))); WP_Ultimo()->notices->add($message, 'info', 'network-admin', false, $actions); @@ -1261,8 +1261,8 @@ public function render_edit_membership_product_modal(): void { $fields = [ 'product_id' => [ 'type' => 'model', - 'title' => __('Product', 'multisite-ultimate'), - 'placeholder' => __('Search product...', 'multisite-ultimate'), + 'title' => __('Product', 'ultimate-multisite'), + 'placeholder' => __('Search product...', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -1276,7 +1276,7 @@ public function render_edit_membership_product_modal(): void { ], 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'multisite-ultimate'), + 'title' => __('Quantity', 'ultimate-multisite'), 'value' => 1, 'placeholder' => 1, 'wrapper_classes' => 'wu-w-1/2', @@ -1287,8 +1287,8 @@ public function render_edit_membership_product_modal(): void { ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing', 'multisite-ultimate'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'multisite-ultimate'), + 'title' => __('Update Pricing', 'ultimate-multisite'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1304,8 +1304,8 @@ public function render_edit_membership_product_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add Product', 'multisite-ultimate'), - 'placeholder' => __('Add Product', 'multisite-ultimate'), + 'title' => __('Add Product', 'ultimate-multisite'), + 'placeholder' => __('Add Product', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1352,7 +1352,7 @@ public function handle_edit_membership_product_modal(): void { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'multisite-ultimate')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1360,7 +1360,7 @@ public function handle_edit_membership_product_modal(): void { $product = wu_get_product(wu_request('product_id')); if ( ! $product) { - $error = new \WP_Error('product-not-found', __('Product not found.', 'multisite-ultimate')); + $error = new \WP_Error('product-not-found', __('Product not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1417,7 +1417,7 @@ public function render_remove_membership_product(): void { $fields = [ 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'multisite-ultimate'), + 'title' => __('Quantity', 'ultimate-multisite'), 'value' => 1, 'placeholder' => 1, 'wrapper_classes' => 'wu-w-1/2', @@ -1428,8 +1428,8 @@ public function render_remove_membership_product(): void { ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing?', 'multisite-ultimate'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'multisite-ultimate'), + 'title' => __('Update Pricing?', 'ultimate-multisite'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1445,8 +1445,8 @@ public function render_remove_membership_product(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Remove Product', 'multisite-ultimate'), - 'placeholder' => __('Remove Product', 'multisite-ultimate'), + 'title' => __('Remove Product', 'ultimate-multisite'), + 'placeholder' => __('Remove Product', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1497,7 +1497,7 @@ public function handle_remove_membership_product(): void { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'multisite-ultimate')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1505,7 +1505,7 @@ public function handle_remove_membership_product(): void { $product = wu_get_product(wu_request('product_id')); if ( ! $product) { - $error = new \WP_Error('product-not-found', __('Product not found.', 'multisite-ultimate')); + $error = new \WP_Error('product-not-found', __('Product not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1574,9 +1574,9 @@ public function render_change_membership_plan_modal(): void { $fields = [ 'plan_id' => [ 'type' => 'model', - 'title' => __('Plan', 'multisite-ultimate'), - 'placeholder' => __('Search new Plan...', 'multisite-ultimate'), - 'desc' => __('Select a new plan for this membership.', 'multisite-ultimate'), + 'title' => __('Plan', 'ultimate-multisite'), + 'placeholder' => __('Search new Plan...', 'ultimate-multisite'), + 'desc' => __('Select a new plan for this membership.', 'ultimate-multisite'), 'value' => $product->get_id(), 'tooltip' => '', 'html_attr' => [ @@ -1591,8 +1591,8 @@ public function render_change_membership_plan_modal(): void { ], 'update_price' => [ 'type' => 'toggle', - 'title' => __('Update Pricing', 'multisite-ultimate'), - 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'multisite-ultimate'), + 'title' => __('Update Pricing', 'ultimate-multisite'), + 'desc' => __('Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'update_pricing', ], @@ -1608,8 +1608,8 @@ public function render_change_membership_plan_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Change Product', 'multisite-ultimate'), - 'placeholder' => __('Change Product', 'multisite-ultimate'), + 'title' => __('Change Product', 'ultimate-multisite'), + 'placeholder' => __('Change Product', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -1662,7 +1662,7 @@ public function handle_change_membership_plan_modal(): void { $membership = wu_get_membership(wu_request('id')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'multisite-ultimate')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1670,7 +1670,7 @@ public function handle_change_membership_plan_modal(): void { $plan = wu_get_product(wu_request('plan_id')); if ( ! $plan) { - $error = new \WP_Error('plan-not-found', __('Plan not found.', 'multisite-ultimate')); + $error = new \WP_Error('plan-not-found', __('Plan not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -1678,7 +1678,7 @@ public function handle_change_membership_plan_modal(): void { $original_plan_id = $membership->get_plan_id(); if (absint($original_plan_id) === absint($plan->get_id())) { - $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'multisite-ultimate')); + $error = new \WP_Error('same-plan', __('No change performed. The same plan selected.', 'ultimate-multisite')); wp_send_json_error($error); } diff --git a/inc/admin-pages/class-membership-list-admin-page.php b/inc/admin-pages/class-membership-list-admin-page.php index 37dfa79c5..086f5ab9f 100644 --- a/inc/admin-pages/class-membership-list-admin-page.php +++ b/inc/admin-pages/class-membership-list-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'model', - 'title' => __('Customer', 'multisite-ultimate'), - 'placeholder' => __('Search Customer...', 'multisite-ultimate'), - 'desc' => __('The customer to attach this membership to.', 'multisite-ultimate'), + 'title' => __('Customer', 'ultimate-multisite'), + 'placeholder' => __('Search Customer...', 'ultimate-multisite'), + 'desc' => __('The customer to attach this membership to.', 'ultimate-multisite'), 'html_attr' => [ 'data-model' => 'customer', 'data-value-field' => 'id', @@ -101,9 +101,9 @@ public function render_add_new_membership_modal(): void { ], 'product_ids' => [ 'type' => 'model', - 'title' => __('Products', 'multisite-ultimate'), - 'placeholder' => __('Search Products...', 'multisite-ultimate'), - 'desc' => __('You can add multiples products to this membership.', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), + 'placeholder' => __('Search Products...', 'ultimate-multisite'), + 'desc' => __('You can add multiples products to this membership.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-model' => 'product', @@ -115,25 +115,25 @@ public function render_add_new_membership_modal(): void { ], 'status' => [ 'type' => 'select', - 'title' => __('Status', 'multisite-ultimate'), - 'placeholder' => __('Status', 'multisite-ultimate'), - 'desc' => __('The membership status.', 'multisite-ultimate'), + 'title' => __('Status', 'ultimate-multisite'), + 'placeholder' => __('Status', 'ultimate-multisite'), + 'desc' => __('The membership status.', 'ultimate-multisite'), 'tooltip' => '', 'value' => Membership_Status::PENDING, 'options' => Membership_Status::to_array(), ], 'lifetime' => [ 'type' => 'toggle', - 'title' => __('Lifetime', 'multisite-ultimate'), - 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'multisite-ultimate'), + 'title' => __('Lifetime', 'ultimate-multisite'), + 'desc' => __('Activate this toggle to mark the newly created membership as lifetime.', 'ultimate-multisite'), 'value' => 1, 'html_attr' => [ 'v-model' => 'lifetime', ], ], 'date_expiration' => [ - 'title' => __('Expiration Date', 'multisite-ultimate'), - 'desc' => __('Set the expiration date of the membership to be created.', 'multisite-ultimate'), + 'title' => __('Expiration Date', 'ultimate-multisite'), + 'desc' => __('Set the expiration date of the membership to be created.', 'ultimate-multisite'), 'type' => 'text', 'date' => true, 'value' => gmdate('Y-m-d', strtotime('+1 month')), @@ -150,7 +150,7 @@ public function render_add_new_membership_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Create Membership', 'multisite-ultimate'), + 'title' => __('Create Membership', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -197,7 +197,7 @@ public function handle_add_new_membership_modal(): void { wp_send_json_error( new \WP_Error( 'empty-products', - __('Products can not be empty.', 'multisite-ultimate') + __('Products can not be empty.', 'ultimate-multisite') ) ); } @@ -208,7 +208,7 @@ public function handle_add_new_membership_modal(): void { wp_send_json_error( new \WP_Error( 'customer-not-found', - __('The selected customer does not exist.', 'multisite-ultimate') + __('The selected customer does not exist.', 'ultimate-multisite') ) ); } @@ -263,8 +263,8 @@ public function handle_add_new_membership_modal(): void { public function get_labels() { return [ - 'deleted_message' => __('Membership removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Membership', 'multisite-ultimate'), + 'deleted_message' => __('Membership removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Membership', 'ultimate-multisite'), ]; } @@ -276,7 +276,7 @@ public function get_labels() { */ public function get_title() { - return __('Memberships', 'multisite-ultimate'); + return __('Memberships', 'ultimate-multisite'); } /** @@ -287,7 +287,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Memberships', 'multisite-ultimate'); + return __('Memberships', 'ultimate-multisite'); } /** @@ -298,7 +298,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Memberships', 'multisite-ultimate'); + return __('Memberships', 'ultimate-multisite'); } /** @@ -311,7 +311,7 @@ public function action_links() { return [ [ - 'label' => __('Add Membership', 'multisite-ultimate'), + 'label' => __('Add Membership', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_membership'), diff --git a/inc/admin-pages/class-migration-alert-admin-page.php b/inc/admin-pages/class-migration-alert-admin-page.php index 9fc1fc5d8..ef23cbd62 100644 --- a/inc/admin-pages/class-migration-alert-admin-page.php +++ b/inc/admin-pages/class-migration-alert-admin-page.php @@ -1,6 +1,6 @@ is_loaded() ? __('Multisite Ultimate Migration Alert', 'multisite-ultimate') : __('Multisite Ultimate', 'multisite-ultimate'); + return WP_Ultimo()->is_loaded() ? __('Ultimate Multisite Migration Alert', 'ultimate-multisite') : __('Ultimate Multisite', 'ultimate-multisite'); } /** @@ -113,7 +113,7 @@ public function get_sections() { return [ 'alert' => [ - 'title' => __('Alert!', 'multisite-ultimate'), + 'title' => __('Alert!', 'ultimate-multisite'), 'view' => [$this, 'section_alert'], 'handler' => [$this, 'handle_proceed'], ], diff --git a/inc/admin-pages/class-payment-edit-admin-page.php b/inc/admin-pages/class-payment-edit-admin-page.php index aae86d575..d6579e78e 100644 --- a/inc/admin-pages/class-payment-edit-admin-page.php +++ b/inc/admin-pages/class-payment-edit-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Deletion', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'multisite-ultimate'), + 'title' => __('Delete', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -227,7 +227,7 @@ public function handle_delete_line_item_modal(): void { $line_item = wu_get_line_item(wu_request('line_item_id'), $payment->get_id()); if ( ! $payment || ! $line_item) { - wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'ultimate-multisite'))); } $line_items = $payment->get_line_items(); @@ -267,8 +267,8 @@ public function render_refund_payment_modal(): void { $fields = [ '_amount' => [ 'type' => 'text', - 'title' => __('Refund Amount', 'multisite-ultimate'), - 'placeholder' => __('Refund Amount', 'multisite-ultimate'), + 'title' => __('Refund Amount', 'ultimate-multisite'), + 'placeholder' => __('Refund Amount', 'ultimate-multisite'), 'money' => true, 'min' => 0, 'html_attr' => [ @@ -288,15 +288,15 @@ public function render_refund_payment_modal(): void { ], 'cancel_membership' => [ 'type' => 'toggle', - 'title' => __('Cancel Related Membership?', 'multisite-ultimate'), - 'desc' => __('Checking this option will cancel the membership as well.', 'multisite-ultimate'), + 'title' => __('Cancel Related Membership?', 'ultimate-multisite'), + 'desc' => __('Checking this option will cancel the membership as well.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'step === 1', ], ], 'refund_not_immediate_note' => [ 'type' => 'note', - 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and Multisite Ultimate relies on the gateway reporting a successful refund before changing the status.', 'multisite-ultimate'), + 'desc' => __('Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and Ultimate Multisite relies on the gateway reporting a successful refund before changing the status.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-yellow-200 wu-text-yellow-700 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => 'step === 2', @@ -305,8 +305,8 @@ public function render_refund_payment_modal(): void { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Refund', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Refund', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'step === 2', ], @@ -316,8 +316,8 @@ public function render_refund_payment_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Next Step', 'multisite-ultimate'), - 'placeholder' => __('Next Step', 'multisite-ultimate'), + 'title' => __('Next Step', 'ultimate-multisite'), + 'placeholder' => __('Next Step', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -331,8 +331,8 @@ public function render_refund_payment_modal(): void { ], 'submit_button_2' => [ 'type' => 'submit', - 'title' => __('Issue Refund', 'multisite-ultimate'), - 'placeholder' => __('Issue Refund', 'multisite-ultimate'), + 'title' => __('Issue Refund', 'ultimate-multisite'), + 'placeholder' => __('Issue Refund', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -386,14 +386,14 @@ public function handle_refund_payment_modal(): void { $payment = wu_get_payment(wu_request('id')); if ( ! $payment) { - wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Payment not found.', 'ultimate-multisite'))); } /* * Checks for a valid amount. */ if (empty($amount) || $amount > $payment->get_total()) { - wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('invalid-amount', __('The refund amount is out of bounds.', 'ultimate-multisite'))); } /* @@ -403,7 +403,7 @@ public function handle_refund_payment_modal(): void { $is_refundable = in_array($payment->get_status(), wu_get_refundable_payment_types(), true); if ( ! $is_refundable) { - wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('payment-not-refunded', __('This payment is not in a refundable state.', 'ultimate-multisite'))); } /* @@ -454,7 +454,7 @@ public function handle_refund_payment_modal(): void { $gateway = wu_get_gateway($gateway_id); if ( ! $gateway) { - wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('gateway-not-found', __('Payment gateway not found.', 'ultimate-multisite'))); } /* @@ -483,14 +483,14 @@ public function handle_refund_payment_modal(): void { if (is_wp_error($status)) { // translators: %s is the exception error message. - $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'multisite-ultimate'), $status->get_error_message())); + $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'ultimate-multisite'), $status->get_error_message())); wp_send_json_error($error); } } catch (\Throwable $e) { // translators: %s is the exception error message. - $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'multisite-ultimate'), $e->getMessage())); + $error = new \WP_Error('refund-error', sprintf(__('An error occurred: %s', 'ultimate-multisite'), $e->getMessage())); wp_send_json_error($error); } @@ -542,7 +542,7 @@ public function handle_edit_line_item_modal(): void { $product = wu_get_product(wu_request('product_id')); if (empty($product)) { - $error = new \WP_Error('missing-product', __('The product was not found.', 'multisite-ultimate')); + $error = new \WP_Error('missing-product', __('The product was not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -579,7 +579,7 @@ public function handle_edit_line_item_modal(): void { ); if ( ! in_array($type, $allowed_types, true)) { - $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'multisite-ultimate')); + $error = new \WP_Error('invalid-type', __('The line item type is invalid.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -611,7 +611,7 @@ public function handle_edit_line_item_modal(): void { $saved = $payment->recalculate_totals()->save(); if ( ! $saved) { - wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('error', __('Something wrong happened.', 'ultimate-multisite'))); } if (is_wp_error($saved)) { @@ -650,9 +650,9 @@ public function render_edit_line_item_modal(): void { 'tab' => [ 'type' => 'tab-select', 'options' => [ - 'type' => __('Type', 'multisite-ultimate'), - 'info' => __('Additional Info', 'multisite-ultimate'), - 'tax' => __('Tax Info', 'multisite-ultimate'), + 'type' => __('Type', 'ultimate-multisite'), + 'info' => __('Additional Info', 'ultimate-multisite'), + 'tax' => __('Tax Info', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'tab', @@ -660,13 +660,13 @@ public function render_edit_line_item_modal(): void { ], 'type' => [ 'type' => 'select', - 'title' => __('Line Item Type', 'multisite-ultimate'), - 'desc' => __('Select the line item type.', 'multisite-ultimate'), + 'title' => __('Line Item Type', 'ultimate-multisite'), + 'desc' => __('Select the line item type.', 'ultimate-multisite'), 'options' => [ - 'product' => __('Product', 'multisite-ultimate'), - 'refund' => __('Refund', 'multisite-ultimate'), - 'fee' => __('Fee', 'multisite-ultimate'), - 'credit' => __('Credit', 'multisite-ultimate'), + 'product' => __('Product', 'ultimate-multisite'), + 'refund' => __('Refund', 'ultimate-multisite'), + 'fee' => __('Fee', 'ultimate-multisite'), + 'credit' => __('Credit', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-show' => 'tab === "type"', @@ -677,9 +677,9 @@ public function render_edit_line_item_modal(): void { ], 'product_id' => [ 'type' => 'model', - 'title' => __('Product', 'multisite-ultimate'), - 'desc' => __('Product associated with this line item.', 'multisite-ultimate'), - 'placeholder' => __('Search Products', 'multisite-ultimate'), + 'title' => __('Product', 'ultimate-multisite'), + 'desc' => __('Product associated with this line item.', 'ultimate-multisite'), + 'placeholder' => __('Search Products', 'ultimate-multisite'), 'value' => $line_item->get_product_id(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -696,9 +696,9 @@ public function render_edit_line_item_modal(): void { ], 'title' => [ 'type' => 'text', - 'title' => __('Line Item Title', 'multisite-ultimate'), - 'placeholder' => __('E.g. Extra Charge', 'multisite-ultimate'), - 'desc' => __('This is used when generating invoices.', 'multisite-ultimate'), + 'title' => __('Line Item Title', 'ultimate-multisite'), + 'placeholder' => __('E.g. Extra Charge', 'ultimate-multisite'), + 'desc' => __('This is used when generating invoices.', 'ultimate-multisite'), 'value' => $line_item->get_title(), 'wrapper_html_attr' => [ 'v-show' => 'tab === "info"', @@ -706,9 +706,9 @@ public function render_edit_line_item_modal(): void { ], 'description' => [ 'type' => 'textarea', - 'title' => __('Line Item Description', 'multisite-ultimate'), - 'placeholder' => __('E.g. This service was done to improve performance.', 'multisite-ultimate'), - 'desc' => __('This is used when generating invoices.', 'multisite-ultimate'), + 'title' => __('Line Item Description', 'ultimate-multisite'), + 'placeholder' => __('E.g. This service was done to improve performance.', 'ultimate-multisite'), + 'desc' => __('This is used when generating invoices.', 'ultimate-multisite'), 'value' => $line_item->get_description(), 'html_attr' => [ 'rows' => 4, @@ -719,10 +719,10 @@ public function render_edit_line_item_modal(): void { ], 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity', 'multisite-ultimate'), - 'desc' => __('Item quantity.', 'multisite-ultimate'), + 'title' => __('Quantity', 'ultimate-multisite'), + 'desc' => __('Item quantity.', 'ultimate-multisite'), 'value' => $line_item->get_quantity(), - 'placeholder' => __('E.g. 1', 'multisite-ultimate'), + 'placeholder' => __('E.g. 1', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-1/2', 'wrapper_html_attr' => [ 'v-show' => 'type === "product" && tab === "type"', @@ -740,10 +740,10 @@ public function render_edit_line_item_modal(): void { ], '_unit_price' => [ 'type' => 'text', - 'title' => __('Unit Price', 'multisite-ultimate'), - 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'multisite-ultimate'), + 'title' => __('Unit Price', 'ultimate-multisite'), + 'desc' => __('Item unit price. This is multiplied by the quantity to calculate the sub-total.', 'ultimate-multisite'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'multisite-ultimate'), wu_format_currency(99)), + 'placeholder' => sprintf(__('E.g. %s', 'ultimate-multisite'), wu_format_currency(99)), 'value' => $line_item->get_unit_price(), 'money' => true, 'wrapper_classes' => 'wu-w-1/2', @@ -758,10 +758,10 @@ public function render_edit_line_item_modal(): void { ], '_unit_price_amount' => [ 'type' => 'text', - 'title' => __('Amount', 'multisite-ultimate'), - 'desc' => __('Refund, credit or fee amount.', 'multisite-ultimate'), + 'title' => __('Amount', 'ultimate-multisite'), + 'desc' => __('Refund, credit or fee amount.', 'ultimate-multisite'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'multisite-ultimate'), wu_format_currency(99)), + 'placeholder' => sprintf(__('E.g. %s', 'ultimate-multisite'), wu_format_currency(99)), 'value' => $line_item->get_unit_price(), 'money' => true, 'wrapper_classes' => 'wu-w-1/2', @@ -776,8 +776,8 @@ public function render_edit_line_item_modal(): void { ], 'taxable' => [ 'type' => 'toggle', - 'title' => __('Is Taxable?', 'multisite-ultimate'), - 'desc' => __('Checking this box will toggle the tax controls.', 'multisite-ultimate'), + 'title' => __('Is Taxable?', 'ultimate-multisite'), + 'desc' => __('Checking this box will toggle the tax controls.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-bind:class' => 'type !== "product" ? "wu-opacity-50" : ""', 'v-show' => 'tab === "tax"', @@ -789,9 +789,9 @@ public function render_edit_line_item_modal(): void { ], 'tax_label' => [ 'type' => 'text', - 'title' => __('Tax Label', 'multisite-ultimate'), - 'placeholder' => __('E.g. ES VAT', 'multisite-ultimate'), - 'desc' => __('Tax description. This is shown on invoices to end customers.', 'multisite-ultimate'), + 'title' => __('Tax Label', 'ultimate-multisite'), + 'placeholder' => __('E.g. ES VAT', 'ultimate-multisite'), + 'desc' => __('Tax description. This is shown on invoices to end customers.', 'ultimate-multisite'), 'value' => $line_item->get_tax_label(), 'wrapper_html_attr' => [ 'v-show' => 'taxable && tab === "tax"', @@ -799,8 +799,8 @@ public function render_edit_line_item_modal(): void { ], 'tax_rate_group' => [ 'type' => 'group', - 'title' => __('Tax Rate', 'multisite-ultimate'), - 'desc' => __('Tax rate and type to apply to this item.', 'multisite-ultimate'), + 'title' => __('Tax Rate', 'ultimate-multisite'), + 'desc' => __('Tax rate and type to apply to this item.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'taxable && tab === "tax"', ], @@ -821,16 +821,16 @@ public function render_edit_line_item_modal(): void { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'percentage' => __('Percentage (%)', 'multisite-ultimate'), - 'absolute' => __('Flat Rate ($)', 'multisite-ultimate'), + 'percentage' => __('Percentage (%)', 'ultimate-multisite'), + 'absolute' => __('Flat Rate ($)', 'ultimate-multisite'), ], ], ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Save', 'multisite-ultimate'), - 'placeholder' => __('Save', 'multisite-ultimate'), + 'title' => __('Save', 'ultimate-multisite'), + 'placeholder' => __('Save', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -883,7 +883,7 @@ public function display_payment_actions(): void { if ($is_refundable) { $actions['refund_payment'] = [ - 'label' => __('Refund Payment', 'multisite-ultimate'), + 'label' => __('Refund Payment', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-ccw wu-align-text-bottom', 'classes' => 'button wubox', 'href' => wu_get_form_url( @@ -896,7 +896,7 @@ public function display_payment_actions(): void { } $actions['add_line_item'] = [ - 'label' => __('Add Line Item', 'multisite-ultimate'), + 'label' => __('Add Line Item', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-circle-with-plus wu-align-text-bottom', 'classes' => 'button wubox', 'href' => wu_get_form_url( @@ -954,26 +954,26 @@ public function register_widgets(): void { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'multisite-ultimate'), + 'title' => __('At a Glance', 'ultimate-multisite'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-widget-inset', 'field_wrapper_classes' => 'wu-w-1/3 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', 'fields' => [ 'status' => [ 'type' => 'text-display', - 'title' => __('Payment Status', 'multisite-ultimate'), + 'title' => __('Payment Status', 'ultimate-multisite'), 'display_value' => $tag, 'tooltip' => '', ], 'hash' => [ 'copy' => true, 'type' => 'text-display', - 'title' => __('Reference ID', 'multisite-ultimate'), + 'title' => __('Reference ID', 'ultimate-multisite'), 'display_value' => $this->get_object()->get_hash(), ], 'total' => [ 'type' => 'text-display', - 'title' => __('Total', 'multisite-ultimate'), + 'title' => __('Total', 'ultimate-multisite'), 'display_value' => wu_format_currency($this->get_object()->get_total(), $this->get_object()->get_currency()), 'wrapper_classes' => 'sm:wu-border-r-0', ], @@ -984,7 +984,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'line-items', [ - 'title' => __('Line Items', 'multisite-ultimate'), + 'title' => __('Line Items', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Payment_Line_Item_List_Table(), 'position' => 'normal', 'query_filter' => [$this, 'payments_query_filter'], @@ -995,7 +995,7 @@ public function register_widgets(): void { $this->add_widget( 'tax-rates', [ - 'title' => __('Tax Rate Breakthrough', 'multisite-ultimate'), + 'title' => __('Tax Rate Breakthrough', 'ultimate-multisite'), 'position' => 'normal', 'display' => [$this, 'display_tax_breakthrough'], ] @@ -1004,7 +1004,7 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Payment Options', 'multisite-ultimate'), + 'title' => __('Payment Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => apply_filters('wu_payments_options_sections', [], $this->get_object()), ] @@ -1013,7 +1013,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'events_query_filter'], ] @@ -1039,9 +1039,9 @@ public function register_widgets(): void { 'fields' => [ 'status' => [ 'type' => 'select', - 'title' => __('Status', 'multisite-ultimate'), - 'placeholder' => __('Status', 'multisite-ultimate'), - 'desc' => __('The payment current status.', 'multisite-ultimate'), + 'title' => __('Status', 'ultimate-multisite'), + 'placeholder' => __('Status', 'ultimate-multisite'), + 'desc' => __('The payment current status.', 'ultimate-multisite'), 'value' => $this->get_object()->get_status(), 'options' => Payment_Status::to_array(), 'tooltip' => '', @@ -1054,8 +1054,8 @@ public function register_widgets(): void { ], 'confirm_membership' => [ 'type' => 'toggle', - 'title' => __('Activate Membership?', 'multisite-ultimate'), - 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'multisite-ultimate'), + 'title' => __('Activate Membership?', 'ultimate-multisite'), + 'desc' => __('This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically.', 'ultimate-multisite'), 'value' => 0, 'wrapper_html_attr' => [ 'v-if' => 'status !== original_status && status === "completed" && membership_status === "pending"', @@ -1064,8 +1064,8 @@ public function register_widgets(): void { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Membership', 'multisite-ultimate'), - 'desc' => __('The membership associated with this payment.', 'multisite-ultimate'), + 'title' => __('Membership', 'ultimate-multisite'), + 'desc' => __('The membership associated with this payment.', 'ultimate-multisite'), 'value' => $this->get_object()->get_membership_id(), 'tooltip' => '', 'html_attr' => [ @@ -1083,10 +1083,10 @@ public function register_widgets(): void { ], 'gateway' => [ 'type' => 'text', - 'title' => __('Gateway', 'multisite-ultimate'), - 'placeholder' => __('e.g. stripe', 'multisite-ultimate'), - 'description' => __('e.g. stripe', 'multisite-ultimate'), - 'desc' => __('Payment gateway used to process the payment.', 'multisite-ultimate'), + 'title' => __('Gateway', 'ultimate-multisite'), + 'placeholder' => __('e.g. stripe', 'ultimate-multisite'), + 'description' => __('e.g. stripe', 'ultimate-multisite'), + 'desc' => __('Payment gateway used to process the payment.', 'ultimate-multisite'), 'value' => $this->get_object()->get_gateway(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -1110,7 +1110,7 @@ public function register_widgets(): void { $url = apply_filters("wu_{$gateway_id}_remote_payment_url", $this->get_object()->get_gateway_payment_id()); if ($url) { - return sprintf('%s', esc_attr($url), __('View on Gateway →', 'multisite-ultimate')); + return sprintf('%s', esc_attr($url), __('View on Gateway →', 'ultimate-multisite')); } return ''; @@ -1122,10 +1122,10 @@ public function register_widgets(): void { 'fields' => [ 'gateway_payment_id' => [ 'type' => 'text', - 'title' => __('Gateway Payment ID', 'multisite-ultimate'), - 'placeholder' => __('e.g. EX897540987913', 'multisite-ultimate'), - 'description' => __('e.g. EX897540987913', 'multisite-ultimate'), - 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'multisite-ultimate'), + 'title' => __('Gateway Payment ID', 'ultimate-multisite'), + 'placeholder' => __('e.g. EX897540987913', 'ultimate-multisite'), + 'description' => __('e.g. EX897540987913', 'ultimate-multisite'), + 'tooltip' => __('This will usually be set automatically by the payment gateway.', 'ultimate-multisite'), 'value' => $this->get_object()->get_gateway_payment_id(), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [], @@ -1136,10 +1136,10 @@ public function register_widgets(): void { 'invoice_number' => [ 'type' => 'number', 'min' => 0, - 'title' => __('Invoice Number', 'multisite-ultimate'), - 'placeholder' => __('e.g. 20', 'multisite-ultimate'), - 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'multisite-ultimate'), - 'desc' => __('The invoice number for this particular payment.', 'multisite-ultimate'), + 'title' => __('Invoice Number', 'ultimate-multisite'), + 'placeholder' => __('e.g. 20', 'ultimate-multisite'), + 'tooltip' => __('This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform.', 'ultimate-multisite'), + 'desc' => __('The invoice number for this particular payment.', 'ultimate-multisite'), 'value' => $this->get_object()->get_saved_invoice_number(), 'wrapper_classes' => 'wu-w-full', 'wrapper_html_attr' => [ @@ -1160,7 +1160,7 @@ public function register_widgets(): void { */ public function get_title() { - return $this->edit ? __('Edit Payment', 'multisite-ultimate') : __('Add new Payment', 'multisite-ultimate'); + return $this->edit ? __('Edit Payment', 'ultimate-multisite') : __('Add new Payment', 'ultimate-multisite'); } /** @@ -1171,7 +1171,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Payment', 'multisite-ultimate'); + return __('Edit Payment', 'ultimate-multisite'); } /** @@ -1189,14 +1189,14 @@ public function action_links() { if ($payment) { $actions[] = [ 'url' => $payment->get_invoice_url(), - 'label' => __('Generate Invoice', 'multisite-ultimate'), + 'label' => __('Generate Invoice', 'ultimate-multisite'), 'icon' => 'wu-attachment', ]; if ($payment->is_payable()) { $actions[] = [ 'url' => $payment->get_payment_url(), - 'label' => __('Payment URL', 'multisite-ultimate'), + 'label' => __('Payment URL', 'ultimate-multisite'), 'icon' => 'wu-credit-card', ]; } @@ -1214,15 +1214,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Payment', 'multisite-ultimate'), - 'add_new_label' => __('Add new Payment', 'multisite-ultimate'), - 'updated_message' => __('Payment updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Payment Name', 'multisite-ultimate'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'multisite-ultimate'), - 'save_button_label' => __('Save Payment', 'multisite-ultimate'), + 'edit_label' => __('Edit Payment', 'ultimate-multisite'), + 'add_new_label' => __('Add new Payment', 'ultimate-multisite'), + 'updated_message' => __('Payment updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Payment Name', 'ultimate-multisite'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'ultimate-multisite'), + 'save_button_label' => __('Save Payment', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Payment', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Payment', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-payment-list-admin-page.php b/inc/admin-pages/class-payment-list-admin-page.php index 03ad876c1..862ff7004 100644 --- a/inc/admin-pages/class-payment-list-admin-page.php +++ b/inc/admin-pages/class-payment-list-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'model', - 'title' => __('Products', 'multisite-ultimate'), - 'placeholder' => __('Search Products...', 'multisite-ultimate'), - 'desc' => __('Each product will be added as a line item.', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), + 'placeholder' => __('Search Products...', 'ultimate-multisite'), + 'desc' => __('Each product will be added as a line item.', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -102,18 +102,18 @@ public function render_add_new_payment_modal(): void { ], 'status' => [ 'type' => 'select', - 'title' => __('Status', 'multisite-ultimate'), - 'placeholder' => __('Status', 'multisite-ultimate'), - 'desc' => __('The payment status to attach to the newly created payment.', 'multisite-ultimate'), + 'title' => __('Status', 'ultimate-multisite'), + 'placeholder' => __('Status', 'ultimate-multisite'), + 'desc' => __('The payment status to attach to the newly created payment.', 'ultimate-multisite'), 'value' => Payment_Status::COMPLETED, 'options' => Payment_Status::to_array(), 'tooltip' => '', ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Membership', 'multisite-ultimate'), - 'placeholder' => __('Search Membership...', 'multisite-ultimate'), - 'desc' => __('The membership associated with this payment.', 'multisite-ultimate'), + 'title' => __('Membership', 'ultimate-multisite'), + 'placeholder' => __('Search Membership...', 'ultimate-multisite'), + 'desc' => __('The membership associated with this payment.', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', 'html_attr' => [ @@ -126,13 +126,13 @@ public function render_add_new_payment_modal(): void { ], 'add_setup_fees' => [ 'type' => 'toggle', - 'title' => __('Include Setup Fees', 'multisite-ultimate'), - 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'multisite-ultimate'), + 'title' => __('Include Setup Fees', 'ultimate-multisite'), + 'desc' => __('Checking this box will include setup fees attached to the selected products as well.', 'ultimate-multisite'), 'value' => 1, ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add Payment', 'multisite-ultimate'), + 'title' => __('Add Payment', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -172,7 +172,7 @@ public function handle_add_new_payment_modal() { $membership = wu_get_membership(wu_request('membership_id')); if ( ! $membership) { - $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'multisite-ultimate')); + $error = new \WP_Error('invalid-membership', __('Invalid membership.', 'ultimate-multisite')); return wp_send_json_error($error); } @@ -228,8 +228,8 @@ public function register_widgets() {} public function get_labels() { return [ - 'deleted_message' => __('Payment removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Payment', 'multisite-ultimate'), + 'deleted_message' => __('Payment removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Payment', 'ultimate-multisite'), ]; } @@ -241,7 +241,7 @@ public function get_labels() { */ public function get_title() { - return __('Payments', 'multisite-ultimate'); + return __('Payments', 'ultimate-multisite'); } /** @@ -252,7 +252,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Payments', 'multisite-ultimate'); + return __('Payments', 'ultimate-multisite'); } /** @@ -263,7 +263,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Payments', 'multisite-ultimate'); + return __('Payments', 'ultimate-multisite'); } /** @@ -276,7 +276,7 @@ public function action_links() { return [ [ - 'label' => __('Add Payment', 'multisite-ultimate'), + 'label' => __('Add Payment', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_payment'), diff --git a/inc/admin-pages/class-placeholders-admin-page.php b/inc/admin-pages/class-placeholders-admin-page.php index 421130720..5b238628e 100644 --- a/inc/admin-pages/class-placeholders-admin-page.php +++ b/inc/admin-pages/class-placeholders-admin-page.php @@ -1,6 +1,6 @@ __('Placeholder', 'multisite-ultimate'), - 'content' => __('Content', 'multisite-ultimate'), + 'placeholder' => __('Placeholder', 'ultimate-multisite'), + 'content' => __('Content', 'ultimate-multisite'), ] ); @@ -138,9 +138,9 @@ public function register_scripts(): void { 'wu-edit-placeholders', 'wu_placeholdersl10n', [ - 'name' => __('Tax', 'multisite-ultimate'), - 'confirm_message' => __('Are you sure you want to delete this rows?', 'multisite-ultimate'), - 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'multisite-ultimate'), + 'name' => __('Tax', 'ultimate-multisite'), + 'confirm_message' => __('Are you sure you want to delete this rows?', 'ultimate-multisite'), + 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'ultimate-multisite'), ] ); diff --git a/inc/admin-pages/class-product-edit-admin-page.php b/inc/admin-pages/class-product-edit-admin-page.php index a1b0995d9..9b27f7140 100644 --- a/inc/admin-pages/class-product-edit-admin-page.php +++ b/inc/admin-pages/class-product-edit-admin-page.php @@ -1,6 +1,6 @@ 'new-product-warning', - 'title' => __('On adding a new product...', 'multisite-ultimate'), + 'title' => __('On adding a new product...', 'ultimate-multisite'), 'text' => [ - __("You just successfully added a new product to your Multisite Ultimate network and that's awesome!", 'multisite-ultimate'), - __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'multisite-ultimate'), - __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'multisite-ultimate'), + __("You just successfully added a new product to your Ultimate Multisite network and that's awesome!", 'ultimate-multisite'), + __('Keep in mind that newly created products do not appear automatically in your checkout forms.', 'ultimate-multisite'), + __('To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms.', 'ultimate-multisite'), ], 'buttons' => [ [ 'classes' => 'button wu-text-xs sm:wu-normal-case wu-float-left', - 'text' => __('Go to Checkout Forms', 'multisite-ultimate'), + 'text' => __('Go to Checkout Forms', 'ultimate-multisite'), 'url' => wu_network_admin_url('wp-ultimo-checkout-forms'), ], ], @@ -153,9 +153,9 @@ public function product_extra_delete_fields($fields, $product) { $custom_fields = [ 're_assignment_product_id' => [ 'type' => 'model', - 'title' => __('Re-assign Memberships to', 'multisite-ultimate'), - 'placeholder' => __('Select Product...', 'multisite-ultimate'), - 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'multisite-ultimate'), + 'title' => __('Re-assign Memberships to', 'ultimate-multisite'), + 'placeholder' => __('Select Product...', 'ultimate-multisite'), + 'tooltip' => __('The product you select here will be assigned to all the memberships attached to the product you are deleting.', 'ultimate-multisite'), 'html_attr' => [ 'data-model' => 'product', 'data-value-field' => 'id', @@ -225,14 +225,14 @@ public function register_widgets(): void { $this->add_fields_widget( 'description', [ - 'title' => __('Description', 'multisite-ultimate'), + 'title' => __('Description', 'ultimate-multisite'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Product Description', 'multisite-ultimate'), - 'placeholder' => __('Tell your customers what this product is about.', 'multisite-ultimate'), - 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'multisite-ultimate'), + 'title' => __('Product Description', 'ultimate-multisite'), + 'placeholder' => __('Tell your customers what this product is about.', 'ultimate-multisite'), + 'tooltip' => __('This description is made available for layouts and can be shown to end customers.', 'ultimate-multisite'), 'value' => $this->get_object()->get_description(), 'html_attr' => [ 'rows' => 3, @@ -245,7 +245,7 @@ public function register_widgets(): void { $this->add_tabs_widget( 'product_options', [ - 'title' => __('Product Options', 'multisite-ultimate'), + 'title' => __('Product Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => $this->get_product_option_sections(), ] @@ -259,7 +259,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -287,15 +287,15 @@ public function register_widgets(): void { // Fields for price 'pricing_type' => [ 'type' => 'select', - 'title' => __('Pricing Type', 'multisite-ultimate'), - 'placeholder' => __('Select Pricing Type', 'multisite-ultimate'), - 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'multisite-ultimate'), + 'title' => __('Pricing Type', 'ultimate-multisite'), + 'placeholder' => __('Select Pricing Type', 'ultimate-multisite'), + 'desc' => __('Products can be free, paid, or require further contact for pricing.', 'ultimate-multisite'), 'value' => $this->get_object()->get_pricing_type(), 'tooltip' => '', 'options' => [ - 'paid' => __('Paid', 'multisite-ultimate'), - 'free' => __('Free', 'multisite-ultimate'), - 'contact_us' => __('Contact Us', 'multisite-ultimate'), + 'paid' => __('Paid', 'ultimate-multisite'), + 'free' => __('Free', 'ultimate-multisite'), + 'contact_us' => __('Contact Us', 'ultimate-multisite'), ], 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -306,9 +306,9 @@ public function register_widgets(): void { ], 'contact_us_label' => [ 'type' => 'text', - 'title' => __('Button Label', 'multisite-ultimate'), - 'placeholder' => __('E.g. Contact us', 'multisite-ultimate'), - 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'multisite-ultimate'), + 'title' => __('Button Label', 'ultimate-multisite'), + 'placeholder' => __('E.g. Contact us', 'ultimate-multisite'), + 'desc' => __('This will be used on the pricing table CTA button, as the label.', 'ultimate-multisite'), 'value' => $this->get_object()->get_contact_us_label(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'contact_us'", @@ -317,9 +317,9 @@ public function register_widgets(): void { ], 'contact_us_link' => [ 'type' => 'url', - 'title' => __('Button Link', 'multisite-ultimate'), - 'placeholder' => __('E.g. https://contactus.page.com', 'multisite-ultimate'), - 'desc' => __('This will be used on the pricing table CTA button.', 'multisite-ultimate'), + 'title' => __('Button Link', 'ultimate-multisite'), + 'placeholder' => __('E.g. https://contactus.page.com', 'ultimate-multisite'), + 'desc' => __('This will be used on the pricing table CTA button.', 'ultimate-multisite'), 'value' => $this->get_object()->get_contact_us_link(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'contact_us'", @@ -328,8 +328,8 @@ public function register_widgets(): void { ], 'recurring' => [ 'type' => 'toggle', - 'title' => __('Is Recurring?', 'multisite-ultimate'), - 'desc' => __('Check this if this product has a recurring charge.', 'multisite-ultimate'), + 'title' => __('Is Recurring?', 'ultimate-multisite'), + 'desc' => __('Check this if this product has a recurring charge.', 'ultimate-multisite'), 'value' => $this->get_object()->is_recurring(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -347,8 +347,8 @@ public function register_widgets(): void { ], '_amount' => [ 'type' => 'text', - 'title' => __('Price', 'multisite-ultimate'), - 'placeholder' => __('Price', 'multisite-ultimate'), + 'title' => __('Price', 'ultimate-multisite'), + 'placeholder' => __('Price', 'ultimate-multisite'), 'value' => $this->get_object()->get_formatted_amount(), 'tooltip' => '', 'money' => true, @@ -363,9 +363,9 @@ public function register_widgets(): void { ], 'amount_group' => [ 'type' => 'group', - 'title' => __('Price', 'multisite-ultimate'), + 'title' => __('Price', 'ultimate-multisite'), // translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week) - 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'multisite-ultimate'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), + 'desc' => sprintf(__('The customer will be charged %1$s every %2$s %3$s(s).', 'ultimate-multisite'), '{{ wu_format_money(amount) }}', '{{ duration }}', '{{ duration_unit }}'), 'tooltip' => '', 'wrapper_html_attr' => [ 'v-show' => "is_recurring && pricing_type == 'paid'", @@ -403,19 +403,19 @@ public function register_widgets(): void { 'v-model' => 'duration_unit', ], 'options' => [ - 'day' => __('Days', 'multisite-ultimate'), - 'week' => __('Weeks', 'multisite-ultimate'), - 'month' => __('Months', 'multisite-ultimate'), - 'year' => __('Years', 'multisite-ultimate'), + 'day' => __('Days', 'ultimate-multisite'), + 'week' => __('Weeks', 'ultimate-multisite'), + 'month' => __('Months', 'ultimate-multisite'), + 'year' => __('Years', 'ultimate-multisite'), ], ], ], ], 'billing_cycles' => [ 'type' => 'number', - 'title' => __('Billing Cycles', 'multisite-ultimate'), - 'placeholder' => __('E.g. 1', 'multisite-ultimate'), - 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'multisite-ultimate'), + 'title' => __('Billing Cycles', 'ultimate-multisite'), + 'placeholder' => __('E.g. 1', 'ultimate-multisite'), + 'desc' => __('How many times should we bill this customer. Leave 0 to charge until cancelled.', 'ultimate-multisite'), 'value' => $this->get_object()->get_billing_cycles(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -425,8 +425,8 @@ public function register_widgets(): void { ], 'has_trial' => [ 'type' => 'toggle', - 'title' => __('Offer Trial', 'multisite-ultimate'), - 'desc' => __('Check if you want to add a trial period to this product.', 'multisite-ultimate'), + 'title' => __('Offer Trial', 'ultimate-multisite'), + 'desc' => __('Check if you want to add a trial period to this product.', 'ultimate-multisite'), 'value' => $this->get_object()->has_trial(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -438,7 +438,7 @@ public function register_widgets(): void { ], 'trial_group' => [ 'type' => 'group', - 'title' => __('Trial', 'multisite-ultimate'), + 'title' => __('Trial', 'ultimate-multisite'), 'tooltip' => '', 'wrapper_html_attr' => [ 'v-show' => "has_trial && pricing_type == 'paid'", @@ -457,18 +457,18 @@ public function register_widgets(): void { 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/3', 'options' => [ - 'day' => __('Days', 'multisite-ultimate'), - 'week' => __('Weeks', 'multisite-ultimate'), - 'month' => __('Months', 'multisite-ultimate'), - 'year' => __('Years', 'multisite-ultimate'), + 'day' => __('Days', 'ultimate-multisite'), + 'week' => __('Weeks', 'ultimate-multisite'), + 'month' => __('Months', 'ultimate-multisite'), + 'year' => __('Years', 'ultimate-multisite'), ], ], ], ], 'has_setup_fee' => [ 'type' => 'toggle', - 'title' => __('Add Setup Fee?', 'multisite-ultimate'), - 'desc' => __('Check if you want to add a setup fee.', 'multisite-ultimate'), + 'title' => __('Add Setup Fee?', 'ultimate-multisite'), + 'desc' => __('Check if you want to add a setup fee.', 'ultimate-multisite'), 'value' => $this->get_object()->has_setup_fee(), 'wrapper_html_attr' => [ 'v-show' => "pricing_type == 'paid'", @@ -487,10 +487,10 @@ public function register_widgets(): void { '_setup_fee' => [ 'type' => 'text', 'money' => true, - 'title' => __('Setup Fee', 'multisite-ultimate'), - 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'multisite-ultimate'), + 'title' => __('Setup Fee', 'ultimate-multisite'), + 'desc' => __('The setup fee will be added to the first charge, in addition to the regular price of the product.', 'ultimate-multisite'), // translators: %s is a price placeholder value. - 'placeholder' => sprintf(__('E.g. %s', 'multisite-ultimate'), wu_format_currency(199)), + 'placeholder' => sprintf(__('E.g. %s', 'ultimate-multisite'), wu_format_currency(199)), 'value' => $this->get_object()->get_formatted_amount('setup_fee'), 'wrapper_html_attr' => [ 'v-show' => "has_setup_fee && pricing_type == 'paid'", @@ -510,12 +510,12 @@ public function register_widgets(): void { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this product for new sign-ups.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -525,13 +525,13 @@ public function register_widgets(): void { $this->add_fields_widget( 'image', [ - 'title' => __('Product Image', 'multisite-ultimate'), + 'title' => __('Product Image', 'ultimate-multisite'), 'fields' => [ 'featured_image_id' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Product Image', 'multisite-ultimate'), - 'desc' => __('This image is used on product list tables and other places.', 'multisite-ultimate'), + 'title' => __('Product Image', 'ultimate-multisite'), + 'desc' => __('This image is used on product list tables and other places.', 'ultimate-multisite'), 'value' => $this->get_object()->get_featured_image_id(), 'img' => $this->get_object()->get_featured_image(), ], @@ -570,9 +570,9 @@ public function handle_legacy_options(): void { $fields = [ 'heading' => [ 'type' => 'header', - 'title' => __('Legacy Options', 'multisite-ultimate'), + 'title' => __('Legacy Options', 'ultimate-multisite'), // translators: %s is the comma-separated list of legacy add-ons. - 'desc' => sprintf(__('Options for %s, and others.', 'multisite-ultimate'), implode(', ', $tabs)), + 'desc' => sprintf(__('Options for %s, and others.', 'ultimate-multisite'), implode(', ', $tabs)), ], ]; @@ -592,7 +592,7 @@ public function handle_legacy_options(): void { $this->add_fields_widget( 'legacy-options', [ - 'title' => __('Legacy Options', 'multisite-ultimate'), + 'title' => __('Legacy Options', 'ultimate-multisite'), 'position' => 'normal', 'fields' => $fields, 'classes' => 'wu-legacy-options-panel', @@ -618,8 +618,8 @@ protected function get_product_option_sections() { $sections = [ 'general' => [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General product options such as product slug, type, etc.', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General product options such as product slug, type, etc.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-globe', 'state' => [ 'slug' => $this->get_object()->get_slug(), @@ -628,11 +628,11 @@ protected function get_product_option_sections() { 'fields' => [ 'slug' => [ 'type' => 'text', - 'title' => __('Product Slug', 'multisite-ultimate'), - 'placeholder' => __('e.g. premium', 'multisite-ultimate'), - 'desc' => __('This serves as a id to the product in a number of different contexts.', 'multisite-ultimate'), + 'title' => __('Product Slug', 'ultimate-multisite'), + 'placeholder' => __('e.g. premium', 'ultimate-multisite'), + 'desc' => __('This serves as a id to the product in a number of different contexts.', 'ultimate-multisite'), 'value' => $this->get_object()->get_slug(), - 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'multisite-ultimate'), + 'tooltip' => __('Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed.', 'ultimate-multisite'), 'html_attr' => [ 'v-on:input' => 'slug = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', 'v-bind:value' => 'slug', @@ -641,9 +641,9 @@ protected function get_product_option_sections() { // Fields for price 'type' => [ 'type' => 'select', - 'title' => __('Product Type', 'multisite-ultimate'), - 'placeholder' => __('Product Type', 'multisite-ultimate'), - 'desc' => __('Different product types have different options.', 'multisite-ultimate'), + 'title' => __('Product Type', 'ultimate-multisite'), + 'placeholder' => __('Product Type', 'ultimate-multisite'), + 'desc' => __('Different product types have different options.', 'ultimate-multisite'), 'value' => $this->get_object()->get_type(), 'tooltip' => '', 'options' => Product_Type::to_array(), @@ -652,8 +652,8 @@ protected function get_product_option_sections() { ], ], 'modules[customer_user_role][limit]' => [ - 'title' => __('Customer Role', 'multisite-ultimate'), - 'desc' => __('Select the role Multisite Ultimate should use when adding the user to their newly created site.', 'multisite-ultimate'), + 'title' => __('Customer Role', 'ultimate-multisite'), + 'desc' => __('Select the role Ultimate Multisite should use when adding the user to their newly created site.', 'ultimate-multisite'), 'type' => 'select', 'value' => $this->get_object()->get_customer_role(), 'default' => 'administrator', @@ -670,36 +670,36 @@ protected function get_product_option_sections() { $plans_as_options = wu_get_plans_as_options(); $sections['ups-and-downs'] = [ - 'title' => __('Up & Downgrades', 'multisite-ultimate'), - 'desc' => __('Settings related to upgrade and downgrade flows.', 'multisite-ultimate'), + 'title' => __('Up & Downgrades', 'ultimate-multisite'), + 'desc' => __('Settings related to upgrade and downgrade flows.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-shop', 'v-show' => 'product_type === "plan"', 'state' => [], 'fields' => [ 'group' => [ - 'title' => __('Plan Group', 'multisite-ultimate'), - 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'multisite-ultimate'), - 'placeholder' => __('Type and press enter to search and/or add.', 'multisite-ultimate'), + 'title' => __('Plan Group', 'ultimate-multisite'), + 'desc' => __('Add related plans to the same group to have them show up as upgrade/downgrade paths.', 'ultimate-multisite'), + 'placeholder' => __('Type and press enter to search and/or add.', 'ultimate-multisite'), 'type' => 'select', 'value' => $this->get_object()->get_group(), - 'options' => array_merge(['' => __('Select Group', 'multisite-ultimate')], wu_get_product_groups()), + 'options' => array_merge(['' => __('Select Group', 'ultimate-multisite')], wu_get_product_groups()), 'html_attr' => [ 'data-selectize-categories' => 999, 'data-max-items' => 1, ], ], 'list_order' => [ - 'title' => __('Product Order', 'multisite-ultimate'), - 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'multisite-ultimate'), - 'placeholder' => __('Type and press enter to search and/or add.', 'multisite-ultimate'), + 'title' => __('Product Order', 'ultimate-multisite'), + 'desc' => __('Plans are shown in the order determined by this parameter, from the lowest to the highest.', 'ultimate-multisite'), + 'placeholder' => __('Type and press enter to search and/or add.', 'ultimate-multisite'), 'type' => 'number', 'value' => $this->get_object()->get_list_order(), ], 'available_addons' => [ 'type' => 'model', - 'title' => __('Offer Add-ons', 'multisite-ultimate'), - 'placeholder' => __('Search for a package or service', 'multisite-ultimate'), - 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'multisite-ultimate'), + 'title' => __('Offer Add-ons', 'ultimate-multisite'), + 'placeholder' => __('Search for a package or service', 'ultimate-multisite'), + 'desc' => __('This products will be offered inside upgrade/downgrade forms as order bumps.', 'ultimate-multisite'), 'html_attr' => [ 'data-exclude' => implode(',', array_keys($plans_as_options)), 'data-model' => 'product', @@ -721,8 +721,8 @@ protected function get_product_option_sections() { ]; $sections['price-variations'] = [ - 'title' => __('Price Variations', 'multisite-ultimate'), - 'desc' => __('Discounts for longer membership commitments.', 'multisite-ultimate'), + 'title' => __('Price Variations', 'ultimate-multisite'), + 'desc' => __('Discounts for longer membership commitments.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-price-tag', 'state' => [ 'enable_price_variations' => ! empty($this->get_object()->get_price_variations()), @@ -731,8 +731,8 @@ protected function get_product_option_sections() { 'fields' => [ 'enable_price_variations' => [ 'type' => 'toggle', - 'title' => __('Enable Price Variations', 'multisite-ultimate'), - 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'multisite-ultimate'), + 'title' => __('Enable Price Variations', 'ultimate-multisite'), + 'desc' => __('Price Variations are an easy way to offer discounted prices for longer subscription commitments.', 'ultimate-multisite'), 'value' => false, 'html_attr' => [ 'v-model' => 'enable_price_variations', @@ -741,7 +741,7 @@ protected function get_product_option_sections() { 'price_variations' => [ 'type' => 'group', // translators: 1 is the price, 2 is the duration and 3 the duration unit - 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'multisite-ultimate'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'), + 'desc' => sprintf(__('A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period.', 'ultimate-multisite'), '{{ wu_format_money(price_variation.amount) }}', '{{ price_variation.duration }}', '{{ price_variation.duration_unit }}'), 'tooltip' => '', 'wrapper_classes' => 'wu-relative', 'wrapper_html_attr' => [ @@ -752,12 +752,12 @@ protected function get_product_option_sections() { 'fields' => [ 'price_variations_remove' => [ 'type' => 'note', - 'desc' => sprintf('', esc_html__('Remove', 'multisite-ultimate')), + 'desc' => sprintf('', esc_html__('Remove', 'ultimate-multisite')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'price_variations_duration' => [ 'type' => 'number', - 'title' => __('Duration', 'multisite-ultimate'), + 'title' => __('Duration', 'ultimate-multisite'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-1/3', 'min' => 1, @@ -769,7 +769,7 @@ protected function get_product_option_sections() { ], 'price_variations_duration_unit' => [ 'type' => 'select', - 'title' => __('Period', 'multisite-ultimate'), + 'title' => __('Period', 'ultimate-multisite'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-1/3 wu-mx-2', 'html_attr' => [ @@ -777,10 +777,10 @@ protected function get_product_option_sections() { 'v-bind:name' => '"price_variations[" + index + "][duration_unit]"', ], 'options' => [ - 'day' => __('Days', 'multisite-ultimate'), - 'week' => __('Weeks', 'multisite-ultimate'), - 'month' => __('Months', 'multisite-ultimate'), - 'year' => __('Years', 'multisite-ultimate'), + 'day' => __('Days', 'ultimate-multisite'), + 'week' => __('Weeks', 'ultimate-multisite'), + 'month' => __('Months', 'ultimate-multisite'), + 'year' => __('Years', 'ultimate-multisite'), ], ], // Bind the amount of the price variation to another field so we don't send the formatted value to the server. @@ -793,7 +793,7 @@ protected function get_product_option_sections() { ], '_price_variations_amount' => [ 'type' => 'text', - 'title' => __('New Price', 'multisite-ultimate'), + 'title' => __('New Price', 'ultimate-multisite'), 'placeholder' => wu_format_currency('99'), 'wrapper_classes' => 'wu-w-1/3', 'money' => true, @@ -806,7 +806,7 @@ protected function get_product_option_sections() { ], 'repeat' => [ 'type' => 'submit', - 'title' => __('Add new Price Variation', 'multisite-ultimate'), + 'title' => __('Add new Price Variation', 'ultimate-multisite'), 'classes' => 'button wu-self-end', 'wrapper_classes' => 'wu-bg-whiten wu-items-end', 'wrapper_html_attr' => [ @@ -825,8 +825,8 @@ protected function get_product_option_sections() { ]; $sections['taxes'] = [ - 'title' => __('Taxes', 'multisite-ultimate'), - 'desc' => __('Tax settings for your products.', 'multisite-ultimate'), + 'title' => __('Taxes', 'ultimate-multisite'), + 'desc' => __('Tax settings for your products.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-credit', 'state' => [ 'taxable' => $this->get_object()->is_taxable(), @@ -834,8 +834,8 @@ protected function get_product_option_sections() { 'fields' => [ 'taxable' => [ 'type' => 'toggle', - 'title' => __('Is Taxable?', 'multisite-ultimate'), - 'desc' => __('Enable this if you plan to collect taxes for this product.', 'multisite-ultimate'), + 'title' => __('Is Taxable?', 'ultimate-multisite'), + 'desc' => __('Enable this if you plan to collect taxes for this product.', 'ultimate-multisite'), 'value' => $this->get_object()->is_taxable(), 'html_attr' => [ 'v-model' => 'taxable', @@ -843,8 +843,8 @@ protected function get_product_option_sections() { ], 'tax_category' => [ 'type' => 'select', - 'title' => __('Tax Category', 'multisite-ultimate'), - 'desc' => __('Select the product tax category.', 'multisite-ultimate'), + 'title' => __('Tax Category', 'ultimate-multisite'), + 'desc' => __('Select the product tax category.', 'ultimate-multisite'), 'value' => $this->get_object()->get_tax_category(), 'options' => 'wu_get_tax_categories_as_options', 'wrapper_html_attr' => [ @@ -856,8 +856,8 @@ protected function get_product_option_sections() { ]; $sections['allowed_templates'] = [ - 'title' => __('Site Templates', 'multisite-ultimate'), - 'desc' => __('Limit which site templates are available for this particular template.', 'multisite-ultimate'), + 'title' => __('Site Templates', 'ultimate-multisite'), + 'desc' => __('Limit which site templates are available for this particular template.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-grid1 wu-align-text-bottom', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -868,8 +868,8 @@ protected function get_product_option_sections() { 'fields' => [ 'modules[site_templates][enabled]' => [ 'type' => 'toggle', - 'title' => __('Allow Site Templates', 'multisite-ultimate'), - 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'multisite-ultimate'), + 'title' => __('Allow Site Templates', 'ultimate-multisite'), + 'desc' => __('Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-cloak' => '1', ], @@ -879,15 +879,15 @@ protected function get_product_option_sections() { ], 'modules[site_templates][mode]' => [ 'type' => 'select', - 'title' => __('Site Template Selection Mode', 'multisite-ultimate'), - 'placeholder' => __('Site Template Selection Mode', 'multisite-ultimate'), - 'desc' => __('Select the type of limitation you want to apply.', 'multisite-ultimate'), - 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.

"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).

Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'multisite-ultimate'), + 'title' => __('Site Template Selection Mode', 'ultimate-multisite'), + 'placeholder' => __('Site Template Selection Mode', 'ultimate-multisite'), + 'desc' => __('Select the type of limitation you want to apply.', 'ultimate-multisite'), + 'tooltip' => __('"Default" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.

"Assign Site Template" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).

Finally, "Choose Available Site Templates", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default.', 'ultimate-multisite'), 'value' => 'default', 'options' => [ - 'default' => __('Default', 'multisite-ultimate'), - 'assign_template' => __('Assign Site Template', 'multisite-ultimate'), - 'choose_available_templates' => __('Choose Available Site Templates', 'multisite-ultimate'), + 'default' => __('Default', 'ultimate-multisite'), + 'assign_template' => __('Assign Site Template', 'ultimate-multisite'), + 'choose_available_templates' => __('Choose Available Site Templates', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'site_template_selection_mode', @@ -899,8 +899,8 @@ protected function get_product_option_sections() { ], 'templates' => [ 'type' => 'html', - 'title' => __('Site Templates', 'multisite-ultimate'), - 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'multisite-ultimate'), __('Customize the access level of each Site Template below.', 'multisite-ultimate'))), + 'title' => __('Site Templates', 'ultimate-multisite'), + 'desc' => esc_attr(sprintf('{{ site_template_selection_mode === "assign_template" ? "%s" : "%s" }}', __('Select the Site Template to assign.', 'ultimate-multisite'), __('Customize the access level of each Site Template below.', 'ultimate-multisite'))), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => "allow_site_templates && site_template_selection_mode !== 'default'", @@ -942,7 +942,7 @@ public function get_site_template_selection_list($product) { */ public function get_title() { - return $this->edit ? __('Edit Product', 'multisite-ultimate') : __('Add new Product', 'multisite-ultimate'); + return $this->edit ? __('Edit Product', 'ultimate-multisite') : __('Add new Product', 'ultimate-multisite'); } /** @@ -953,7 +953,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Product', 'multisite-ultimate'); + return __('Edit Product', 'ultimate-multisite'); } /** @@ -971,7 +971,7 @@ public function action_links() { $actions[] = [ 'url' => '#', - 'label' => __('Click to copy Shareable Link', 'multisite-ultimate'), + 'label' => __('Click to copy Shareable Link', 'ultimate-multisite'), 'icon' => 'wu-attachment', 'classes' => 'wu-copy', 'attrs' => 'data-clipboard-text="' . esc_attr($shareable_link) . '"', @@ -990,15 +990,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Product', 'multisite-ultimate'), - 'add_new_label' => __('Add new Product', 'multisite-ultimate'), - 'updated_message' => __('Product updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Product Name', 'multisite-ultimate'), - 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'multisite-ultimate'), - 'save_button_label' => __('Save Product', 'multisite-ultimate'), + 'edit_label' => __('Edit Product', 'ultimate-multisite'), + 'add_new_label' => __('Add new Product', 'ultimate-multisite'), + 'updated_message' => __('Product updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Product Name', 'ultimate-multisite'), + 'title_description' => __('This name will be used on pricing tables, invoices, and more.', 'ultimate-multisite'), + 'save_button_label' => __('Save Product', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Product', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Product', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-product-list-admin-page.php b/inc/admin-pages/class-product-list-admin-page.php index 972e1390b..6482df8fd 100644 --- a/inc/admin-pages/class-product-list-admin-page.php +++ b/inc/admin-pages/class-product-list-admin-page.php @@ -1,6 +1,6 @@ __('Product removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Product', 'multisite-ultimate'), + 'deleted_message' => __('Product removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Product', 'ultimate-multisite'), ]; } @@ -84,7 +84,7 @@ public function get_labels() { */ public function get_title() { - return __('Products', 'multisite-ultimate'); + return __('Products', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Products', 'multisite-ultimate'); + return __('Products', 'ultimate-multisite'); } /** @@ -106,7 +106,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Products', 'multisite-ultimate'); + return __('Products', 'ultimate-multisite'); } /** @@ -120,7 +120,7 @@ public function action_links() { return [ [ 'url' => wu_network_admin_url('wp-ultimo-edit-product'), - 'label' => __('Add Product', 'multisite-ultimate'), + 'label' => __('Add Product', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', ], ]; diff --git a/inc/admin-pages/class-settings-admin-page.php b/inc/admin-pages/class-settings-admin-page.php index 9df100cd7..e033c22f0 100644 --- a/inc/admin-pages/class-settings-admin-page.php +++ b/inc/admin-pages/class-settings-admin-page.php @@ -1,6 +1,6 @@ __('Checkout Forms', 'multisite-ultimate'), + 'title' => __('Checkout Forms', 'ultimate-multisite'), 'render' => [$this, 'render_checkout_forms_side_panel'], ] ); @@ -146,7 +146,7 @@ public function register_widgets(): void { wu_register_settings_side_panel( 'sites', [ - 'title' => __('Template Previewer', 'multisite-ultimate'), + 'title' => __('Template Previewer', 'ultimate-multisite'), 'render' => [$this, 'render_site_template_side_panel'], ] ); @@ -154,7 +154,7 @@ public function register_widgets(): void { wu_register_settings_side_panel( 'sites', [ - 'title' => __('Placeholder Editor', 'multisite-ultimate'), + 'title' => __('Placeholder Editor', 'ultimate-multisite'), 'render' => [$this, 'render_site_placeholders_side_panel'], ] ); @@ -162,7 +162,7 @@ public function register_widgets(): void { wu_register_settings_side_panel( 'payment-gateways', [ - 'title' => __('Invoices', 'multisite-ultimate'), + 'title' => __('Invoices', 'ultimate-multisite'), 'render' => [$this, 'render_invoice_side_panel'], ] ); @@ -170,7 +170,7 @@ public function register_widgets(): void { wu_register_settings_side_panel( 'emails', [ - 'title' => __('System Emails', 'multisite-ultimate'), + 'title' => __('System Emails', 'ultimate-multisite'), 'render' => [$this, 'render_system_emails_side_panel'], ] ); @@ -178,7 +178,7 @@ public function register_widgets(): void { wu_register_settings_side_panel( 'emails', [ - 'title' => __('Email Template', 'multisite-ultimate'), + 'title' => __('Email Template', 'ultimate-multisite'), 'render' => [$this, 'render_email_template_side_panel'], ] ); @@ -198,15 +198,15 @@ public function render_checkout_forms_side_panel(): void {
- +
- <?php esc_attr_e('Checkout Forms', 'multisite-ultimate'); ?> + <?php esc_attr_e('Checkout Forms', 'ultimate-multisite'); ?>

- +

@@ -215,7 +215,7 @@ public function render_checkout_forms_side_panel(): void { @@ -241,15 +241,15 @@ public function render_site_template_side_panel(): void {
- +
- <?php esc_attr_e('Customize the Template Previewer', 'multisite-ultimate'); ?> + <?php esc_attr_e('Customize the Template Previewer', 'ultimate-multisite'); ?>

- +

@@ -258,7 +258,7 @@ public function render_site_template_side_panel(): void { @@ -284,15 +284,15 @@ public function render_site_placeholders_side_panel(): void {
- +
- <?php esc_attr_e('Customize the Template Placeholders', 'multisite-ultimate'); ?> + <?php esc_attr_e('Customize the Template Placeholders', 'ultimate-multisite'); ?>

- +

@@ -301,7 +301,7 @@ public function render_site_placeholders_side_panel(): void { @@ -327,15 +327,15 @@ public function render_invoice_side_panel(): void {
- +
- <?php esc_attr_e('Customize the Invoice Template', 'multisite-ultimate'); ?> + <?php esc_attr_e('Customize the Invoice Template', 'ultimate-multisite'); ?>

- +

@@ -344,7 +344,7 @@ public function render_invoice_side_panel(): void { @@ -370,15 +370,15 @@ public function render_system_emails_side_panel(): void {
- +
- <?php esc_attr_e('Customize System Emails', 'multisite-ultimate'); ?> + <?php esc_attr_e('Customize System Emails', 'ultimate-multisite'); ?>

- +

@@ -387,7 +387,7 @@ public function render_system_emails_side_panel(): void { @@ -413,15 +413,15 @@ public function render_email_template_side_panel(): void {
- +
- <?php esc_attr_e('Customize Email Template', 'multisite-ultimate'); ?> + <?php esc_attr_e('Customize Email Template', 'ultimate-multisite'); ?>

- +

@@ -430,7 +430,7 @@ public function render_email_template_side_panel(): void { @@ -451,7 +451,7 @@ public function render_email_template_side_panel(): void { */ public function get_title() { - return __('Settings', 'multisite-ultimate'); + return __('Settings', 'ultimate-multisite'); } /** @@ -462,7 +462,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Settings', 'multisite-ultimate'); + return __('Settings', 'ultimate-multisite'); } /** @@ -519,7 +519,7 @@ public function get_sections() { public function default_handler(): void { if ( ! current_user_can('wu_edit_settings')) { - wp_die(esc_html__('You do not have the permissions required to change settings.', 'multisite-ultimate')); + wp_die(esc_html__('You do not have the permissions required to change settings.', 'ultimate-multisite')); } // Get all valid setting keys from sections @@ -579,7 +579,7 @@ public function default_view(): void { */ $fields['save'] = [ 'type' => 'submit', - 'title' => __('Save Settings', 'multisite-ultimate'), + 'title' => __('Save Settings', 'ultimate-multisite'), 'classes' => 'button button-primary button-large wu-ml-auto wu-w-full md:wu-w-auto', 'wrapper_classes' => 'wu-sticky wu-bottom-0 wu-save-button wu-mr-px wu-w-full md:wu-w-auto', 'html_attr' => [ diff --git a/inc/admin-pages/class-setup-wizard-admin-page.php b/inc/admin-pages/class-setup-wizard-admin-page.php index 8c9906e04..acec18f04 100644 --- a/inc/admin-pages/class-setup-wizard-admin-page.php +++ b/inc/admin-pages/class-setup-wizard-admin-page.php @@ -1,6 +1,6 @@ is_loaded() ? __('Multisite Ultimate Install', 'multisite-ultimate') : __('Multisite Ultimate', 'multisite-ultimate'); + return WP_Ultimo()->is_loaded() ? __('Ultimate Multisite Install', 'ultimate-multisite') : __('Ultimate Multisite', 'ultimate-multisite'); } /** @@ -317,22 +317,22 @@ public function get_sections() { $sections = [ 'welcome' => [ - 'title' => __('Welcome', 'multisite-ultimate'), + 'title' => __('Welcome', 'ultimate-multisite'), 'description' => implode( '

', [ - __('...and thanks for choosing Multisite Ultimate!', 'multisite-ultimate'), - __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous Multisite Ultimate versions if necessary.', 'multisite-ultimate'), - __('You will also have the option of importing default content. It should take 10 minutes or less!', 'multisite-ultimate'), + __('...and thanks for choosing Ultimate Multisite!', 'ultimate-multisite'), + __('This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous Ultimate Multisite versions if necessary.', 'ultimate-multisite'), + __('You will also have the option of importing default content. It should take 10 minutes or less!', 'ultimate-multisite'), ] ), - 'next_label' => __('Get Started →', 'multisite-ultimate'), + 'next_label' => __('Get Started →', 'ultimate-multisite'), 'back' => false, ], 'checks' => [ - 'title' => __('Pre-install Checks', 'multisite-ultimate'), - 'description' => __('Now it is time to see if this machine has what it takes to run Multisite Ultimate well!', 'multisite-ultimate'), - 'next_label' => Requirements::met() ? __('Go to the Next Step →', 'multisite-ultimate') : __('Check Again', 'multisite-ultimate'), + 'title' => __('Pre-install Checks', 'ultimate-multisite'), + 'description' => __('Now it is time to see if this machine has what it takes to run Ultimate Multisite well!', 'ultimate-multisite'), + 'next_label' => Requirements::met() ? __('Go to the Next Step →', 'ultimate-multisite') : __('Check Again', 'ultimate-multisite'), 'handler' => [$this, 'handle_checks'], 'back' => false, 'fields' => [ @@ -343,10 +343,11 @@ public function get_sections() { ], ], 'installation' => [ - 'title' => __('Installation', 'multisite-ultimate'), - 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of Multisite Ultimate.', 'multisite-ultimate'), - 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'multisite-ultimate') : __('Install', 'multisite-ultimate'), - 'fields' => [ + 'title' => __('Installation', 'ultimate-multisite'), + 'description' => __('Now, let\'s update your database and install the Sunrise.php file, which are necessary for the correct functioning of Ultimate Multisite.', 'ultimate-multisite'), + 'next_label' => Core_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'ultimate-multisite') : __('Install', 'ultimate-multisite'), + 'disable_next' => true, + 'fields' => [ 'terms' => [ 'type' => 'note', 'desc' => fn() => $this->render_installation_steps(Core_Installer::get_instance()->get_steps(), false), @@ -367,14 +368,14 @@ public function get_sections() { $back_traces = Migrator::get_instance()->get_back_traces(); - $next_label = __('Migrate!', 'multisite-ultimate'); + $next_label = __('Migrate!', 'ultimate-multisite'); - $description = __('No errors found during dry run! Now it is time to actually migrate!

We strongly recommend creating a backup of your database before moving forward with the migration.', 'multisite-ultimate'); + $description = __('No errors found during dry run! Now it is time to actually migrate!

We strongly recommend creating a backup of your database before moving forward with the migration.', 'ultimate-multisite'); if ($dry_run) { - $next_label = __('Run Check', 'multisite-ultimate'); + $next_label = __('Run Check', 'ultimate-multisite'); - $description = __('It seems that you were running Multisite Ultimate 1.X on this network. This migrator will convert the data from the old version to the new one.', 'multisite-ultimate') . '

' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'multisite-ultimate'); + $description = __('It seems that you were running Ultimate Multisite 1.X on this network. This migrator will convert the data from the old version to the new one.', 'ultimate-multisite') . '

' . __('First, let\'s run a test migration to see if we can spot any potential errors.', 'ultimate-multisite'); } $fields = [ @@ -401,17 +402,17 @@ public function get_sections() { $message = implode(PHP_EOL . PHP_EOL, $message_lines); - $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'multisite-ultimate'); + $description = __('The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2.', 'ultimate-multisite'); $next = true; - $next_label = __('Try Again!', 'multisite-ultimate'); + $next_label = __('Try Again!', 'ultimate-multisite'); - $error_list = '' . __('List of errors detected:', 'multisite-ultimate') . '

'; + $error_list = '' . __('List of errors detected:', 'ultimate-multisite') . '

'; $errors[] = sprintf( '
%1$s', - __('Download migration error log', 'multisite-ultimate'), + __('Download migration error log', 'ultimate-multisite'), add_query_arg( [ 'action' => 'download_migration_logs', @@ -423,7 +424,7 @@ public function get_sections() { $errors[] = sprintf( '
%1$s', - __('Rollback to version 1.10.13', 'multisite-ultimate'), + __('Rollback to version 1.10.13', 'ultimate-multisite'), add_query_arg( [ 'page' => 'wp-ultimo-rollback', @@ -455,7 +456,7 @@ public function get_sections() { } $sections['migration'] = [ - 'title' => __('Migration', 'multisite-ultimate'), + 'title' => __('Migration', 'ultimate-multisite'), 'description' => $description, 'next_label' => $next_label, 'skip' => false, @@ -465,17 +466,18 @@ public function get_sections() { ]; } else { $sections['your-company'] = [ - 'title' => __('Your Company', 'multisite-ultimate'), - 'description' => __('Before we move on, let\'s configure the basic settings of your network, shall we?', 'multisite-ultimate'), + 'title' => __('Your Company', 'ultimate-multisite'), + 'description' => __('Before we move on, let\'s configure the basic settings of your network, shall we?', 'ultimate-multisite'), 'handler' => [$this, 'handle_save_settings'], 'fields' => [$this, 'get_general_settings'], ]; $sections['defaults'] = [ - 'title' => __('Default Content', 'multisite-ultimate'), - 'description' => __('Starting from scratch can be scarry, specially when first starting out. In this step, you can create default content to have a starting point for your network. Everything can be customized later.', 'multisite-ultimate'), - 'next_label' => Default_Content_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'multisite-ultimate') : __('Install', 'multisite-ultimate'), - 'fields' => [ + 'title' => __('Default Content', 'ultimate-multisite'), + 'description' => __('Starting from scratch can be scarry, specially when first starting out. In this step, you can create default content to have a starting point for your network. Everything can be customized later.', 'ultimate-multisite'), + 'next_label' => Default_Content_Installer::get_instance()->all_done() ? __('Go to the Next Step →', 'ultimate-multisite') : __('Install', 'ultimate-multisite'), + 'disable_next' => true, + 'fields' => [ 'terms' => [ 'type' => 'note', 'desc' => fn() => $this->render_installation_steps(Default_Content_Installer::get_instance()->get_steps()), @@ -485,7 +487,7 @@ public function get_sections() { } $sections['done'] = [ - 'title' => __('Ready!', 'multisite-ultimate'), + 'title' => __('Ready!', 'ultimate-multisite'), 'view' => [$this, 'section_ready'], ]; @@ -583,7 +585,7 @@ public function render_installation_steps($steps, $checks = true) { 'wu_setup_settings', [ 'dry_run' => wu_request('dry-run', true), - 'generic_error_message' => __('A server error happened while processing this item.', 'multisite-ultimate'), + 'generic_error_message' => __('A server error happened while processing this item.', 'ultimate-multisite'), ] ); @@ -622,7 +624,7 @@ public function renders_requirements_table() { $requirements = [ 'php' => [ - 'name' => __('PHP', 'multisite-ultimate'), + 'name' => __('PHP', 'ultimate-multisite'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), 'required_version' => Requirements::$php_version, 'recommended_version' => Requirements::$php_recommended_version, @@ -631,7 +633,7 @@ public function renders_requirements_table() { 'pass_recommendation' => version_compare(phpversion(), Requirements::$php_recommended_version, '>='), ], 'wordpress' => [ - 'name' => __('WordPress', 'multisite-ultimate'), + 'name' => __('WordPress', 'ultimate-multisite'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), 'required_version' => Requirements::$wp_version, 'recommended_version' => Requirements::$wp_recommended_version, @@ -643,21 +645,21 @@ public function renders_requirements_table() { $plugin_requirements = [ 'multisite' => [ - 'name' => __('WordPress Multisite', 'multisite-ultimate'), + 'name' => __('WordPress Multisite', 'ultimate-multisite'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => __('Installed & Activated', 'multisite-ultimate'), + 'condition' => __('Installed & Activated', 'ultimate-multisite'), 'pass_requirements' => is_multisite(), ], 'wp-ultimo' => [ - 'name' => __('Multisite Ultimate', 'multisite-ultimate'), + 'name' => __('Ultimate Multisite', 'ultimate-multisite'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => apply_filters('wp_ultimo_skip_network_active_check', false) ? __('Bypassed via filter', 'multisite-ultimate') : __('Network Activated', 'multisite-ultimate'), + 'condition' => apply_filters('wp_ultimo_skip_network_active_check', false) ? __('Bypassed via filter', 'ultimate-multisite') : __('Network Activated', 'ultimate-multisite'), 'pass_requirements' => Requirements::is_network_active(), ], 'wp-cron' => [ - 'name' => __('WordPress Cron', 'multisite-ultimate'), + 'name' => __('WordPress Cron', 'ultimate-multisite'), 'help' => wu_get_documentation_url('wp-ultimo-requirements'), - 'condition' => __('Activated', 'multisite-ultimate'), + 'condition' => __('Activated', 'ultimate-multisite'), 'pass_requirements' => Requirements::check_wp_cron(), ], ]; @@ -747,14 +749,14 @@ public function alert_incomplete_installation(): void { if (! defined('SUNRISE') || ! SUNRISE) { $message = sprintf(__('The SUNRISE constant is missing. Domain mapping and plugin/theme limits will not function until `%s` is added to wp-config.php. Please complete the setup to attempt to do this automatically.'), 'define( SUNRISE, \'1\' );'); } else { - $message = __('Multisite Ultimate installation is incomplete. The sunrise.php file is missing. Please complete the setup to ensure proper functionality.', 'multisite-ultimate'); + $message = __('Ultimate Multisite installation is incomplete. The sunrise.php file is missing. Please complete the setup to ensure proper functionality.', 'ultimate-multisite'); } $actions = [ 'complete_setup' => [ - 'title' => __('Complete Setup', 'multisite-ultimate'), + 'title' => __('Complete Setup', 'ultimate-multisite'), 'url' => wu_network_admin_url('wp-ultimo-setup'), ], ]; @@ -838,7 +840,7 @@ public function section_test(): void { } /** - * Adds the necessary missing scripts if Multisite Ultimate was not loaded. + * Adds the necessary missing scripts if Ultimate Multisite was not loaded. * * @since 2.0.0 * @return void @@ -870,8 +872,8 @@ public function register_scripts(): void { 'wu_fields', [ 'l10n' => [ - 'image_picker_title' => __('Select an Image.', 'multisite-ultimate'), - 'image_picker_button_text' => __('Use this image', 'multisite-ultimate'), + 'image_picker_title' => __('Select an Image.', 'ultimate-multisite'), + 'image_picker_button_text' => __('Use this image', 'ultimate-multisite'), ], ] ); diff --git a/inc/admin-pages/class-shortcodes-admin-page.php b/inc/admin-pages/class-shortcodes-admin-page.php index f1a413c11..e29466751 100644 --- a/inc/admin-pages/class-shortcodes-admin-page.php +++ b/inc/admin-pages/class-shortcodes-admin-page.php @@ -1,6 +1,6 @@ 'new-site-template-warning', - 'title' => __('On adding a new Site Template...', 'multisite-ultimate'), + 'title' => __('On adding a new Site Template...', 'ultimate-multisite'), 'text' => [ - __("You just successfully added a new site template to your Multisite Ultimate network and that's awesome!", 'multisite-ultimate'), - __('Keep in mind that newly created site templates do not appear automatically in your checkout forms.', 'multisite-ultimate'), - __('To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms.', 'multisite-ultimate'), + __("You just successfully added a new site template to your Ultimate Multisite network and that's awesome!", 'ultimate-multisite'), + __('Keep in mind that newly created site templates do not appear automatically in your checkout forms.', 'ultimate-multisite'), + __('To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms.', 'ultimate-multisite'), ], 'buttons' => [ [ 'classes' => 'button wu-text-xs sm:wu-normal-case wu-float-left', - 'text' => __('Go to Checkout Forms', 'multisite-ultimate'), + 'text' => __('Go to Checkout Forms', 'ultimate-multisite'), 'url' => wu_network_admin_url('wp-ultimo-checkout-forms'), ], ], @@ -192,16 +192,16 @@ public function render_transfer_site_modal(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Transfer', 'multisite-ultimate'), - 'desc' => __('This will start the transfer of assets from one membership to another.', 'multisite-ultimate'), + 'title' => __('Confirm Transfer', 'ultimate-multisite'), + 'desc' => __('This will start the transfer of assets from one membership to another.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Start Transfer', 'multisite-ultimate'), - 'placeholder' => __('Start Transfer', 'multisite-ultimate'), + 'title' => __('Start Transfer', 'ultimate-multisite'), + 'placeholder' => __('Start Transfer', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -257,11 +257,11 @@ public function handle_transfer_site_modal(): void { $target_membership = wu_get_membership(wu_request('target_membership_id')); if ( ! $site) { - wp_send_json_error(new \WP_Error('not-found', __('Site not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Site not found.', 'ultimate-multisite'))); } if ( ! $target_membership) { - wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Membership not found.', 'ultimate-multisite'))); } $site->set_membership_id($target_membership->get_id()); @@ -308,7 +308,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'at_a_glance', [ - 'title' => __('At a Glance', 'multisite-ultimate'), + 'title' => __('At a Glance', 'ultimate-multisite'), 'position' => 'normal', 'classes' => 'wu-overflow-hidden wu-m-0 wu--mt-1 wu--mx-3 wu--mb-3', 'field_wrapper_classes' => 'wu-w-1/4 wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t-0 wu-border-l-0 wu-border-r wu-border-b-0 wu-border-gray-300 wu-border-solid wu-float-left wu-relative', @@ -318,14 +318,14 @@ public function register_widgets(): void { 'fields' => [ 'type' => [ 'type' => 'text-display', - 'title' => __('Site Type', 'multisite-ultimate'), + 'title' => __('Site Type', 'ultimate-multisite'), 'display_value' => $tag, 'tooltip' => '', ], 'id' => [ 'type' => 'text-display', 'copy' => true, - 'title' => __('Site ID', 'multisite-ultimate'), + 'title' => __('Site ID', 'ultimate-multisite'), 'display_value' => $this->get_object()->get_id(), 'tooltip' => '', ], @@ -336,13 +336,13 @@ public function register_widgets(): void { $this->add_fields_widget( 'description', [ - 'title' => __('Description', 'multisite-ultimate'), + 'title' => __('Description', 'ultimate-multisite'), 'position' => 'normal', 'fields' => [ 'description' => [ 'type' => 'textarea', - 'title' => __('Site Description', 'multisite-ultimate'), - 'placeholder' => __('Tell your customers what this site is about.', 'multisite-ultimate'), + 'title' => __('Site Description', 'ultimate-multisite'), + 'placeholder' => __('Tell your customers what this site is about.', 'ultimate-multisite'), 'value' => $this->get_object()->get_option_blogdescription(), 'html_attr' => [ 'rows' => 3, @@ -355,7 +355,7 @@ public function register_widgets(): void { $this->add_tabs_widget( 'options', [ - 'title' => __('Site Options', 'multisite-ultimate'), + 'title' => __('Site Options', 'ultimate-multisite'), 'position' => 'normal', 'sections' => $this->get_site_option_sections(), ] @@ -364,7 +364,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'domains', [ - 'title' => __('Mapped Domains', 'multisite-ultimate'), + 'title' => __('Mapped Domains', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Sites_Domain_List_Table(), 'query_filter' => [$this, 'domain_query_filter'], ] @@ -374,7 +374,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'membership', [ - 'title' => __('Linked Membership', 'multisite-ultimate'), + 'title' => __('Linked Membership', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Customers_Membership_List_Table(), 'query_filter' => function ($query) { @@ -388,7 +388,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'customer', [ - 'title' => __('Linked Customer', 'multisite-ultimate'), + 'title' => __('Linked Customer', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Site_Customer_List_Table(), 'query_filter' => function ($query) { @@ -403,7 +403,7 @@ public function register_widgets(): void { $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -429,9 +429,9 @@ public function register_widgets(): void { // Fields for price 'type_main' => [ 'type' => 'text-display', - 'title' => __('Site Type', 'multisite-ultimate'), - 'display_value' => __('Main Site', 'multisite-ultimate'), - 'tooltip' => __('You can\'t change the main site type.', 'multisite-ultimate'), + 'title' => __('Site Type', 'ultimate-multisite'), + 'display_value' => __('Main Site', 'ultimate-multisite'), + 'tooltip' => __('You can\'t change the main site type.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => 'type === "main"', @@ -439,15 +439,15 @@ public function register_widgets(): void { ], 'type' => [ 'type' => 'select', - 'title' => __('Site Type', 'multisite-ultimate'), - 'placeholder' => __('Select Site Type', 'multisite-ultimate'), - 'desc' => __('Different site types have different options and settings.', 'multisite-ultimate'), + 'title' => __('Site Type', 'ultimate-multisite'), + 'placeholder' => __('Select Site Type', 'ultimate-multisite'), + 'desc' => __('Different site types have different options and settings.', 'ultimate-multisite'), 'value' => $this->get_object()->get_type(), 'tooltip' => '', 'options' => [ - 'default' => __('Regular WordPress', 'multisite-ultimate'), - 'site_template' => __('Site Template', 'multisite-ultimate'), - 'customer_owned' => __('Customer-owned', 'multisite-ultimate'), + 'default' => __('Regular WordPress', 'ultimate-multisite'), + 'site_template' => __('Site Template', 'ultimate-multisite'), + 'customer_owned' => __('Customer-owned', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'type', @@ -459,9 +459,9 @@ public function register_widgets(): void { ], 'categories' => [ 'type' => 'select', - 'title' => __('Template Categories', 'multisite-ultimate'), - 'placeholder' => __('e.g.: Landing Page, Health...', 'multisite-ultimate'), - 'desc' => __('Customers will be able to filter by categories during signup.', 'multisite-ultimate'), + 'title' => __('Template Categories', 'ultimate-multisite'), + 'placeholder' => __('e.g.: Landing Page, Health...', 'ultimate-multisite'), + 'desc' => __('Customers will be able to filter by categories during signup.', 'ultimate-multisite'), 'value' => $this->get_object()->get_categories(), 'options' => Site::get_all_categories(), 'html_attr' => [ @@ -475,9 +475,9 @@ public function register_widgets(): void { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Associated Membership', 'multisite-ultimate'), - 'placeholder' => __('Search Membership...', 'multisite-ultimate'), - 'desc' => __('The membership that owns this site.', 'multisite-ultimate'), + 'title' => __('Associated Membership', 'ultimate-multisite'), + 'placeholder' => __('Search Membership...', 'ultimate-multisite'), + 'desc' => __('The membership that owns this site.', 'ultimate-multisite'), 'value' => $this->get_object()->get_membership_id(), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -495,7 +495,7 @@ public function register_widgets(): void { ], 'transfer_note' => [ 'type' => 'note', - 'desc' => __('Changing the membership will transfer the site and all its assets to the new membership.', 'multisite-ultimate'), + 'desc' => __('Changing the membership will transfer the site and all its assets to the new membership.', 'ultimate-multisite'), 'classes' => 'wu-p-2 wu-bg-red-100 wu-text-red-600 wu-rounded wu-w-full', 'wrapper_html_attr' => [ 'v-show' => '(original_membership_id != membership_id) && membership_id', @@ -504,8 +504,8 @@ public function register_widgets(): void { ], 'submit_save' => [ 'type' => 'submit', - 'title' => __('Save Site', 'multisite-ultimate'), - 'placeholder' => __('Save Site', 'multisite-ultimate'), + 'title' => __('Save Site', 'ultimate-multisite'), + 'placeholder' => __('Save Site', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_html_attr' => [ @@ -515,7 +515,7 @@ public function register_widgets(): void { ], 'transfer' => [ 'type' => 'link', - 'display_value' => __('Transfer Site', 'multisite-ultimate'), + 'display_value' => __('Transfer Site', 'ultimate-multisite'), 'wrapper_classes' => 'wu-bg-gray-200', 'classes' => 'button wubox wu-w-full wu-text-center', 'wrapper_html_attr' => [ @@ -530,7 +530,7 @@ public function register_widgets(): void { 'target_membership_id' => '', ] ) . "=' + membership_id", - 'title' => __('Transfer Site', 'multisite-ultimate'), + 'title' => __('Transfer Site', 'ultimate-multisite'), ], ], ], @@ -540,12 +540,12 @@ public function register_widgets(): void { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this site.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this site.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -555,19 +555,19 @@ public function register_widgets(): void { $this->add_fields_widget( 'image', [ - 'title' => __('Site Image', 'multisite-ultimate'), + 'title' => __('Site Image', 'ultimate-multisite'), 'fields' => [ 'featured_image_id' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Site Image', 'multisite-ultimate'), - 'desc' => __('This image is used on lists of sites and other places. It can be automatically generated by the screenshot scraper.', 'multisite-ultimate'), + 'title' => __('Site Image', 'ultimate-multisite'), + 'desc' => __('This image is used on lists of sites and other places. It can be automatically generated by the screenshot scraper.', 'ultimate-multisite'), 'value' => $this->get_object()->get_featured_image_id(), 'img' => $this->get_object()->get_featured_image(), ], 'scraper_note' => [ 'type' => 'note', - 'desc' => __('You need to save the site for the change to take effect.', 'multisite-ultimate'), + 'desc' => __('You need to save the site for the change to take effect.', 'ultimate-multisite'), 'wrapper_classes' => 'wu-hidden wu-scraper-note', ], 'scraper_error' => [ @@ -577,12 +577,12 @@ public function register_widgets(): void { ], 'scraper_message' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('We detected that this network might be running locally. If that\'s the case, Multisite Ultimate will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('We detected that this network might be running locally. If that\'s the case, Ultimate Multisite will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work.', 'ultimate-multisite')), 'wrapper_classes' => \WP_Ultimo\Domain_Mapping\Helper::is_development_mode() ? '' : 'wu-hidden', ], 'scraper' => [ 'type' => 'submit', - 'title' => __('Take Screenshot', 'multisite-ultimate'), + 'title' => __('Take Screenshot', 'ultimate-multisite'), 'classes' => 'button wu-w-full', ], ], @@ -617,7 +617,7 @@ protected function get_site_option_sections() { */ public function get_title() { - return $this->edit ? __('Edit Site', 'multisite-ultimate') : __('Add new Site', 'multisite-ultimate'); + return $this->edit ? __('Edit Site', 'ultimate-multisite') : __('Add new Site', 'ultimate-multisite'); } /** @@ -628,7 +628,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Site', 'multisite-ultimate'); + return __('Edit Site', 'ultimate-multisite'); } /** @@ -642,17 +642,17 @@ public function action_links() { return [ [ 'url' => network_admin_url('site-settings.php?id=' . $this->get_object()->get_id()), - 'label' => __('Go to the Default Edit Screen', 'multisite-ultimate'), + 'label' => __('Go to the Default Edit Screen', 'ultimate-multisite'), 'icon' => 'wu-cog', ], [ 'url' => get_site_url($this->get_object()->get_id()), - 'label' => __('Visit Site', 'multisite-ultimate'), + 'label' => __('Visit Site', 'ultimate-multisite'), 'icon' => 'wu-link', ], [ 'url' => get_admin_url($this->get_object()->get_id()), - 'label' => __('Dashboard', 'multisite-ultimate'), + 'label' => __('Dashboard', 'ultimate-multisite'), 'icon' => 'dashboard', ], ]; @@ -667,15 +667,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Site', 'multisite-ultimate'), - 'add_new_label' => __('Add new Site', 'multisite-ultimate'), - 'updated_message' => __('Site updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Site Name', 'multisite-ultimate'), - 'title_description' => __('This name will be used as the site title.', 'multisite-ultimate'), - 'save_button_label' => __('Save Site', 'multisite-ultimate'), + 'edit_label' => __('Edit Site', 'ultimate-multisite'), + 'add_new_label' => __('Add new Site', 'ultimate-multisite'), + 'updated_message' => __('Site updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Site Name', 'ultimate-multisite'), + 'title_description' => __('This name will be used as the site title.', 'ultimate-multisite'), + 'save_button_label' => __('Save Site', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Site', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Site', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-site-list-admin-page.php b/inc/admin-pages/class-site-list-admin-page.php index db944a83e..91ff06e05 100644 --- a/inc/admin-pages/class-site-list-admin-page.php +++ b/inc/admin-pages/class-site-list-admin-page.php @@ -1,6 +1,6 @@ [ 'type' => 'toggle', - 'title' => __('Confirm Publication', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Publication', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Publish', 'multisite-ultimate'), - 'placeholder' => __('Publish', 'multisite-ultimate'), + 'title' => __('Publish', 'ultimate-multisite'), + 'placeholder' => __('Publish', 'ultimate-multisite'), 'value' => 'publish', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -189,13 +189,13 @@ public function handle_publish_pending_site_modal(): void { $membership = wu_get_membership(wu_request('membership_id')); if ( ! $membership) { - wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'ultimate-multisite'))); } $pending_site = $membership->get_pending_site(); if ( ! is_a($pending_site, '\\WP_Ultimo\\Models\\Site')) { - wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Pending site not found.', 'ultimate-multisite'))); } $pending_site->set_type('customer_owned'); @@ -267,7 +267,7 @@ public function handle_add_new_site_modal() { } if ($site->get_blog_id() === false) { - $error = new \WP_Error('error', __('Something wrong happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('Something wrong happened.', 'ultimate-multisite')); return wp_send_json_error($error); } @@ -314,19 +314,19 @@ public function render_add_new_site_modal(): void { if ($duplicate_id && $site) { // translators: the %s is the thing copied. - $title = sprintf(__('Copy of %s', 'multisite-ultimate'), $site->get_title()); + $title = sprintf(__('Copy of %s', 'ultimate-multisite'), $site->get_title()); $path = sprintf('%s%s', trim($site->get_path(), '/'), 'copy'); $type = $site->get_type(); $template_id = $duplicate_id; $membership_id = $site->get_membership_id(); } - $save_label = $duplicate_id ? __('Duplicate Site', 'multisite-ultimate') : __('Add new Site', 'multisite-ultimate'); + $save_label = $duplicate_id ? __('Duplicate Site', 'ultimate-multisite') : __('Add new Site', 'ultimate-multisite'); $options = [ - 'sub-domain' => __('Subdomain', 'multisite-ultimate'), - 'sub-directory' => __('Subdirectory', 'multisite-ultimate'), - 'domain' => __('Domain', 'multisite-ultimate'), + 'sub-domain' => __('Subdomain', 'ultimate-multisite'), + 'sub-directory' => __('Subdirectory', 'ultimate-multisite'), + 'domain' => __('Domain', 'ultimate-multisite'), ]; /* @@ -351,19 +351,19 @@ public function render_add_new_site_modal(): void { ], 'title' => [ 'type' => 'text', - 'title' => __('Site Title', 'multisite-ultimate'), - 'placeholder' => __('New Network Site', 'multisite-ultimate'), + 'title' => __('Site Title', 'ultimate-multisite'), + 'placeholder' => __('New Network Site', 'ultimate-multisite'), 'value' => $title, ], 'domain_group' => [ 'type' => 'group', // translators: the %s is the site preview url. - 'desc' => sprintf(__('The site URL will be: %s', 'multisite-ultimate'), '{{ tab === "domain" ? domain : ( tab === "sub-directory" ? scheme + base_url + domain : scheme + domain + "." + base_url ) }}'), + 'desc' => sprintf(__('The site URL will be: %s', 'ultimate-multisite'), '{{ tab === "domain" ? domain : ( tab === "sub-directory" ? scheme + base_url + domain : scheme + domain + "." + base_url ) }}'), 'fields' => [ 'domain' => [ 'type' => 'text', - 'title' => __('Site Domain/Path', 'multisite-ultimate'), - 'tooltip' => __('Enter the complete domain for the site', 'multisite-ultimate'), + 'title' => __('Site Domain/Path', 'ultimate-multisite'), + 'tooltip' => __('Enter the complete domain for the site', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ 'v-bind:placeholder' => 'tab === "domain" ? "mysite.com" : "mysite"', @@ -375,13 +375,13 @@ public function render_add_new_site_modal(): void { ], 'type' => [ 'type' => 'select', - 'title' => __('Site Type', 'multisite-ultimate'), + 'title' => __('Site Type', 'ultimate-multisite'), 'value' => $type, 'placeholder' => '', 'options' => [ - 'default' => __('Regular WP Site', 'multisite-ultimate'), - 'site_template' => __('Site Template', 'multisite-ultimate'), - 'customer_owned' => __('Customer-Owned', 'multisite-ultimate'), + 'default' => __('Regular WP Site', 'ultimate-multisite'), + 'site_template' => __('Site Template', 'ultimate-multisite'), + 'customer_owned' => __('Customer-Owned', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'type', @@ -389,8 +389,8 @@ public function render_add_new_site_modal(): void { ], 'membership_id' => [ 'type' => 'model', - 'title' => __('Associated Membership', 'multisite-ultimate'), - 'placeholder' => __('Search Membership...', 'multisite-ultimate'), + 'title' => __('Associated Membership', 'ultimate-multisite'), + 'placeholder' => __('Search Membership...', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', 'wrapper_html_attr' => [ @@ -406,17 +406,17 @@ public function render_add_new_site_modal(): void { ], 'copy' => [ 'type' => 'toggle', - 'title' => __('Copy Site', 'multisite-ultimate'), - 'desc' => __('Select an existing site to use as a starting point.', 'multisite-ultimate'), + 'title' => __('Copy Site', 'ultimate-multisite'), + 'desc' => __('Select an existing site to use as a starting point.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'copy', ], ], 'template_site' => [ 'type' => 'model', - 'title' => __('Template Site', 'multisite-ultimate'), - 'placeholder' => __('Search Sites...', 'multisite-ultimate'), - 'desc' => __('The site selected will be copied and used as a starting point.', 'multisite-ultimate'), + 'title' => __('Template Site', 'ultimate-multisite'), + 'placeholder' => __('Search Sites...', 'ultimate-multisite'), + 'desc' => __('The site selected will be copied and used as a starting point.', 'ultimate-multisite'), 'value' => $template_id, 'html_attr' => [ 'data-model' => 'site', @@ -432,8 +432,8 @@ public function render_add_new_site_modal(): void { ], 'copy_media' => [ 'type' => 'toggle', - 'title' => __('Copy Media on Duplication', 'multisite-ultimate'), - 'desc' => __('Copy media files from the template site on duplication. Disabling this can lead to broken images on the new site.', 'multisite-ultimate'), + 'title' => __('Copy Media on Duplication', 'ultimate-multisite'), + 'desc' => __('Copy media files from the template site on duplication. Disabling this can lead to broken images on the new site.', 'ultimate-multisite'), 'value' => true, 'wrapper_html_attr' => [ 'v-show' => 'copy', @@ -503,8 +503,8 @@ public function register_widgets() {} public function get_labels() { return [ - 'deleted_message' => __('Site removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Site', 'multisite-ultimate'), + 'deleted_message' => __('Site removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Site', 'ultimate-multisite'), ]; } @@ -516,7 +516,7 @@ public function get_labels() { */ public function get_title() { - return __('Sites', 'multisite-ultimate'); + return __('Sites', 'ultimate-multisite'); } /** @@ -527,7 +527,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Sites', 'multisite-ultimate'); + return __('Sites', 'ultimate-multisite'); } /** @@ -538,7 +538,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Sites', 'multisite-ultimate'); + return __('Sites', 'ultimate-multisite'); } /** @@ -551,7 +551,7 @@ public function action_links() { return [ [ - 'label' => __('Add Site', 'multisite-ultimate'), + 'label' => __('Add Site', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_site'), diff --git a/inc/admin-pages/class-system-info-admin-page.php b/inc/admin-pages/class-system-info-admin-page.php index bb84f37a3..e9a8afd86 100644 --- a/inc/admin-pages/class-system-info-admin-page.php +++ b/inc/admin-pages/class-system-info-admin-page.php @@ -1,6 +1,6 @@ get_memory_usage(); // translators: %s is the number of seconds. - $max_execution_time = sprintf(__('%s seconds', 'multisite-ultimate'), ini_get('max_execution_time')); + $max_execution_time = sprintf(__('%s seconds', 'ultimate-multisite'), ini_get('max_execution_time')); $all_options = $this->get_all_options(); $all_options_serialized = serialize($all_options); @@ -245,7 +245,7 @@ public function get_data() { $array_constants[] = [ 'tooltip' => '', 'title' => $constant, - 'value' => defined($constant) ? (is_bool(constant($constant)) ? __('Enabled', 'multisite-ultimate') : constant($constant)) : __('Disabled', 'multisite-ultimate'), + 'value' => defined($constant) ? (is_bool(constant($constant)) ? __('Enabled', 'ultimate-multisite') : constant($constant)) : __('Disabled', 'ultimate-multisite'), ]; } @@ -314,8 +314,8 @@ public function get_data() { [ 'WordPress and System Settings' => [ 'wp-ultimo-version' => [ - 'tooltip' => 'Multisite Ultimate current version installed locally', - 'title' => 'Multisite Ultimate Version', + 'tooltip' => 'Ultimate Multisite current version installed locally', + 'title' => 'Ultimate Multisite Version', 'value' => wu_get_version(), ], 'wordpress-version' => [ @@ -376,12 +376,12 @@ public function get_data() { 'cookie-domain' => [ 'tooltip' => '', 'title' => 'Cookie Domain', - 'value' => defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN ?: __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('COOKIE_DOMAIN') ? COOKIE_DOMAIN ?: __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'multisite-active' => [ 'tooltip' => '', 'title' => 'Multi-Site Active', - 'value' => is_multisite() ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'), + 'value' => is_multisite() ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'), ], 'php-current-time-gmt' => [ 'tooltip' => '', @@ -406,12 +406,12 @@ public function get_data() { 'php-curl-support' => [ 'tooltip' => '', 'title' => 'PHP cURL Support', - 'value' => function_exists('curl_init') ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'), + 'value' => function_exists('curl_init') ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'), ], 'php-gd-time' => [ 'tooltip' => '', 'title' => 'PHP GD Support', - 'value' => function_exists('gd_info') ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'), + 'value' => function_exists('gd_info') ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'), ], 'php-memory-limit' => [ 'tooltip' => '', @@ -466,47 +466,47 @@ public function get_data() { 'wp-debug' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('WP_DEBUG') ? WP_DEBUG ? __('Enabled', 'multisite-ultimate') : __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('WP_DEBUG') ? WP_DEBUG ? __('Enabled', 'ultimate-multisite') : __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'script-debug' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('SCRIPT_DEBUG') ? SCRIPT_DEBUG ? __('Enabled', 'multisite-ultimate') : __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('SCRIPT_DEBUG') ? SCRIPT_DEBUG ? __('Enabled', 'ultimate-multisite') : __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'save-queries' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('SAVEQUERIES') ? SAVEQUERIES ? __('Enabled', 'multisite-ultimate') : __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('SAVEQUERIES') ? SAVEQUERIES ? __('Enabled', 'ultimate-multisite') : __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'autosave-interval' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('AUTOSAVE_INTERVAL') ? AUTOSAVE_INTERVAL ?: __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('AUTOSAVE_INTERVAL') ? AUTOSAVE_INTERVAL ?: __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'wp_post_revisions' => [ 'tooltip' => '', 'title' => 'WP Options Transients', - 'value' => defined('WP_POST_REVISIONS') ? WP_POST_REVISIONS ?: __('Disabled', 'multisite-ultimate') : __('Not set', 'multisite-ultimate'), + 'value' => defined('WP_POST_REVISIONS') ? WP_POST_REVISIONS ?: __('Disabled', 'ultimate-multisite') : __('Not set', 'ultimate-multisite'), ], 'disable_wp_cron' => [ 'tooltip' => '', 'title' => 'DISABLE_WP_CRON', - 'value' => defined('DISABLE_WP_CRON') ? DISABLE_WP_CRON ?: __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'), + 'value' => defined('DISABLE_WP_CRON') ? DISABLE_WP_CRON ?: __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'), ], 'wp_lang' => [ 'tooltip' => '', 'title' => 'WPLANG', - 'value' => defined('WPLANG') ? WPLANG ?: __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'), + 'value' => defined('WPLANG') ? WPLANG ?: __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'), ], 'wp_memory_limit' => [ 'tooltip' => '', 'title' => 'WP_MEMORY_LIMIT', - 'value' => (defined('WP_MEMORY_LIMIT') && WP_MEMORY_LIMIT) ? WP_MEMORY_LIMIT : __('Not set', 'multisite-ultimate'), + 'value' => (defined('WP_MEMORY_LIMIT') && WP_MEMORY_LIMIT) ? WP_MEMORY_LIMIT : __('Not set', 'ultimate-multisite'), ], 'wp_max_memory_limit' => [ 'tooltip' => '', 'title' => 'WP_MAX_MEMORY_LIMIT', - 'value' => (defined('WP_MAX_MEMORY_LIMIT') && WP_MAX_MEMORY_LIMIT) ? WP_MAX_MEMORY_LIMIT : __('Not set', 'multisite-ultimate'), + 'value' => (defined('WP_MAX_MEMORY_LIMIT') && WP_MAX_MEMORY_LIMIT) ? WP_MAX_MEMORY_LIMIT : __('Not set', 'ultimate-multisite'), ], 'operating-system' => [ 'tooltip' => '', @@ -536,14 +536,14 @@ public function get_data() { 'Active Plugins' => $array_active_plugins, 'Active Plugins on Main Site' => $array_active_plugins_main_site, - 'Multisite Ultimate Database Status' => $array_wu_tables, + 'Ultimate Multisite Database Status' => $array_wu_tables, - 'Multisite Ultimate Core Settings' => array_merge( + 'Ultimate Multisite Core Settings' => array_merge( [ 'logs-directory' => [ 'tooltip' => '', 'title' => 'Logs Directory', - 'value' => wp_is_writable(Logger::get_logs_folder()) ? __('Writable', 'multisite-ultimate') : __('Not Writable', 'multisite-ultimate'), + 'value' => wp_is_writable(Logger::get_logs_folder()) ? __('Writable', 'ultimate-multisite') : __('Not Writable', 'ultimate-multisite'), ], ], $wpultimo_settings @@ -712,7 +712,7 @@ public function get_all_options() { } /** - * Return all the desired Multisite Ultimate Settings + * Return all the desired Ultimate Multisite Settings * * @since 1.1.5 * @return array diff --git a/inc/admin-pages/class-tax-rates-admin-page.php b/inc/admin-pages/class-tax-rates-admin-page.php index 181500067..3325200d8 100644 --- a/inc/admin-pages/class-tax-rates-admin-page.php +++ b/inc/admin-pages/class-tax-rates-admin-page.php @@ -1,6 +1,6 @@ __('Label', 'multisite-ultimate'), - 'country' => __('Country', 'multisite-ultimate'), - 'state' => __('State / Province', 'multisite-ultimate'), - 'city' => __('City', 'multisite-ultimate'), - 'tax_rate' => __('Tax Rate (%)', 'multisite-ultimate'), + 'title' => __('Label', 'ultimate-multisite'), + 'country' => __('Country', 'ultimate-multisite'), + 'state' => __('State / Province', 'ultimate-multisite'), + 'city' => __('City', 'ultimate-multisite'), + 'tax_rate' => __('Tax Rate (%)', 'ultimate-multisite'), 'move' => '', ] ); @@ -145,9 +145,9 @@ public function register_scripts(): void { 'wu-tax-rates', 'wu_tax_ratesl10n', [ - 'name' => __('Tax', 'multisite-ultimate'), - 'confirm_message' => __('Are you sure you want to delete this rows?', 'multisite-ultimate'), - 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'multisite-ultimate'), + 'name' => __('Tax', 'ultimate-multisite'), + 'confirm_message' => __('Are you sure you want to delete this rows?', 'ultimate-multisite'), + 'confirm_delete_tax_category_message' => __('Are you sure you want to delete this tax category?', 'ultimate-multisite'), ] ); @@ -172,7 +172,7 @@ protected function add_fields_widget($id, $atts = []) { 'widget_id' => $id, 'before' => '', 'after' => '', - 'title' => __('Fields', 'multisite-ultimate'), + 'title' => __('Fields', 'ultimate-multisite'), 'position' => 'side', 'screen' => get_current_screen(), 'fields' => [], @@ -190,7 +190,7 @@ function () use ($atts) { if (wu_get_isset($atts['html_attr'], 'data-wu-app')) { $atts['fields']['loading'] = [ 'type' => 'note', - 'desc' => sprintf('
%s
', __('Loading...', 'multisite-ultimate')), + 'desc' => sprintf('
%s
', __('Loading...', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-if' => 0, ], diff --git a/inc/admin-pages/class-template-previewer-customize-admin-page.php b/inc/admin-pages/class-template-previewer-customize-admin-page.php index 08b473765..c3ed099cd 100644 --- a/inc/admin-pages/class-template-previewer-customize-admin-page.php +++ b/inc/admin-pages/class-template-previewer-customize-admin-page.php @@ -1,6 +1,6 @@ [ 'preview_url_parameter' => [ 'type' => 'text', - 'title' => __('URL Parameter', 'multisite-ultimate'), - 'desc' => __('This is the URL parameter Multisite Ultimate will use to generate the template preview URLs.', 'multisite-ultimate'), + 'title' => __('URL Parameter', 'ultimate-multisite'), + 'desc' => __('This is the URL parameter Ultimate Multisite will use to generate the template preview URLs.', 'ultimate-multisite'), 'value' => Template_Previewer::get_instance()->get_setting('preview_url_parameter', 'template-preview'), ], 'enabled' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'desc' => __('If your site templates are not loading, you can disable the top-bar using this setting.', 'ultimate-multisite'), 'value' => Template_Previewer::get_instance()->get_setting('enabled', true), 'html_attr' => [], ], @@ -129,16 +129,16 @@ public function register_widgets(): void { 'v-model' => 'tab', ], 'options' => [ - 'general' => __('General', 'multisite-ultimate'), - 'colors' => __('Colors', 'multisite-ultimate'), - 'images' => __('Images', 'multisite-ultimate'), + 'general' => __('General', 'ultimate-multisite'), + 'colors' => __('Colors', 'ultimate-multisite'), + 'images' => __('Images', 'ultimate-multisite'), ], ], 'display_responsive_controls' => [ 'type' => 'toggle', - 'title' => __('Show Responsive Controls', 'multisite-ultimate'), - 'desc' => __('Toggle to show or hide the responsive controls.', 'multisite-ultimate'), + 'title' => __('Show Responsive Controls', 'ultimate-multisite'), + 'desc' => __('Toggle to show or hide the responsive controls.', 'ultimate-multisite'), 'value' => true, 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', @@ -150,8 +150,8 @@ public function register_widgets(): void { ], 'button_text' => [ 'type' => 'text', - 'title' => __('Button Text', 'multisite-ultimate'), - 'value' => __('Use this Template', 'multisite-ultimate'), + 'title' => __('Button Text', 'ultimate-multisite'), + 'value' => __('Use this Template', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "general")', 'v-cloak' => 1, @@ -163,8 +163,8 @@ public function register_widgets(): void { 'bg_color' => [ 'type' => 'color-picker', - 'title' => __('Background Color', 'multisite-ultimate'), - 'desc' => __('Choose the background color for the top-bar.', 'multisite-ultimate'), + 'title' => __('Background Color', 'ultimate-multisite'), + 'desc' => __('Choose the background color for the top-bar.', 'ultimate-multisite'), 'value' => '#f9f9f9', 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', @@ -176,8 +176,8 @@ public function register_widgets(): void { ], 'button_bg_color' => [ 'type' => 'color-picker', - 'title' => __('Button BG Color', 'multisite-ultimate'), - 'desc' => __('Pick the background color for the button.', 'multisite-ultimate'), + 'title' => __('Button BG Color', 'ultimate-multisite'), + 'desc' => __('Pick the background color for the button.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "colors")', 'v-cloak' => 1, @@ -189,8 +189,8 @@ public function register_widgets(): void { 'use_custom_logo' => [ 'type' => 'toggle', - 'title' => __('Use Custom Logo', 'multisite-ultimate'), - 'desc' => __('You can set a different logo to be used on the top-bar.', 'multisite-ultimate'), + 'title' => __('Use Custom Logo', 'ultimate-multisite'), + 'desc' => __('You can set a different logo to be used on the top-bar.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'require("tab", "images")', 'v-cloak' => 1, @@ -202,8 +202,8 @@ public function register_widgets(): void { 'custom_logo' => [ 'type' => 'image', 'stacked' => true, - 'title' => __('Custom Logo', 'multisite-ultimate'), - 'desc' => __('The logo is displayed on the preview page top-bar.', 'multisite-ultimate'), + 'title' => __('Custom Logo', 'ultimate-multisite'), + 'desc' => __('The logo is displayed on the preview page top-bar.', 'ultimate-multisite'), 'value' => $custom_logo, 'img' => $custom_logo_url, 'wrapper_html_attr' => [ @@ -226,7 +226,7 @@ public function register_widgets(): void { $this->add_fields_widget( 'customizer', [ - 'title' => __('Customizer', 'multisite-ultimate'), + 'title' => __('Customizer', 'ultimate-multisite'), 'position' => 'side', 'fields' => $fields, 'html_attr' => [ @@ -247,7 +247,7 @@ public function register_widgets(): void { */ public function get_title() { - return __('Customize Template Previewer', 'multisite-ultimate'); + return __('Customize Template Previewer', 'ultimate-multisite'); } /** @@ -258,7 +258,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Customize Template Previewer', 'multisite-ultimate'); + return __('Customize Template Previewer', 'ultimate-multisite'); } /** @@ -281,13 +281,13 @@ public function action_links() { public function get_labels() { return [ - 'customize_label' => __('Customize Template Previewer', 'multisite-ultimate'), - 'add_new_label' => __('Customize Template Previewer', 'multisite-ultimate'), - 'edit_label' => __('Edit Template Previewer', 'multisite-ultimate'), - 'updated_message' => __('Template Previewer updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Template Previewer Name', 'multisite-ultimate'), - 'title_description' => __('This name is used for internal reference only.', 'multisite-ultimate'), - 'save_button_label' => __('Save Changes', 'multisite-ultimate'), + 'customize_label' => __('Customize Template Previewer', 'ultimate-multisite'), + 'add_new_label' => __('Customize Template Previewer', 'ultimate-multisite'), + 'edit_label' => __('Edit Template Previewer', 'ultimate-multisite'), + 'updated_message' => __('Template Previewer updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Template Previewer Name', 'ultimate-multisite'), + 'title_description' => __('This name is used for internal reference only.', 'ultimate-multisite'), + 'save_button_label' => __('Save Changes', 'ultimate-multisite'), 'save_description' => '', ]; } diff --git a/inc/admin-pages/class-top-admin-nav-menu.php b/inc/admin-pages/class-top-admin-nav-menu.php index 31cef6938..84e2ce575 100644 --- a/inc/admin-pages/class-top-admin-nav-menu.php +++ b/inc/admin-pages/class-top-admin-nav-menu.php @@ -4,7 +4,7 @@ * * Adds the shortcuts menu to the admin bar. * - * @category Multisite Ultimate + * @category Ultimate Multisite * @package WP_Ultimo * @author Gustavo Modesto * @since 2.0.0 @@ -36,7 +36,7 @@ public function __construct() { } /** - * Adds the Multisite Ultimate top-bar shortcut menu + * Adds the Ultimate Multisite top-bar shortcut menu * * @since 1.1.0 * @param \WP_Admin_Bar $wp_admin_bar The admin bar identifier. @@ -52,11 +52,11 @@ public function add_top_bar_menus($wp_admin_bar): void { // Add Parent element $parent = [ 'id' => 'wp-ultimo', - 'title' => __('Multisite Waas', 'multisite-ultimate'), + 'title' => __('Ultimate Multisite', 'ultimate-multisite'), 'href' => current_user_can('wu_read_dashboard') ? network_admin_url('admin.php?page=wp-ultimo') : '#', 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the dashboard', 'multisite-ultimate'), + 'title' => __('Go to the dashboard', 'ultimate-multisite'), ], ]; @@ -64,11 +64,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $sites = [ 'id' => 'wp-ultimo-sites', 'parent' => 'wp-ultimo', - 'title' => __('Manage Sites', 'multisite-ultimate'), + 'title' => __('Manage Sites', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-sites'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the sites page', 'multisite-ultimate'), + 'title' => __('Go to the sites page', 'ultimate-multisite'), ], ]; @@ -76,11 +76,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $memberships = [ 'id' => 'wp-ultimo-memberships', 'parent' => 'wp-ultimo', - 'title' => __('Manage Memberships', 'multisite-ultimate'), + 'title' => __('Manage Memberships', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-memberships'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the memberships page', 'multisite-ultimate'), + 'title' => __('Go to the memberships page', 'ultimate-multisite'), ], ]; @@ -88,11 +88,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $customers = [ 'id' => 'wp-ultimo-customers', 'parent' => 'wp-ultimo', - 'title' => __('Customers', 'multisite-ultimate'), + 'title' => __('Customers', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-customers'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the customers page', 'multisite-ultimate'), + 'title' => __('Go to the customers page', 'ultimate-multisite'), ], ]; @@ -100,11 +100,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $products = [ 'id' => 'wp-ultimo-products', 'parent' => 'wp-ultimo', - 'title' => __('Products', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-products'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the products page', 'multisite-ultimate'), + 'title' => __('Go to the products page', 'ultimate-multisite'), ], ]; @@ -112,11 +112,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $payments = [ 'id' => 'wp-ultimo-payments', 'parent' => 'wp-ultimo', - 'title' => __('Payments', 'multisite-ultimate'), + 'title' => __('Payments', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-payments'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the payments page', 'multisite-ultimate'), + 'title' => __('Go to the payments page', 'ultimate-multisite'), ], ]; @@ -124,11 +124,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $discount_codes = [ 'id' => 'wp-ultimo-discount-codes', 'parent' => 'wp-ultimo', - 'title' => __('Discount Codes', 'multisite-ultimate'), + 'title' => __('Discount Codes', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-discount-codes'), 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the discount codes page', 'multisite-ultimate'), + 'title' => __('Go to the discount codes page', 'ultimate-multisite'), ], ]; @@ -136,11 +136,11 @@ public function add_top_bar_menus($wp_admin_bar): void { 'id' => 'wp-ultimo-settings-group', 'parent' => 'wp-ultimo', 'group' => true, - 'title' => __('Settings Container', 'multisite-ultimate'), + 'title' => __('Settings Container', 'ultimate-multisite'), 'href' => '#', 'meta' => [ 'class' => 'wp-ultimo-top-menu ab-sub-secondary', - 'title' => __('Go to the settings page', 'multisite-ultimate'), + 'title' => __('Go to the settings page', 'ultimate-multisite'), ], ]; @@ -148,11 +148,11 @@ public function add_top_bar_menus($wp_admin_bar): void { $settings = [ 'id' => 'wp-ultimo-settings', 'parent' => 'wp-ultimo-settings-group', - 'title' => __('Settings', 'multisite-ultimate'), + 'title' => __('Settings', 'ultimate-multisite'), 'href' => network_admin_url('admin.php?page=wp-ultimo-settings'), 'meta' => [ 'class' => 'wp-ultimo-top-menu ab-sub-secondary', - 'title' => __('Go to the settings page', 'multisite-ultimate'), + 'title' => __('Go to the settings page', 'ultimate-multisite'), ], ]; @@ -215,7 +215,7 @@ public function add_top_bar_menus($wp_admin_bar): void { 'href' => network_admin_url('admin.php?page=wp-ultimo-settings&tab=') . $tab, 'meta' => [ 'class' => 'wp-ultimo-top-menu', - 'title' => __('Go to the settings page', 'multisite-ultimate'), + 'title' => __('Go to the settings page', 'ultimate-multisite'), ], ]; diff --git a/inc/admin-pages/class-view-logs-admin-page.php b/inc/admin-pages/class-view-logs-admin-page.php index a9fbad784..b9fc47359 100644 --- a/inc/admin-pages/class-view-logs-admin-page.php +++ b/inc/admin-pages/class-view-logs-admin-page.php @@ -1,6 +1,6 @@ [ - 'copied' => __('Copied!', 'multisite-ultimate'), + 'copied' => __('Copied!', 'ultimate-multisite'), ], ] ); @@ -118,7 +118,7 @@ public function register_scripts(): void { */ public function get_title() { - return __('View Log', 'multisite-ultimate'); + return __('View Log', 'ultimate-multisite'); } /** @@ -129,7 +129,7 @@ public function get_title() { */ public function get_menu_title() { - return __('View Log', 'multisite-ultimate'); + return __('View Log', 'ultimate-multisite'); } /** @@ -152,7 +152,7 @@ public function handle_view_logs() { $logs_list = array_combine(array_values($logs_list), array_map(fn($file) => str_replace(Logger::get_logs_folder(), '', (string) $file), $logs_list)); if (empty($logs_list)) { - $logs_list[''] = __('No log files found', 'multisite-ultimate'); + $logs_list[''] = __('No log files found', 'ultimate-multisite'); } $file = wu_request('file'); @@ -163,7 +163,7 @@ public function handle_view_logs() { // Security check if ($file && ! stristr((string) $file, Logger::get_logs_folder())) { - wp_die(esc_html__('You can see files that are not Multisite Ultimate\'s logs', 'multisite-ultimate')); + wp_die(esc_html__('You can see files that are not Ultimate Multisite\'s logs', 'ultimate-multisite')); } if ( ! $file && ! empty($logs_list)) { @@ -172,7 +172,7 @@ public function handle_view_logs() { $file_name = str_replace(Logger::get_logs_folder(), '', (string) $file); - $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'multisite-ultimate'); + $default_content = wu_request('return_ascii', 'yes') === 'yes' ? wu_get_template_contents('events/ascii-badge') : __('No log entries found.', 'ultimate-multisite'); $contents = $file && file_exists($file) ? file_get_contents($file) : $default_content; @@ -200,24 +200,24 @@ public function register_widgets(): void { $info = $this->handle_view_logs(); - add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'multisite-ultimate'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info); + add_meta_box('wp-ultimo-log-contents', __('Log Contents', 'ultimate-multisite'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal', null, $info); $this->add_fields_widget( 'file-selector', [ - 'title' => __('Log Files', 'multisite-ultimate'), + 'title' => __('Log Files', 'ultimate-multisite'), 'fields' => [ 'log_file' => [ 'type' => 'select', - 'title' => __('Select Log File', 'multisite-ultimate'), - 'placeholder' => __('Select Log File', 'multisite-ultimate'), + 'title' => __('Select Log File', 'ultimate-multisite'), + 'placeholder' => __('Select Log File', 'ultimate-multisite'), 'value' => wu_request('file'), 'tooltip' => '', 'options' => $info['logs_list'], ], 'download' => [ 'type' => 'submit', - 'title' => __('Download Log', 'multisite-ultimate'), + 'title' => __('Download Log', 'ultimate-multisite'), 'value' => 'download', 'classes' => 'button button-primary wu-w-full', ], @@ -228,11 +228,11 @@ public function register_widgets(): void { $this->add_fields_widget( 'info', [ - 'title' => __('Timestamps', 'multisite-ultimate'), + 'title' => __('Timestamps', 'ultimate-multisite'), 'position' => 'side', 'fields' => [ 'date_modified' => [ - 'title' => __('Last Modified at', 'multisite-ultimate'), + 'title' => __('Last Modified at', 'ultimate-multisite'), 'type' => 'text-edit', 'date' => true, 'value' => date_i18n('Y-m-d H:i:s', filemtime($info['file'])), @@ -257,8 +257,8 @@ public function output_default_widget_payload($unused, $data): void { wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'multisite-ultimate'), - 'loading_text' => __('Loading Payload', 'multisite-ultimate'), + 'title' => __('Event Payload', 'ultimate-multisite'), + 'loading_text' => __('Loading Payload', 'ultimate-multisite'), 'payload' => $data['args']['contents'], ] ); @@ -273,12 +273,12 @@ public function output_default_widget_payload($unused, $data): void { public function get_labels() { return [ - 'edit_label' => __('View Log', 'multisite-ultimate'), - 'add_new_label' => __('View Log', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Customer', 'multisite-ultimate'), - 'title_description' => __('Viewing file: ', 'multisite-ultimate'), - 'delete_button_label' => __('Delete Log File', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'edit_label' => __('View Log', 'ultimate-multisite'), + 'add_new_label' => __('View Log', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Customer', 'ultimate-multisite'), + 'title_description' => __('Viewing file: ', 'ultimate-multisite'), + 'delete_button_label' => __('Delete Log File', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } @@ -323,7 +323,7 @@ public function handle_save(): void { $action = wu_request('submit_button', 'none'); if ('none' === $action) { - WP_Ultimo()->notices->add(__('Something wrong happened', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Something wrong happened', 'ultimate-multisite'), 'error', 'network-admin'); return; } @@ -331,7 +331,7 @@ public function handle_save(): void { $file = wu_request('log_file', false); if ( ! file_exists($file)) { - WP_Ultimo()->notices->add(__('File not found', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('File not found', 'ultimate-multisite'), 'error', 'network-admin'); return; } @@ -350,12 +350,12 @@ public function handle_save(): void { } if ( ! $wp_filesystem->exists($file) ) { - wp_die(esc_html__('Log file not found.', 'multisite-ultimate')); + wp_die(esc_html__('Log file not found.', 'ultimate-multisite')); } $content = $wp_filesystem->get_contents($file); if ( false === $content ) { - wp_die(esc_html__('Unable to read log file.', 'multisite-ultimate')); + wp_die(esc_html__('Unable to read log file.', 'ultimate-multisite')); } header('Content-Length: ' . strlen($content)); @@ -366,7 +366,7 @@ public function handle_save(): void { $status = wp_delete_file($file); if ( ! $status) { - WP_Ultimo()->notices->add(__('We were unable to delete file', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('We were unable to delete file', 'ultimate-multisite'), 'error', 'network-admin'); return; } diff --git a/inc/admin-pages/class-webhook-edit-admin-page.php b/inc/admin-pages/class-webhook-edit-admin-page.php index 368e29483..239beb910 100644 --- a/inc/admin-pages/class-webhook-edit-admin-page.php +++ b/inc/admin-pages/class-webhook-edit-admin-page.php @@ -1,6 +1,6 @@ wp_create_nonce('wu_webhook_send_test'), 'i18n' => [ - 'error_title' => __('Webhook Test', 'multisite-ultimate'), - 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'multisite-ultimate'), - 'copied' => __('Copied!', 'multisite-ultimate'), + 'error_title' => __('Webhook Test', 'ultimate-multisite'), + 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'ultimate-multisite'), + 'copied' => __('Copied!', 'ultimate-multisite'), ], ] ); @@ -139,22 +139,22 @@ public function register_widgets(): void { $this->add_fields_widget( 'domain-url', [ - 'title' => __('Webhook URL', 'multisite-ultimate'), + 'title' => __('Webhook URL', 'ultimate-multisite'), 'position' => 'normal', 'fields' => [ 'webhook_url' => [ 'type' => 'url', - 'title' => __('Webhook URL', 'multisite-ultimate'), - 'desc' => __('The URL where we will send the payload when the event triggers.', 'multisite-ultimate'), - 'placeholder' => __('https://example.com', 'multisite-ultimate'), + 'title' => __('Webhook URL', 'ultimate-multisite'), + 'desc' => __('The URL where we will send the payload when the event triggers.', 'ultimate-multisite'), + 'placeholder' => __('https://example.com', 'ultimate-multisite'), 'value' => $this->get_object()->get_webhook_url(), ], 'actions' => [ 'type' => 'actions', - 'tooltip' => __('The event .', 'multisite-ultimate'), + 'tooltip' => __('The event .', 'ultimate-multisite'), 'actions' => [ 'send_test_event' => [ - 'title' => __('Send Test Event', 'multisite-ultimate'), + 'title' => __('Send Test Event', 'ultimate-multisite'), 'action' => 'wu_send_test_event', 'object_id' => $this->get_object()->get_id(), 'loading_text' => 'Sending Test...', @@ -169,12 +169,12 @@ public function register_widgets(): void { ] ); - add_meta_box('wp-ultimo-payload', __('Event Payload', 'multisite-ultimate'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal'); + add_meta_box('wp-ultimo-payload', __('Event Payload', 'ultimate-multisite'), [$this, 'output_default_widget_payload'], get_current_screen()->id, 'normal'); $this->add_list_table_widget( 'events', [ - 'title' => __('Events', 'multisite-ultimate'), + 'title' => __('Events', 'ultimate-multisite'), 'table' => new \WP_Ultimo\List_Tables\Inside_Events_List_Table(), 'query_filter' => [$this, 'query_filter'], ] @@ -192,9 +192,9 @@ public function register_widgets(): void { 'fields' => [ 'event' => [ 'type' => 'select', - 'title' => __('Event', 'multisite-ultimate'), - 'desc' => __('The event that triggers this webhook.', 'multisite-ultimate'), - 'placeholder' => __('Select Event', 'multisite-ultimate'), + 'title' => __('Event', 'ultimate-multisite'), + 'desc' => __('The event that triggers this webhook.', 'ultimate-multisite'), + 'placeholder' => __('Select Event', 'ultimate-multisite'), 'options' => $event_list, 'value' => $this->get_object()->get_event(), ], @@ -205,13 +205,13 @@ public function register_widgets(): void { $this->add_fields_widget( 'active', [ - 'title' => __('Active', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), 'fields' => [ 'active' => [ 'type' => 'toggle', - 'title' => __('Active', 'multisite-ultimate'), - 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'multisite-ultimate'), - 'desc' => __('Use this option to manually enable or disable this webhook.', 'multisite-ultimate'), + 'title' => __('Active', 'ultimate-multisite'), + 'tooltip' => __('Deactivate will end the event trigger for this webhook.', 'ultimate-multisite'), + 'desc' => __('Use this option to manually enable or disable this webhook.', 'ultimate-multisite'), 'value' => $this->get_object()->is_active(), ], ], @@ -221,27 +221,27 @@ public function register_widgets(): void { $this->add_fields_widget( 'options', [ - 'title' => __('Options', 'multisite-ultimate'), + 'title' => __('Options', 'ultimate-multisite'), 'fields' => [ 'integration' => [ 'edit' => true, - 'title' => __('Integration', 'multisite-ultimate'), + 'title' => __('Integration', 'ultimate-multisite'), 'type' => 'text-edit', 'placeholder' => 'manual', 'value' => $this->get_object()->get_integration(), 'display_value' => ucwords((string) $this->get_object()->get_integration()), - 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'multisite-ultimate'), + 'tooltip' => __('Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value "manual".', 'ultimate-multisite'), ], 'event_count' => [ - 'title' => __('Run Count', 'multisite-ultimate'), + 'title' => __('Run Count', 'ultimate-multisite'), 'type' => 'text-edit', 'min' => 0, 'placeholder' => 0, 'edit' => true, 'value' => $this->get_object()->get_event_count(), // translators: %d is the number of times that this webhook was triggered. - 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'multisite-ultimate'), $this->get_object()->get_event_count()), - 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'multisite-ultimate'), + 'display_value' => sprintf(__('This webhook was triggered %d time(s).', 'ultimate-multisite'), $this->get_object()->get_event_count()), + 'tooltip' => __('The number of times that this webhook was triggered so far. It includes test runs.', 'ultimate-multisite'), ], ], ] @@ -265,8 +265,8 @@ public function output_default_widget_payload(): void { wu_get_template( 'events/widget-payload', [ - 'title' => __('Event Payload', 'multisite-ultimate'), - 'loading_text' => __('Loading Payload', 'multisite-ultimate'), + 'title' => __('Event Payload', 'ultimate-multisite'), + 'loading_text' => __('Loading Payload', 'ultimate-multisite'), 'payload' => $payload, ] ); @@ -298,7 +298,7 @@ public function query_filter($args) { */ public function get_title() { - return $this->edit ? __('Edit Webhook', 'multisite-ultimate') : __('Add new Webhook', 'multisite-ultimate'); + return $this->edit ? __('Edit Webhook', 'ultimate-multisite') : __('Add new Webhook', 'ultimate-multisite'); } /** @@ -309,7 +309,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Edit Webhook', 'multisite-ultimate'); + return __('Edit Webhook', 'ultimate-multisite'); } /** @@ -332,15 +332,15 @@ public function action_links() { public function get_labels() { return [ - 'edit_label' => __('Edit Webhook', 'multisite-ultimate'), - 'add_new_label' => __('Add new Webhook', 'multisite-ultimate'), - 'updated_message' => __('Webhook updated successfully!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Webhook', 'multisite-ultimate'), + 'edit_label' => __('Edit Webhook', 'ultimate-multisite'), + 'add_new_label' => __('Add new Webhook', 'ultimate-multisite'), + 'updated_message' => __('Webhook updated successfully!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Webhook', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save Webhook', 'multisite-ultimate'), + 'save_button_label' => __('Save Webhook', 'ultimate-multisite'), 'save_description' => '', - 'delete_button_label' => __('Delete Webhook', 'multisite-ultimate'), - 'delete_description' => __('Be careful. This action is irreversible.', 'multisite-ultimate'), + 'delete_button_label' => __('Delete Webhook', 'ultimate-multisite'), + 'delete_description' => __('Be careful. This action is irreversible.', 'ultimate-multisite'), ]; } diff --git a/inc/admin-pages/class-webhook-list-admin-page.php b/inc/admin-pages/class-webhook-list-admin-page.php index 537a3a07c..79f4a56a4 100644 --- a/inc/admin-pages/class-webhook-list-admin-page.php +++ b/inc/admin-pages/class-webhook-list-admin-page.php @@ -1,6 +1,6 @@ wp_create_nonce('wu_webhook_send_test'), 'i18n' => [ - 'error_title' => __('Webhook Test', 'multisite-ultimate'), - 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'multisite-ultimate'), - 'copied' => __('Copied!', 'multisite-ultimate'), + 'error_title' => __('Webhook Test', 'ultimate-multisite'), + 'error_message' => __('An error occurred when sending the test webhook, please try again.', 'ultimate-multisite'), + 'copied' => __('Copied!', 'ultimate-multisite'), ], ] ); @@ -121,25 +121,25 @@ function render_add_new_webhook_modal(): void { $fields = [ 'name' => [ 'type' => 'text', - 'title' => __('Webhook Name', 'multisite-ultimate'), - 'desc' => __('A name to easily identify your webhook.', 'multisite-ultimate'), - 'placeholder' => __('E.g. Zapier Integration', 'multisite-ultimate'), + 'title' => __('Webhook Name', 'ultimate-multisite'), + 'desc' => __('A name to easily identify your webhook.', 'ultimate-multisite'), + 'placeholder' => __('E.g. Zapier Integration', 'ultimate-multisite'), ], 'event' => [ - 'title' => __('Event', 'multisite-ultimate'), + 'title' => __('Event', 'ultimate-multisite'), 'type' => 'select', - 'desc' => __('The event that will trigger the webhook.', 'multisite-ultimate'), + 'desc' => __('The event that will trigger the webhook.', 'ultimate-multisite'), 'options' => $event_options, ], 'webhook_url' => [ 'type' => 'url', - 'title' => __('Webhook Url', 'multisite-ultimate'), - 'desc' => __('The url of your webhook.', 'multisite-ultimate'), - 'placeholder' => __('E.g. https://example.com/', 'multisite-ultimate'), + 'title' => __('Webhook Url', 'ultimate-multisite'), + 'desc' => __('The url of your webhook.', 'ultimate-multisite'), + 'placeholder' => __('E.g. https://example.com/', 'ultimate-multisite'), ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Add New Webhook', 'multisite-ultimate'), + 'title' => __('Add New Webhook', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -225,8 +225,8 @@ public function register_widgets() {} public function get_labels() { return [ - 'deleted_message' => __('Webhook removed successfully.', 'multisite-ultimate'), - 'search_label' => __('Search Webhook', 'multisite-ultimate'), + 'deleted_message' => __('Webhook removed successfully.', 'ultimate-multisite'), + 'search_label' => __('Search Webhook', 'ultimate-multisite'), ]; } @@ -238,7 +238,7 @@ public function get_labels() { */ public function get_title() { - return __('Webhooks', 'multisite-ultimate'); + return __('Webhooks', 'ultimate-multisite'); } /** @@ -249,7 +249,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Webhooks', 'multisite-ultimate'); + return __('Webhooks', 'ultimate-multisite'); } /** @@ -260,7 +260,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Webhooks', 'multisite-ultimate'); + return __('Webhooks', 'ultimate-multisite'); } /** @@ -273,7 +273,7 @@ public function action_links() { return [ [ - 'label' => __('Add New Webhook', 'multisite-ultimate'), + 'label' => __('Add New Webhook', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('add_new_webhook_modal'), diff --git a/inc/admin-pages/class-wizard-admin-page.php b/inc/admin-pages/class-wizard-admin-page.php index 2e00fe026..61ce8e6ba 100644 --- a/inc/admin-pages/class-wizard-admin-page.php +++ b/inc/admin-pages/class-wizard-admin-page.php @@ -4,7 +4,7 @@ * * Abstract class that makes it easy to create new admin pages. * - * Most of Multisite Ultimate pages are implemented using this class, which means that the filters and hooks + * Most of Ultimate Multisite pages are implemented using this class, which means that the filters and hooks * listed below can be used to append content to all of our pages at once. * * @package WP_Ultimo @@ -124,12 +124,12 @@ final public function process_save() { public function get_labels() { return [ - 'edit_label' => __('Edit Object', 'multisite-ultimate'), - 'add_new_label' => __('Add New Object', 'multisite-ultimate'), - 'updated_message' => __('Object updated with success!', 'multisite-ultimate'), - 'title_placeholder' => __('Enter Object Name', 'multisite-ultimate'), + 'edit_label' => __('Edit Object', 'ultimate-multisite'), + 'add_new_label' => __('Add New Object', 'ultimate-multisite'), + 'updated_message' => __('Object updated with success!', 'ultimate-multisite'), + 'title_placeholder' => __('Enter Object Name', 'ultimate-multisite'), 'title_description' => '', - 'save_button_label' => __('Save', 'multisite-ultimate'), + 'save_button_label' => __('Save', 'ultimate-multisite'), 'save_description' => '', ]; } @@ -152,7 +152,7 @@ public function register_widgets() { return; } - add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'multisite-ultimate')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null); + add_meta_box('wp-ultimo-wizard-body', wu_get_isset($this->current_section, 'title', __('Section', 'ultimate-multisite')), [$this, 'output_default_widget_body'], $screen->id, 'normal', null); } /** @@ -315,16 +315,17 @@ public function default_view() { $section = wp_parse_args( $this->current_section, [ - 'title' => '', - 'description' => '', - 'content' => '', - 'fields' => [], - 'next_label' => __('Continue →', 'multisite-ultimate'), - 'back_label' => __('← Go Back', 'multisite-ultimate'), - 'skip_label' => __('Skip this Step', 'multisite-ultimate'), - 'back' => false, - 'skip' => false, - 'next' => true, + 'title' => '', + 'description' => '', + 'content' => '', + 'fields' => [], + 'next_label' => __('Continue →', 'ultimate-multisite'), + 'back_label' => __('← Go Back', 'ultimate-multisite'), + 'skip_label' => __('Skip this Step', 'ultimate-multisite'), + 'disable_next' => false, + 'back' => false, + 'skip' => false, + 'next' => true, ] ); diff --git a/inc/admin-pages/customer-panel/class-account-admin-page.php b/inc/admin-pages/customer-panel/class-account-admin-page.php index 1014bc60c..6d4c4da50 100644 --- a/inc/admin-pages/customer-panel/class-account-admin-page.php +++ b/inc/admin-pages/customer-panel/class-account-admin-page.php @@ -1,6 +1,6 @@ notices->add($update_message); } @@ -197,7 +197,7 @@ public function register_widgets(): void { */ public function get_title() { - return __('Account', 'multisite-ultimate'); + return __('Account', 'ultimate-multisite'); } /** @@ -208,7 +208,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Account', 'multisite-ultimate'); + return __('Account', 'ultimate-multisite'); } /** @@ -219,7 +219,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Account', 'multisite-ultimate'); + return __('Account', 'ultimate-multisite'); } /** diff --git a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php index 78c915f6b..50b8f4a46 100644 --- a/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php +++ b/inc/admin-pages/customer-panel/class-add-new-site-admin-page.php @@ -1,6 +1,6 @@ [ - 'title' => __('Change Membership', 'multisite-ultimate'), + 'title' => __('Change Membership', 'ultimate-multisite'), 'view' => [$this, 'display_checkout_form'], ], ]; diff --git a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php index 4bebc101b..f1fb0f284 100644 --- a/inc/admin-pages/customer-panel/class-my-sites-admin-page.php +++ b/inc/admin-pages/customer-panel/class-my-sites-admin-page.php @@ -1,6 +1,6 @@ $this, 'content' => '', 'labels' => [ - 'updated_message' => __('Template switched successfully!', 'multisite-ultimate'), + 'updated_message' => __('Template switched successfully!', 'ultimate-multisite'), ], ] ); diff --git a/inc/admin-pages/debug/class-debug-admin-page.php b/inc/admin-pages/debug/class-debug-admin-page.php index 1970b8673..3a4b36c56 100644 --- a/inc/admin-pages/debug/class-debug-admin-page.php +++ b/inc/admin-pages/debug/class-debug-admin-page.php @@ -1,6 +1,6 @@ id, 'normal', @@ -92,7 +92,7 @@ public function register_widgets(): void { } /** - * Renders the list of Multisite Ultimate registered pages. + * Renders the list of Ultimate Multisite registered pages. * * @since 2.0.0 * @return void @@ -126,7 +126,7 @@ public function render_debug_pages(): void { */ public function get_title() { - return __('Registered Pages', 'multisite-ultimate'); + return __('Registered Pages', 'ultimate-multisite'); } /** @@ -137,7 +137,7 @@ public function get_title() { */ public function get_menu_title() { - return __('Registered Pages', 'multisite-ultimate'); + return __('Registered Pages', 'ultimate-multisite'); } /** @@ -148,7 +148,7 @@ public function get_menu_title() { */ public function get_submenu_title() { - return __('Registered Pages', 'multisite-ultimate'); + return __('Registered Pages', 'ultimate-multisite'); } /** diff --git a/inc/api/class-register-endpoint.php b/inc/api/class-register-endpoint.php index a7b32f2a1..48426ae8d 100644 --- a/inc/api/class-register-endpoint.php +++ b/inc/api/class-register-endpoint.php @@ -130,7 +130,7 @@ public function handle_endpoint($request) { $customer->add_note( [ - 'text' => __('Created via REST API', 'multisite-ultimate'), + 'text' => __('Created via REST API', 'ultimate-multisite'), 'author_id' => $customer->get_user_id(), ] ); @@ -168,7 +168,7 @@ public function handle_endpoint($request) { if ($cart->is_valid() && count($cart->get_line_items()) === 0) { return new \WP_Error( 'invalid_cart', - __('Products are required.', 'multisite-ultimate'), + __('Products are required.', 'ultimate-multisite'), array_merge( (array) $cart->done(), [ @@ -215,7 +215,7 @@ public function handle_endpoint($request) { $membership->add_note( [ - 'text' => __('Created via REST API', 'multisite-ultimate'), + 'text' => __('Created via REST API', 'ultimate-multisite'), 'author_id' => $customer->get_user_id(), ] ); @@ -253,7 +253,7 @@ public function handle_endpoint($request) { $payment->add_note( [ - 'text' => __('Created via REST API', 'multisite-ultimate'), + 'text' => __('Created via REST API', 'ultimate-multisite'), 'author_id' => $customer->get_user_id(), ] ); @@ -333,29 +333,29 @@ public function get_rest_args() { $customer_args = [ 'customer_id' => [ - 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'multisite-ultimate'), + 'description' => __('The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the "customer" property.', 'ultimate-multisite'), 'type' => 'integer', ], 'customer' => [ - 'description' => __('Customer data. Needs to be present when customer id is not.', 'multisite-ultimate'), + 'description' => __('Customer data. Needs to be present when customer id is not.', 'ultimate-multisite'), 'type' => 'object', 'properties' => [ 'user_id' => [ - 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'multisite-ultimate'), + 'description' => __('Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties "username", "password", and "email".', 'ultimate-multisite'), 'type' => 'integer', ], 'username' => [ - 'description' => __('The customer username. This is used to create the WordPress user.', 'multisite-ultimate'), + 'description' => __('The customer username. This is used to create the WordPress user.', 'ultimate-multisite'), 'type' => 'string', 'minLength' => 4, ], 'password' => [ - 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'multisite-ultimate'), + 'description' => __('The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength.', 'ultimate-multisite'), 'type' => 'string', 'minLength' => 6, ], 'email' => [ - 'description' => __('The customer email address. This is used to create the WordPress user.', 'multisite-ultimate'), + 'description' => __('The customer email address. This is used to create the WordPress user.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'email', ], @@ -369,42 +369,42 @@ public function get_rest_args() { $membership_args = [ 'membership' => [ - 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'multisite-ultimate'), + 'description' => __('The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'ultimate-multisite'), 'type' => 'object', 'properties' => [ 'status' => [ - 'description' => __('The membership status.', 'multisite-ultimate'), + 'description' => __('The membership status.', 'ultimate-multisite'), 'type' => 'string', 'enum' => array_values(Membership_Status::get_allowed_list()), 'default' => Membership_Status::PENDING, ], 'date_expiration' => [ - 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership expiration date. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], 'date_trial_end' => [ - 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership trial end date. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], 'date_activated' => [ - 'description' => __('The membership activation date. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership activation date. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], 'date_renewed' => [ - 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership last renewed date. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], 'date_cancellation' => [ - 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership cancellation date. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], 'date_payment_plan_completed' => [ - 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'multisite-ultimate'), + 'description' => __('The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format.', 'ultimate-multisite'), 'type' => 'string', 'format' => 'date-time', ], @@ -414,11 +414,11 @@ public function get_rest_args() { $payment_args = [ 'payment' => [ - 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'multisite-ultimate'), + 'description' => __('The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property.', 'ultimate-multisite'), 'type' => 'object', 'properties' => [ 'status' => [ - 'description' => __('The payment status.', 'multisite-ultimate'), + 'description' => __('The payment status.', 'ultimate-multisite'), 'type' => 'string', 'enum' => array_values(Payment_Status::get_allowed_list()), 'default' => Payment_Status::PENDING, @@ -426,23 +426,23 @@ public function get_rest_args() { ], ], 'payment_method' => [ - 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'multisite-ultimate'), + 'description' => __('Payment method information. Useful when using the REST API to integrate other payment methods.', 'ultimate-multisite'), 'type' => 'object', 'properties' => [ 'gateway' => [ - 'description' => __('The gateway name. E.g. stripe.', 'multisite-ultimate'), + 'description' => __('The gateway name. E.g. stripe.', 'ultimate-multisite'), 'type' => 'string', ], 'gateway_customer_id' => [ - 'description' => __('The customer ID on the gateway system.', 'multisite-ultimate'), + 'description' => __('The customer ID on the gateway system.', 'ultimate-multisite'), 'type' => 'string', ], 'gateway_subscription_id' => [ - 'description' => __('The subscription ID on the gateway system.', 'multisite-ultimate'), + 'description' => __('The subscription ID on the gateway system.', 'ultimate-multisite'), 'type' => 'string', ], 'gateway_payment_id' => [ - 'description' => __('The payment ID on the gateway system.', 'multisite-ultimate'), + 'description' => __('The payment ID on the gateway system.', 'ultimate-multisite'), 'type' => 'string', ], ], @@ -455,31 +455,31 @@ public function get_rest_args() { 'properties' => [ 'site_url' => [ 'type' => 'string', - 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'multisite-ultimate'), + 'description' => __('The site subdomain or subdirectory (depending on your Multisite install). This would be "test" in "test.your-network.com".', 'ultimate-multisite'), 'minLength' => 4, 'required' => true, ], 'site_title' => [ 'type' => 'string', - 'description' => __('The site title. E.g. My Amazing Site', 'multisite-ultimate'), + 'description' => __('The site title. E.g. My Amazing Site', 'ultimate-multisite'), 'minLength' => 4, 'required' => true, ], 'publish' => [ - 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'multisite-ultimate'), + 'description' => __('If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to "active". This flag allows you to bypass the pending state.', 'ultimate-multisite'), 'type' => 'boolean', 'default' => false, ], 'template_id' => [ - 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'multisite-ultimate'), + 'description' => __('The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used.', 'ultimate-multisite'), 'type' => 'integer', ], 'site_meta' => [ - 'description' => __('An associative array of key values to be saved as site_meta.', 'multisite-ultimate'), + 'description' => __('An associative array of key values to be saved as site_meta.', 'ultimate-multisite'), 'type' => 'object', ], 'site_option' => [ - 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'multisite-ultimate'), + 'description' => __('An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations.', 'ultimate-multisite'), 'type' => 'object', ], ], @@ -488,17 +488,17 @@ public function get_rest_args() { $cart_args = [ 'products' => [ - 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'multisite-ultimate'), + 'description' => __('The products to be added to this membership. Takes an array of product ids or slugs.', 'ultimate-multisite'), 'uniqueItems' => true, 'type' => 'array', ], 'duration' => [ - 'description' => __('The membership duration.', 'multisite-ultimate'), + 'description' => __('The membership duration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('The membership duration unit.', 'multisite-ultimate'), + 'description' => __('The membership duration unit.', 'ultimate-multisite'), 'type' => 'string', 'default' => 'month', 'enum' => [ @@ -509,22 +509,22 @@ public function get_rest_args() { ], ], 'discount_code' => [ - 'description' => __('A discount code. E.g. PROMO10.', 'multisite-ultimate'), + 'description' => __('A discount code. E.g. PROMO10.', 'ultimate-multisite'), 'type' => 'string', ], 'auto_renew' => [ - 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'multisite-ultimate'), + 'description' => __('The membership auto-renew status. Useful when integrating with other payment options via this REST API.', 'ultimate-multisite'), 'type' => 'boolean', 'default' => false, 'required' => true, ], 'country' => [ - 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'multisite-ultimate'), + 'description' => __('The customer country. Used to calculate taxes and check if registration is allowed for that country.', 'ultimate-multisite'), 'type' => 'string', 'default' => '', ], 'currency' => [ - 'description' => __('The currency to be used.', 'multisite-ultimate'), + 'description' => __('The currency to be used.', 'ultimate-multisite'), 'type' => 'string', ], ]; @@ -550,7 +550,7 @@ public function maybe_create_customer($p) { $customer = wu_get_customer($customer_id); if ( ! $customer) { - return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'multisite-ultimate')); + return new \WP_Error('customer_not_found', __('The customer id sent does not correspond to a valid customer.', 'ultimate-multisite')); } } else { $customer = wu_create_customer($p['customer']); diff --git a/inc/api/schemas/broadcast-create.php b/inc/api/schemas/broadcast-create.php index 655f36322..dafb88f9b 100644 --- a/inc/api/schemas/broadcast-create.php +++ b/inc/api/schemas/broadcast-create.php @@ -20,12 +20,12 @@ */ return [ 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'notice_type' => [ - 'description' => __('Can be info, success, warning or error.', 'multisite-ultimate'), + 'description' => __('Can be info, success, warning or error.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -36,57 +36,57 @@ ], ], 'name' => [ - 'description' => __('This broadcast name, which is used as broadcast title as well.', 'multisite-ultimate'), + 'description' => __('This broadcast name, which is used as broadcast title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'multisite-ultimate'), + 'description' => __('The type being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'status' => [ - 'description' => __('The status being set.', 'multisite-ultimate'), + 'description' => __('The status being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'author_id' => [ - 'description' => __('The author ID.', 'multisite-ultimate'), + 'description' => __('The author ID.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'multisite-ultimate'), + 'description' => __('Post title.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'content' => [ - 'description' => __('Post content.', 'multisite-ultimate'), + 'description' => __('Post content.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'multisite-ultimate'), + 'description' => __('Post excerpt.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'multisite-ultimate'), + 'description' => __('Post creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'multisite-ultimate'), + 'description' => __('Post last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The slug.', 'multisite-ultimate'), + 'description' => __('The slug.', 'ultimate-multisite'), 'type' => 'mixed', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/broadcast-update.php b/inc/api/schemas/broadcast-update.php index 9a3716be4..92eb88225 100644 --- a/inc/api/schemas/broadcast-update.php +++ b/inc/api/schemas/broadcast-update.php @@ -20,12 +20,12 @@ */ return [ 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'notice_type' => [ - 'description' => __('Can be info, success, warning or error.', 'multisite-ultimate'), + 'description' => __('Can be info, success, warning or error.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -36,57 +36,57 @@ ], ], 'name' => [ - 'description' => __('This broadcast name, which is used as broadcast title as well.', 'multisite-ultimate'), + 'description' => __('This broadcast name, which is used as broadcast title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'multisite-ultimate'), + 'description' => __('The type being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'status' => [ - 'description' => __('The status being set.', 'multisite-ultimate'), + 'description' => __('The status being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'author_id' => [ - 'description' => __('The author ID.', 'multisite-ultimate'), + 'description' => __('The author ID.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'multisite-ultimate'), + 'description' => __('Post title.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'content' => [ - 'description' => __('Post content.', 'multisite-ultimate'), + 'description' => __('Post content.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'multisite-ultimate'), + 'description' => __('Post excerpt.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'multisite-ultimate'), + 'description' => __('Post creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'multisite-ultimate'), + 'description' => __('Post last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The slug.', 'multisite-ultimate'), + 'description' => __('The slug.', 'ultimate-multisite'), 'type' => 'mixed', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/checkout-form-create.php b/inc/api/schemas/checkout-form-create.php index 6779dc2f5..ff8a9b512 100644 --- a/inc/api/schemas/checkout-form-create.php +++ b/inc/api/schemas/checkout-form-create.php @@ -20,47 +20,47 @@ */ return [ 'slug' => [ - 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'multisite-ultimate'), + 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'multisite-ultimate'), + 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'active' => [ - 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => true, ], 'custom_css' => [ - 'description' => __('Custom CSS code for the checkout form.', 'multisite-ultimate'), + 'description' => __('Custom CSS code for the checkout form.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'settings' => [ - 'description' => __('The checkout form settings and configurations.', 'multisite-ultimate'), + 'description' => __('The checkout form settings and configurations.', 'ultimate-multisite'), 'type' => 'object', 'required' => false, ], 'allowed_countries' => [ - 'description' => __('The allowed countries that can access this checkout.', 'multisite-ultimate'), + 'description' => __('The allowed countries that can access this checkout.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'thank_you_page_id' => [ - 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'multisite-ultimate'), + 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'conversion_snippets' => [ - 'description' => __('Snippets to run on thank you page.', 'multisite-ultimate'), + 'description' => __('Snippets to run on thank you page.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'template' => [ - 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'multisite-ultimate'), + 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -70,22 +70,22 @@ ], ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/checkout-form-update.php b/inc/api/schemas/checkout-form-update.php index 649b0bfb1..ca206765b 100644 --- a/inc/api/schemas/checkout-form-update.php +++ b/inc/api/schemas/checkout-form-update.php @@ -20,47 +20,47 @@ */ return [ 'slug' => [ - 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'multisite-ultimate'), + 'description' => __('The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'multisite-ultimate'), + 'description' => __('Your checkout form name, which is used as checkout form title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this checkout form as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'custom_css' => [ - 'description' => __('Custom CSS code for the checkout form.', 'multisite-ultimate'), + 'description' => __('Custom CSS code for the checkout form.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'settings' => [ - 'description' => __('The checkout form settings and configurations.', 'multisite-ultimate'), + 'description' => __('The checkout form settings and configurations.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'allowed_countries' => [ - 'description' => __('The allowed countries that can access this checkout.', 'multisite-ultimate'), + 'description' => __('The allowed countries that can access this checkout.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'thank_you_page_id' => [ - 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'multisite-ultimate'), + 'description' => __('The thank you page ID. This page is shown after a successful purchase.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'conversion_snippets' => [ - 'description' => __('Snippets to run on thank you page.', 'multisite-ultimate'), + 'description' => __('Snippets to run on thank you page.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'template' => [ - 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'multisite-ultimate'), + 'description' => __("Template mode. Can be either 'blank', 'single-step' or 'multi-step'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -70,22 +70,22 @@ ], ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/customer-create.php b/inc/api/schemas/customer-create.php index 75b17e12e..f7ba81e21 100644 --- a/inc/api/schemas/customer-create.php +++ b/inc/api/schemas/customer-create.php @@ -20,17 +20,17 @@ */ return [ 'user_id' => [ - 'description' => __('The WordPress user ID attached to this customer.', 'multisite-ultimate'), + 'description' => __('The WordPress user ID attached to this customer.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'date_registered' => [ - 'description' => __('Date when the customer was created.', 'multisite-ultimate'), + 'description' => __('Date when the customer was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'email_verification' => [ - 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'multisite-ultimate'), + 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -40,32 +40,32 @@ ], ], 'last_login' => [ - 'description' => __('Date this customer last logged in.', 'multisite-ultimate'), + 'description' => __('Date this customer last logged in.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'has_trialed' => [ - 'description' => __('Whether or not the customer has trialed before.', 'multisite-ultimate'), + 'description' => __('Whether or not the customer has trialed before.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'vip' => [ - 'description' => __('If this customer is a VIP customer or not.', 'multisite-ultimate'), + 'description' => __('If this customer is a VIP customer or not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'ips' => [ - 'description' => __('List of IP addresses used by this customer.', 'multisite-ultimate'), + 'description' => __('List of IP addresses used by this customer.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'extra_information' => [ - 'description' => __('Any extra information related to this customer.', 'multisite-ultimate'), + 'description' => __('Any extra information related to this customer.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __("The customer type. Can be 'customer'.", 'multisite-ultimate'), + 'description' => __("The customer type. Can be 'customer'.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -73,27 +73,27 @@ ], ], 'signup_form' => [ - 'description' => __('The form used to signup.', 'multisite-ultimate'), + 'description' => __('The form used to signup.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/customer-update.php b/inc/api/schemas/customer-update.php index ec68d764b..c881c07af 100644 --- a/inc/api/schemas/customer-update.php +++ b/inc/api/schemas/customer-update.php @@ -20,17 +20,17 @@ */ return [ 'user_id' => [ - 'description' => __('The WordPress user ID attached to this customer.', 'multisite-ultimate'), + 'description' => __('The WordPress user ID attached to this customer.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_registered' => [ - 'description' => __('Date when the customer was created.', 'multisite-ultimate'), + 'description' => __('Date when the customer was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'email_verification' => [ - 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'multisite-ultimate'), + 'description' => __('Email verification status - either `none`, `pending`, or `verified`.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -40,32 +40,32 @@ ], ], 'last_login' => [ - 'description' => __('Date this customer last logged in.', 'multisite-ultimate'), + 'description' => __('Date this customer last logged in.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'has_trialed' => [ - 'description' => __('Whether or not the customer has trialed before.', 'multisite-ultimate'), + 'description' => __('Whether or not the customer has trialed before.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'vip' => [ - 'description' => __('If this customer is a VIP customer or not.', 'multisite-ultimate'), + 'description' => __('If this customer is a VIP customer or not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'ips' => [ - 'description' => __('List of IP addresses used by this customer.', 'multisite-ultimate'), + 'description' => __('List of IP addresses used by this customer.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'extra_information' => [ - 'description' => __('Any extra information related to this customer.', 'multisite-ultimate'), + 'description' => __('Any extra information related to this customer.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'type' => [ - 'description' => __("The customer type. Can be 'customer'.", 'multisite-ultimate'), + 'description' => __("The customer type. Can be 'customer'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,27 +73,27 @@ ], ], 'signup_form' => [ - 'description' => __('The form used to signup.', 'multisite-ultimate'), + 'description' => __('The form used to signup.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/discount-code-create.php b/inc/api/schemas/discount-code-create.php index 54219ab1f..d46ee9278 100644 --- a/inc/api/schemas/discount-code-create.php +++ b/inc/api/schemas/discount-code-create.php @@ -20,37 +20,37 @@ */ return [ 'name' => [ - 'description' => __('Your discount code name, which is used as discount code title as well.', 'multisite-ultimate'), + 'description' => __('Your discount code name, which is used as discount code title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'code' => [ - 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'multisite-ultimate'), + 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'description' => [ - 'description' => __('A description for the discount code, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the discount code, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'uses' => [ - 'description' => __('Number of times this discount was applied.', 'multisite-ultimate'), + 'description' => __('Number of times this discount was applied.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'max_uses' => [ - 'description' => __('The number of times this discount can be used before becoming inactive.', 'multisite-ultimate'), + 'description' => __('The number of times this discount can be used before becoming inactive.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'apply_to_renewals' => [ - 'description' => __('Wether or not we should apply the discount to membership renewals.', 'multisite-ultimate'), + 'description' => __('Wether or not we should apply the discount to membership renewals.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'multisite-ultimate'), + 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -59,12 +59,12 @@ ], ], 'value' => [ - 'description' => __('Amount discounted in cents.', 'multisite-ultimate'), + 'description' => __('Amount discounted in cents.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'setup_fee_type' => [ - 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'multisite-ultimate'), + 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,52 +73,52 @@ ], ], 'setup_fee_value' => [ - 'description' => __('Amount discounted for setup fees in cents.', 'multisite-ultimate'), + 'description' => __('Amount discounted for setup fees in cents.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_start' => [ - 'description' => __('Start date for the coupon code to be considered valid.', 'multisite-ultimate'), + 'description' => __('Start date for the coupon code to be considered valid.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Expiration date for the coupon code.', 'multisite-ultimate'), + 'description' => __('Expiration date for the coupon code.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this discount code was created.', 'multisite-ultimate'), + 'description' => __('Date when this discount code was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'allowed_products' => [ - 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'multisite-ultimate'), + 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'limit_products' => [ - 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'multisite-ultimate'), + 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/discount-code-update.php b/inc/api/schemas/discount-code-update.php index 7ff499076..b693838ee 100644 --- a/inc/api/schemas/discount-code-update.php +++ b/inc/api/schemas/discount-code-update.php @@ -20,37 +20,37 @@ */ return [ 'name' => [ - 'description' => __('Your discount code name, which is used as discount code title as well.', 'multisite-ultimate'), + 'description' => __('Your discount code name, which is used as discount code title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'code' => [ - 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'multisite-ultimate'), + 'description' => __('A unique identification to redeem the discount code. E.g. PROMO10.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the discount code, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the discount code, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'uses' => [ - 'description' => __('Number of times this discount was applied.', 'multisite-ultimate'), + 'description' => __('Number of times this discount was applied.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'max_uses' => [ - 'description' => __('The number of times this discount can be used before becoming inactive.', 'multisite-ultimate'), + 'description' => __('The number of times this discount can be used before becoming inactive.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'apply_to_renewals' => [ - 'description' => __('Wether or not we should apply the discount to membership renewals.', 'multisite-ultimate'), + 'description' => __('Wether or not we should apply the discount to membership renewals.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'multisite-ultimate'), + 'description' => __("The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF).", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -59,12 +59,12 @@ ], ], 'value' => [ - 'description' => __('Amount discounted in cents.', 'multisite-ultimate'), + 'description' => __('Amount discounted in cents.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'setup_fee_type' => [ - 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'multisite-ultimate'), + 'description' => __('Type of the discount for the setup fee value. Can be a percentage or absolute.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -73,52 +73,52 @@ ], ], 'setup_fee_value' => [ - 'description' => __('Amount discounted for setup fees in cents.', 'multisite-ultimate'), + 'description' => __('Amount discounted for setup fees in cents.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this discount code as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_start' => [ - 'description' => __('Start date for the coupon code to be considered valid.', 'multisite-ultimate'), + 'description' => __('Start date for the coupon code to be considered valid.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Expiration date for the coupon code.', 'multisite-ultimate'), + 'description' => __('Expiration date for the coupon code.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this discount code was created.', 'multisite-ultimate'), + 'description' => __('Date when this discount code was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'allowed_products' => [ - 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'multisite-ultimate'), + 'description' => __('The list of products that allows this discount code to be used. If empty, all products will accept this code.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'limit_products' => [ - 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'multisite-ultimate'), + 'description' => __('This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/domain-create.php b/inc/api/schemas/domain-create.php index 358198610..16762ae9f 100644 --- a/inc/api/schemas/domain-create.php +++ b/inc/api/schemas/domain-create.php @@ -20,32 +20,32 @@ */ return [ 'domain' => [ - 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'multisite-ultimate'), + 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'blog_id' => [ - 'description' => __('The blog ID attached to this domain.', 'multisite-ultimate'), + 'description' => __('The blog ID attached to this domain.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'active' => [ - 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'primary_domain' => [ - 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'multisite-ultimate'), + 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'secure' => [ - 'description' => __('If this domain has some SSL security or not.', 'multisite-ultimate'), + 'description' => __('If this domain has some SSL security or not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'stage' => [ - 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'multisite-ultimate'), + 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -57,22 +57,22 @@ ], ], 'date_created' => [ - 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'multisite-ultimate'), + 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/domain-update.php b/inc/api/schemas/domain-update.php index 7d3f92021..46e663a1a 100644 --- a/inc/api/schemas/domain-update.php +++ b/inc/api/schemas/domain-update.php @@ -20,32 +20,32 @@ */ return [ 'domain' => [ - 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'multisite-ultimate'), + 'description' => __("Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'blog_id' => [ - 'description' => __('The blog ID attached to this domain.', 'multisite-ultimate'), + 'description' => __('The blog ID attached to this domain.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this domain as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'primary_domain' => [ - 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'multisite-ultimate'), + 'description' => __("Define true to set this as primary domain of a site, meaning it's the main url, or set false.", 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'secure' => [ - 'description' => __('If this domain has some SSL security or not.', 'multisite-ultimate'), + 'description' => __('If this domain has some SSL security or not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'stage' => [ - 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'multisite-ultimate'), + 'description' => __('The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -57,22 +57,22 @@ ], ], 'date_created' => [ - 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'multisite-ultimate'), + 'description' => __('Date when the domain was created. If no date is set, the current date and time will be used.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/email-create.php b/inc/api/schemas/email-create.php index c94adc60d..dd8b973bd 100644 --- a/inc/api/schemas/email-create.php +++ b/inc/api/schemas/email-create.php @@ -20,7 +20,7 @@ */ return [ 'style' => [ - 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'multisite-ultimate'), + 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -29,32 +29,32 @@ ], ], 'schedule' => [ - 'description' => __('Whether or not this is a scheduled email.', 'multisite-ultimate'), + 'description' => __('Whether or not this is a scheduled email.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'multisite-ultimate'), + 'description' => __('The type being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this email to be sent.', 'multisite-ultimate'), + 'description' => __('The event that needs to be fired for this email to be sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'send_hours' => [ - 'description' => __('The amount of hours that the email will wait before is sent.', 'multisite-ultimate'), + 'description' => __('The amount of hours that the email will wait before is sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'send_days' => [ - 'description' => __('The amount of days that the email will wait before is sent.', 'multisite-ultimate'), + 'description' => __('The amount of days that the email will wait before is sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'schedule_type' => [ - 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'multisite-ultimate'), + 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,27 +63,27 @@ ], ], 'name' => [ - 'description' => __('The name being set as title.', 'multisite-ultimate'), + 'description' => __('The name being set as title.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'custom_sender' => [ - 'description' => __('If has a custom sender.', 'multisite-ultimate'), + 'description' => __('If has a custom sender.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'custom_sender_name' => [ - 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'multisite-ultimate'), + 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'custom_sender_email' => [ - 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'multisite-ultimate'), + 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'target' => [ - 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'multisite-ultimate'), + 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -92,52 +92,52 @@ ], ], 'send_copy_to_admin' => [ - 'description' => __('Checks if we should send a copy of the email to the admin.', 'multisite-ultimate'), + 'description' => __('Checks if we should send a copy of the email to the admin.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'active' => [ - 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'legacy' => [ - 'description' => __('Whether or not this is a legacy email.', 'multisite-ultimate'), + 'description' => __('Whether or not this is a legacy email.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'multisite-ultimate'), + 'description' => __('Post title.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'content' => [ - 'description' => __('Post content.', 'multisite-ultimate'), + 'description' => __('Post content.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'multisite-ultimate'), + 'description' => __('Post excerpt.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'multisite-ultimate'), + 'description' => __('Post creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'multisite-ultimate'), + 'description' => __('Post last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/email-update.php b/inc/api/schemas/email-update.php index 72d7b60c6..6bd298964 100644 --- a/inc/api/schemas/email-update.php +++ b/inc/api/schemas/email-update.php @@ -20,7 +20,7 @@ */ return [ 'style' => [ - 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'multisite-ultimate'), + 'description' => __("The email style. Can be 'html' or 'plain-text'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -29,32 +29,32 @@ ], ], 'schedule' => [ - 'description' => __('Whether or not this is a scheduled email.', 'multisite-ultimate'), + 'description' => __('Whether or not this is a scheduled email.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __('The type being set.', 'multisite-ultimate'), + 'description' => __('The type being set.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this email to be sent.', 'multisite-ultimate'), + 'description' => __('The event that needs to be fired for this email to be sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'send_hours' => [ - 'description' => __('The amount of hours that the email will wait before is sent.', 'multisite-ultimate'), + 'description' => __('The amount of hours that the email will wait before is sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'send_days' => [ - 'description' => __('The amount of days that the email will wait before is sent.', 'multisite-ultimate'), + 'description' => __('The amount of days that the email will wait before is sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'schedule_type' => [ - 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'multisite-ultimate'), + 'description' => __("The type of schedule. Can be 'days' or 'hours'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,27 +63,27 @@ ], ], 'name' => [ - 'description' => __('The name being set as title.', 'multisite-ultimate'), + 'description' => __('The name being set as title.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'custom_sender' => [ - 'description' => __('If has a custom sender.', 'multisite-ultimate'), + 'description' => __('If has a custom sender.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'custom_sender_name' => [ - 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'multisite-ultimate'), + 'description' => __('The name of the custom sender. E.g. From: John Doe.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'custom_sender_email' => [ - 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'multisite-ultimate'), + 'description' => __('The email of the custom sender. E.g. From: johndoe@gmail.com.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'target' => [ - 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'multisite-ultimate'), + 'description' => __("If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -92,52 +92,52 @@ ], ], 'send_copy_to_admin' => [ - 'description' => __('Checks if we should send a copy of the email to the admin.', 'multisite-ultimate'), + 'description' => __('Checks if we should send a copy of the email to the admin.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'active' => [ - 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this email as active (true), which means available will fire when the event occur, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'legacy' => [ - 'description' => __('Whether or not this is a legacy email.', 'multisite-ultimate'), + 'description' => __('Whether or not this is a legacy email.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'title' => [ - 'description' => __('Post title.', 'multisite-ultimate'), + 'description' => __('Post title.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'content' => [ - 'description' => __('Post content.', 'multisite-ultimate'), + 'description' => __('Post content.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'excerpt' => [ - 'description' => __('Post excerpt.', 'multisite-ultimate'), + 'description' => __('Post excerpt.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_created' => [ - 'description' => __('Post creation date.', 'multisite-ultimate'), + 'description' => __('Post creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Post last modification date.', 'multisite-ultimate'), + 'description' => __('Post last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/event-create.php b/inc/api/schemas/event-create.php index dab185747..2a26de139 100644 --- a/inc/api/schemas/event-create.php +++ b/inc/api/schemas/event-create.php @@ -20,22 +20,22 @@ */ return [ 'severity' => [ - 'description' => __('Severity of the problem.', 'multisite-ultimate'), + 'description' => __('Severity of the problem.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'date_created' => [ - 'description' => __('Date when the event was created.', 'multisite-ultimate'), + 'description' => __('Date when the event was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'payload' => [ - 'description' => __('Payload of the event.', 'multisite-ultimate'), + 'description' => __('Payload of the event.', 'ultimate-multisite'), 'type' => 'object', 'required' => true, ], 'initiator' => [ - 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'multisite-ultimate'), + 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -44,32 +44,32 @@ ], ], 'object_type' => [ - 'description' => __("The type of object related to this event. It's usually the model name.", 'multisite-ultimate'), + 'description' => __("The type of object related to this event. It's usually the model name.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'slug' => [ - 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'multisite-ultimate'), + 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'object_id' => [ - 'description' => __('The ID of the related objects.', 'multisite-ultimate'), + 'description' => __('The ID of the related objects.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/event-update.php b/inc/api/schemas/event-update.php index 3b8a287ac..c32e01134 100644 --- a/inc/api/schemas/event-update.php +++ b/inc/api/schemas/event-update.php @@ -20,22 +20,22 @@ */ return [ 'severity' => [ - 'description' => __('Severity of the problem.', 'multisite-ultimate'), + 'description' => __('Severity of the problem.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when the event was created.', 'multisite-ultimate'), + 'description' => __('Date when the event was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'payload' => [ - 'description' => __('Payload of the event.', 'multisite-ultimate'), + 'description' => __('Payload of the event.', 'ultimate-multisite'), 'type' => 'object', 'required' => false, ], 'initiator' => [ - 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'multisite-ultimate'), + 'description' => __('The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -44,32 +44,32 @@ ], ], 'object_type' => [ - 'description' => __("The type of object related to this event. It's usually the model name.", 'multisite-ultimate'), + 'description' => __("The type of object related to this event. It's usually the model name.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'slug' => [ - 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'multisite-ultimate'), + 'description' => __('The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'object_id' => [ - 'description' => __('The ID of the related objects.', 'multisite-ultimate'), + 'description' => __('The ID of the related objects.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/membership-create.php b/inc/api/schemas/membership-create.php index 5bc8f7a67..a91ab2f6e 100644 --- a/inc/api/schemas/membership-create.php +++ b/inc/api/schemas/membership-create.php @@ -22,37 +22,37 @@ */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this membership.', 'multisite-ultimate'), + 'description' => __('The ID of the customer attached to this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'user_id' => [ - 'description' => __('The user ID attached to this membership.', 'multisite-ultimate'), + 'description' => __('The user ID attached to this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'plan_id' => [ - 'description' => __('The plan ID associated with the membership.', 'multisite-ultimate'), + 'description' => __('The plan ID associated with the membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'addon_products' => [ - 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'multisite-ultimate'), + 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'ultimate-multisite'), 'type' => 'mixed', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'duration' => [ - 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'multisite-ultimate'), + 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'multisite-ultimate'), + 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,118 +63,118 @@ ], ], 'amount' => [ - 'description' => __('The product amount.', 'multisite-ultimate'), + 'description' => __('The product amount.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'initial_amount' => [ - 'description' => __('The initial amount charged for this membership, including the setup fee.', 'multisite-ultimate'), + 'description' => __('The initial amount charged for this membership, including the setup fee.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date of creation of this membership.', 'multisite-ultimate'), + 'description' => __('Date of creation of this membership.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_activated' => [ - 'description' => __('Date when this membership was activated.', 'multisite-ultimate'), + 'description' => __('Date when this membership was activated.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_trial_end' => [ - 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'multisite-ultimate'), + 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_renewed' => [ - 'description' => __('Date when the membership was cancelled.', 'multisite-ultimate'), + 'description' => __('Date when the membership was cancelled.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_cancellation' => [ - 'description' => __('Date when the membership was cancelled.', 'multisite-ultimate'), + 'description' => __('Date when the membership was cancelled.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Date when the membership will expiry.', 'multisite-ultimate'), + 'description' => __('Date when the membership will expiry.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_payment_plan_completed' => [ - 'description' => __('Change of the payment completion for the plan value.', 'multisite-ultimate'), + 'description' => __('Change of the payment completion for the plan value.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'auto_renew' => [ - 'description' => __('If this membership should auto-renewal.', 'multisite-ultimate'), + 'description' => __('If this membership should auto-renewal.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'times_billed' => [ - 'description' => __('Amount of times this membership got billed.', 'multisite-ultimate'), + 'description' => __('Amount of times this membership got billed.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('Maximum times we should charge this membership.', 'multisite-ultimate'), + 'description' => __('Maximum times we should charge this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'status' => [ - 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'multisite-ultimate'), + 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => Membership_Status::get_allowed_list(), ], 'gateway_customer_id' => [ - 'description' => __('The ID of the customer on the payment gateway database.', 'multisite-ultimate'), + 'description' => __('The ID of the customer on the payment gateway database.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'gateway_subscription_id' => [ - 'description' => __('The ID of the subscription on the payment gateway database.', 'multisite-ultimate'), + 'description' => __('The ID of the subscription on the payment gateway database.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this subscription.', 'multisite-ultimate'), + 'description' => __('ID of the gateway being used on this subscription.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'signup_method' => [ - 'description' => __('Signup method used to create this membership.', 'multisite-ultimate'), + 'description' => __('Signup method used to create this membership.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'upgraded_from' => [ - 'description' => __('Plan that this membership upgraded from.', 'multisite-ultimate'), + 'description' => __('Plan that this membership upgraded from.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date this membership was last modified.', 'multisite-ultimate'), + 'description' => __('Date this membership was last modified.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'disabled' => [ - 'description' => __('If this membership is a disabled one.', 'multisite-ultimate'), + 'description' => __('If this membership is a disabled one.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'recurring' => [ - 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'multisite-ultimate'), + 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/membership-update.php b/inc/api/schemas/membership-update.php index c61a9e605..41562b549 100644 --- a/inc/api/schemas/membership-update.php +++ b/inc/api/schemas/membership-update.php @@ -22,37 +22,37 @@ */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this membership.', 'multisite-ultimate'), + 'description' => __('The ID of the customer attached to this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'user_id' => [ - 'description' => __('The user ID attached to this membership.', 'multisite-ultimate'), + 'description' => __('The user ID attached to this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'plan_id' => [ - 'description' => __('The plan ID associated with the membership.', 'multisite-ultimate'), + 'description' => __('The plan ID associated with the membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'addon_products' => [ - 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'multisite-ultimate'), + 'description' => __('Additional products related to this membership. Services, Packages or other types of products.', 'ultimate-multisite'), 'type' => 'mixed', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency that this membership. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'duration' => [ - 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'multisite-ultimate'), + 'description' => __('The interval period between a charge. Only the interval amount, the unit will be defined in another property.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'multisite-ultimate'), + 'description' => __("The duration amount type. Can be 'day', 'week', 'month' or 'year'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -63,118 +63,118 @@ ], ], 'amount' => [ - 'description' => __('The product amount.', 'multisite-ultimate'), + 'description' => __('The product amount.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'initial_amount' => [ - 'description' => __('The initial amount charged for this membership, including the setup fee.', 'multisite-ultimate'), + 'description' => __('The initial amount charged for this membership, including the setup fee.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date of creation of this membership.', 'multisite-ultimate'), + 'description' => __('Date of creation of this membership.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_activated' => [ - 'description' => __('Date when this membership was activated.', 'multisite-ultimate'), + 'description' => __('Date when this membership was activated.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_trial_end' => [ - 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'multisite-ultimate'), + 'description' => __('Date when the trial period ends, if this membership has or had a trial period.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_renewed' => [ - 'description' => __('Date when the membership was cancelled.', 'multisite-ultimate'), + 'description' => __('Date when the membership was cancelled.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_cancellation' => [ - 'description' => __('Date when the membership was cancelled.', 'multisite-ultimate'), + 'description' => __('Date when the membership was cancelled.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_expiration' => [ - 'description' => __('Date when the membership will expiry.', 'multisite-ultimate'), + 'description' => __('Date when the membership will expiry.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_payment_plan_completed' => [ - 'description' => __('Change of the payment completion for the plan value.', 'multisite-ultimate'), + 'description' => __('Change of the payment completion for the plan value.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'auto_renew' => [ - 'description' => __('If this membership should auto-renewal.', 'multisite-ultimate'), + 'description' => __('If this membership should auto-renewal.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'times_billed' => [ - 'description' => __('Amount of times this membership got billed.', 'multisite-ultimate'), + 'description' => __('Amount of times this membership got billed.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('Maximum times we should charge this membership.', 'multisite-ultimate'), + 'description' => __('Maximum times we should charge this membership.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'status' => [ - 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'multisite-ultimate'), + 'description' => __("The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => Membership_Status::get_allowed_list(), ], 'gateway_customer_id' => [ - 'description' => __('The ID of the customer on the payment gateway database.', 'multisite-ultimate'), + 'description' => __('The ID of the customer on the payment gateway database.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'gateway_subscription_id' => [ - 'description' => __('The ID of the subscription on the payment gateway database.', 'multisite-ultimate'), + 'description' => __('The ID of the subscription on the payment gateway database.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this subscription.', 'multisite-ultimate'), + 'description' => __('ID of the gateway being used on this subscription.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'signup_method' => [ - 'description' => __('Signup method used to create this membership.', 'multisite-ultimate'), + 'description' => __('Signup method used to create this membership.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'upgraded_from' => [ - 'description' => __('Plan that this membership upgraded from.', 'multisite-ultimate'), + 'description' => __('Plan that this membership upgraded from.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date this membership was last modified.', 'multisite-ultimate'), + 'description' => __('Date this membership was last modified.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'disabled' => [ - 'description' => __('If this membership is a disabled one.', 'multisite-ultimate'), + 'description' => __('If this membership is a disabled one.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'recurring' => [ - 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'multisite-ultimate'), + 'description' => __('If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/payment-create.php b/inc/api/schemas/payment-create.php index d64b347d9..408285ced 100644 --- a/inc/api/schemas/payment-create.php +++ b/inc/api/schemas/payment-create.php @@ -22,103 +22,103 @@ */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the customer attached to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'membership_id' => [ - 'description' => __('The ID of the membership attached to this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the membership attached to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'parent_id' => [ - 'description' => __('The ID from another payment that this payment is related to.', 'multisite-ultimate'), + 'description' => __('The ID from another payment that this payment is related to.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'currency' => [ - 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'subtotal' => [ - 'description' => __('Value before taxes, discounts, fees and other changes.', 'multisite-ultimate'), + 'description' => __('Value before taxes, discounts, fees and other changes.', 'ultimate-multisite'), 'type' => 'number', 'required' => true, ], 'refund_total' => [ - 'description' => __('Total amount refunded.', 'multisite-ultimate'), + 'description' => __('Total amount refunded.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'tax_total' => [ - 'description' => __('The amount, in currency, of the tax.', 'multisite-ultimate'), + 'description' => __('The amount, in currency, of the tax.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'discount_code' => [ - 'description' => __('Discount code used.', 'multisite-ultimate'), + 'description' => __('Discount code used.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'total' => [ - 'description' => __('This takes into account fees, discounts and credits.', 'multisite-ultimate'), + 'description' => __('This takes into account fees, discounts and credits.', 'ultimate-multisite'), 'type' => 'number', 'required' => true, ], 'status' => [ - 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'multisite-ultimate'), + 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => Payment_Status::get_allowed_list(), ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this payment.', 'multisite-ultimate'), + 'description' => __('ID of the gateway being used on this payment.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'product_id' => [ - 'description' => __('The ID of the product of this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the product of this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'gateway_payment_id' => [ - 'description' => __('The ID of the payment on the gateway, if it exists.', 'multisite-ultimate'), + 'description' => __('The ID of the payment on the gateway, if it exists.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'discount_total' => [ - 'description' => __('The total value of the discounts applied to this payment.', 'multisite-ultimate'), + 'description' => __('The total value of the discounts applied to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'invoice_number' => [ - 'description' => __('Sequential invoice number assigned to this payment.', 'multisite-ultimate'), + 'description' => __('Sequential invoice number assigned to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'cancel_membership_on_refund' => [ - 'description' => __('Holds if we need to cancel the membership on refund.', 'multisite-ultimate'), + 'description' => __('Holds if we need to cancel the membership on refund.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/payment-update.php b/inc/api/schemas/payment-update.php index 8d21f1f48..872554d43 100644 --- a/inc/api/schemas/payment-update.php +++ b/inc/api/schemas/payment-update.php @@ -22,103 +22,103 @@ */ return [ 'customer_id' => [ - 'description' => __('The ID of the customer attached to this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the customer attached to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'membership_id' => [ - 'description' => __('The ID of the membership attached to this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the membership attached to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'parent_id' => [ - 'description' => __('The ID from another payment that this payment is related to.', 'multisite-ultimate'), + 'description' => __('The ID from another payment that this payment is related to.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'currency' => [ - 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency of this payment. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'subtotal' => [ - 'description' => __('Value before taxes, discounts, fees and other changes.', 'multisite-ultimate'), + 'description' => __('Value before taxes, discounts, fees and other changes.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'refund_total' => [ - 'description' => __('Total amount refunded.', 'multisite-ultimate'), + 'description' => __('Total amount refunded.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'tax_total' => [ - 'description' => __('The amount, in currency, of the tax.', 'multisite-ultimate'), + 'description' => __('The amount, in currency, of the tax.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'discount_code' => [ - 'description' => __('Discount code used.', 'multisite-ultimate'), + 'description' => __('Discount code used.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'total' => [ - 'description' => __('This takes into account fees, discounts and credits.', 'multisite-ultimate'), + 'description' => __('This takes into account fees, discounts and credits.', 'ultimate-multisite'), 'type' => 'number', 'required' => false, ], 'status' => [ - 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'multisite-ultimate'), + 'description' => __("The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => Payment_Status::get_allowed_list(), ], 'gateway' => [ - 'description' => __('ID of the gateway being used on this payment.', 'multisite-ultimate'), + 'description' => __('ID of the gateway being used on this payment.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'product_id' => [ - 'description' => __('The ID of the product of this payment.', 'multisite-ultimate'), + 'description' => __('The ID of the product of this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'gateway_payment_id' => [ - 'description' => __('The ID of the payment on the gateway, if it exists.', 'multisite-ultimate'), + 'description' => __('The ID of the payment on the gateway, if it exists.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'discount_total' => [ - 'description' => __('The total value of the discounts applied to this payment.', 'multisite-ultimate'), + 'description' => __('The total value of the discounts applied to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'invoice_number' => [ - 'description' => __('Sequential invoice number assigned to this payment.', 'multisite-ultimate'), + 'description' => __('Sequential invoice number assigned to this payment.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'cancel_membership_on_refund' => [ - 'description' => __('Holds if we need to cancel the membership on refund.', 'multisite-ultimate'), + 'description' => __('Holds if we need to cancel the membership on refund.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/product-create.php b/inc/api/schemas/product-create.php index 6399e8b1b..7e9aa3ae1 100644 --- a/inc/api/schemas/product-create.php +++ b/inc/api/schemas/product-create.php @@ -20,32 +20,32 @@ */ return [ 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the product.', 'multisite-ultimate'), + 'description' => __('The ID of the feature image of the product.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'slug' => [ - 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'multisite-ultimate'), + 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('Your product name, which is used as product title as well.', 'multisite-ultimate'), + 'description' => __('Your product name, which is used as product title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the product, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the product, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'pricing_type' => [ - 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'multisite-ultimate'), + 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -55,12 +55,12 @@ ], ], 'trial_duration' => [ - 'description' => __('The duration of the trial period of this product, if the product has one.', 'multisite-ultimate'), + 'description' => __('The duration of the trial period of this product, if the product has one.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'trial_duration_unit' => [ - 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'multisite-ultimate'), + 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -71,12 +71,12 @@ ], ], 'duration' => [ - 'description' => __('Time interval between charges.', 'multisite-ultimate'), + 'description' => __('Time interval between charges.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('Time interval unit between charges.', 'multisite-ultimate'), + 'description' => __('Time interval unit between charges.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -87,22 +87,22 @@ ], ], 'amount' => [ - 'description' => __('The value of this product. E.g. 19.99.', 'multisite-ultimate'), + 'description' => __('The value of this product. E.g. 19.99.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'setup_fee' => [ - 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'multisite-ultimate'), + 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'multisite-ultimate'), + 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -112,87 +112,87 @@ ], ], 'parent_id' => [ - 'description' => __('The ID from another Product that this product is related to.', 'multisite-ultimate'), + 'description' => __('The ID from another Product that this product is related to.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'recurring' => [ - 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'multisite-ultimate'), + 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('The number of times we should charge this product.', 'multisite-ultimate'), + 'description' => __('The number of times we should charge this product.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'multisite-ultimate'), + 'description' => __('Date when this was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date when this was last modified.', 'multisite-ultimate'), + 'description' => __('Date when this was last modified.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'taxable' => [ - 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'multisite-ultimate'), + 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'tax_category' => [ - 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'multisite-ultimate'), + 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'contact_us_label' => [ - 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'multisite-ultimate'), + 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'contact_us_link' => [ - 'description' => __('The url where the contact us button will lead to.', 'multisite-ultimate'), + 'description' => __('The url where the contact us button will lead to.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'feature_list' => [ - 'description' => __('A list (array) of features of the product.', 'multisite-ultimate'), + 'description' => __('A list (array) of features of the product.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'customer_role' => [ - 'description' => __('The customer role of this product.', 'multisite-ultimate'), + 'description' => __('The customer role of this product.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'available_addons' => [ - 'description' => __('The available addons of this product.', 'multisite-ultimate'), + 'description' => __('The available addons of this product.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'group' => [ - 'description' => __('The group of this product, if has any.', 'multisite-ultimate'), + 'description' => __('The group of this product, if has any.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'legacy_options' => [ - 'description' => __('If the legacy options are enabled.', 'multisite-ultimate'), + 'description' => __('If the legacy options are enabled.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'featured_plan' => [ - 'description' => __('Feature list for pricing tables.', 'multisite-ultimate'), + 'description' => __('Feature list for pricing tables.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], diff --git a/inc/api/schemas/product-update.php b/inc/api/schemas/product-update.php index bc09a4eec..7ec721a8c 100644 --- a/inc/api/schemas/product-update.php +++ b/inc/api/schemas/product-update.php @@ -20,32 +20,32 @@ */ return [ 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the product.', 'multisite-ultimate'), + 'description' => __('The ID of the feature image of the product.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'slug' => [ - 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'multisite-ultimate'), + 'description' => __('The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('Your product name, which is used as product title as well.', 'multisite-ultimate'), + 'description' => __('Your product name, which is used as product title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the product, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the product, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'currency' => [ - 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'multisite-ultimate'), + 'description' => __("The currency that this product accepts. It's a 3-letter code. E.g. 'USD'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'pricing_type' => [ - 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'multisite-ultimate'), + 'description' => __("The pricing type can be 'free', 'paid' or 'contact_us'.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -55,12 +55,12 @@ ], ], 'trial_duration' => [ - 'description' => __('The duration of the trial period of this product, if the product has one.', 'multisite-ultimate'), + 'description' => __('The duration of the trial period of this product, if the product has one.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'trial_duration_unit' => [ - 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'multisite-ultimate'), + 'description' => __('The unit of the trial duration amount. Can be day, week, month or year.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -71,12 +71,12 @@ ], ], 'duration' => [ - 'description' => __('Time interval between charges.', 'multisite-ultimate'), + 'description' => __('Time interval between charges.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'duration_unit' => [ - 'description' => __('Time interval unit between charges.', 'multisite-ultimate'), + 'description' => __('Time interval unit between charges.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -87,22 +87,22 @@ ], ], 'amount' => [ - 'description' => __('The value of this product. E.g. 19.99.', 'multisite-ultimate'), + 'description' => __('The value of this product. E.g. 19.99.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'setup_fee' => [ - 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'multisite-ultimate'), + 'description' => __('The setup fee value, if the product has one. E.g. 159.99.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this product as active (true), which means available to be used, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'type' => [ - 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'multisite-ultimate'), + 'description' => __("The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -112,87 +112,87 @@ ], ], 'parent_id' => [ - 'description' => __('The ID from another Product that this product is related to.', 'multisite-ultimate'), + 'description' => __('The ID from another Product that this product is related to.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'recurring' => [ - 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'multisite-ultimate'), + 'description' => __('Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'billing_cycles' => [ - 'description' => __('The number of times we should charge this product.', 'multisite-ultimate'), + 'description' => __('The number of times we should charge this product.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'multisite-ultimate'), + 'description' => __('Date when this was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Date when this was last modified.', 'multisite-ultimate'), + 'description' => __('Date when this was last modified.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'taxable' => [ - 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'multisite-ultimate'), + 'description' => __('Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'tax_category' => [ - 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'multisite-ultimate'), + 'description' => __('Category of taxes applied to this product. You need to set this if taxable is set to true.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'contact_us_label' => [ - 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'multisite-ultimate'), + 'description' => __("If the product is the 'contact_us' type, it will need a label for the contact us button.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'contact_us_link' => [ - 'description' => __('The url where the contact us button will lead to.', 'multisite-ultimate'), + 'description' => __('The url where the contact us button will lead to.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'feature_list' => [ - 'description' => __('A list (array) of features of the product.', 'multisite-ultimate'), + 'description' => __('A list (array) of features of the product.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'customer_role' => [ - 'description' => __('The customer role of this product.', 'multisite-ultimate'), + 'description' => __('The customer role of this product.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'available_addons' => [ - 'description' => __('The available addons of this product.', 'multisite-ultimate'), + 'description' => __('The available addons of this product.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'group' => [ - 'description' => __('The group of this product, if has any.', 'multisite-ultimate'), + 'description' => __('The group of this product, if has any.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'legacy_options' => [ - 'description' => __('If the legacy options are enabled.', 'multisite-ultimate'), + 'description' => __('If the legacy options are enabled.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'featured_plan' => [ - 'description' => __('Feature list for pricing tables.', 'multisite-ultimate'), + 'description' => __('Feature list for pricing tables.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], diff --git a/inc/api/schemas/site-create.php b/inc/api/schemas/site-create.php index 24d1854ea..e5be7889e 100644 --- a/inc/api/schemas/site-create.php +++ b/inc/api/schemas/site-create.php @@ -20,107 +20,107 @@ */ return [ 'categories' => [ - 'description' => __('The categories this site belongs to.', 'multisite-ultimate'), + 'description' => __('The categories this site belongs to.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the site.', 'multisite-ultimate'), + 'description' => __('The ID of the feature image of the site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'site_id' => [ - 'description' => __('The network ID for this site.', 'multisite-ultimate'), + 'description' => __('The network ID for this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'title' => [ - 'description' => __('The site title.', 'multisite-ultimate'), + 'description' => __('The site title.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'name' => [ - 'description' => __('The site name.', 'multisite-ultimate'), + 'description' => __('The site name.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'description' => [ - 'description' => __('A description for the site, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the site, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'domain' => [ - 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'multisite-ultimate'), + 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'path' => [ - 'description' => __('Path of the site. Used when in sub-directory mode.', 'multisite-ultimate'), + 'description' => __('Path of the site. Used when in sub-directory mode.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'registered' => [ - 'description' => __('Date when the site was registered.', 'multisite-ultimate'), + 'description' => __('Date when the site was registered.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'last_updated' => [ - 'description' => __('Date of the last update on this site.', 'multisite-ultimate'), + 'description' => __('Date of the last update on this site.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Holds the ID of the customer that owns this site.', 'multisite-ultimate'), + 'description' => __('Holds the ID of the customer that owns this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'public' => [ - 'description' => __('Set true if this site is a public one, false if not.', 'multisite-ultimate'), + 'description' => __('Set true if this site is a public one, false if not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'archived' => [ - 'description' => __('Is this an archived site.', 'multisite-ultimate'), + 'description' => __('Is this an archived site.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'mature' => [ - 'description' => __('Is this a site with mature content.', 'multisite-ultimate'), + 'description' => __('Is this a site with mature content.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'spam' => [ - 'description' => __('Is this an spam site.', 'multisite-ultimate'), + 'description' => __('Is this an spam site.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'deleted' => [ - 'description' => __('Is this site deleted.', 'multisite-ultimate'), + 'description' => __('Is this site deleted.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'lang_id' => [ - 'description' => __('The ID of the language being used on this site.', 'multisite-ultimate'), + 'description' => __('The ID of the language being used on this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'customer_id' => [ - 'description' => __('The ID of the customer that owns this site.', 'multisite-ultimate'), + 'description' => __('The ID of the customer that owns this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'membership_id' => [ - 'description' => __('The ID of the membership associated with this site, if any.', 'multisite-ultimate'), + 'description' => __('The ID of the membership associated with this site, if any.', 'ultimate-multisite'), 'type' => 'integer', 'required' => true, ], 'template_id' => [ - 'description' => __('The ID of the templated used to create this site.', 'multisite-ultimate'), + 'description' => __('The ID of the templated used to create this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'type' => [ - 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'multisite-ultimate'), + 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, 'enum' => [ @@ -133,32 +133,32 @@ ], ], 'signup_options' => [ - 'description' => __('Keeps signup options for the site.', 'multisite-ultimate'), + 'description' => __('Keeps signup options for the site.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'signup_meta' => [ - 'description' => __('Keeps signup meta for the site.', 'multisite-ultimate'), + 'description' => __('Keeps signup meta for the site.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/site-update.php b/inc/api/schemas/site-update.php index 3d3373e25..fb04f06f8 100644 --- a/inc/api/schemas/site-update.php +++ b/inc/api/schemas/site-update.php @@ -20,107 +20,107 @@ */ return [ 'categories' => [ - 'description' => __('The categories this site belongs to.', 'multisite-ultimate'), + 'description' => __('The categories this site belongs to.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'featured_image_id' => [ - 'description' => __('The ID of the feature image of the site.', 'multisite-ultimate'), + 'description' => __('The ID of the feature image of the site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'site_id' => [ - 'description' => __('The network ID for this site.', 'multisite-ultimate'), + 'description' => __('The network ID for this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'title' => [ - 'description' => __('The site title.', 'multisite-ultimate'), + 'description' => __('The site title.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'name' => [ - 'description' => __('The site name.', 'multisite-ultimate'), + 'description' => __('The site name.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'description' => [ - 'description' => __('A description for the site, usually a short text.', 'multisite-ultimate'), + 'description' => __('A description for the site, usually a short text.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'domain' => [ - 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'multisite-ultimate'), + 'description' => __("The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com.", 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'path' => [ - 'description' => __('Path of the site. Used when in sub-directory mode.', 'multisite-ultimate'), + 'description' => __('Path of the site. Used when in sub-directory mode.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'registered' => [ - 'description' => __('Date when the site was registered.', 'multisite-ultimate'), + 'description' => __('Date when the site was registered.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'last_updated' => [ - 'description' => __('Date of the last update on this site.', 'multisite-ultimate'), + 'description' => __('Date of the last update on this site.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'active' => [ - 'description' => __('Holds the ID of the customer that owns this site.', 'multisite-ultimate'), + 'description' => __('Holds the ID of the customer that owns this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'public' => [ - 'description' => __('Set true if this site is a public one, false if not.', 'multisite-ultimate'), + 'description' => __('Set true if this site is a public one, false if not.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'archived' => [ - 'description' => __('Is this an archived site.', 'multisite-ultimate'), + 'description' => __('Is this an archived site.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'mature' => [ - 'description' => __('Is this a site with mature content.', 'multisite-ultimate'), + 'description' => __('Is this a site with mature content.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'spam' => [ - 'description' => __('Is this an spam site.', 'multisite-ultimate'), + 'description' => __('Is this an spam site.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'deleted' => [ - 'description' => __('Is this site deleted.', 'multisite-ultimate'), + 'description' => __('Is this site deleted.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'lang_id' => [ - 'description' => __('The ID of the language being used on this site.', 'multisite-ultimate'), + 'description' => __('The ID of the language being used on this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'customer_id' => [ - 'description' => __('The ID of the customer that owns this site.', 'multisite-ultimate'), + 'description' => __('The ID of the customer that owns this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'membership_id' => [ - 'description' => __('The ID of the membership associated with this site, if any.', 'multisite-ultimate'), + 'description' => __('The ID of the membership associated with this site, if any.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'template_id' => [ - 'description' => __('The ID of the templated used to create this site.', 'multisite-ultimate'), + 'description' => __('The ID of the templated used to create this site.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'type' => [ - 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'multisite-ultimate'), + 'description' => __('The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, 'enum' => [ @@ -133,32 +133,32 @@ ], ], 'signup_options' => [ - 'description' => __('Keeps signup options for the site.', 'multisite-ultimate'), + 'description' => __('Keeps signup options for the site.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'signup_meta' => [ - 'description' => __('Keeps signup meta for the site.', 'multisite-ultimate'), + 'description' => __('Keeps signup meta for the site.', 'ultimate-multisite'), 'type' => 'array', 'required' => false, ], 'date_created' => [ - 'description' => __('Model creation date.', 'multisite-ultimate'), + 'description' => __('Model creation date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/webhook-create.php b/inc/api/schemas/webhook-create.php index 87a7dfc27..44e67143f 100644 --- a/inc/api/schemas/webhook-create.php +++ b/inc/api/schemas/webhook-create.php @@ -20,62 +20,62 @@ */ return [ 'name' => [ - 'description' => __('Webhook name, which is used as product title as well.', 'multisite-ultimate'), + 'description' => __('Webhook name, which is used as product title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'webhook_url' => [ - 'description' => __('The URL used for the webhook call.', 'multisite-ultimate'), + 'description' => __('The URL used for the webhook call.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'event' => [ - 'description' => __('The event that needs to be fired for this webhook to be sent.', 'multisite-ultimate'), + 'description' => __('The event that needs to be fired for this webhook to be sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'event_count' => [ - 'description' => __('How many times this webhook was sent.', 'multisite-ultimate'), + 'description' => __('How many times this webhook was sent.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'hidden' => [ - 'description' => __('Is this webhook hidden.', 'multisite-ultimate'), + 'description' => __('Is this webhook hidden.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'multisite-ultimate'), + 'description' => __('Date when this was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'integration' => [ - 'description' => __('The integration that created this webhook.', 'multisite-ultimate'), + 'description' => __('The integration that created this webhook.', 'ultimate-multisite'), 'type' => 'string', 'required' => true, ], 'date_last_failed' => [ - 'description' => __('The date when this webhook last fail.', 'multisite-ultimate'), + 'description' => __('The date when this webhook last fail.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/schemas/webhook-update.php b/inc/api/schemas/webhook-update.php index 10128453f..55986de88 100644 --- a/inc/api/schemas/webhook-update.php +++ b/inc/api/schemas/webhook-update.php @@ -20,62 +20,62 @@ */ return [ 'name' => [ - 'description' => __('Webhook name, which is used as product title as well.', 'multisite-ultimate'), + 'description' => __('Webhook name, which is used as product title as well.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'webhook_url' => [ - 'description' => __('The URL used for the webhook call.', 'multisite-ultimate'), + 'description' => __('The URL used for the webhook call.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'event' => [ - 'description' => __('The event that needs to be fired for this webhook to be sent.', 'multisite-ultimate'), + 'description' => __('The event that needs to be fired for this webhook to be sent.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'event_count' => [ - 'description' => __('How many times this webhook was sent.', 'multisite-ultimate'), + 'description' => __('How many times this webhook was sent.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'active' => [ - 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'multisite-ultimate'), + 'description' => __('Set this webhook as active (true), which means available will fire when the event occur, or inactive (false).', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'hidden' => [ - 'description' => __('Is this webhook hidden.', 'multisite-ultimate'), + 'description' => __('Is this webhook hidden.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], 'date_created' => [ - 'description' => __('Date when this was created.', 'multisite-ultimate'), + 'description' => __('Date when this was created.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'integration' => [ - 'description' => __('The integration that created this webhook.', 'multisite-ultimate'), + 'description' => __('The integration that created this webhook.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_last_failed' => [ - 'description' => __('The date when this webhook last fail.', 'multisite-ultimate'), + 'description' => __('The date when this webhook last fail.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'date_modified' => [ - 'description' => __('Model last modification date.', 'multisite-ultimate'), + 'description' => __('Model last modification date.', 'ultimate-multisite'), 'type' => 'string', 'required' => false, ], 'migrated_from_id' => [ - 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'multisite-ultimate'), + 'description' => __('The ID of the original 1.X model that was used to generate this item on migration.', 'ultimate-multisite'), 'type' => 'integer', 'required' => false, ], 'skip_validation' => [ - 'description' => __('Set true to have field information validation bypassed when saving this event.', 'multisite-ultimate'), + 'description' => __('Set true to have field information validation bypassed when saving this event.', 'ultimate-multisite'), 'type' => 'boolean', 'required' => false, ], diff --git a/inc/api/trait-rest-api.php b/inc/api/trait-rest-api.php index 107b3a483..ad7ebc933 100644 --- a/inc/api/trait-rest-api.php +++ b/inc/api/trait-rest-api.php @@ -171,7 +171,7 @@ public function get_item_rest($request) { $item = $this->model_class::get_by_id($request['id']); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'multisite-ultimate'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'ultimate-multisite'), ['status' => 404]); } return rest_ensure_response($item); @@ -223,7 +223,7 @@ public function create_item_rest($request) { } if ( ! $saved) { - return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'multisite-ultimate'), ['status' => 400]); + return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 1).', 'ultimate-multisite'), ['status' => 400]); } return rest_ensure_response($item); @@ -244,7 +244,7 @@ public function update_item_rest($request) { $item = $this->model_class::get_by_id($id); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'multisite-ultimate'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'ultimate-multisite'), ['status' => 404]); } $params = array_filter( @@ -263,7 +263,7 @@ public function update_item_rest($request) { } else { $error_message = sprintf( /* translators: 1. Object class name; 2. Set method name */ - __('The %1$s object does not have a %2$s method', 'multisite-ultimate'), + __('The %1$s object does not have a %2$s method', 'ultimate-multisite'), get_class($item), $set_method ); @@ -283,7 +283,7 @@ public function update_item_rest($request) { } if ( ! $saved) { - return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'multisite-ultimate')); + return new \WP_Error("wu_rest_{$this->slug}", __('Something went wrong (Code 2).', 'ultimate-multisite')); } return rest_ensure_response($item); @@ -302,7 +302,7 @@ public function delete_item_rest($request) { $item = $this->model_class::get_by_id($request['id']); if (empty($item)) { - return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'multisite-ultimate'), ['status' => 404]); + return new \WP_Error("wu_rest_{$this->slug}_invalid_id", __('Item not found.', 'ultimate-multisite'), ['status' => 404]); } $result = $item->delete(); diff --git a/inc/api/trait-wp-cli.php b/inc/api/trait-wp-cli.php index 4f356dd11..26d8a9f50 100644 --- a/inc/api/trait-wp-cli.php +++ b/inc/api/trait-wp-cli.php @@ -118,7 +118,7 @@ public function set_wp_cli_enabled_sub_commands(): void { $sub_command_data['synopsis'][] = [ 'name' => 'id', 'type' => 'positional', - 'description' => __('The id for the resource.', 'multisite-ultimate'), + 'description' => __('The id for the resource.', 'ultimate-multisite'), 'optional' => false, ]; } @@ -133,7 +133,7 @@ public function set_wp_cli_enabled_sub_commands(): void { $field = [ 'name' => $name, - 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'multisite-ultimate')), + 'description' => wu_get_isset($explanation, 'description', __('No description found.', 'ultimate-multisite')), 'optional' => ! wu_get_isset($explanation, 'required'), 'type' => 'assoc', ]; @@ -152,7 +152,7 @@ public function set_wp_cli_enabled_sub_commands(): void { $sub_command_data['synopsis'][] = [ 'name' => 'porcelain', 'type' => 'flag', - 'description' => __('Output just the id when the operation is successful.', 'multisite-ultimate'), + 'description' => __('Output just the id when the operation is successful.', 'ultimate-multisite'), 'optional' => true, ]; } @@ -161,7 +161,7 @@ public function set_wp_cli_enabled_sub_commands(): void { $sub_command_data['synopsis'][] = [ 'name' => 'format', 'type' => 'assoc', - 'description' => __('Render response in a particular format.', 'multisite-ultimate'), + 'description' => __('Render response in a particular format.', 'ultimate-multisite'), 'optional' => true, 'default' => 'table', 'options' => [ @@ -177,7 +177,7 @@ public function set_wp_cli_enabled_sub_commands(): void { $sub_command_data['synopsis'][] = [ 'name' => 'fields', 'type' => 'assoc', - 'description' => __('Limit response to specific fields. Defaults to id, name', 'multisite-ultimate'), + 'description' => __('Limit response to specific fields. Defaults to id, name', 'ultimate-multisite'), 'optional' => true, 'options' => array_merge(['id'], $params), ]; @@ -337,7 +337,7 @@ public function wp_cli_update_item($args, $array_assoc): void { } else { $error_message = sprintf( /* translators: 1. Object class name; 2. Set method name */ - __('The %1$s object does not have a %2$s method', 'multisite-ultimate'), + __('The %1$s object does not have a %2$s method', 'ultimate-multisite'), get_class($item), $set_method ); diff --git a/inc/builders/block-editor/class-block-editor-widget-manager.php b/inc/builders/block-editor/class-block-editor-widget-manager.php index fb5159de4..d795f8f26 100644 --- a/inc/builders/block-editor/class-block-editor-widget-manager.php +++ b/inc/builders/block-editor/class-block-editor-widget-manager.php @@ -172,7 +172,7 @@ protected function consolidate_callables($fields) { } /** - * Registers the block so Multisite Ultimate can add it on the JS side. + * Registers the block so Ultimate Multisite can add it on the JS side. * * @since 2.0.0 * diff --git a/inc/checkout/class-cart.php b/inc/checkout/class-cart.php index c327976b5..e052d6044 100644 --- a/inc/checkout/class-cart.php +++ b/inc/checkout/class-cart.php @@ -555,7 +555,7 @@ protected function build_from_payment($payment_id): bool { $payment = wu_get_payment($payment_id); if ( ! $payment) { - $this->errors->add('payment_not_found', __('The payment in question was not found.', 'multisite-ultimate')); + $this->errors->add('payment_not_found', __('The payment in question was not found.', 'ultimate-multisite')); return true; } @@ -582,7 +582,7 @@ protected function build_from_payment($payment_id): bool { * a payment can pay it. Let's check for that. */ if (empty($this->customer) || $this->customer->get_id() !== $payment->get_customer_id()) { - $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'multisite-ultimate')); + $this->errors->add('lacks_permission', __('You are not allowed to modify this payment.', 'ultimate-multisite')); return true; } @@ -593,7 +593,7 @@ protected function build_from_payment($payment_id): bool { $membership = $payment->get_membership(); if ( ! $membership) { - $this->errors->add('membership_not_found', __('The membership in question was not found.', 'multisite-ultimate')); + $this->errors->add('membership_not_found', __('The membership in question was not found.', 'ultimate-multisite')); return true; } @@ -682,7 +682,7 @@ protected function build_from_payment($payment_id): bool { ); if ( ! in_array($payment->get_status(), $allowed_status, true)) { - $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'multisite-ultimate')); + $this->errors->add('invalid_status', __('The payment in question has an invalid status.', 'ultimate-multisite')); return true; } @@ -741,7 +741,7 @@ protected function build_from_membership($membership_id): bool { $membership = wu_get_membership($membership_id); if ( ! $membership) { - $this->errors->add('membership_not_found', __('The membership in question was not found.', 'multisite-ultimate')); + $this->errors->add('membership_not_found', __('The membership in question was not found.', 'ultimate-multisite')); return true; } @@ -761,7 +761,7 @@ protected function build_from_membership($membership_id): bool { * Only the customer that owns a membership can change it. */ if (empty($this->customer) || $this->customer->get_id() !== $membership->get_customer_id()) { - $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'multisite-ultimate')); + $this->errors->add('lacks_permission', __('You are not allowed to modify this membership.', 'ultimate-multisite')); return true; } @@ -793,7 +793,7 @@ protected function build_from_membership($membership_id): bool { return false; } - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'multisite-ultimate')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'ultimate-multisite')); return true; } @@ -815,7 +815,7 @@ protected function build_from_membership($membership_id): bool { */ if (empty($this->plan_id)) { if (count($this->products) === 0) { - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'multisite-ultimate')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'ultimate-multisite')); return true; } @@ -937,7 +937,7 @@ protected function build_from_membership($membership_id): bool { $this->products = []; $this->line_items = []; - $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'multisite-ultimate')); + $this->errors->add('no_changes', __('This cart proposes no changes to the current membership.', 'ultimate-multisite')); return true; } else { @@ -957,7 +957,7 @@ protected function build_from_membership($membership_id): bool { 'overlimits_' . $post_type_slug, sprintf( // translators: %1$d: current number of posts, %2$s: post type name, %3$d: posts quota, %4$s: post type name, %5$d: number of posts to be deleted, %6$s: post type name. - esc_html__('Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must trash %5$d %6$s before you can downgrade your plan.', 'multisite-ultimate'), + esc_html__('Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must trash %5$d %6$s before you can downgrade your plan.', 'ultimate-multisite'), $limit['current'], $limit['current'] > 1 ? $post_type->labels->name : $post_type->labels->singular_name, $limit['limit'], @@ -983,7 +983,7 @@ protected function build_from_membership($membership_id): bool { $this->errors->add( 'overlimits', sprintf( - esc_html__('This new plan does NOT support custom domains. You must remove all custom domains before you can downgrade your plan.', 'multisite-ultimate'), + esc_html__('This new plan does NOT support custom domains. You must remove all custom domains before you can downgrade your plan.', 'ultimate-multisite'), ) ); } else { @@ -991,13 +991,13 @@ protected function build_from_membership($membership_id): bool { 'overlimits', sprintf( // translators: %1$d: current number of custom domains, %2$s: 'custom domain' or 'custom domains', %3$d: domain limit, %4$s: 'custom domain' or 'custom domains', %5$d: number of domains to be removed, %6$s: 'custom domain' or 'custom domains'. - esc_html__('Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must remove %5$d %6$s before you can downgrade your plan.', 'multisite-ultimate'), + esc_html__('Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must remove %5$d %6$s before you can downgrade your plan.', 'ultimate-multisite'), $domain_count, - $domain_count > 1 ? __('custom domains', 'multisite-ultimate') : __('custom domain', 'multisite-ultimate'), + $domain_count > 1 ? __('custom domains', 'ultimate-multisite') : __('custom domain', 'ultimate-multisite'), $domain_limit, - $domain_limit > 1 ? __('custom domains', 'multisite-ultimate') : __('custom domain', 'multisite-ultimate'), + $domain_limit > 1 ? __('custom domains', 'ultimate-multisite') : __('custom domain', 'ultimate-multisite'), $domain_count - $domain_limit, - ($domain_count - $domain_limit) > 1 ? __('custom domains', 'multisite-ultimate') : __('custom domain', 'multisite-ultimate') + ($domain_count - $domain_limit) > 1 ? __('custom domains', 'ultimate-multisite') : __('custom domain', 'ultimate-multisite') ) ); } @@ -1071,7 +1071,7 @@ protected function build_from_membership($membership_id): bool { ); // Translators: Placeholder receives the recurring period description - $message = sprintf(__('You already have an active %s agreement.', 'multisite-ultimate'), $description); + $message = sprintf(__('You already have an active %s agreement.', 'ultimate-multisite'), $description); $this->errors->add('no_changes', $message); @@ -1092,8 +1092,8 @@ protected function build_from_membership($membership_id): bool { 'wu_checkout_credit_line_item_params', [ 'type' => 'credit', - 'title' => __('Scheduled Swap Credit', 'multisite-ultimate'), - 'description' => __('Swap scheduled to next billing cycle.', 'multisite-ultimate'), + 'title' => __('Scheduled Swap Credit', 'ultimate-multisite'), + 'description' => __('Swap scheduled to next billing cycle.', 'ultimate-multisite'), 'discountable' => false, 'taxable' => false, 'quantity' => 1, @@ -1293,8 +1293,8 @@ protected function calculate_prorate_credits() { 'wu_checkout_credit_line_item_params', [ 'type' => 'credit', - 'title' => __('Credit', 'multisite-ultimate'), - 'description' => __('Prorated amount based on the previous membership.', 'multisite-ultimate'), + 'title' => __('Credit', 'ultimate-multisite'), + 'description' => __('Prorated amount based on the previous membership.', 'ultimate-multisite'), 'discountable' => false, 'taxable' => false, 'quantity' => 1, @@ -1330,7 +1330,7 @@ protected function set_discount_code($code): bool { if (empty($discount_code)) { // translators: %s is the coupon code being used, all-caps. e.g. PROMO10OFF - $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'multisite-ultimate'), $code)); + $this->errors->add('discount_code', sprintf(__('The code %s do not exist or is no longer valid.', 'ultimate-multisite'), $code)); return false; } @@ -1411,7 +1411,7 @@ public function is_valid() { if ($line_item_interval !== $interval) { // translators: two intervals - $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'multisite-ultimate'), $line_item_interval, $interval)); + $this->errors->add('wrong', sprintf(__('Interval %1$s and %2$s do not match.', 'ultimate-multisite'), $line_item_interval, $interval)); return false; } @@ -1574,7 +1574,7 @@ public function add_product($product_id_or_slug, $quantity = 1): bool { $product = is_numeric($product_id_or_slug) ? wu_get_product($product_id_or_slug) : wu_get_product_by_slug($product_id_or_slug); if ( ! $product) { - $message = __('The product you are trying to add does not exist.', 'multisite-ultimate'); + $message = __('The product you are trying to add does not exist.', 'ultimate-multisite'); $this->errors->add('missing-product', $message); @@ -1586,7 +1586,7 @@ public function add_product($product_id_or_slug, $quantity = 1): bool { $product = $product->get_as_variation($this->duration, $this->duration_unit); if ( ! $product) { - $message = __('The product you are trying to add does not exist for the selected duration.', 'multisite-ultimate'); + $message = __('The product you are trying to add does not exist for the selected duration.', 'ultimate-multisite'); $this->errors->add('missing-price-variations', $message); @@ -1600,7 +1600,7 @@ public function add_product($product_id_or_slug, $quantity = 1): bool { * another one. Bail. */ if ( ! empty($this->plan_id)) { - $message = __('Theres already a plan in this membership.', 'multisite-ultimate'); + $message = __('Theres already a plan in this membership.', 'ultimate-multisite'); $this->errors->add('plan-already-added', $message); @@ -1662,7 +1662,7 @@ public function add_product($product_id_or_slug, $quantity = 1): bool { * price variation. We need to add an error. */ // translators: respectively, product name, duration, and duration unit. - $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'multisite-ultimate'), $product->get_name(), $this->duration, $this->duration_unit); + $message = sprintf(__('%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart.', 'ultimate-multisite'), $product->get_name(), $this->duration, $this->duration_unit); $this->errors->add('missing-price-variations', $message); @@ -1726,7 +1726,7 @@ public function add_product($product_id_or_slug, $quantity = 1): bool { } // translators: placeholder is the product name. - $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'multisite-ultimate') : __('Signup Credit for %s', 'multisite-ultimate'); + $description = ($product->get_setup_fee() > 0) ? __('Signup Fee for %s', 'ultimate-multisite') : __('Signup Credit for %s', 'ultimate-multisite'); $description = sprintf($description, $product->get_name()); diff --git a/inc/checkout/class-checkout-pages.php b/inc/checkout/class-checkout-pages.php index 2077c5bbf..2cf6101a4 100644 --- a/inc/checkout/class-checkout-pages.php +++ b/inc/checkout/class-checkout-pages.php @@ -107,8 +107,8 @@ public function render_compat_mode_setting(): void {
name="_wu_force_elements_loading" /> @@ -187,7 +187,7 @@ public function maybe_change_wp_login_on_urls($url) { public function get_error_message($error_code, $username = '') { $messages = [ - 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'multisite-ultimate')), + 'incorrect_password' => sprintf(__('Error: The password you entered is incorrect.', 'ultimate-multisite')), // From here we are using the same messages as WordPress core. 'expired' => __('Your session has expired. Please log in to continue where you left off.'), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain /* translators: %s: Link to the login page. */ @@ -217,7 +217,7 @@ public function get_error_message($error_code, $username = '') { */ $messages = apply_filters('wu_checkout_pages_error_messages', $messages); - return wu_get_isset($messages, $error_code, __('Something went wrong', 'multisite-ultimate')); + return wu_get_isset($messages, $error_code, __('Something went wrong', 'ultimate-multisite')); } /** @@ -421,11 +421,11 @@ public function add_verify_email_notice($payment, $membership, $customer): void
', sprintf( // translators: %1$s and %2$s are HTML tags - esc_html__('Your email address is not yet verified. Your site %1$s will only be activated %2$s after your email address is verified. Check your inbox and verify your email address.', 'multisite-ultimate'), + esc_html__('Your email address is not yet verified. Your site %1$s will only be activated %2$s after your email address is verified. Check your inbox and verify your email address.', 'ultimate-multisite'), '', '' ), - esc_html__('Resend verification email →', 'multisite-ultimate') + esc_html__('Resend verification email →', 'ultimate-multisite') ); } } @@ -555,7 +555,7 @@ public function filter_login_url($login_url, $redirect, $force_reauth = false) { } /** - * Returns the ID of the pages being used for each Multisite Ultimate purpose. + * Returns the ID of the pages being used for each Ultimate Multisite purpose. * * @since 2.0.0 * @return array @@ -610,7 +610,7 @@ public function get_page_url($page_slug = 'login') { } /** - * Tags the Multisite Ultimate pages on the main site. + * Tags the Ultimate Multisite pages on the main site. * * @since 2.0.0 * @@ -625,11 +625,11 @@ public function add_wp_ultimo_status_annotation($states, $post) { } $labels = [ - 'register' => __('Multisite Ultimate - Register Page', 'multisite-ultimate'), - 'login' => __('Multisite Ultimate - Login Page', 'multisite-ultimate'), - 'block_frontend' => __('Multisite Ultimate - Site Blocked Page', 'multisite-ultimate'), - 'update' => __('Multisite Ultimate - Membership Update Page', 'multisite-ultimate'), - 'new_site' => __('Multisite Ultimate - New Site Page', 'multisite-ultimate'), + 'register' => __('Ultimate Multisite - Register Page', 'ultimate-multisite'), + 'login' => __('Ultimate Multisite - Login Page', 'ultimate-multisite'), + 'block_frontend' => __('Ultimate Multisite - Site Blocked Page', 'ultimate-multisite'), + 'update' => __('Ultimate Multisite - Membership Update Page', 'ultimate-multisite'), + 'new_site' => __('Ultimate Multisite - New Site Page', 'ultimate-multisite'), ]; $pages = array_map('absint', $this->get_signup_pages()); diff --git a/inc/checkout/class-checkout.php b/inc/checkout/class-checkout.php index 031fae996..5936d10c0 100644 --- a/inc/checkout/class-checkout.php +++ b/inc/checkout/class-checkout.php @@ -651,7 +651,7 @@ public function process_order() { if ($cart->should_collect_payment() === false) { $gateway = wu_get_gateway('free'); } elseif ( ! $gateway || $gateway->get_id() === 'free') { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'multisite-ultimate')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'ultimate-multisite')); return false; } @@ -661,7 +661,7 @@ public function process_order() { * we need to bail. */ if ( ! $gateway) { - return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'multisite-ultimate')); + return new \WP_Error('no-gateway', __('Payment gateway not registered.', 'ultimate-multisite')); } $this->gateway_id = $gateway->get_id(); @@ -975,7 +975,7 @@ protected function maybe_create_customer() { 'email_verification' => 'verified', ]; } elseif (isset($customer_data['email']) && get_user_by('email', $customer_data['email'])) { - return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'multisite-ultimate')); + return new \WP_Error('email_exists', __('The email address you entered is already in use.', 'ultimate-multisite')); } /* @@ -1027,7 +1027,7 @@ protected function maybe_create_customer() { * wrong with the customer update, we return a general error. */ if ( ! $address_saved) { - return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'multisite-ultimate')); + return new \WP_Error('address_failure', __('Something wrong happened while attempting to save the customer billing address', 'ultimate-multisite')); } /* @@ -1101,7 +1101,7 @@ protected function handle_customer_meta_fields($customer, $form_slug) { * * @since 2.0.0 * @param array $meta_repository The list of meta fields, key => value structured. - * @param Customer $customer The Multisite Ultimate customer object. + * @param Customer $customer The Ultimate Multisite customer object. * @param Checkout $this The checkout class. */ do_action('wu_handle_customer_meta_fields', $meta_repository, $customer, $this); @@ -1134,7 +1134,7 @@ protected function handle_customer_meta_fields($customer, $form_slug) { * @since 2.0.4 * @param array $meta_repository The list of meta fields, key => value structured. * @param \WP_User $user The WordPress user object. - * @param Customer $customer The Multisite Ultimate customer object. + * @param Customer $customer The Ultimate Multisite customer object. * @param Checkout $this The checkout class. */ do_action('wu_handle_user_meta_fields', $user_meta_repository, $user, $customer, $this); @@ -1556,9 +1556,9 @@ public function get_checkout_variables() { * Localized strings. */ $i18n = [ - 'loading' => __('Loading...', 'multisite-ultimate'), - 'added_to_order' => __('The item was added!', 'multisite-ultimate'), - 'weak_password' => __('The Password entered is too weak.', 'multisite-ultimate'), + 'loading' => __('Loading...', 'ultimate-multisite'), + 'added_to_order' => __('The item was added!', 'ultimate-multisite'), + 'weak_password' => __('The Password entered is too weak.', 'ultimate-multisite'), ]; /* @@ -1860,12 +1860,12 @@ public function validate($rules = null) { // Add some hidden or compound fields ids $validation_aliases = array_merge( [ - 'password_conf' => __('Password confirmation', 'multisite-ultimate'), - 'email_address_confirmation' => __('Email confirmation', 'multisite-ultimate'), - 'template_id' => __('Template ID', 'multisite-ultimate'), - 'valid_password' => __('Valid password', 'multisite-ultimate'), - 'products' => __('Products', 'multisite-ultimate'), - 'gateway' => __('Payment Gateway', 'multisite-ultimate'), + 'password_conf' => __('Password confirmation', 'ultimate-multisite'), + 'email_address_confirmation' => __('Email confirmation', 'ultimate-multisite'), + 'template_id' => __('Template ID', 'ultimate-multisite'), + 'valid_password' => __('Valid password', 'ultimate-multisite'), + 'products' => __('Products', 'ultimate-multisite'), + 'gateway' => __('Payment Gateway', 'ultimate-multisite'), ], $base_aliases ); @@ -1923,7 +1923,7 @@ public function maybe_process_checkout(): void { /* * Checks if we are in the last step. * - * Multisite Ultimate supports multi-step checkout + * Ultimate Multisite supports multi-step checkout * flows. That means that we do different * things on the intermediary steps (mostly * add things to the session) and on the final, @@ -2082,13 +2082,13 @@ public function process_checkout() { } elseif ($this->order->should_collect_payment() === false) { $gateway = wu_get_gateway('free'); } elseif ($gateway->get_id() === 'free') { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'multisite-ultimate')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'ultimate-multisite')); return false; } if ( ! $gateway) { - $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'multisite-ultimate')); + $this->errors = new \WP_Error('no-gateway', __('Payment gateway not registered.', 'ultimate-multisite')); return false; } @@ -2110,7 +2110,7 @@ public function process_checkout() { * * The gateway takes in the info about the transaction * and perform the necessary steps to make sure the - * data on the gateway correctly reflects the data on Multisite Ultimate. + * data on the gateway correctly reflects the data on Ultimate Multisite. */ $status = $gateway->process_checkout($payment, $membership, $customer, $this->order, $type); @@ -2186,7 +2186,7 @@ public function process_checkout() { $membership_id = $this->order->get_membership() ? $this->order->get_membership()->get_id() : 'unknown'; // translators: %s is the membership ID - $log_message = sprintf(__('Checkout failed for customer %s: ', 'multisite-ultimate'), $membership_id); + $log_message = sprintf(__('Checkout failed for customer %s: ', 'ultimate-multisite'), $membership_id); $log_message .= $e->getMessage(); wu_log_add('checkout', $log_message, LogLevel::ERROR); diff --git a/inc/checkout/class-legacy-checkout.php b/inc/checkout/class-legacy-checkout.php index 274cf0775..a1bf2303a 100644 --- a/inc/checkout/class-legacy-checkout.php +++ b/inc/checkout/class-legacy-checkout.php @@ -96,7 +96,7 @@ public function init(): void { $this->session = wu_get_session('signup'); $this->templates = [ - 'signup-main.php' => __('Multisite Ultimate Legacy Signup', 'multisite-ultimate'), + 'signup-main.php' => __('Ultimate Multisite Legacy Signup', 'ultimate-multisite'), ]; // add_filter('request', array($this, 'maybe_render_legacy_signup')); @@ -257,9 +257,9 @@ public function register_scripts(): void { 'setup_fee_discount_type' => get_post_meta($coupon->id, 'wpu_setup_fee_discount_type', true), 'allowed_plans' => get_post_meta($coupon->id, 'wpu_allowed_plans', true), 'allowed_freqs' => get_post_meta($coupon->id, 'wpu_allowed_freqs', true), - 'off_text' => __('OFF', 'multisite-ultimate'), - 'free_text' => __('Free!', 'multisite-ultimate'), - 'no_setup_fee_text' => __('No Setup Fee', 'multisite-ultimate'), + 'off_text' => __('OFF', 'ultimate-multisite'), + 'free_text' => __('Free!', 'ultimate-multisite'), + 'no_setup_fee_text' => __('No Setup Fee', 'ultimate-multisite'), ]); wp_enqueue_script('wu-coupon-code'); @@ -336,7 +336,7 @@ public function check_geolocation(): void { if (isset($location['country']) && $location['country'] && $allowed_countries) { if ( ! in_array($location['country'], $allowed_countries, true)) { - wp_die(esc_html__('Sorry. Our service is not allowed in your country.', 'multisite-ultimate')); + wp_die(esc_html__('Sorry. Our service is not allowed in your country.', 'ultimate-multisite')); } } } @@ -415,8 +415,8 @@ public function get_steps($include_hidden = true, $filtered = true) { // Plan Selector $steps['plan'] = [ - 'name' => __('Pick a Plan', 'multisite-ultimate'), - 'desc' => __('Which one of our amazing plans you want to get?', 'multisite-ultimate'), + 'name' => __('Pick a Plan', 'ultimate-multisite'), + 'desc' => __('Which one of our amazing plans you want to get?', 'ultimate-multisite'), 'view' => 'step-plans', // 'handler' => [$this, 'plans_save'], 'order' => 10, @@ -431,8 +431,8 @@ public function get_steps($include_hidden = true, $filtered = true) { // We add template selection if this has template if ($site_templates) { $steps['template'] = [ - 'name' => __('Template Selection', 'multisite-ultimate'), - 'desc' => __('Select the base template of your new site.', 'multisite-ultimate'), + 'name' => __('Template Selection', 'ultimate-multisite'), + 'desc' => __('Select the base template of your new site.', 'ultimate-multisite'), 'view' => 'step-template', 'order' => 20, 'handler' => false, @@ -442,8 +442,8 @@ public function get_steps($include_hidden = true, $filtered = true) { // Domain registering $steps['domain'] = [ - 'name' => __('Site Details', 'multisite-ultimate'), - 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'multisite-ultimate'), + 'name' => __('Site Details', 'ultimate-multisite'), + 'desc' => __('Ok, now it\'s time to pick your site url and title!', 'ultimate-multisite'), // 'handler' => [$this, 'domain_save'], 'view' => false, 'order' => 30, @@ -453,34 +453,34 @@ public function get_steps($include_hidden = true, $filtered = true) { [ 'blog_title' => [ 'order' => 10, - 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_site_title_label', __('Site Title', 'ultimate-multisite')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'multisite-ultimate')), + 'tooltip' => apply_filters('wu_signup_site_title_tooltip', __('Select the title your site is going to have.', 'ultimate-multisite')), 'required' => true, 'core' => true, ], 'blogname' => [ 'order' => 20, - 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_site_url_label', __('URL', 'ultimate-multisite')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'multisite-ultimate')), + 'tooltip' => apply_filters('wu_signup_site_url_tooltip', __('Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. .', 'ultimate-multisite')), 'required' => true, 'core' => true, ], 'url_preview' => [ 'order' => 30, - 'name' => __('Site URL Preview', 'multisite-ultimate'), + 'name' => __('Site URL Preview', 'ultimate-multisite'), 'type' => 'html', 'content' => wu_get_template_contents('legacy/signup/steps/step-domain-url-preview'), ], 'submit' => [ 'order' => 100, 'type' => 'submit', - 'name' => __('Continue to the next step', 'multisite-ultimate'), + 'name' => __('Continue to the next step', 'ultimate-multisite'), 'core' => true, ], ] @@ -495,18 +495,18 @@ public function get_steps($include_hidden = true, $filtered = true) { 'user_name' => [ 'order' => 10, - 'name' => apply_filters('wu_signup_username_label', __('Username', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_username_label', __('Username', 'ultimate-multisite')), 'type' => 'text', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'multisite-ultimate')), + 'tooltip' => apply_filters('wu_signup_username_tooltip', __('Username must be at least 4 characters.', 'ultimate-multisite')), 'required' => true, 'core' => true, ], 'user_email' => [ 'order' => 20, - 'name' => apply_filters('wu_signup_email_label', __('Email', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_email_label', __('Email', 'ultimate-multisite')), 'type' => 'email', 'default' => '', 'placeholder' => '', @@ -517,18 +517,18 @@ public function get_steps($include_hidden = true, $filtered = true) { 'user_pass' => [ 'order' => 30, - 'name' => apply_filters('wu_signup_password_label', __('Password', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_password_label', __('Password', 'ultimate-multisite')), 'type' => 'password', 'default' => '', 'placeholder' => '', - 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'multisite-ultimate')), + 'tooltip' => apply_filters('wu_signup_password_tooltip', __('Your password should be at least 6 characters long.', 'ultimate-multisite')), 'required' => true, 'core' => true, ], 'user_pass_conf' => [ 'order' => 40, - 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'multisite-ultimate')), + 'name' => apply_filters('wu_signup_password_conf_label', __('Confirm Password', 'ultimate-multisite')), 'type' => 'password', 'default' => '', 'placeholder' => '', @@ -542,7 +542,7 @@ public function get_steps($include_hidden = true, $filtered = true) { */ 'site_url' => [ 'order' => random_int(1, 59), // Use random order for Honeypot - 'name' => __('Site URL', 'multisite-ultimate'), + 'name' => __('Site URL', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'placeholder' => '', @@ -571,18 +571,18 @@ public function get_steps($include_hidden = true, $filtered = true) { // $account_fields['has_coupon'] = array( // 'order' => 50, // 'type' => 'checkbox', - // 'name' => __('Have a coupon code?', 'multisite-ultimate'), + // 'name' => __('Have a coupon code?', 'ultimate-multisite'), // 'core' => true, // 'check_if' => 'coupon', // Check if the input with this name is selected // 'checked' => $coupon ? true : false, // ); // $account_fields['coupon'] = array( // 'order' => 60, - // 'name' => __('Coupon Code', 'multisite-ultimate'), + // 'name' => __('Coupon Code', 'ultimate-multisite'), // 'type' => 'text', // 'default' => '', // 'placeholder' => '', - // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'multisite-ultimate'), + // 'tooltip' => __('The code should be an exact match. This field is case-sensitive.', 'ultimate-multisite'), // 'requires' => array('has_coupon' => true), // 'core' => true, // ); @@ -596,7 +596,7 @@ public function get_steps($include_hidden = true, $filtered = true) { // 'order' => 70, // 'type' => 'checkbox', // 'checked' => false, - // 'name' => sprintf(__('I agree with the Terms of Service', 'multisite-ultimate'), $this->get_terms_url()), + // 'name' => sprintf(__('I agree with the Terms of Service', 'ultimate-multisite'), $this->get_terms_url()), // 'core' => true, // ); // } @@ -607,13 +607,13 @@ public function get_steps($include_hidden = true, $filtered = true) { $account_fields['submit'] = [ 'order' => 100, 'type' => 'submit', - 'name' => __('Create Account', 'multisite-ultimate'), + 'name' => __('Create Account', 'ultimate-multisite'), 'core' => true, ]; // Account registering $steps['account'] = [ - 'name' => __('Account Details', 'multisite-ultimate'), + 'name' => __('Account Details', 'ultimate-multisite'), 'view' => false, 'handler' => [$this, 'account_save'], 'order' => 40, @@ -652,7 +652,7 @@ public function get_steps($include_hidden = true, $filtered = true) { */ $begin_signup = [ 'begin-signup' => [ - 'name' => __('Begin Signup Process', 'multisite-ultimate'), + 'name' => __('Begin Signup Process', 'ultimate-multisite'), // 'handler' => [$this, 'begin_signup'], 'view' => false, 'hidden' => true, @@ -668,7 +668,7 @@ public function get_steps($include_hidden = true, $filtered = true) { */ $create_account = [ 'create-account' => [ - 'name' => __('Creating Account', 'multisite-ultimate'), + 'name' => __('Creating Account', 'ultimate-multisite'), 'handler' => [$this, 'create_account'], 'view' => false, 'hidden' => true, @@ -717,7 +717,7 @@ public static function get_transient($die = true) { if ($die && empty($transient)) { - // wp_die(__('Try again', 'multisite-ultimate')); + // wp_die(__('Try again', 'ultimate-multisite')); } if (is_null($transient)) { @@ -817,7 +817,7 @@ public function get_site_url_for_previewer() { * * @since 1.7.2 * @param string Default domain being used right now, useful for manipulations - * @param array List of all the domain options entered in the Multisite Ultimate Settings -> Network Settings -> Domain Options + * @param array List of all the domain options entered in the Ultimate Multisite Settings -> Network Settings -> Domain Options * @return string New domain to be used */ return apply_filters('get_site_url_for_previewer', $domain, $domain_options); // phpcs:ignore @@ -870,7 +870,7 @@ function ($steps) use ($step, $id, $order, $field) { // Checks for honey-trap id if ('site_url' === $id) { - wp_die(esc_html__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'multisite-ultimate')); + wp_die(esc_html__('Please, do not use the "site_url" as one of your custom fields\' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as "url" or "website".', 'ultimate-multisite')); } // Saves the order diff --git a/inc/checkout/class-line-item.php b/inc/checkout/class-line-item.php index 9933315f3..93a8cbce5 100644 --- a/inc/checkout/class-line-item.php +++ b/inc/checkout/class-line-item.php @@ -1100,7 +1100,7 @@ public function get_recurring_description() { $description = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'multisite-ultimate'), // phpcs:ignore + _n('%2$s', 'every %1$s %2$s', $this->get_duration(), 'ultimate-multisite'), // phpcs:ignore $this->get_duration(), wu_get_translatable_string(($this->get_duration() <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's')) ); diff --git a/inc/checkout/signup-fields/class-base-signup-field.php b/inc/checkout/signup-fields/class-base-signup-field.php index 64cff15c4..f82b05dc6 100644 --- a/inc/checkout/signup-fields/class-base-signup-field.php +++ b/inc/checkout/signup-fields/class-base-signup-field.php @@ -308,7 +308,7 @@ public function get_editor_fields($attributes = []) { $final_field_list[ '_site_notice_field_' . uniqid() ] = [ 'type' => 'note', 'classes' => 'wu--mt-px', - 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'multisite-ultimate')), + 'desc' => sprintf('
%s
', __('This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart.', 'ultimate-multisite')), 'order' => 98.5, ]; } @@ -320,7 +320,7 @@ public function get_editor_fields($attributes = []) { $final_field_list[ '_user_notice_field_' . uniqid() ] = [ 'type' => 'note', 'classes' => 'wu--mt-px', - 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'multisite-ultimate')), + 'desc' => sprintf('
%s
', __('This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file.', 'ultimate-multisite')), 'order' => 98.5, ]; } @@ -440,10 +440,10 @@ public static function fields_list() { $fields['id'] = [ 'type' => 'text', - 'title' => __('Field ID', 'multisite-ultimate'), - 'placeholder' => __('e.g. info-name', 'multisite-ultimate'), - 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'multisite-ultimate'), - 'desc' => __('The ID of the field. This is used to reference the field.', 'multisite-ultimate'), + 'title' => __('Field ID', 'ultimate-multisite'), + 'placeholder' => __('e.g. info-name', 'ultimate-multisite'), + 'tooltip' => __('Only alpha-numeric and hyphens allowed.', 'ultimate-multisite'), + 'desc' => __('The ID of the field. This is used to reference the field.', 'ultimate-multisite'), 'value' => wu_request('id', ''), 'html_attr' => [ 'v-on:input' => 'id = $event.target.value.toLowerCase().replace(/[^a-z0-9-_]+/g, "")', @@ -453,10 +453,10 @@ public static function fields_list() { $fields['name'] = [ 'type' => 'text', - 'title' => __('Field Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. Your Name', 'multisite-ultimate'), - 'desc' => __('This is what your customer see as the field title.', 'multisite-ultimate'), - 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'multisite-ultimate'), + 'title' => __('Field Label', 'ultimate-multisite'), + 'placeholder' => __('e.g. Your Name', 'ultimate-multisite'), + 'desc' => __('This is what your customer see as the field title.', 'ultimate-multisite'), + 'tooltip' => __('Leave blank to hide the field label. You can also set a placeholder value and tip in the "Additional Settings" tab.', 'ultimate-multisite'), 'value' => '', 'html_attr' => [ 'v-model' => 'name', @@ -465,9 +465,9 @@ public static function fields_list() { $fields['placeholder'] = [ 'type' => 'text', - 'title' => __('Field Placeholder', 'multisite-ultimate'), - 'placeholder' => __('e.g. Placeholder value', 'multisite-ultimate'), - 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'multisite-ultimate'), + 'title' => __('Field Placeholder', 'ultimate-multisite'), + 'placeholder' => __('e.g. Placeholder value', 'ultimate-multisite'), + 'desc' => __('This value appears inside the field, as an example of how to fill it.', 'ultimate-multisite'), 'tooltip' => '', 'value' => '', 'tab' => 'advanced', @@ -477,15 +477,15 @@ public static function fields_list() { ]; ob_start(); - wu_tooltip(__('Just like this!', 'multisite-ultimate')); + wu_tooltip(__('Just like this!', 'ultimate-multisite')); $realtooltip = ob_end_clean(); $fields['tooltip'] = [ 'type' => 'textarea', - 'title' => __('Field Tooltip', 'multisite-ultimate'), - 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'multisite-ultimate'), + 'title' => __('Field Tooltip', 'ultimate-multisite'), + 'placeholder' => __('e.g. This field is great, be sure to fill it.', 'ultimate-multisite'), // translators: %is is the icon for a question mark. - 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'multisite-ultimate'), $realtooltip), + 'desc' => sprintf(__('Any text entered here will be shown when the customer hovers the %s icon next to the field label.', 'ultimate-multisite'), $realtooltip), 'tooltip' => '', 'value' => '', 'tab' => 'advanced', @@ -497,8 +497,8 @@ public static function fields_list() { $fields['default_value'] = [ 'type' => 'text', - 'title' => __('Default Value', 'multisite-ultimate'), - 'placeholder' => __('e.g. None', 'multisite-ultimate'), + 'title' => __('Default Value', 'ultimate-multisite'), + 'placeholder' => __('e.g. None', 'ultimate-multisite'), 'value' => '', 'html_attr' => [ 'v-model' => 'default_value', @@ -507,7 +507,7 @@ public static function fields_list() { $fields['note'] = [ 'type' => 'textarea', - 'title' => __('Content', 'multisite-ultimate'), + 'title' => __('Content', 'ultimate-multisite'), 'placeholder' => '', 'tooltip' => '', 'value' => '', @@ -518,13 +518,13 @@ public static function fields_list() { $fields['limits'] = [ 'type' => 'group', - 'title' => __('Field Length', 'multisite-ultimate'), + 'title' => __('Field Length', 'ultimate-multisite'), 'tooltip' => '', 'fields' => [ 'min' => [ 'type' => 'number', 'value' => '', - 'placeholder' => __('Min', 'multisite-ultimate'), + 'placeholder' => __('Min', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-1/2', 'html_attr' => [ 'v-model' => 'min', @@ -533,7 +533,7 @@ public static function fields_list() { 'max' => [ 'type' => 'number', 'value' => '', - 'placeholder' => __('Max', 'multisite-ultimate'), + 'placeholder' => __('Max', 'ultimate-multisite'), 'wrapper_classes' => 'wu-ml-2 wu-w-1/2', 'html_attr' => [ 'v-model' => 'max', @@ -544,18 +544,18 @@ public static function fields_list() { $fields['save_as'] = [ 'type' => 'select', - 'title' => __('Save As', 'multisite-ultimate'), - 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'multisite-ultimate'), + 'title' => __('Save As', 'ultimate-multisite'), + 'desc' => __('Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option.', 'ultimate-multisite'), 'placeholder' => '', 'tooltip' => '', 'value' => 'customer_meta', 'order' => 99.5, 'options' => [ - 'customer_meta' => __('Customer Meta', 'multisite-ultimate'), - 'user_meta' => __('User Meta', 'multisite-ultimate'), - 'site_meta' => __('Site Meta', 'multisite-ultimate'), - 'site_option' => __('Site Option', 'multisite-ultimate'), - 'nothing' => __('Do not save', 'multisite-ultimate'), + 'customer_meta' => __('Customer Meta', 'ultimate-multisite'), + 'user_meta' => __('User Meta', 'ultimate-multisite'), + 'site_meta' => __('Site Meta', 'ultimate-multisite'), + 'site_option' => __('Site Option', 'ultimate-multisite'), + 'nothing' => __('Do not save', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'save_as', @@ -564,8 +564,8 @@ public static function fields_list() { $fields['required'] = [ 'type' => 'toggle', - 'title' => __('Required', 'multisite-ultimate'), - 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'multisite-ultimate'), + 'title' => __('Required', 'ultimate-multisite'), + 'desc' => __('Mark this field as required. The checkout will not proceed unless this field is filled.', 'ultimate-multisite'), 'value' => 0, 'order' => 98, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-billing-address.php b/inc/checkout/signup-fields/class-signup-field-billing-address.php index 14d1ed5a9..f8c223cc1 100644 --- a/inc/checkout/signup-fields/class-signup-field-billing-address.php +++ b/inc/checkout/signup-fields/class-signup-field-billing-address.php @@ -69,7 +69,7 @@ public function is_user_field() { */ public function get_title() { - return __('Address', 'multisite-ultimate'); + return __('Address', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_title() { */ public function get_description() { - return __('Adds billing address fields such as country, zip code.', 'multisite-ultimate'); + return __('Adds billing address fields such as country, zip code.', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds billing address fields such as country, zip code.', 'multisite-ultimate'); + return __('Adds billing address fields such as country, zip code.', 'ultimate-multisite'); } /** @@ -165,8 +165,8 @@ public function get_fields() { return [ 'zip_and_country' => [ 'type' => 'toggle', - 'title' => __('Display only ZIP and Country?', 'multisite-ultimate'), - 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'multisite-ultimate'), + 'title' => __('Display only ZIP and Country?', 'ultimate-multisite'), + 'desc' => __('Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields.', 'ultimate-multisite'), 'value' => true, ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-checkbox.php b/inc/checkout/signup-fields/class-signup-field-checkbox.php index 5d2ccb905..b6b4a8339 100644 --- a/inc/checkout/signup-fields/class-signup-field-checkbox.php +++ b/inc/checkout/signup-fields/class-signup-field-checkbox.php @@ -69,7 +69,7 @@ public function is_user_field() { */ public function get_title() { - return __('Checkbox', 'multisite-ultimate'); + return __('Checkbox', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a checkout box that can be checked by the customer.', 'multisite-ultimate'); + return __('Adds a checkout box that can be checked by the customer.', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a checkout box that can be checked by the customer.', 'multisite-ultimate'); + return __('Adds a checkout box that can be checked by the customer.', 'ultimate-multisite'); } /** @@ -166,8 +166,8 @@ public function get_fields() { return [ 'default_state' => [ 'type' => 'toggle', - 'title' => __('Default State', 'multisite-ultimate'), - 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'multisite-ultimate'), + 'title' => __('Default State', 'ultimate-multisite'), + 'desc' => __('Use the toggle to the set the default state of the checkbox.', 'ultimate-multisite'), 'value' => 0, 'order' => 12, ], diff --git a/inc/checkout/signup-fields/class-signup-field-color.php b/inc/checkout/signup-fields/class-signup-field-color.php index 00c6cf85f..8a4270016 100644 --- a/inc/checkout/signup-fields/class-signup-field-color.php +++ b/inc/checkout/signup-fields/class-signup-field-color.php @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Color', 'multisite-ultimate'); + return __('Color', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a color picker field.', 'multisite-ultimate'); + return __('Adds a color picker field.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a color picker field.', 'multisite-ultimate'); + return __('Adds a color picker field.', 'ultimate-multisite'); } /** @@ -154,8 +154,8 @@ public function get_fields() { 'default_value' => [ 'type' => 'color-picker', 'order' => 12, - 'title' => __('Default Color', 'multisite-ultimate'), - 'desc' => __('Set the default value for this color field.', 'multisite-ultimate'), + 'title' => __('Default Color', 'ultimate-multisite'), + 'desc' => __('Set the default value for this color field.', 'ultimate-multisite'), ], ]; } diff --git a/inc/checkout/signup-fields/class-signup-field-discount-code.php b/inc/checkout/signup-fields/class-signup-field-discount-code.php index db95e6d2b..cbf751269 100644 --- a/inc/checkout/signup-fields/class-signup-field-discount-code.php +++ b/inc/checkout/signup-fields/class-signup-field-discount-code.php @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Coupon Code', 'multisite-ultimate'); + return __('Coupon Code', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds an additional field to apply a discount code.', 'multisite-ultimate'); + return __('Adds an additional field to apply a discount code.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds an additional field to apply a discount code.', 'multisite-ultimate'); + return __('Adds an additional field to apply a discount code.', 'ultimate-multisite'); } /** @@ -168,7 +168,7 @@ public function to_fields_array($attributes) { $checkout_fields['discount_code_checkbox'] = [ 'id' => 'discount_code', 'type' => 'toggle', - 'name' => __('Have a coupon code?', 'multisite-ultimate'), + 'name' => __('Have a coupon code?', 'ultimate-multisite'), 'class' => 'wu-w-auto', 'html_attr' => [ 'v-model' => 'toggle_discount_code', diff --git a/inc/checkout/signup-fields/class-signup-field-email-confirmation.php b/inc/checkout/signup-fields/class-signup-field-email-confirmation.php deleted file mode 100644 index 69bba49d6..000000000 --- a/inc/checkout/signup-fields/class-signup-field-email-confirmation.php +++ /dev/null @@ -1,332 +0,0 @@ - true, - 'confirmation_label' => __('Confirm Email Address', 'multisite-ultimate'), - 'confirmation_placeholder' => __('Re-enter your email address', 'multisite-ultimate'), - ]; - } - - /** - * List of keys of the default fields we want to display on the builder. - * - * @since 2.0.0 - * @return array - */ - public function default_fields() { - - return [ - 'name', - 'placeholder', - 'tooltip', - ]; - } - - /** - * If you want to force a particular attribute to a value, declare it here. - * - * @since 2.0.0 - * @return array - */ - public function force_attributes() { - - return [ - 'id' => 'email_address', - 'required' => true, - ]; - } - - /** - * Returns the list of additional fields specific to this type. - * - * @since 2.0.0 - * @return array - */ - public function get_fields() { - - return [ - 'display_notices' => [ - 'type' => 'toggle', - 'title' => __('Display Notices', 'multisite-ultimate'), - 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email fields. Disable this option if you do not want that box to show up.', 'multisite-ultimate'), - 'tooltip' => '', - 'value' => 1, - 'html_attr' => [ - 'v-model' => 'display_notices', - ], - ], - 'confirmation_label' => [ - 'type' => 'text', - 'title' => __('Confirmation Field Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. Confirm Email Address', 'multisite-ultimate'), - 'desc' => __('This is the label for the email confirmation field.', 'multisite-ultimate'), - 'tooltip' => '', - 'value' => __('Confirm Email Address', 'multisite-ultimate'), - 'html_attr' => [ - 'v-model' => 'confirmation_label', - ], - ], - 'confirmation_placeholder' => [ - 'type' => 'text', - 'title' => __('Confirmation Field Placeholder', 'multisite-ultimate'), - 'placeholder' => __('e.g. Re-enter your email address', 'multisite-ultimate'), - 'desc' => __('This value appears inside the confirmation field as placeholder text.', 'multisite-ultimate'), - 'tooltip' => '', - 'value' => __('Re-enter your email address', 'multisite-ultimate'), - 'html_attr' => [ - 'v-model' => 'confirmation_placeholder', - ], - ], - ]; - } - - /** - * Returns the field/element actual field array to be used on the checkout form. - * - * @since 2.0.0 - * - * @param array $attributes Attributes saved on the editor form. - * @return array An array of fields, not the field itself. - */ - public function to_fields_array($attributes) { - - $checkout_fields = []; - - if (is_user_logged_in()) { - if ($attributes['display_notices']) { - $checkout_fields['login_note'] = [ - 'type' => 'note', - 'title' => __('Not you?', 'multisite-ultimate'), - 'desc' => [$this, 'render_not_you_customer_message'], - 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), - 'wrapper_html_attr' => [ - 'style' => $this->calculate_style_attr(), - ], - ]; - } - } else { - if ($attributes['display_notices']) { - $checkout_fields['login_note'] = [ - 'type' => 'note', - 'title' => __('Existing customer?', 'multisite-ultimate'), - 'desc' => [$this, 'render_existing_customer_message'], - 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), - 'wrapper_html_attr' => [ - 'style' => $this->calculate_style_attr(), - ], - ]; - } - - $checkout_fields['email_address'] = [ - 'type' => 'email', - 'id' => 'email_address', - 'name' => $attributes['name'], - 'placeholder' => $attributes['placeholder'], - 'tooltip' => $attributes['tooltip'], - 'value' => $this->get_value(), - 'required' => true, - 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), - 'classes' => wu_get_isset($attributes, 'element_classes', ''), - 'wrapper_html_attr' => [ - 'style' => $this->calculate_style_attr(), - ], - ]; - - $checkout_fields['email_address_confirmation'] = [ - 'type' => 'email', - 'id' => 'email_address_confirmation', - 'name' => wu_get_isset($attributes, 'confirmation_label', __('Confirm Email Address', 'multisite-ultimate')), - 'placeholder' => wu_get_isset($attributes, 'confirmation_placeholder', __('Re-enter your email address', 'multisite-ultimate')), - 'tooltip' => __('Please re-enter your email address to confirm it matches.', 'multisite-ultimate'), - 'value' => '', - 'required' => true, - 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), - 'classes' => wu_get_isset($attributes, 'element_classes', ''), - 'wrapper_html_attr' => [ - 'style' => $this->calculate_style_attr(), - ], - 'html_attr' => [ - 'data-confirm-email' => 'email_address', - ], - ]; - } - - return $checkout_fields; - } - - /** - * Renders the login message for users that are not logged in. - * - * @since 2.0.0 - * @return string - */ - public function render_existing_customer_message() { - - $login_url = wp_login_url(add_query_arg('logged', '1')); - - ob_start(); ?> - -
- - Log in to renew or change an existing membership.', 'multisite-ultimate')), esc_attr($login_url)); - - ?> - -
- - - -

- Log in using your account.', 'multisite-ultimate')), esc_html(wp_get_current_user()->display_name), esc_attr($login_url)); - - ?> -

- - true, + 'display_notices' => true, + 'email_confirm_field' => false, + 'email_confirm_label' => __('Confirm Email', 'ultimate-multisite'), ]; } @@ -158,16 +160,22 @@ public function force_attributes() { public function get_fields() { return [ - 'display_notices' => [ + 'display_notices' => [ 'type' => 'toggle', - 'title' => __('Display Notices', 'multisite-ultimate'), - 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'multisite-ultimate'), + 'title' => __('Display Notices', 'ultimate-multisite'), + 'desc' => __('When the customer is already logged in, a box with the customer\'s username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, 'html_attr' => [ 'v-model' => 'display_notices', ], ], + 'email_confirm_field' => [ + 'type' => 'toggle', + 'title' => __('Display Email Confirm Field', 'ultimate-multisite'), + 'desc' => __('Adds a "Confirm Email" field below email field to reduce the chance of making a mistake.', 'ultimate-multisite'), + 'value' => 1, + ], ]; } @@ -187,7 +195,7 @@ public function to_fields_array($attributes) { if ($attributes['display_notices']) { $checkout_fields['login_note'] = [ 'type' => 'note', - 'title' => __('Not you?', 'multisite-ultimate'), + 'title' => __('Not you?', 'ultimate-multisite'), 'desc' => [$this, 'render_not_you_customer_message'], 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'wrapper_html_attr' => [ @@ -199,7 +207,7 @@ public function to_fields_array($attributes) { if ($attributes['display_notices']) { $checkout_fields['login_note'] = [ 'type' => 'note', - 'title' => __('Existing customer?', 'multisite-ultimate'), + 'title' => __('Existing customer?', 'ultimate-multisite'), 'desc' => [$this, 'render_existing_customer_message'], 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'wrapper_html_attr' => [ @@ -222,6 +230,22 @@ public function to_fields_array($attributes) { 'style' => $this->calculate_style_attr(), ], ]; + if ($attributes['email_confirm_field']) { + $checkout_fields['email_address_conf'] = [ + 'type' => 'text', + 'id' => 'email_address_conf', + 'name' => $attributes['email_confirm_label'], + 'placeholder' => '', + 'tooltip' => '', + 'meter' => false, + 'required' => true, + 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), + 'classes' => wu_get_isset($attributes, 'element_classes', ''), + 'wrapper_html_attr' => [ + 'style' => $this->calculate_style_attr(), + ], + ]; + } } return $checkout_fields; @@ -243,7 +267,7 @@ public function render_existing_customer_message() { Log in to renew or change an existing membership.', 'multisite-ultimate')), esc_attr($login_url)); + printf(wp_kses_post(__('Log in to renew or change an existing membership.', 'ultimate-multisite')), esc_attr($login_url)); ?> @@ -271,7 +295,7 @@ public function render_not_you_customer_message() { Log in using your account.', 'multisite-ultimate')), esc_html(wp_get_current_user()->display_name), esc_attr($login_url)); + printf(wp_kses_post(__('Not %1$s? Log in using your account.', 'ultimate-multisite')), esc_html(wp_get_current_user()->display_name), esc_attr($login_url)); ?>

diff --git a/inc/checkout/signup-fields/class-signup-field-hidden.php b/inc/checkout/signup-fields/class-signup-field-hidden.php index 3fe80b9e6..0c18a5a67 100644 --- a/inc/checkout/signup-fields/class-signup-field-hidden.php +++ b/inc/checkout/signup-fields/class-signup-field-hidden.php @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Hidden Field', 'multisite-ultimate'); + return __('Hidden Field', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'multisite-ultimate'); + return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'multisite-ultimate'); + return __('Adds a hidden field. This is useful when coupled with the "Fill from the Request" option, to load values from the URL, for example.', 'ultimate-multisite'); } /** @@ -150,9 +150,9 @@ public function get_fields() { 'fixed_value' => [ 'order' => 12, 'type' => 'text', - 'title' => __('Pre-filled Value', 'multisite-ultimate'), - 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'multisite-ultimate'), - 'placeholder' => __('e.g. blue', 'multisite-ultimate'), + 'title' => __('Pre-filled Value', 'ultimate-multisite'), + 'desc' => __('The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled.', 'ultimate-multisite'), + 'placeholder' => __('e.g. blue', 'ultimate-multisite'), 'tooltip' => '', 'value' => '', ], diff --git a/inc/checkout/signup-fields/class-signup-field-order-bump.php b/inc/checkout/signup-fields/class-signup-field-order-bump.php index e970c6cc4..a80e117f7 100644 --- a/inc/checkout/signup-fields/class-signup-field-order-bump.php +++ b/inc/checkout/signup-fields/class-signup-field-order-bump.php @@ -56,7 +56,7 @@ public function is_required() { */ public function get_title() { - return __('Order Bump', 'multisite-ultimate'); + return __('Order Bump', 'ultimate-multisite'); } /** @@ -69,7 +69,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a product offer that the customer can click to add to the current cart.', 'multisite-ultimate'); + return __('Adds a product offer that the customer can click to add to the current cart.', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a product offer that the customer can click to add to the current cart.', 'multisite-ultimate'); + return __('Adds a product offer that the customer can click to add to the current cart.', 'ultimate-multisite'); } /** @@ -166,9 +166,9 @@ public function get_fields() { $editor_fields = [ 'product' => [ 'type' => 'model', - 'title' => __('Product', 'multisite-ultimate'), - 'placeholder' => __('e.g. Premium', 'multisite-ultimate'), - 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'multisite-ultimate'), + 'title' => __('Product', 'ultimate-multisite'), + 'placeholder' => __('e.g. Premium', 'ultimate-multisite'), + 'desc' => __('Select the product that will be presented to the customer as an add-on option.', 'ultimate-multisite'), 'tooltip' => '', 'order' => 12, 'html_attr' => [ @@ -182,15 +182,15 @@ public function get_fields() { 'display_product_description' => [ 'order' => 13, 'type' => 'toggle', - 'title' => __('Display Product Description', 'multisite-ultimate'), - 'desc' => __('Toggle to display the product description as well, if one is available.', 'multisite-ultimate'), + 'title' => __('Display Product Description', 'ultimate-multisite'), + 'desc' => __('Toggle to display the product description as well, if one is available.', 'ultimate-multisite'), 'value' => 0, ], 'display_product_image' => [ 'order' => 14, 'type' => 'toggle', - 'title' => __('Display Product Image', 'multisite-ultimate'), - 'desc' => __('Toggle to display the product image as well, if one is available.', 'multisite-ultimate'), + 'title' => __('Display Product Image', 'ultimate-multisite'), + 'desc' => __('Toggle to display the product image as well, if one is available.', 'ultimate-multisite'), 'value' => 1, ], ]; @@ -202,8 +202,8 @@ public function get_fields() { // 'fields' => array( // 'order_bump_template' => array( // 'type' => 'select', - // 'title' => __('Layout', 'multisite-ultimate'), - // 'placeholder' => __('Select your Layout', 'multisite-ultimate'), + // 'title' => __('Layout', 'ultimate-multisite'), + // 'placeholder' => __('Select your Layout', 'ultimate-multisite'), // 'options' => array($this, 'get_templates'), // 'wrapper_classes' => 'wu-flex-grow', // 'html_attr' => array( @@ -219,7 +219,7 @@ public function get_fields() { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates?
See how you can do that here.', 'multisite-ultimate')), + // 'desc' => sprintf('
%s
', __('Want to add customized order bump templates?
See how you can do that here.', 'ultimate-multisite')), // ); return $editor_fields; @@ -247,12 +247,18 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('order_bump', $attributes['order_bump_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function() use($attributes, $template_class) { + if ($template_class) { + $template_class->render_container($attributes); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; return [ $attributes['id'] => [ 'type' => 'note', - 'desc' => $content, + 'desc' => $desc, 'wrapper_classes' => $attributes['element_classes'], ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-order-summary.php b/inc/checkout/signup-fields/class-signup-field-order-summary.php index 215bb91d5..6052e6381 100644 --- a/inc/checkout/signup-fields/class-signup-field-order-summary.php +++ b/inc/checkout/signup-fields/class-signup-field-order-summary.php @@ -54,7 +54,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Order Summary', 'multisite-ultimate'); + return __('Order Summary', 'ultimate-multisite'); } /** @@ -67,7 +67,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'multisite-ultimate'); + return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'ultimate-multisite'); } /** @@ -80,7 +80,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'multisite-ultimate'); + return __('Adds a summary table with prices, key subscription dates, discounts, and taxes.', 'ultimate-multisite'); } /** @@ -163,11 +163,11 @@ public function get_fields() { $editor_fields['table_columns'] = [ 'type' => 'select', - 'title' => __('Table Columns', 'multisite-ultimate'), - 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'multisite-ultimate'), + 'title' => __('Table Columns', 'ultimate-multisite'), + 'desc' => __('"Simplified" will condense all discount and tax info into separate rows to keep the table with only two columns. "Display All" adds a discounts and taxes column to each product row.', 'ultimate-multisite'), 'options' => [ - 'simple' => __('Simplified', 'multisite-ultimate'), - 'full' => __('Display All', 'multisite-ultimate'), + 'simple' => __('Simplified', 'ultimate-multisite'), + 'full' => __('Display All', 'ultimate-multisite'), ], ]; @@ -177,8 +177,8 @@ public function get_fields() { 'fields' => [ 'order_summary_template' => [ 'type' => 'select', - 'title' => __('Layout', 'multisite-ultimate'), - 'placeholder' => __('Select your Layout', 'multisite-ultimate'), + 'title' => __('Layout', 'ultimate-multisite'), + 'placeholder' => __('Select your Layout', 'ultimate-multisite'), 'options' => [$this, 'get_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -194,7 +194,7 @@ public function get_fields() { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates?
See how you can do that here.', 'multisite-ultimate')), + // 'desc' => sprintf('
%s
', __('Want to add customized order summary templates?
See how you can do that here.', 'ultimate-multisite')), // ); return $editor_fields; @@ -221,11 +221,17 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('order_summary', $attributes['order_summary_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function() use($attributes, $template_class) { + if ($template_class) { + $template_class->render_container($attributes); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; $checkout_fields[ $attributes['id'] ] = [ 'type' => 'note', - 'desc' => $content, + 'desc' => $desc, 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'classes' => wu_get_isset($attributes, 'element_classes', ''), 'wrapper_html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-password.php b/inc/checkout/signup-fields/class-signup-field-password.php index c9f7bf13c..202b9dbe6 100644 --- a/inc/checkout/signup-fields/class-signup-field-password.php +++ b/inc/checkout/signup-fields/class-signup-field-password.php @@ -69,7 +69,7 @@ public function is_user_field() { */ public function get_title() { - return __('Password', 'multisite-ultimate'); + return __('Password', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'multisite-ultimate'); + return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'multisite-ultimate'); + return __('Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user.', 'ultimate-multisite'); } /** @@ -124,7 +124,7 @@ public function defaults() { return [ 'password_confirm_field' => false, - 'password_confirm_label' => __('Confirm Password', 'multisite-ultimate'), + 'password_confirm_label' => __('Confirm Password', 'ultimate-multisite'), ]; } @@ -168,14 +168,14 @@ public function get_fields() { return [ 'password_strength_meter' => [ 'type' => 'toggle', - 'title' => __('Display Password Strength Meter', 'multisite-ultimate'), - 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'multisite-ultimate'), + 'title' => __('Display Password Strength Meter', 'ultimate-multisite'), + 'desc' => __('Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong.', 'ultimate-multisite'), 'value' => 1, ], 'password_confirm_field' => [ 'type' => 'toggle', - 'title' => __('Display Password Confirm Field', 'multisite-ultimate'), - 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance or making a mistake.', 'multisite-ultimate'), + 'title' => __('Display Password Confirm Field', 'ultimate-multisite'), + 'desc' => __('Adds a "Confirm your Password" field below the default password field to reduce the chance of making a mistake.', 'ultimate-multisite'), 'value' => 1, ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-payment.php b/inc/checkout/signup-fields/class-signup-field-payment.php index 346d60901..ad0b35dc7 100644 --- a/inc/checkout/signup-fields/class-signup-field-payment.php +++ b/inc/checkout/signup-fields/class-signup-field-payment.php @@ -56,7 +56,7 @@ public function is_required() { */ public function get_title() { - return __('Payment', 'multisite-ultimate'); + return __('Payment', 'ultimate-multisite'); } /** @@ -69,7 +69,7 @@ public function get_title() { */ public function get_description() { - return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'multisite-ultimate'); + return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'multisite-ultimate'); + return __('Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field).', 'ultimate-multisite'); } /** @@ -190,7 +190,7 @@ public function to_fields_array($attributes) { $fields['auto_renew'] = [ 'type' => 'toggle', 'id' => 'auto_renew', - 'name' => __('Auto-renew', 'multisite-ultimate'), + 'name' => __('Auto-renew', 'ultimate-multisite'), 'tooltip' => '', 'value' => '1', 'html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-period-selection.php b/inc/checkout/signup-fields/class-signup-field-period-selection.php index 441dea178..cf0fbb24a 100644 --- a/inc/checkout/signup-fields/class-signup-field-period-selection.php +++ b/inc/checkout/signup-fields/class-signup-field-period-selection.php @@ -54,7 +54,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Period Select', 'multisite-ultimate'); + return __('Period Select', 'ultimate-multisite'); } /** @@ -67,7 +67,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a period selector, that allows customers to switch between different billing periods.', 'multisite-ultimate'); + return __('Adds a period selector, that allows customers to switch between different billing periods.', 'ultimate-multisite'); } /** @@ -80,7 +80,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a period selector, that allows customers to switch between different billing periods.', 'multisite-ultimate'); + return __('Adds a period selector, that allows customers to switch between different billing periods.', 'ultimate-multisite'); } /** @@ -134,7 +134,7 @@ public function force_attributes() { return [ 'id' => 'period_selection', - 'name' => __('Plan Duration Switch', 'multisite-ultimate'), + 'name' => __('Plan Duration Switch', 'ultimate-multisite'), 'required' => true, ]; } @@ -169,8 +169,8 @@ public function get_fields() { 'fields' => [ 'period_selection_template' => [ 'type' => 'select', - 'title' => __('Period Selector Template', 'multisite-ultimate'), - 'placeholder' => __('Select your Template', 'multisite-ultimate'), + 'title' => __('Period Selector Template', 'ultimate-multisite'), + 'placeholder' => __('Select your Template', 'ultimate-multisite'), 'options' => [$this, 'get_template_options'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -182,14 +182,14 @@ public function get_fields() { $editor_fields['period_options_header'] = [ 'type' => 'small-header', - 'title' => __('Options', 'multisite-ultimate'), - 'desc' => __('Add different options below. These need to match your product price variations.', 'multisite-ultimate'), + 'title' => __('Options', 'ultimate-multisite'), + 'desc' => __('Add different options below. These need to match your product price variations.', 'ultimate-multisite'), 'order' => 90, ]; $editor_fields['period_options_empty'] = [ 'type' => 'note', - 'desc' => __('Add the first option using the button below.', 'multisite-ultimate'), + 'desc' => __('Add the first option using the button below.', 'ultimate-multisite'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'order' => 90.5, @@ -212,12 +212,12 @@ public function get_fields() { 'fields' => [ 'period_options_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'multisite-ultimate')), + 'desc' => sprintf('', __('Remove', 'ultimate-multisite')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'period_options_duration' => [ 'type' => 'number', - 'title' => __('Duration', 'multisite-ultimate'), + 'title' => __('Duration', 'ultimate-multisite'), 'placeholder' => '', 'wrapper_classes' => 'wu-w-2/12', 'min' => 1, @@ -237,16 +237,16 @@ public function get_fields() { 'v-bind:name' => '"period_options[" + index + "][duration_unit]"', ], 'options' => [ - 'day' => __('Days', 'multisite-ultimate'), - 'week' => __('Weeks', 'multisite-ultimate'), - 'month' => __('Months', 'multisite-ultimate'), - 'year' => __('Years', 'multisite-ultimate'), + 'day' => __('Days', 'ultimate-multisite'), + 'week' => __('Weeks', 'ultimate-multisite'), + 'month' => __('Months', 'ultimate-multisite'), + 'year' => __('Years', 'ultimate-multisite'), ], ], 'period_options_label' => [ 'type' => 'text', - 'title' => __('Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. Monthly', 'multisite-ultimate'), + 'title' => __('Label', 'ultimate-multisite'), + 'placeholder' => __('e.g. Monthly', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-5/12', 'html_attr' => [ 'v-model' => 'period_option.label', @@ -259,7 +259,7 @@ public function get_fields() { $editor_fields['repeat'] = [ 'order' => 92, 'type' => 'submit', - 'title' => __('+ Add option', 'multisite-ultimate'), + 'title' => __('+ Add option', 'ultimate-multisite'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -297,7 +297,13 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('period_selection', $attributes['period_selection_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function() use($attributes, $template_class) { + if ($template_class) { + $template_class->render_container($attributes); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; $checkout_fields = []; @@ -305,7 +311,7 @@ public function to_fields_array($attributes) { 'type' => 'note', 'id' => $attributes['id'], 'wrapper_classes' => $attributes['element_classes'], - 'desc' => $content, + 'desc' => $desc, ]; $checkout_fields['duration'] = [ diff --git a/inc/checkout/signup-fields/class-signup-field-pricing-table.php b/inc/checkout/signup-fields/class-signup-field-pricing-table.php index 1722a6b7d..e2c94274b 100644 --- a/inc/checkout/signup-fields/class-signup-field-pricing-table.php +++ b/inc/checkout/signup-fields/class-signup-field-pricing-table.php @@ -54,7 +54,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Pricing Table', 'multisite-ultimate'); + return __('Pricing Table', 'ultimate-multisite'); } /** @@ -67,7 +67,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'multisite-ultimate'); + return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'ultimate-multisite'); } /** @@ -80,7 +80,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'multisite-ultimate'); + return __('Adds a pricing table section that customers can use to choose a plan to subscribe to.', 'ultimate-multisite'); } /** @@ -137,7 +137,7 @@ public function force_attributes() { return [ 'id' => 'pricing_table', - 'name' => __('Plan Selection', 'multisite-ultimate'), + 'name' => __('Plan Selection', 'ultimate-multisite'), 'required' => true, ]; } @@ -167,9 +167,9 @@ public function get_fields() { $editor_fields['pricing_table_products'] = [ 'type' => 'model', - 'title' => __('Products', 'multisite-ultimate'), - 'placeholder' => __('e.g. Premium', 'multisite-ultimate'), - 'desc' => __('Be sure to add the products in the order you want them to show up.', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), + 'placeholder' => __('e.g. Premium', 'ultimate-multisite'), + 'desc' => __('Be sure to add the products in the order you want them to show up.', 'ultimate-multisite'), 'tooltip' => '', 'order' => 20, 'html_attr' => [ @@ -184,8 +184,8 @@ public function get_fields() { $editor_fields['force_different_durations'] = [ 'type' => 'toggle', - 'title' => __('Force Different Durations', 'multisite-ultimate'), - 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'multisite-ultimate'), + 'title' => __('Force Different Durations', 'ultimate-multisite'), + 'desc' => __('Check this option to force the display of plans with different recurring durations.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'order' => 22, @@ -196,9 +196,9 @@ public function get_fields() { $editor_fields['hide_pricing_table_when_pre_selected'] = [ 'type' => 'toggle', - 'title' => __('Hide when Pre-Selected', 'multisite-ultimate'), - 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'multisite-ultimate'), - 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'multisite-ultimate'), + 'title' => __('Hide when Pre-Selected', 'ultimate-multisite'), + 'desc' => __('Prevent customers from seeing this field when a plan was already selected via the URL.', 'ultimate-multisite'), + 'tooltip' => __('If the pricing table field is the only field in the current step, the step will be skipped.', 'ultimate-multisite'), 'value' => 0, 'order' => 24, 'html_attr' => [ @@ -213,8 +213,8 @@ public function get_fields() { 'fields' => [ 'pricing_table_template' => [ 'type' => 'select', - 'title' => __('Pricing Table Template', 'multisite-ultimate'), - 'placeholder' => __('Select your Template', 'multisite-ultimate'), + 'title' => __('Pricing Table Template', 'ultimate-multisite'), + 'placeholder' => __('Select your Template', 'ultimate-multisite'), 'options' => [$this, 'get_pricing_table_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -230,7 +230,7 @@ public function get_fields() { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates?
See how you can do that here.', 'multisite-ultimate')), + // 'desc' => sprintf('
%s
', __('Want to add customized pricing table templates?
See how you can do that here.', 'ultimate-multisite')), // ); return $editor_fields; @@ -277,7 +277,13 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('pricing_table', $attributes['pricing_table_template']); - $content = $template_class ? $template_class->render_container($template_attributes) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function() use($template_attributes, $template_class) { + if ($template_class) { + $template_class->render_container($template_attributes); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; $checkout_fields = []; @@ -286,7 +292,7 @@ public function to_fields_array($attributes) { 'id' => $attributes['id'], 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'classes' => wu_get_isset($attributes, 'element_classes', ''), - 'desc' => $content, + 'desc' => $desc, 'wrapper_html_attr' => [ 'style' => $this->calculate_style_attr(), ], diff --git a/inc/checkout/signup-fields/class-signup-field-products.php b/inc/checkout/signup-fields/class-signup-field-products.php index ce8c1337f..5062c5cd6 100644 --- a/inc/checkout/signup-fields/class-signup-field-products.php +++ b/inc/checkout/signup-fields/class-signup-field-products.php @@ -53,7 +53,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Product', 'multisite-ultimate'); + return __('Product', 'ultimate-multisite'); } /** @@ -66,7 +66,7 @@ public function get_title() { */ public function get_description() { - return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'multisite-ultimate'); + return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'ultimate-multisite'); } /** @@ -79,7 +79,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'multisite-ultimate'); + return __('Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually.', 'ultimate-multisite'); } /** @@ -130,7 +130,7 @@ public function default_fields() { public function force_attributes() { return [ - 'name' => __('Pre-selected Products', 'multisite-ultimate'), + 'name' => __('Pre-selected Products', 'ultimate-multisite'), 'id' => 'products', ]; } @@ -146,9 +146,9 @@ public function get_fields() { return [ 'products' => [ 'type' => 'model', - 'title' => __('Products', 'multisite-ultimate'), - 'placeholder' => __('Products', 'multisite-ultimate'), - 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), + 'placeholder' => __('Products', 'ultimate-multisite'), + 'desc' => __('Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-model' => 'product', diff --git a/inc/checkout/signup-fields/class-signup-field-select.php b/inc/checkout/signup-fields/class-signup-field-select.php index 6b88b141d..3187870c6 100644 --- a/inc/checkout/signup-fields/class-signup-field-select.php +++ b/inc/checkout/signup-fields/class-signup-field-select.php @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Select', 'multisite-ultimate'); + return __('Select', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a select field.', 'multisite-ultimate'); + return __('Adds a select field.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a select field.', 'multisite-ultimate'); + return __('Adds a select field.', 'ultimate-multisite'); } /** @@ -156,13 +156,13 @@ public function get_fields() { $editor_fields['options_header'] = [ 'order' => 12, 'type' => 'small-header', - 'title' => __('Options', 'multisite-ultimate'), - 'desc' => __('Add different options below. The first option is used as the default.', 'multisite-ultimate'), + 'title' => __('Options', 'ultimate-multisite'), + 'desc' => __('Add different options below. The first option is used as the default.', 'ultimate-multisite'), ]; $editor_fields['options_empty'] = [ 'type' => 'note', - 'desc' => __('Add the first option using the button below.', 'multisite-ultimate'), + 'desc' => __('Add the first option using the button below.', 'ultimate-multisite'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'order' => 13, @@ -185,13 +185,13 @@ public function get_fields() { 'fields' => [ 'options_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'multisite-ultimate')), + 'desc' => sprintf('', __('Remove', 'ultimate-multisite')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'options_key' => [ 'type' => 'text', - 'title' => __('Option Value', 'multisite-ultimate'), - 'placeholder' => __('e.g. option1', 'multisite-ultimate'), + 'title' => __('Option Value', 'ultimate-multisite'), + 'placeholder' => __('e.g. option1', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-1/2 wu-mr-2', 'html_attr' => [ 'v-model' => 'option.key', @@ -201,8 +201,8 @@ public function get_fields() { ], 'options_label' => [ 'type' => 'text', - 'title' => __('Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. Option 1', 'multisite-ultimate'), + 'title' => __('Label', 'ultimate-multisite'), + 'placeholder' => __('e.g. Option 1', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-1/2 wu-ml-2', 'html_attr' => [ 'v-model' => 'option.label', @@ -215,7 +215,7 @@ public function get_fields() { $editor_fields['repeat_select_option'] = [ 'order' => 16, 'type' => 'submit', - 'title' => __('+ Add option', 'multisite-ultimate'), + 'title' => __('+ Add option', 'ultimate-multisite'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-shortcode.php b/inc/checkout/signup-fields/class-signup-field-shortcode.php index 7c20c7490..6647b6de6 100644 --- a/inc/checkout/signup-fields/class-signup-field-shortcode.php +++ b/inc/checkout/signup-fields/class-signup-field-shortcode.php @@ -53,7 +53,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Shortcode', 'multisite-ultimate'); + return __('Shortcode', 'ultimate-multisite'); } /** @@ -66,7 +66,7 @@ public function get_title() { */ public function get_description() { - return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a Multisite Ultimate checkout form.', 'multisite-ultimate'); + return __('Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a Ultimate Multisite checkout form.', 'ultimate-multisite'); } /** @@ -79,7 +79,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a Multisite Ultimate checkout form.', 'multisite-ultimate'); + return __('Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a Ultimate Multisite checkout form.', 'ultimate-multisite'); } /** @@ -133,7 +133,7 @@ public function default_fields() { public function force_attributes() { return [ - 'name' => __('Shortcode', 'multisite-ultimate'), + 'name' => __('Shortcode', 'ultimate-multisite'), ]; } @@ -148,9 +148,9 @@ public function get_fields() { return [ 'shortcode_code' => [ 'type' => 'text', - 'title' => __('Shortcode', 'multisite-ultimate'), - 'placeholder' => __('e.g. [shortcode]', 'multisite-ultimate'), - 'desc' => __('Please, enter the full shortcode, including [].', 'multisite-ultimate'), + 'title' => __('Shortcode', 'ultimate-multisite'), + 'placeholder' => __('e.g. [shortcode]', 'ultimate-multisite'), + 'desc' => __('Please, enter the full shortcode, including [].', 'ultimate-multisite'), ], ]; } diff --git a/inc/checkout/signup-fields/class-signup-field-site-title.php b/inc/checkout/signup-fields/class-signup-field-site-title.php index 28bd6c87e..8263d0f4d 100644 --- a/inc/checkout/signup-fields/class-signup-field-site-title.php +++ b/inc/checkout/signup-fields/class-signup-field-site-title.php @@ -66,7 +66,7 @@ public function is_site_field() { */ public function get_title() { - return __('Site Title', 'multisite-ultimate'); + return __('Site Title', 'ultimate-multisite'); } /** @@ -79,7 +79,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'multisite-ultimate'); + return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'ultimate-multisite'); } /** @@ -92,7 +92,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'multisite-ultimate'); + return __('Adds a Site Title field. This value is used to set the site title for the site being created.', 'ultimate-multisite'); } /** @@ -164,8 +164,8 @@ public function get_fields() { return [ 'auto_generate_site_title' => [ 'type' => 'toggle', - 'title' => __('Auto-generate?', 'multisite-ultimate'), - 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'multisite-ultimate'), + 'title' => __('Auto-generate?', 'ultimate-multisite'), + 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/class-signup-field-site-url.php b/inc/checkout/signup-fields/class-signup-field-site-url.php index 85681e1eb..43fd5b1ea 100644 --- a/inc/checkout/signup-fields/class-signup-field-site-url.php +++ b/inc/checkout/signup-fields/class-signup-field-site-url.php @@ -63,7 +63,7 @@ public function is_site_field(): bool { */ public function get_title() { - return __('Site URL', 'multisite-ultimate'); + return __('Site URL', 'ultimate-multisite'); } /** @@ -76,7 +76,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'multisite-ultimate'); + return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'ultimate-multisite'); } /** @@ -89,7 +89,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'multisite-ultimate'); + return __('Adds a Site URL field. This is used to set the URL of the site being created.', 'ultimate-multisite'); } /** @@ -169,8 +169,8 @@ public function get_fields() { 'auto_generate_site_url' => [ 'order' => 12, 'type' => 'toggle', - 'title' => __('Auto-generate', 'multisite-ultimate'), - 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'multisite-ultimate'), + 'title' => __('Auto-generate', 'ultimate-multisite'), + 'desc' => __('Check this option to auto-generate this field based on the username of the customer.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -180,8 +180,8 @@ public function get_fields() { 'display_field_attachments' => [ 'order' => 18, 'type' => 'toggle', - 'title' => __('Display URL field attachments', 'multisite-ultimate'), - 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'multisite-ultimate'), + 'title' => __('Display URL field attachments', 'ultimate-multisite'), + 'desc' => __('Adds the prefix and suffix blocks to the URL field.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, 'tab' => 'content', @@ -195,8 +195,8 @@ public function get_fields() { 'display_url_preview' => [ 'order' => 19, 'type' => 'toggle', - 'title' => __('Display URL preview block', 'multisite-ultimate'), - 'desc' => __('Adds a preview block that shows the final URL.', 'multisite-ultimate'), + 'title' => __('Display URL preview block', 'ultimate-multisite'), + 'desc' => __('Adds a preview block that shows the final URL.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, 'tab' => 'content', @@ -210,8 +210,8 @@ public function get_fields() { 'enable_domain_selection' => [ 'order' => 20, 'type' => 'toggle', - 'title' => __('Enable Domain Selection', 'multisite-ultimate'), - 'desc' => __('Offer different domain options to your customers to choose from.', 'multisite-ultimate'), + 'title' => __('Enable Domain Selection', 'ultimate-multisite'), + 'desc' => __('Offer different domain options to your customers to choose from.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'tab' => 'content', @@ -226,8 +226,8 @@ public function get_fields() { 'available_domains' => [ 'order' => 30, 'type' => 'textarea', - 'title' => __('Available Domains', 'multisite-ultimate'), - 'desc' => __('Enter one domain option per line.', 'multisite-ultimate'), + 'title' => __('Available Domains', 'ultimate-multisite'), + 'desc' => __('Enter one domain option per line.', 'ultimate-multisite'), 'value' => $current_site->domain . PHP_EOL, 'tab' => 'content', 'wrapper_html_attr' => [ @@ -249,8 +249,8 @@ public function get_fields() { public function get_url_preview_templates() { $templates = [ - 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'multisite-ultimate'), - // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'multisite-ultimate'), + 'legacy/signup/steps/step-domain-url-preview' => __('New URL Preview', 'ultimate-multisite'), + // 'legacy/signup/steps/step-domain-url-preview' => __('Legacy Template', 'ultimate-multisite'), ]; return apply_filters('wu_get_pricing_table_templates', $templates); @@ -328,7 +328,7 @@ public function to_fields_array($attributes) { $options = $this->get_domain_options($attributes['available_domains']); $checkout_fields['site_domain'] = [ - 'name' => __('Domain', 'multisite-ultimate'), + 'name' => __('Domain', 'ultimate-multisite'), 'options' => $options, 'wrapper_classes' => wu_get_isset($attributes, 'wrapper_element_classes', ''), 'classes' => wu_get_isset($attributes, 'element_classes', ''), diff --git a/inc/checkout/signup-fields/class-signup-field-steps.php b/inc/checkout/signup-fields/class-signup-field-steps.php index 3e399f551..650297622 100644 --- a/inc/checkout/signup-fields/class-signup-field-steps.php +++ b/inc/checkout/signup-fields/class-signup-field-steps.php @@ -54,7 +54,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Steps', 'multisite-ultimate'); + return __('Steps', 'ultimate-multisite'); } /** @@ -67,7 +67,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a list of the steps.', 'multisite-ultimate'); + return __('Adds a list of the steps.', 'ultimate-multisite'); } /** @@ -80,7 +80,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a list of the steps.', 'multisite-ultimate'); + return __('Adds a list of the steps.', 'ultimate-multisite'); } /** @@ -163,8 +163,8 @@ public function get_fields() { 'fields' => [ 'steps_template' => [ 'type' => 'select', - 'title' => __('Layout', 'multisite-ultimate'), - 'placeholder' => __('Select your Layout', 'multisite-ultimate'), + 'title' => __('Layout', 'ultimate-multisite'), + 'placeholder' => __('Select your Layout', 'ultimate-multisite'), 'options' => [$this, 'get_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -180,7 +180,7 @@ public function get_fields() { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized steps templates?
See how you can do that here.', 'multisite-ultimate')), + // 'desc' => sprintf('
%s
', __('Want to add customized steps templates?
See how you can do that here.', 'ultimate-multisite')), // ); return $editor_fields; @@ -207,12 +207,17 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('steps', $attributes['steps_template']); - $content = $template_class ? $template_class->render_container($attributes) : __('Template does not exist.', 'multisite-ultimate'); - + $desc = function() use($attributes, $template_class) { + if ($template_class) { + $template_class->render_container($attributes); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; return [ $attributes['id'] => [ 'type' => 'note', - 'desc' => $content, + 'desc' => $desc, 'wrapper_classes' => $attributes['element_classes'], ], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-submit-button.php b/inc/checkout/signup-fields/class-signup-field-submit-button.php index 2d3d96913..4a2d38dcc 100644 --- a/inc/checkout/signup-fields/class-signup-field-submit-button.php +++ b/inc/checkout/signup-fields/class-signup-field-submit-button.php @@ -15,7 +15,7 @@ defined('ABSPATH') || exit; /** - * Creates an cart with the parameters of the purchase being placed. + * Creates a cart with the parameters of the purchase being placed. * * @package WP_Ultimo * @subpackage Checkout @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Submit Button', 'multisite-ultimate'); + return __('Submit Button', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'multisite-ultimate'); + return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'multisite-ultimate'); + return __('Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms.', 'ultimate-multisite'); } /** @@ -110,7 +110,7 @@ public function defaults() { return [ 'enable_go_back_button' => false, - 'back_button_label' => __('← Go Back', 'multisite-ultimate'), + 'back_button_label' => __('← Go Back', 'ultimate-multisite'), ]; } @@ -150,8 +150,8 @@ public function get_fields() { return [ 'enable_go_back_button' => [ 'type' => 'toggle', - 'title' => __('Add "Go Back" button', 'multisite-ultimate'), - 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'multisite-ultimate'), + 'title' => __('Add "Go Back" button', 'ultimate-multisite'), + 'desc' => __('Enable this option to add a "Go Back" button. Useful for multi-step checkout forms.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ @@ -160,10 +160,10 @@ public function get_fields() { ], 'back_button_label' => [ 'type' => 'text', - 'title' => __('"Go Back" Button Label', 'multisite-ultimate'), - 'desc' => __('Value to be used as the "Go Back" label.', 'multisite-ultimate'), - 'placeholder' => __('e.g. ← Go Back', 'multisite-ultimate'), - 'value' => __('← Go Back', 'multisite-ultimate'), + 'title' => __('"Go Back" Button Label', 'ultimate-multisite'), + 'desc' => __('Value to be used as the "Go Back" label.', 'ultimate-multisite'), + 'placeholder' => __('e.g. ← Go Back', 'ultimate-multisite'), + 'value' => __('← Go Back', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-cloak' => '1', 'v-show' => 'enable_go_back_button', @@ -215,7 +215,7 @@ public function to_fields_array($attributes) { 'type' => 'html', 'wrapper_classes' => 'md:wu-w-1/2 wu-box-border wu-float-left wu--mt-4', 'id' => $attributes['id'] . '_go_back', - 'content' => sprintf('%s', esc_html($attributes['back_button_label'])), + 'content' => fn() => printf('%s', esc_html($attributes['back_button_label'])) && null, ]; $button_wrapper_classes .= ' md:wu-w-1/2 wu-box-border wu-float-left wu-text-right'; diff --git a/inc/checkout/signup-fields/class-signup-field-template-selection.php b/inc/checkout/signup-fields/class-signup-field-template-selection.php index 85e3fbb17..95201aac9 100644 --- a/inc/checkout/signup-fields/class-signup-field-template-selection.php +++ b/inc/checkout/signup-fields/class-signup-field-template-selection.php @@ -55,7 +55,7 @@ public function is_required(): bool { */ public function get_title() { - return __('Templates', 'multisite-ultimate'); + return __('Templates', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'multisite-ultimate'); + return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'multisite-ultimate'); + return __('Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created.', 'ultimate-multisite'); } /** @@ -139,7 +139,7 @@ public function force_attributes() { return [ 'id' => 'template_selection', - 'name' => __('Template Selection', 'multisite-ultimate'), + 'name' => __('Template Selection', 'ultimate-multisite'), 'required' => true, ]; } @@ -173,13 +173,13 @@ public function get_fields() { $editor_fields['template_selection_type'] = [ 'type' => 'select', - 'title' => __('Available templates', 'multisite-ultimate'), - 'desc' => __('How do you want to choose available which templates will be available.', 'multisite-ultimate'), + 'title' => __('Available templates', 'ultimate-multisite'), + 'desc' => __('How do you want to choose available which templates will be available.', 'ultimate-multisite'), 'order' => 20, 'options' => [ - 'name' => __('Select by names', 'multisite-ultimate'), - 'categories' => __('Select by categories', 'multisite-ultimate'), - 'all' => __('All templates', 'multisite-ultimate'), + 'name' => __('Select by names', 'ultimate-multisite'), + 'categories' => __('Select by categories', 'ultimate-multisite'), + 'all' => __('All templates', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'template_selection_type', @@ -188,9 +188,9 @@ public function get_fields() { $editor_fields['template_selection_categories'] = [ 'type' => 'select', - 'title' => __('Template Categories', 'multisite-ultimate'), - 'placeholder' => __('e.g.: Landing Page, Health...', 'multisite-ultimate'), - 'desc' => __('Customers will be able to filter by categories during signup.', 'multisite-ultimate'), + 'title' => __('Template Categories', 'ultimate-multisite'), + 'placeholder' => __('e.g.: Landing Page, Health...', 'ultimate-multisite'), + 'desc' => __('Customers will be able to filter by categories during signup.', 'ultimate-multisite'), 'order' => 21, 'options' => Site::get_all_categories(), 'html_attr' => [ @@ -204,9 +204,9 @@ public function get_fields() { $editor_fields['template_selection_sites'] = [ 'type' => 'model', - 'title' => __('Template Sites', 'multisite-ultimate'), - 'placeholder' => __('e.g. Template Site 1, My Agency', 'multisite-ultimate'), - 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'multisite-ultimate'), + 'title' => __('Template Sites', 'ultimate-multisite'), + 'placeholder' => __('e.g. Template Site 1, My Agency', 'ultimate-multisite'), + 'desc' => __('Be sure to add the templates in the order you want them to show up.', 'ultimate-multisite'), 'order' => 22, 'html_attr' => [ 'v-model' => 'template_selection_sites', @@ -231,9 +231,9 @@ public function get_fields() { $editor_fields['hide_template_selection_when_pre_selected'] = [ 'type' => 'toggle', - 'title' => __('Hide when Pre-Selected', 'multisite-ultimate'), - 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'multisite-ultimate'), - 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'multisite-ultimate'), + 'title' => __('Hide when Pre-Selected', 'ultimate-multisite'), + 'desc' => __('Prevent customers from seeing this field when a template was already selected via the URL.', 'ultimate-multisite'), + 'tooltip' => __('If the template selection field is the only field in the current step, the step will be skipped.', 'ultimate-multisite'), 'value' => 0, 'order' => 23, 'html_attr' => [ @@ -248,8 +248,8 @@ public function get_fields() { 'fields' => [ 'template_selection_template' => [ 'type' => 'select', - 'title' => __('Template Selector Template', 'multisite-ultimate'), - 'placeholder' => __('Select your Template', 'multisite-ultimate'), + 'title' => __('Template Selector Template', 'ultimate-multisite'), + 'placeholder' => __('Select your Template', 'ultimate-multisite'), 'options' => [$this, 'get_template_selection_templates'], 'wrapper_classes' => 'wu-flex-grow', 'html_attr' => [ @@ -265,7 +265,7 @@ public function get_fields() { // 'order' => 99, // 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', // 'classes' => '', - // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'multisite-ultimate')), + // 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'ultimate-multisite')), // ); return $editor_fields; @@ -356,11 +356,17 @@ public function to_fields_array($attributes) { $template_class = Field_Templates_Manager::get_instance()->get_template_class('template_selection', $attributes['template_selection_template']); - $content = $template_class ? $template_class->render_container($template_attributes, $this) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function () use ($template_attributes, $template_class) { + if ($template_class) { + $template_class->render_container($template_attributes, $this); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; $checkout_fields[ $attributes['id'] ] = [ 'type' => 'note', - 'desc' => $content, + 'desc' => $desc, 'wrapper_classes' => $attributes['element_classes'], ]; diff --git a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php index 0fdfd3ae8..373b74f75 100644 --- a/inc/checkout/signup-fields/class-signup-field-terms-of-use.php +++ b/inc/checkout/signup-fields/class-signup-field-terms-of-use.php @@ -69,7 +69,7 @@ public function is_user_field() { */ public function get_title() { - return __('Terms of Use', 'multisite-ultimate'); + return __('Terms of Use', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'multisite-ultimate'); + return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'multisite-ultimate'); + return __('Adds a terms and conditions checkbox that must be marked before the account/site can be created.', 'ultimate-multisite'); } /** @@ -123,7 +123,7 @@ public function get_icon() { public function defaults() { return [ - 'tou_name' => __('I agree with the terms of use.', 'multisite-ultimate'), + 'tou_name' => __('I agree with the terms of use.', 'ultimate-multisite'), ]; } @@ -148,7 +148,7 @@ public function force_attributes() { return [ 'id' => 'terms_of_use', - 'name' => __('Terms of Use', 'multisite-ultimate'), + 'name' => __('Terms of Use', 'ultimate-multisite'), ]; } @@ -164,15 +164,15 @@ public function get_fields() { 'tou_name' => [ 'order' => 10, 'type' => 'text', - 'title' => __('Terms Checkbox Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. I agree with the terms of use.', 'multisite-ultimate'), + 'title' => __('Terms Checkbox Label', 'ultimate-multisite'), + 'placeholder' => __('e.g. I agree with the terms of use.', 'ultimate-multisite'), ], 'tou_url' => [ 'order' => 20, 'type' => 'url', - 'title' => __('Link to the Terms Page', 'multisite-ultimate'), - 'desc' => __('Enter the link to the terms of use content.', 'multisite-ultimate'), - 'placeholder' => __('e.g. https://yoursite.com/terms', 'multisite-ultimate'), + 'title' => __('Link to the Terms Page', 'ultimate-multisite'), + 'desc' => __('Enter the link to the terms of use content.', 'ultimate-multisite'), + 'placeholder' => __('e.g. https://yoursite.com/terms', 'ultimate-multisite'), ], ]; } @@ -189,7 +189,7 @@ public function to_fields_array($attributes) { $checkout_fields = []; - $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'multisite-ultimate')); + $tou_link = sprintf('%s', $attributes['tou_url'], __('Read here', 'ultimate-multisite')); $checkout_fields['terms_of_use'] = [ 'type' => 'checkbox', diff --git a/inc/checkout/signup-fields/class-signup-field-text.php b/inc/checkout/signup-fields/class-signup-field-text.php index 761321035..c70997429 100644 --- a/inc/checkout/signup-fields/class-signup-field-text.php +++ b/inc/checkout/signup-fields/class-signup-field-text.php @@ -55,7 +55,7 @@ public function is_required() { */ public function get_title() { - return __('Text', 'multisite-ultimate'); + return __('Text', 'ultimate-multisite'); } /** @@ -68,7 +68,7 @@ public function get_title() { */ public function get_description() { - return __('Adds a text field that the customer can fill with arbitrary data.', 'multisite-ultimate'); + return __('Adds a text field that the customer can fill with arbitrary data.', 'ultimate-multisite'); } /** @@ -81,7 +81,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds a text field that the customer can fill with arbitrary data.', 'multisite-ultimate'); + return __('Adds a text field that the customer can fill with arbitrary data.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/class-signup-field-username.php b/inc/checkout/signup-fields/class-signup-field-username.php index 0ce4ac019..a374747e8 100644 --- a/inc/checkout/signup-fields/class-signup-field-username.php +++ b/inc/checkout/signup-fields/class-signup-field-username.php @@ -69,7 +69,7 @@ public function is_user_field() { */ public function get_title() { - return __('Username', 'multisite-ultimate'); + return __('Username', 'ultimate-multisite'); } /** @@ -82,7 +82,7 @@ public function get_title() { */ public function get_description() { - return __('Adds an username field. This username will be used to create the WordPress user.', 'multisite-ultimate'); + return __('Adds an username field. This username will be used to create the WordPress user.', 'ultimate-multisite'); } /** @@ -95,7 +95,7 @@ public function get_description() { */ public function get_tooltip() { - return __('Adds an username field. This username will be used to create the WordPress user.', 'multisite-ultimate'); + return __('Adds an username field. This username will be used to create the WordPress user.', 'ultimate-multisite'); } /** @@ -167,8 +167,8 @@ public function get_fields() { return [ 'auto_generate_username' => [ 'type' => 'toggle', - 'title' => __('Auto-generate', 'multisite-ultimate'), - 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'multisite-ultimate'), + 'title' => __('Auto-generate', 'ultimate-multisite'), + 'desc' => __('Check this option to auto-generate this field based on the email address of the customer.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, 'html_attr' => [ diff --git a/inc/checkout/signup-fields/field-templates/class-base-field-template.php b/inc/checkout/signup-fields/field-templates/class-base-field-template.php index 1bcf87931..a340e9cb3 100644 --- a/inc/checkout/signup-fields/field-templates/class-base-field-template.php +++ b/inc/checkout/signup-fields/field-templates/class-base-field-template.php @@ -78,7 +78,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Field Template', 'multisite-ultimate'); + return __('Field Template', 'ultimate-multisite'); } /** @@ -91,7 +91,7 @@ public function get_title() { */ public function get_description() { - return __('Description', 'multisite-ultimate'); + return __('Description', 'ultimate-multisite'); } /** @@ -138,13 +138,13 @@ public function render($attributes) { /** * Displays the content on the checkout form as a wrapper. * - * This method should not be override. + * This method should not be overridden. * * @since 2.0.0 * * @param array $attributes The field template attributes. * @param object $signup_field The base field. - * @return string + * @return void */ public function render_container($attributes, $signup_field = false) { @@ -153,11 +153,9 @@ public function render_container($attributes, $signup_field = false) { $attributes = $signup_field->reduce_attributes($attributes); } - $markup = sprintf('', esc_js($this->id), esc_attr(wp_json_encode($attributes))); + printf('', esc_js($this->id), esc_attr(wp_json_encode($attributes))); } else { - $markup = $this->render($attributes); + $this->output($attributes); } - - return $markup; } } diff --git a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php index 572cf4014..0ee3c49a2 100644 --- a/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php +++ b/inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Simple', 'multisite-ultimate'); + return __('Simple', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'multisite-ultimate'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php index 700f7a2c8..7273676ae 100644 --- a/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php +++ b/inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Clean', 'multisite-ultimate'); + return __('Clean', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'multisite-ultimate'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php index 3e4d59915..34970ef73 100644 --- a/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Clean', 'multisite-ultimate'); + return __('Clean', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'multisite-ultimate'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php index ed773cd66..4de45bf98 100644 --- a/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Legacy', 'multisite-ultimate'); + return __('Legacy', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('Implementation of the layout that shipped with Multisite Ultimate < 1.10.X.', 'multisite-ultimate'); + return __('Implementation of the layout that shipped with Ultimate Multisite < 1.10.X.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php index eb97c3d32..cdb5227e1 100644 --- a/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php +++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Legacy', 'multisite-ultimate'); + return __('Legacy', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'multisite-ultimate'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php index 7b4128b07..b9e1ffe68 100644 --- a/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php +++ b/inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php @@ -42,7 +42,7 @@ class List_Pricing_Table_Field_Template extends Base_Field_Template { */ public function get_title() { - return __('Simple List', 'multisite-ultimate'); + return __('Simple List', 'ultimate-multisite'); } /** @@ -55,7 +55,7 @@ public function get_title() { */ public function get_description() { - return __('Simple stylized list with price, recurrence, and the plan description.', 'multisite-ultimate'); + return __('Simple stylized list with price, recurrence, and the plan description.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php index b22692f21..f205fc123 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Clean', 'multisite-ultimate'); + return __('Clean', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'multisite-ultimate'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php index a744c6abb..16b5e5bee 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Legacy', 'multisite-ultimate'); + return __('Legacy', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'multisite-ultimate'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php index 0c5311e88..c5a7efc9c 100644 --- a/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php +++ b/inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Minimal', 'multisite-ultimate'); + return __('Minimal', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'multisite-ultimate'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php index 5c2149584..ead9da9a4 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php @@ -64,7 +64,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Clean', 'multisite-ultimate'); + return __('Clean', 'ultimate-multisite'); } /** @@ -77,7 +77,7 @@ public function get_title() { */ public function get_description(): string { - return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'multisite-ultimate'); + return __('A simple layout with minimal styling, just enough to make it usable out-of-the-box.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php index 4bb4e80b9..67b41626b 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php @@ -53,7 +53,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Legacy', 'multisite-ultimate'); + return __('Legacy', 'ultimate-multisite'); } /** @@ -66,7 +66,7 @@ public function get_title() { */ public function get_description() { - return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'multisite-ultimate'); + return __('Implementation of the layout that shipped with WP Ultimo < 1.10.X.', 'ultimate-multisite'); } /** diff --git a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php index b53eab1fc..c300bf39a 100644 --- a/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php +++ b/inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php @@ -53,7 +53,7 @@ public function get_render_type(): string { */ public function get_title() { - return __('Minimal', 'multisite-ultimate'); + return __('Minimal', 'ultimate-multisite'); } /** @@ -66,7 +66,7 @@ public function get_title() { */ public function get_description() { - return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'multisite-ultimate'); + return __('A simple template with clean markup and no styling, ready to be customized with custom CSS.', 'ultimate-multisite'); } /** diff --git a/inc/class-addon-repository.php b/inc/class-addon-repository.php index cd8c5a010..3783a0773 100644 --- a/inc/class-addon-repository.php +++ b/inc/class-addon-repository.php @@ -155,7 +155,7 @@ public function upgrader_pre_download(bool $reply, $package, \WP_Upgrader $upgra if (empty($access_token)) { // translators: %s the url for login. - return new \WP_Error('noauth', sprintf(__('You must Login first.', 'multisite-ultimate'), $this->get_oauth_url())); + return new \WP_Error('noauth', sprintf(__('You must Login first.', 'ultimate-multisite'), $this->get_oauth_url())); } $this->authorization_header = 'Bearer ' . $access_token; @@ -174,7 +174,7 @@ public function upgrader_pre_download(bool $reply, $package, \WP_Upgrader $upgra } if (! in_array(absint($code), [200, 302, 301], true)) { - return new \WP_Error('http_request_failed', esc_html__('Failed to connect to the update server. Please try again later.', 'multisite-ultimate')); + return new \WP_Error('http_request_failed', esc_html__('Failed to connect to the update server. Please try again later.', 'ultimate-multisite')); } } return $reply; @@ -220,7 +220,7 @@ public function save_access_token($code, $redirect_url) { set_transient('wu-access-token', $response['access_token'], $response['expires_in']); wu_save_option('wu-refresh-token', $response['refresh_token']); wp_admin_notice( - __('Successfully connected your site to MultisiteUltimate.com.', 'multisite-ultimate'), + __('Successfully connected your site to MultisiteUltimate.com.', 'ultimate-multisite'), [ 'type' => 'success', 'dismissible' => true, @@ -228,7 +228,7 @@ public function save_access_token($code, $redirect_url) { ); } else { wp_admin_notice( - __('Failed to authenticate with MultisiteUltimate.com.', 'multisite-ultimate'), + __('Failed to authenticate with MultisiteUltimate.com.', 'ultimate-multisite'), [ 'type' => 'error', 'dismissible' => true, diff --git a/inc/class-admin-notices.php b/inc/class-admin-notices.php index 18365767b..531dac4d4 100644 --- a/inc/class-admin-notices.php +++ b/inc/class-admin-notices.php @@ -1,6 +1,6 @@ __('API & Webhooks', 'multisite-ultimate'), - 'desc' => __('API & Webhooks', 'multisite-ultimate'), + 'title' => __('API & Webhooks', 'ultimate-multisite'), + 'desc' => __('API & Webhooks', 'ultimate-multisite'), 'icon' => 'dashicons-wu-paper-plane', 'order' => 95, ] @@ -153,8 +153,8 @@ public function add_settings(): void { 'api', 'api_header', [ - 'title' => __('API Settings', 'multisite-ultimate'), - 'desc' => __('Options related to Multisite Ultimate API endpoints.', 'multisite-ultimate'), + 'title' => __('API Settings', 'ultimate-multisite'), + 'desc' => __('Options related to Ultimate Multisite API endpoints.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -163,8 +163,8 @@ public function add_settings(): void { 'api', 'enable_api', [ - 'title' => __('Enable API', 'multisite-ultimate'), - 'desc' => __('Tick this box if you want Multisite Ultimate to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'multisite-ultimate'), + 'title' => __('Enable API', 'ultimate-multisite'), + 'desc' => __('Tick this box if you want Ultimate Multisite to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -173,14 +173,14 @@ public function add_settings(): void { $refreshed_tag = ''; if (wu_request('updated') && wu_request('api') === 'refreshed') { - $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'multisite-ultimate')); + $refreshed_tag = sprintf('%s', __('Credentials Refreshed', 'ultimate-multisite')); } wu_register_settings_field( 'api', 'api_url', [ - 'title' => __('API URL', 'multisite-ultimate'), + 'title' => __('API URL', 'ultimate-multisite'), 'desc' => '', 'tooltip' => '', 'copy' => true, @@ -196,7 +196,7 @@ public function add_settings(): void { 'api', 'api_key', [ - 'title' => __('API Key', 'multisite-ultimate') . $refreshed_tag, + 'title' => __('API Key', 'ultimate-multisite') . $refreshed_tag, 'desc' => '', 'tooltip' => '', 'type' => 'text-display', @@ -213,7 +213,7 @@ public function add_settings(): void { 'api', 'api_secret', [ - 'title' => __('API Secret', 'multisite-ultimate') . $refreshed_tag, + 'title' => __('API Secret', 'ultimate-multisite') . $refreshed_tag, 'tooltip' => '', 'type' => 'text-display', 'copy' => true, @@ -229,7 +229,7 @@ public function add_settings(): void { 'api', 'api_note', [ - 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'multisite-ultimate'), + 'desc' => __('This is your API Key. You cannot change it directly. To reset the API key and secret, use the button "Refresh API credentials" below.', 'ultimate-multisite'), 'type' => 'note', 'classes' => 'wu-text-gray-700 wu-text-xs', 'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0', @@ -243,7 +243,7 @@ public function add_settings(): void { 'api', 'refresh_api_credentials', [ - 'title' => __('Refresh API Credentials', 'multisite-ultimate'), + 'title' => __('Refresh API Credentials', 'ultimate-multisite'), 'type' => 'submit', 'classes' => 'button wu-ml-auto', 'wrapper_classes' => 'wu-bg-white sm:wu-border-t-0 sm:wu-mt-0 sm:wu-pt-0', @@ -257,8 +257,8 @@ public function add_settings(): void { 'api', 'api_log_calls', [ - 'title' => __('Log API calls (Advanced)', 'multisite-ultimate'), - 'desc' => __('Tick this box if you want to log all calls received via Multisite Ultimate API endpoints. You can access the logs on Multisite Ultimate → System Info → Logs.', 'multisite-ultimate'), + 'title' => __('Log API calls (Advanced)', 'ultimate-multisite'), + 'desc' => __('Tick this box if you want to log all calls received via Ultimate Multisite API endpoints. You can access the logs on Ultimate Multisite → System Info → Logs.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -271,8 +271,8 @@ public function add_settings(): void { 'api', 'webhook_header', [ - 'title' => __('Webhook Settings', 'multisite-ultimate'), - 'desc' => __('Options related to Multisite Ultimate API webhooks.', 'multisite-ultimate'), + 'title' => __('Webhook Settings', 'ultimate-multisite'), + 'desc' => __('Options related to Ultimate Multisite API webhooks.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -281,8 +281,8 @@ public function add_settings(): void { 'api', 'webhook_calls_blocking', [ - 'title' => __('Wait for Response (Advanced)', 'multisite-ultimate'), - 'desc' => __('Tick this box if you want the Multisite Ultimate\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'multisite-ultimate'), + 'title' => __('Wait for Response (Advanced)', 'ultimate-multisite'), + 'desc' => __('Tick this box if you want the Ultimate Multisite\'s webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network\'s performance, only enable it if you know what you are doing and need to debug webhook calls.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -486,7 +486,7 @@ public function auth($request): void { [ 'success' => true, 'label' => $current_site->site_name, - 'message' => __('Welcome to our API', 'multisite-ultimate'), + 'message' => __('Welcome to our API', 'ultimate-multisite'), ] ); } diff --git a/inc/class-async-calls.php b/inc/class-async-calls.php index 5ab0f6c0f..d1423eea0 100644 --- a/inc/class-async-calls.php +++ b/inc/class-async-calls.php @@ -1,6 +1,6 @@ screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-setup', __('Ultimate Multisite - First Steps', 'ultimate-multisite'), [$this, 'output_widget_first_steps'], $this->screen_id, 'normal', 'high'); - add_meta_box('wp-ultimo-summary', __('Multisite Ultimate - Summary', 'multisite-ultimate'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-summary', __('Ultimate Multisite - Summary', 'ultimate-multisite'), [$this, 'output_widget_summary'], $this->screen_id, 'normal', 'high'); - add_meta_box('wp-ultimo-activity-stream', __('Multisite Ultimate - Activity Stream', 'multisite-ultimate'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high'); + add_meta_box('wp-ultimo-activity-stream', __('Ultimate Multisite - Activity Stream', 'ultimate-multisite'), [$this, 'output_widget_activity_stream'], $this->screen_id, 'normal', 'high'); \WP_Ultimo\UI\Tours::get_instance()->create_tour( 'dashboard', [ [ 'id' => 'welcome', - 'title' => __('Welcome!', 'multisite-ultimate'), + 'title' => __('Welcome!', 'ultimate-multisite'), 'text' => [ - __('Welcome to your new network dashboard!', 'multisite-ultimate'), - __('You will notice that Multisite Ultimate adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'multisite-ultimate'), + __('Welcome to your new network dashboard!', 'ultimate-multisite'), + __('You will notice that Ultimate Multisite adds a couple of useful widgets here so you can keep an eye on how your network is doing.', 'ultimate-multisite'), ], ], [ 'id' => 'finish-your-setup', - 'title' => __('Finish your setup', 'multisite-ultimate'), + 'title' => __('Finish your setup', 'ultimate-multisite'), 'text' => [ - __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'multisite-ultimate'), + __('You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all.', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '#wp-ultimo-setup', @@ -117,9 +117,9 @@ public function register_network_widgets(): void { ], [ 'id' => 'wp-ultimo-menu', - 'title' => __('Our home', 'multisite-ultimate'), + 'title' => __('Our home', 'ultimate-multisite'), 'text' => [ - __('You can always find Multisite Ultimate settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'multisite-ultimate'), + __('You can always find Ultimate Multisite settings and other pages under our menu item, here on the Network-level dashboard. 😃', 'ultimate-multisite'), ], 'attachTo' => [ 'element' => '.toplevel_page_wp-ultimo', @@ -182,16 +182,16 @@ public function output_widget_first_steps(): void { $steps = [ 'inital-setup' => [ - 'title' => __('Initial Setup', 'multisite-ultimate'), - 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'multisite-ultimate'), - 'action_label' => __('Finish the Setup Wizard', 'multisite-ultimate'), + 'title' => __('Initial Setup', 'ultimate-multisite'), + 'desc' => __('Go through the initial Setup Wizard to configure the basic settings of your network.', 'ultimate-multisite'), + 'action_label' => __('Finish the Setup Wizard', 'ultimate-multisite'), 'action_link' => wu_network_admin_url('wp-ultimo-setup'), 'done' => wu_string_to_bool($initial_setup_done), ], 'payment-method' => [ - 'title' => __('Payment Method', 'multisite-ultimate'), - 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'multisite-ultimate'), - 'action_label' => __('Add a Payment Method', 'multisite-ultimate'), + 'title' => __('Payment Method', 'ultimate-multisite'), + 'desc' => __('You will need to configure at least one payment gateway to be able to receive money from your customers.', 'ultimate-multisite'), + 'action_label' => __('Add a Payment Method', 'ultimate-multisite'), 'action_link' => wu_network_admin_url( 'wp-ultimo-settings', [ @@ -202,10 +202,10 @@ public function output_widget_first_steps(): void { ], 'your-first-customer' => [ 'done' => ! empty(wu_get_customers()), - 'title' => __('Your First Customer', 'multisite-ultimate'), - 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'multisite-ultimate'), + 'title' => __('Your First Customer', 'ultimate-multisite'), + 'desc' => __('Open the link below in an incognito tab and go through your newly created signup form.', 'ultimate-multisite'), 'action_link' => wp_registration_url(), - 'action_label' => __('Create a test Account', 'multisite-ultimate'), + 'action_label' => __('Create a test Account', 'ultimate-multisite'), ], ]; @@ -284,7 +284,7 @@ public function process_ajax_fetch_rss(): void { $_GET, // phpcs:ignore WordPress.Security.NonceVerification.Recommended [ 'url' => 'https://community.wpultimo.com/topics/feed', - 'title' => __('Forum Discussions', 'multisite-ultimate'), + 'title' => __('Forum Discussions', 'ultimate-multisite'), 'items' => 3, 'show_summary' => 1, 'show_author' => 0, diff --git a/inc/class-documentation.php b/inc/class-documentation.php index 75c907191..81faa0dd4 100644 --- a/inc/class-documentation.php +++ b/inc/class-documentation.php @@ -47,7 +47,7 @@ public function init(): void { $links = []; - // Multisite Ultimate Dashboard + // Ultimate Multisite Dashboard $links['wp-ultimo'] = 'https://github.com/superdav42/wp-multisite-waas/wiki'; // Settings Page diff --git a/inc/class-domain-mapping.php b/inc/class-domain-mapping.php index 41086bc0c..c340ec0f5 100644 --- a/inc/class-domain-mapping.php +++ b/inc/class-domain-mapping.php @@ -1,6 +1,6 @@ get_id(), $site->blog_id); + $message = sprintf(__('Unable to delete mapping %1$d for site %2$d', 'ultimate-multisite'), $mapping->get_id(), $site->blog_id); trigger_error(esc_html($message), E_USER_WARNING); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error } diff --git a/inc/class-faker.php b/inc/class-faker.php index acab3cb1f..65df3522e 100644 --- a/inc/class-faker.php +++ b/inc/class-faker.php @@ -1,6 +1,6 @@ 'wu-maintenance-mode', 'parent' => 'top-secondary', - 'title' => __('Maintenance Mode - Active', 'multisite-ultimate'), + 'title' => __('Maintenance Mode - Active', 'ultimate-multisite'), 'href' => '#wp-ultimo-site-maintenance-element', 'meta' => [ 'class' => 'wu-maintenance-mode ' . (self::check_maintenance_mode() ? '' : 'hidden'), - 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'multisite-ultimate'), + 'title' => __('This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option.', 'ultimate-multisite'), ], ]; @@ -110,12 +110,12 @@ public function render_page(): void { $text = apply_filters( 'wu_maintenance_mode_text', - __('Website under planned maintenance. Please check back later.', 'multisite-ultimate') + __('Website under planned maintenance. Please check back later.', 'ultimate-multisite') ); $title = apply_filters( 'wu_maintenance_mode_title', - __('Under Maintenance', 'multisite-ultimate') + __('Under Maintenance', 'ultimate-multisite') ); wp_die(esc_html($text), esc_html($title), 503); @@ -143,7 +143,7 @@ public function toggle_maintenance_mode() { if ( ! check_ajax_referer('wu_toggle_maintenance_mode', '_wpnonce', false)) { wp_send_json_error( [ - 'message' => __('Request failed, please refresh and try again.', 'multisite-ultimate'), + 'message' => __('Request failed, please refresh and try again.', 'ultimate-multisite'), 'value' => false, ] ); @@ -154,7 +154,7 @@ public function toggle_maintenance_mode() { if ( ! current_user_can_for_site($site_id, 'manage_options')) { wp_send_json_error( [ - 'message' => __('You do not have the necessary permissions to perform this option.', 'multisite-ultimate'), + 'message' => __('You do not have the necessary permissions to perform this option.', 'ultimate-multisite'), 'value' => false, ] ); @@ -167,7 +167,7 @@ public function toggle_maintenance_mode() { update_site_meta($site_id, 'wu_maintenance_mode', $value); $return = [ - 'message' => __('New maintenance settings saved.', 'multisite-ultimate'), + 'message' => __('New maintenance settings saved.', 'ultimate-multisite'), 'value' => $value, ]; @@ -178,7 +178,7 @@ public function toggle_maintenance_mode() { } /** - * Filter the Multisite Ultimate settings to add Jumper options + * Filter the Ultimate Multisite settings to add Jumper options * * @since 2.0.0 * @return void @@ -189,8 +189,8 @@ public function add_settings(): void { 'sites', 'maintenance_mode', [ - 'title' => __('Site Maintenance Mode', 'multisite-ultimate'), - 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'multisite-ultimate'), + 'title' => __('Site Maintenance Mode', 'ultimate-multisite'), + 'desc' => __('Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'order' => 23, diff --git a/inc/class-newsletter.php b/inc/class-newsletter.php index b459c7b69..6bdbef8da 100644 --- a/inc/class-newsletter.php +++ b/inc/class-newsletter.php @@ -19,8 +19,8 @@ public function add_settings(): void { 'general', self::SETTING_FIELD_SLUG, [ - 'title' => __('Signup for Multisite Ultimate Newsletter', 'multisite-ultimate'), - 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'multisite-ultimate'), + 'title' => __('Signup for Ultimate Multisite Newsletter', 'ultimate-multisite'), + 'desc' => __('Be informed of new releases and all things related to running a WaaS Network.', 'ultimate-multisite'), 'type' => 'toggle', 'value' => '1', ], diff --git a/inc/class-orphaned-tables-manager.php b/inc/class-orphaned-tables-manager.php index 31c9631de..0c845e0c6 100644 --- a/inc/class-orphaned-tables-manager.php +++ b/inc/class-orphaned-tables-manager.php @@ -64,17 +64,17 @@ public function register_settings_field(): void { 'other', 'cleanup_orphaned_tables', [ - 'title' => __('Cleanup Orphaned Database Tables', 'multisite-ultimate'), - 'desc' => __('Remove database tables from deleted sites that were not properly cleaned up.', 'multisite-ultimate'), + 'title' => __('Cleanup Orphaned Database Tables', 'ultimate-multisite'), + 'desc' => __('Remove database tables from deleted sites that were not properly cleaned up.', 'ultimate-multisite'), 'type' => 'link', - 'display_value' => __('Check for Orphaned Tables', 'multisite-ultimate'), + 'display_value' => __('Check for Orphaned Tables', 'ultimate-multisite'), 'classes' => 'button button-secondary wu-ml-0 wubox', 'wrapper_html_attr' => [ 'style' => 'margin-bottom: 20px;', ], 'html_attr' => [ 'href' => wu_get_form_url('orphaned_tables_delete'), - 'wu-tooltip' => __('Scan and cleanup database tables from deleted sites', 'multisite-ultimate'), + 'wu-tooltip' => __('Scan and cleanup database tables from deleted sites', 'ultimate-multisite'), ], ] ); @@ -97,8 +97,8 @@ public function render_orphaned_tables_delete_modal(): void {

%s

%s

', - esc_html__('Not Found', 'multisite-ultimate'), - esc_html__('No Orphaned Tables found.', 'multisite-ultimate') + esc_html__('Not Found', 'ultimate-multisite'), + esc_html__('No Orphaned Tables found.', 'ultimate-multisite') ); return; } @@ -123,19 +123,19 @@ public function render_orphaned_tables_delete_modal(): void { ', sprintf( /* translators: %d: number of orphaned tables */ - esc_html(_n('Confirm Deletion of %d Orphaned Table', 'Confirm Deletion of %d Orphaned Tables', $table_count, 'multisite-ultimate')), + esc_html(_n('Confirm Deletion of %d Orphaned Table', 'Confirm Deletion of %d Orphaned Tables', $table_count, 'ultimate-multisite')), $table_count ), - esc_html__('You are about to permanently delete the following database tables:', 'multisite-ultimate'), + esc_html__('You are about to permanently delete the following database tables:', 'ultimate-multisite'), $table_list, - esc_html__('Warning:', 'multisite-ultimate'), - esc_html__('This action cannot be undone. Please ensure you have a database backup before proceeding.', 'multisite-ultimate') + esc_html__('Warning:', 'ultimate-multisite'), + esc_html__('This action cannot be undone. Please ensure you have a database backup before proceeding.', 'ultimate-multisite') ), 'wrapper_classes' => 'wu-w-full', ], 'submit' => [ 'type' => 'submit', - 'title' => __('Yes, Delete These Tables', 'multisite-ultimate'), + 'title' => __('Yes, Delete These Tables', 'ultimate-multisite'), 'value' => 'delete', 'classes' => 'button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -173,7 +173,7 @@ public function render_orphaned_tables_delete_modal(): void { public function handle_orphaned_tables_delete_modal(): void { if (! current_user_can('manage_network')) { - wp_die(esc_html__('You do not have the required permissions.', 'multisite-ultimate')); + wp_die(esc_html__('You do not have the required permissions.', 'ultimate-multisite')); } if (empty($orphaned_tables) || ! is_array($orphaned_tables)) { diff --git a/inc/class-orphaned-users-manager.php b/inc/class-orphaned-users-manager.php index 2ce44b44d..3766dcaa9 100644 --- a/inc/class-orphaned-users-manager.php +++ b/inc/class-orphaned-users-manager.php @@ -63,17 +63,17 @@ public function register_settings_field(): void { 'other', 'cleanup_orphaned_users', [ - 'title' => __('Cleanup Orphaned User Accounts', 'multisite-ultimate'), - 'desc' => __('Remove user accounts that are not members of any site and are not super administrators.', 'multisite-ultimate'), + 'title' => __('Cleanup Orphaned User Accounts', 'ultimate-multisite'), + 'desc' => __('Remove user accounts that are not members of any site and are not super administrators.', 'ultimate-multisite'), 'type' => 'link', - 'display_value' => __('Check for Orphaned Users', 'multisite-ultimate'), + 'display_value' => __('Check for Orphaned Users', 'ultimate-multisite'), 'classes' => 'button button-secondary wu-ml-0 wubox', 'wrapper_html_attr' => [ 'style' => 'margin-bottom: 20px;', ], 'html_attr' => [ 'href' => wu_get_form_url('orphaned_users_delete'), - 'wu-tooltip' => __('Scan and cleanup user accounts with no site memberships', 'multisite-ultimate'), + 'wu-tooltip' => __('Scan and cleanup user accounts with no site memberships', 'ultimate-multisite'), ], ] ); @@ -96,8 +96,8 @@ public function render_orphaned_users_delete_modal(): void {

%s

%s

', - esc_html__('No Issues Found', 'multisite-ultimate'), - esc_html__('No orphaned user accounts found.', 'multisite-ultimate') + esc_html__('No Issues Found', 'ultimate-multisite'), + esc_html__('No orphaned user accounts found.', 'ultimate-multisite') ); return; } @@ -125,19 +125,19 @@ public function render_orphaned_users_delete_modal(): void { ', sprintf( /* translators: %d: number of orphaned users */ - esc_html(_n('Confirm Deletion of %d Orphaned User', 'Confirm Deletion of %d Orphaned Users', $user_count, 'multisite-ultimate')), + esc_html(_n('Confirm Deletion of %d Orphaned User', 'Confirm Deletion of %d Orphaned Users', $user_count, 'ultimate-multisite')), $user_count ), - esc_html__('You are about to permanently delete the following user accounts:', 'multisite-ultimate'), + esc_html__('You are about to permanently delete the following user accounts:', 'ultimate-multisite'), $user_list, - esc_html__('Warning:', 'multisite-ultimate'), - esc_html__('This action cannot be undone and will result in permanent data loss. Please ensure you have a complete database backup before proceeding.', 'multisite-ultimate') + esc_html__('Warning:', 'ultimate-multisite'), + esc_html__('This action cannot be undone and will result in permanent data loss. Please ensure you have a complete database backup before proceeding.', 'ultimate-multisite') ), 'wrapper_classes' => 'wu-w-full', ], 'submit' => [ 'type' => 'submit', - 'title' => __('Yes, Delete These Users', 'multisite-ultimate'), + 'title' => __('Yes, Delete These Users', 'ultimate-multisite'), 'value' => 'delete', 'classes' => 'button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -184,7 +184,7 @@ function ($user) { public function handle_orphaned_users_delete_modal(): void { if (! current_user_can('manage_network')) { - wp_die(esc_html__('You do not have the required permissions.', 'multisite-ultimate')); + wp_die(esc_html__('You do not have the required permissions.', 'ultimate-multisite')); } $start_time = microtime(true); @@ -192,7 +192,7 @@ public function handle_orphaned_users_delete_modal(): void { $orphaned_users = $this->find_orphaned_users(); if (empty($orphaned_users)) { - wp_send_json_error(['message' => __('No orphaned users found.', 'multisite-ultimate')]); + wp_send_json_error(['message' => __('No orphaned users found.', 'ultimate-multisite')]); } $deleted_count = $this->delete_orphaned_users($orphaned_users); @@ -215,7 +215,7 @@ public function handle_orphaned_users_delete_modal(): void { 'redirect_url' => $redirect_to, 'message' => sprintf( /* translators: %1$d: number of deleted users, %2$s: execution time */ - __('Successfully deleted %1$d orphaned users in %2$s seconds.', 'multisite-ultimate'), + __('Successfully deleted %1$d orphaned users in %2$s seconds.', 'ultimate-multisite'), $deleted_count, $execution_time ), diff --git a/inc/class-requirements.php b/inc/class-requirements.php index 90dc32715..35e2c57a0 100644 --- a/inc/class-requirements.php +++ b/inc/class-requirements.php @@ -1,6 +1,6 @@ ' . esc_html(phpversion()) . '', @@ -310,8 +310,8 @@ public static function notice_unsupported_wp_version(): void { sprintf( // translators: the %1$s placeholder is the required WP version, while the %2$s is the current WP version. esc_html__( - 'Multisite Ultimate requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', - 'multisite-ultimate' + 'Ultimate Multisite requires at least WordPress version %1$s to run. Your current WordPress version is %2$s.', + 'ultimate-multisite' ), esc_html(self::$wp_version), '' . esc_html($wp_version) . '' @@ -327,11 +327,11 @@ public static function notice_unsupported_wp_version(): void { */ public static function notice_not_multisite(): void { - printf('', esc_html__('Multisite Ultimate requires a multisite install to run properly. To know more about WordPress Networks, visit this link:', 'multisite-ultimate'), esc_html__('Create a Network', 'multisite-ultimate')); + printf('', esc_html__('Ultimate Multisite requires a multisite install to run properly. To know more about WordPress Networks, visit this link:', 'ultimate-multisite'), esc_html__('Create a Network', 'ultimate-multisite')); } /** - * Adds a network admin notice about the Multisite Ultimate not being network-active + * Adds a network admin notice about the Ultimate Multisite not being network-active * * @since 2.0.0 * @return void @@ -342,8 +342,8 @@ public static function notice_not_network_active(): void { '

%s

', sprintf( // translators: %s is a placeholder for the Network Admin plugins page URL with link text. - esc_html__('Multisite Ultimate needs to be network active to run properly. You can "Network Activate" it %s', 'multisite-ultimate'), - '' . esc_html__('here', 'multisite-ultimate') . '' + esc_html__('Ultimate Multisite needs to be network active to run properly. You can "Network Activate" it %s', 'ultimate-multisite'), + '' . esc_html__('here', 'ultimate-multisite') . '' ) ); } diff --git a/inc/class-scripts.php b/inc/class-scripts.php index 576cf1ac9..d8d3519ea 100644 --- a/inc/class-scripts.php +++ b/inc/class-scripts.php @@ -1,6 +1,6 @@ [ - 'image_picker_title' => __('Select an Image.', 'multisite-ultimate'), - 'image_picker_button_text' => __('Use this image', 'multisite-ultimate'), + 'image_picker_title' => __('Select an Image.', 'ultimate-multisite'), + 'image_picker_button_text' => __('Use this image', 'ultimate-multisite'), ], ] ); @@ -291,8 +291,8 @@ public function localize_moment() { [ 'LT' => $time_format, 'LTS' => str_replace(':i', ':i:s', (string) $time_format), - /* translators: the day/month/year date format used by Multisite Ultimate. You can changed it to localize this date format to your language. the default value is d/m/Y, which is the format 31/12/2021. */ - 'L' => __('d/m/Y', 'multisite-ultimate'), + /* translators: the day/month/year date format used by Ultimate Multisite. You can changed it to localize this date format to your language. the default value is d/m/Y, which is the format 31/12/2021. */ + 'L' => __('d/m/Y', 'ultimate-multisite'), 'LL' => $date_format, 'LLL' => sprintf('%s %s', $date_format, $time_format), 'LLLL' => sprintf('%s %s', $date_format, $time_format), @@ -302,30 +302,30 @@ public function localize_moment() { $strings = [ 'relativeTime' => [ // translators: %s is a relative future date. - 'future' => __('in %s', 'multisite-ultimate'), + 'future' => __('in %s', 'ultimate-multisite'), // translators: %s is a relative past date. - 'past' => __('%s ago', 'multisite-ultimate'), - 's' => __('a few seconds', 'multisite-ultimate'), + 'past' => __('%s ago', 'ultimate-multisite'), + 's' => __('a few seconds', 'ultimate-multisite'), // translators: %s is the number of seconds. - 'ss' => __('%d seconds', 'multisite-ultimate'), - 'm' => __('a minute', 'multisite-ultimate'), + 'ss' => __('%d seconds', 'ultimate-multisite'), + 'm' => __('a minute', 'ultimate-multisite'), // translators: %s is the number of minutes. - 'mm' => __('%d minutes', 'multisite-ultimate'), - 'h' => __('an hour', 'multisite-ultimate'), + 'mm' => __('%d minutes', 'ultimate-multisite'), + 'h' => __('an hour', 'ultimate-multisite'), // translators: %s is the number of hours. - 'hh' => __('%d hours', 'multisite-ultimate'), - 'd' => __('a day', 'multisite-ultimate'), + 'hh' => __('%d hours', 'ultimate-multisite'), + 'd' => __('a day', 'ultimate-multisite'), // translators: %s is the number of days. - 'dd' => __('%d days', 'multisite-ultimate'), - 'w' => __('a week', 'multisite-ultimate'), + 'dd' => __('%d days', 'ultimate-multisite'), + 'w' => __('a week', 'ultimate-multisite'), // translators: %s is the number of weeks. - 'ww' => __('%d weeks', 'multisite-ultimate'), - 'M' => __('a month', 'multisite-ultimate'), + 'ww' => __('%d weeks', 'ultimate-multisite'), + 'M' => __('a month', 'ultimate-multisite'), // translators: %s is the number of months. - 'MM' => __('%d months', 'multisite-ultimate'), - 'y' => __('a year', 'multisite-ultimate'), + 'MM' => __('%d months', 'ultimate-multisite'), + 'y' => __('a year', 'ultimate-multisite'), // translators: %s is the number of years. - 'yy' => __('%d years', 'multisite-ultimate'), + 'yy' => __('%d years', 'ultimate-multisite'), ], 'longDateFormat' => $long_date_formats, ]; @@ -336,7 +336,7 @@ public function localize_moment() { } /** - * Registers the default Multisite Ultimate styles. + * Registers the default Ultimate Multisite styles. * * @since 2.0.0 * @return void diff --git a/inc/class-settings.php b/inc/class-settings.php index 15452dbfc..7d389d7a7 100644 --- a/inc/class-settings.php +++ b/inc/class-settings.php @@ -1,6 +1,6 @@ get_all(); if (str_contains($setting, '-')) { - _doing_it_wrong(esc_html($setting), esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($setting), esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'ultimate-multisite'), '2.0.0'); } $setting_value = $settings[ $setting ] ?? $default_value; @@ -228,7 +228,7 @@ public function save_setting($setting, $value) { } /** - * Save Multisite Ultimate Settings + * Save Ultimate Multisite Settings * * This function loops through the settings sections and saves the settings * after validating them. @@ -236,7 +236,7 @@ public function save_setting($setting, $value) { * @since 2.0.0 * * @param array $settings_to_save Array containing the settings to save. - * @param boolean $reset If true, Multisite Ultimate will override the saved settings with the default values. + * @param boolean $reset If true, Ultimate Multisite will override the saved settings with the default values. * @return array */ public function save_settings($settings_to_save = [], $reset = false) { @@ -277,7 +277,7 @@ public function save_settings($settings_to_save = [], $reset = false) { } /** - * Allow developers to filter settings before save by Multisite Ultimate. + * Allow developers to filter settings before save by Ultimate Multisite. * * @since 2.0.18 * @@ -417,7 +417,7 @@ function ($fields) use ($field_slug, $atts) { * We no longer support settings with hyphens. */ if (str_contains($field_slug, '-')) { - _doing_it_wrong(esc_html($field_slug), esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($field_slug), esc_html__('Dashes are no longer supported when registering a setting. You should change it to underscores in later versions.', 'ultimate-multisite'), '2.0.0'); } $default_order = (count($fields) + 1) * 10; @@ -522,7 +522,7 @@ function ($fields) use ($field_slug, $atts) { } /** - * Register the Multisite Ultimate default sections and fields. + * Register the Ultimate Multisite default sections and fields. * * @since 2.0.0 * @return void @@ -530,7 +530,7 @@ function ($fields) use ($field_slug, $atts) { public function default_sections(): void { /* * General Settings - * This section holds the General settings of the Multisite Ultimate Plugin. + * This section holds the General settings of the Ultimate Multisite Plugin. */ // Comma separated string of page ids that are already being used as default option @@ -539,8 +539,8 @@ public function default_sections(): void { $this->add_section( 'general', [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), ] ); @@ -548,8 +548,8 @@ public function default_sections(): void { 'general', 'company_header', [ - 'title' => __('Your Business', 'multisite-ultimate'), - 'desc' => __('General information about your business..', 'multisite-ultimate'), + 'title' => __('Your Business', 'ultimate-multisite'), + 'desc' => __('General information about your business..', 'ultimate-multisite'), 'type' => 'header', ], 10 @@ -559,8 +559,8 @@ public function default_sections(): void { 'general', 'company_name', [ - 'title' => __('Company Name', 'multisite-ultimate'), - 'desc' => __('This name is used when generating invoices, for example.', 'multisite-ultimate'), + 'title' => __('Company Name', 'ultimate-multisite'), + 'desc' => __('This name is used when generating invoices, for example.', 'ultimate-multisite'), 'type' => 'text', 'default' => get_network_option(null, 'site_name'), ], @@ -571,8 +571,8 @@ public function default_sections(): void { 'general', 'company_logo', [ - 'title' => __('Upload Company Logo', 'multisite-ultimate'), - 'desc' => __('Add your company logo to be used on the login page and other places.', 'multisite-ultimate'), + 'title' => __('Upload Company Logo', 'ultimate-multisite'), + 'desc' => __('Add your company logo to be used on the login page and other places.', 'ultimate-multisite'), 'type' => 'image', 'default' => '', ], @@ -583,8 +583,8 @@ public function default_sections(): void { 'general', 'company_email', [ - 'title' => __('Company Email Address', 'multisite-ultimate'), - 'desc' => __('This email is used when generating invoices, for example.', 'multisite-ultimate'), + 'title' => __('Company Email Address', 'ultimate-multisite'), + 'desc' => __('This email is used when generating invoices, for example.', 'ultimate-multisite'), 'type' => 'text', 'default' => get_network_option(null, 'admin_email'), ], @@ -595,8 +595,8 @@ public function default_sections(): void { 'general', 'company_address', [ - 'title' => __('Company Address', 'multisite-ultimate'), - 'desc' => __('This address is used when generating invoices.', 'multisite-ultimate'), + 'title' => __('Company Address', 'ultimate-multisite'), + 'desc' => __('This address is used when generating invoices.', 'ultimate-multisite'), 'type' => 'textarea', 'placeholder' => "350 Fifth Avenue\nManhattan, \nNew York City, NY \n10118", 'default' => '', @@ -611,8 +611,8 @@ public function default_sections(): void { 'general', 'company_country', [ - 'title' => __('Company Country', 'multisite-ultimate'), - 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'multisite-ultimate'), + 'title' => __('Company Country', 'ultimate-multisite'), + 'desc' => __('This info is used when generating invoices, as well as for calculating when taxes apply in some contexts.', 'ultimate-multisite'), 'type' => 'select', 'options' => 'wu_get_countries', 'default' => [$this, 'get_default_company_country'], @@ -624,8 +624,8 @@ public function default_sections(): void { 'general', 'currency_header', [ - 'title' => __('Currency Options', 'multisite-ultimate'), - 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'multisite-ultimate'), + 'title' => __('Currency Options', 'ultimate-multisite'), + 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'ultimate-multisite'), 'type' => 'header', ], 70 @@ -635,8 +635,8 @@ public function default_sections(): void { 'general', 'currency_symbol', [ - 'title' => __('Currency', 'multisite-ultimate'), - 'desc' => __('Select the currency to be used in Multisite Ultimate.', 'multisite-ultimate'), + 'title' => __('Currency', 'ultimate-multisite'), + 'desc' => __('Select the currency to be used in Ultimate Multisite.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'USD', 'options' => 'wu_get_currencies', @@ -648,15 +648,15 @@ public function default_sections(): void { 'general', 'currency_position', [ - 'title' => __('Currency Position', 'multisite-ultimate'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'multisite-ultimate'), + 'title' => __('Currency Position', 'ultimate-multisite'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'ultimate-multisite'), 'type' => 'select', 'default' => '%s %v', 'options' => [ - '%s%v' => __('Left ($99.99)', 'multisite-ultimate'), - '%v%s' => __('Right (99.99$)', 'multisite-ultimate'), - '%s %v' => __('Left with space ($ 99.99)', 'multisite-ultimate'), - '%v %s' => __('Right with space (99.99 $)', 'multisite-ultimate'), + '%s%v' => __('Left ($99.99)', 'ultimate-multisite'), + '%v%s' => __('Right (99.99$)', 'ultimate-multisite'), + '%s %v' => __('Left with space ($ 99.99)', 'ultimate-multisite'), + '%v %s' => __('Right with space (99.99 $)', 'ultimate-multisite'), ], ], 90 @@ -666,8 +666,8 @@ public function default_sections(): void { 'general', 'decimal_separator', [ - 'title' => __('Decimal Separator', 'multisite-ultimate'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'multisite-ultimate'), + 'title' => __('Decimal Separator', 'ultimate-multisite'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'ultimate-multisite'), 'type' => 'text', 'default' => '.', ], @@ -678,8 +678,8 @@ public function default_sections(): void { 'general', 'thousand_separator', [ - 'title' => __('Thousand Separator', 'multisite-ultimate'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'multisite-ultimate'), + 'title' => __('Thousand Separator', 'ultimate-multisite'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'ultimate-multisite'), 'type' => 'text', 'default' => ',', 'raw' => true, @@ -691,8 +691,8 @@ public function default_sections(): void { 'general', 'precision', [ - 'title' => __('Number of Decimals', 'multisite-ultimate'), - 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'multisite-ultimate'), + 'title' => __('Number of Decimals', 'ultimate-multisite'), + 'desc' => __('This setting affects all prices displayed across the plugin elements.', 'ultimate-multisite'), 'type' => 'number', 'default' => '2', 'min' => 0, @@ -702,14 +702,14 @@ public function default_sections(): void { /* * Login & Registration - * This section holds the Login & Registration settings of the Multisite Ultimate Plugin. + * This section holds the Login & Registration settings of the Ultimate Multisite Plugin. */ $this->add_section( 'login-and-registration', [ - 'title' => __('Login & Registration', 'multisite-ultimate'), - 'desc' => __('Login & Registration', 'multisite-ultimate'), + 'title' => __('Login & Registration', 'ultimate-multisite'), + 'desc' => __('Login & Registration', 'ultimate-multisite'), 'icon' => 'dashicons-wu-key', ] ); @@ -718,8 +718,8 @@ public function default_sections(): void { 'login-and-registration', 'registration_header', [ - 'title' => __('Login and Registration Options', 'multisite-ultimate'), - 'desc' => __('Options related to registration and login behavior.', 'multisite-ultimate'), + 'title' => __('Login and Registration Options', 'ultimate-multisite'), + 'desc' => __('Options related to registration and login behavior.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -728,8 +728,8 @@ public function default_sections(): void { 'login-and-registration', 'enable_registration', [ - 'title' => __('Enable Registration', 'multisite-ultimate'), - 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'multisite-ultimate'), + 'title' => __('Enable Registration', 'ultimate-multisite'), + 'desc' => __('Turning this toggle off will disable registration in all checkout forms across the network.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -739,13 +739,13 @@ public function default_sections(): void { 'login-and-registration', 'enable_email_verification', [ - 'title' => __('Email verification', 'multisite-ultimate'), - 'desc' => __('Controls if email verification is required during registration. If set, sites will not be created until the customer email verification status is changed to verified.', 'multisite-ultimate'), + 'title' => __('Email verification', 'ultimate-multisite'), + 'desc' => __('Controls if email verification is required during registration. If set, sites will not be created until the customer email verification status is changed to verified.', 'ultimate-multisite'), 'type' => 'select', 'options' => [ - 'never' => __('Never require email verification', 'multisite-ultimate'), - 'free_only' => __('Only for free plans', 'multisite-ultimate'), - 'always' => __('Always require email verification', 'multisite-ultimate'), + 'never' => __('Never require email verification', 'ultimate-multisite'), + 'free_only' => __('Only for free plans', 'ultimate-multisite'), + 'always' => __('Always require email verification', 'ultimate-multisite'), ], 'default' => 'free_only', 'value' => function () { @@ -766,9 +766,9 @@ public function default_sections(): void { 'default_registration_page', [ 'type' => 'model', - 'title' => __('Default Registration Page', 'multisite-ultimate'), - 'placeholder' => __('Search pages on the main site...', 'multisite-ultimate'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'multisite-ultimate'), + 'title' => __('Default Registration Page', 'ultimate-multisite'), + 'placeholder' => __('Search pages on the main site...', 'ultimate-multisite'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -786,8 +786,8 @@ public function default_sections(): void { 'login-and-registration', 'enable_custom_login_page', [ - 'title' => __('Use Custom Login Page', 'multisite-ultimate'), - 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'multisite-ultimate'), + 'title' => __('Use Custom Login Page', 'ultimate-multisite'), + 'desc' => __('Turn this toggle on to select a custom page to be used as the login page.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -798,9 +798,9 @@ public function default_sections(): void { 'default_login_page', [ 'type' => 'model', - 'title' => __('Default Login Page', 'multisite-ultimate'), - 'placeholder' => __('Search pages on the main site...', 'multisite-ultimate'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'multisite-ultimate'), + 'title' => __('Default Login Page', 'ultimate-multisite'), + 'placeholder' => __('Search pages on the main site...', 'ultimate-multisite'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -820,8 +820,8 @@ public function default_sections(): void { 'login-and-registration', 'obfuscate_original_login_url', [ - 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'multisite-ultimate'), - 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'multisite-ultimate'), + 'title' => __('Obfuscate the Original Login URL (wp-login.php)', 'ultimate-multisite'), + 'desc' => __('If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -834,8 +834,8 @@ public function default_sections(): void { 'login-and-registration', 'subsite_custom_login_logo', [ - 'title' => __('Use Sub-site logo on Login Page', 'multisite-ultimate'), - 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'multisite-ultimate'), + 'title' => __('Use Sub-site logo on Login Page', 'ultimate-multisite'), + 'desc' => __('Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -848,8 +848,8 @@ public function default_sections(): void { 'login-and-registration', 'force_publish_sites_sync', [ - 'title' => __('Force Synchronous Site Publication ', 'multisite-ultimate'), - 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'multisite-ultimate'), + 'title' => __('Force Synchronous Site Publication ', 'ultimate-multisite'), + 'desc' => __('By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -859,8 +859,8 @@ public function default_sections(): void { 'login-and-registration', 'other_header', [ - 'title' => __('Other Options', 'multisite-ultimate'), - 'desc' => __('Other registration-related options.', 'multisite-ultimate'), + 'title' => __('Other Options', 'ultimate-multisite'), + 'desc' => __('Other registration-related options.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -869,8 +869,8 @@ public function default_sections(): void { 'login-and-registration', 'default_role', [ - 'title' => __('Default Role', 'multisite-ultimate'), - 'desc' => __('Set the role to be applied to the user during the signup process.', 'multisite-ultimate'), + 'title' => __('Default Role', 'ultimate-multisite'), + 'desc' => __('Set the role to be applied to the user during the signup process.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'administrator', 'options' => 'wu_get_roles_as_options', @@ -881,8 +881,8 @@ public function default_sections(): void { 'login-and-registration', 'add_users_to_main_site', [ - 'title' => __('Add Users to the Main Site as well?', 'multisite-ultimate'), - 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'multisite-ultimate'), + 'title' => __('Add Users to the Main Site as well?', 'ultimate-multisite'), + 'desc' => __('Enabling this option will also add the user to the main site of your network.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -892,8 +892,8 @@ public function default_sections(): void { 'login-and-registration', 'main_site_default_role', [ - 'title' => __('Add to Main Site with Role...', 'multisite-ultimate'), - 'desc' => __('Select the role Multisite Ultimate should use when adding the user to the main site of your network. Be careful.', 'multisite-ultimate'), + 'title' => __('Add to Main Site with Role...', 'ultimate-multisite'), + 'desc' => __('Select the role Ultimate Multisite should use when adding the user to the main site of your network. Be careful.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'subscriber', 'options' => 'wu_get_roles_as_options', @@ -907,14 +907,14 @@ public function default_sections(): void { /* * Memberships - * This section holds the Membership settings of the Multisite Ultimate Plugin. + * This section holds the Membership settings of the Ultimate Multisite Plugin. */ $this->add_section( 'memberships', [ - 'title' => __('Memberships', 'multisite-ultimate'), - 'desc' => __('Memberships', 'multisite-ultimate'), + 'title' => __('Memberships', 'ultimate-multisite'), + 'desc' => __('Memberships', 'ultimate-multisite'), 'icon' => 'dashicons-wu-infinity', ] ); @@ -924,9 +924,9 @@ public function default_sections(): void { 'default_update_page', [ 'type' => 'model', - 'title' => __('Default Membership Update Page', 'multisite-ultimate'), - 'placeholder' => __('Search pages on the main site...', 'multisite-ultimate'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'multisite-ultimate'), + 'title' => __('Default Membership Update Page', 'ultimate-multisite'), + 'placeholder' => __('Search pages on the main site...', 'ultimate-multisite'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -944,9 +944,9 @@ public function default_sections(): void { 'memberships', 'block_frontend', [ - 'title' => __('Block Frontend Access', 'multisite-ultimate'), - 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'multisite-ultimate'), - 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'multisite-ultimate'), + 'title' => __('Block Frontend Access', 'ultimate-multisite'), + 'desc' => __('Block the frontend access of network sites after a membership is no longer active.', 'ultimate-multisite'), + 'tooltip' => __('By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user\'s site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -956,8 +956,8 @@ public function default_sections(): void { 'memberships', 'block_frontend_grace_period', [ - 'title' => __('Frontend Block Grace Period', 'multisite-ultimate'), - 'desc' => __('Select the number of days Multisite Ultimate should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'multisite-ultimate'), + 'title' => __('Frontend Block Grace Period', 'ultimate-multisite'), + 'desc' => __('Select the number of days Ultimate Multisite should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive.', 'ultimate-multisite'), 'type' => 'number', 'default' => 0, 'min' => 0, @@ -971,8 +971,8 @@ public function default_sections(): void { 'memberships', 'default_block_frontend_page', [ - 'title' => __('Frontend Block Page', 'multisite-ultimate'), - 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'multisite-ultimate'), + 'title' => __('Frontend Block Page', 'ultimate-multisite'), + 'desc' => __('Select a page on the main site to redirect user if access is blocked', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -992,8 +992,8 @@ public function default_sections(): void { 'memberships', 'enable_multiple_memberships', [ - 'title' => __('Enable Multiple Memberships per Customer', 'multisite-ultimate'), - 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'multisite-ultimate'), + 'title' => __('Enable Multiple Memberships per Customer', 'ultimate-multisite'), + 'desc' => __('Enabling this option will allow your users to create more than one membership.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -1003,8 +1003,8 @@ public function default_sections(): void { 'memberships', 'enable_multiple_sites', [ - 'title' => __('Enable Multiple Sites per Membership', 'multisite-ultimate'), - 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'multisite-ultimate'), + 'title' => __('Enable Multiple Sites per Membership', 'ultimate-multisite'), + 'desc' => __('Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -1014,15 +1014,15 @@ public function default_sections(): void { 'memberships', 'block_sites_on_downgrade', [ - 'title' => __('Block Sites on Downgrade', 'multisite-ultimate'), - 'desc' => __('Choose how Multisite Ultimate should handle client sites above their plan quota on downgrade.', 'multisite-ultimate'), + 'title' => __('Block Sites on Downgrade', 'ultimate-multisite'), + 'desc' => __('Choose how Ultimate Multisite should handle client sites above their plan quota on downgrade.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'none', 'options' => [ - 'none' => __('Keep sites as is (do nothing)', 'multisite-ultimate'), - 'block-frontend' => __('Block only frontend access', 'multisite-ultimate'), - 'block-backend' => __('Block only backend access', 'multisite-ultimate'), - 'block-both' => __('Block both frontend and backend access', 'multisite-ultimate'), + 'none' => __('Keep sites as is (do nothing)', 'ultimate-multisite'), + 'block-frontend' => __('Block only frontend access', 'ultimate-multisite'), + 'block-backend' => __('Block only backend access', 'ultimate-multisite'), + 'block-both' => __('Block both frontend and backend access', 'ultimate-multisite'), ], 'require' => [ 'enable_multiple_sites' => true, @@ -1034,14 +1034,14 @@ public function default_sections(): void { 'memberships', 'move_posts_on_downgrade', [ - 'title' => __('Move Posts on Downgrade', 'multisite-ultimate'), - 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'multisite-ultimate'), + 'title' => __('Move Posts on Downgrade', 'ultimate-multisite'), + 'desc' => __('Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'none', 'options' => [ - 'none' => __('Keep posts as is (do nothing)', 'multisite-ultimate'), - 'trash' => __('Move posts above the new quota to the Trash', 'multisite-ultimate'), - 'draft' => __('Mark posts above the new quota as Drafts', 'multisite-ultimate'), + 'none' => __('Keep posts as is (do nothing)', 'ultimate-multisite'), + 'trash' => __('Move posts above the new quota to the Trash', 'ultimate-multisite'), + 'draft' => __('Mark posts above the new quota as Drafts', 'ultimate-multisite'), ], ] ); @@ -1051,8 +1051,8 @@ public function default_sections(): void { 'emulated_post_types_header', [ 'type' => 'header', - 'title' => __('Emulated Post Types', 'multisite-ultimate'), - 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'multisite-ultimate'), + 'title' => __('Emulated Post Types', 'ultimate-multisite'), + 'desc' => __('Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site.', 'ultimate-multisite'), ] ); @@ -1061,7 +1061,7 @@ public function default_sections(): void { 'emulated_post_types_explanation', [ 'type' => 'note', - 'desc' => __('By default, Multisite Ultimate only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'multisite-ultimate'), + 'desc' => __('By default, Ultimate Multisite only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products.', 'ultimate-multisite'), 'classes' => '', 'wrapper_classes' => '', ] @@ -1072,7 +1072,7 @@ public function default_sections(): void { 'emulated_post_types_empty', [ 'type' => 'note', - 'desc' => __('Add the first post type using the button below.', 'multisite-ultimate'), + 'desc' => __('Add the first post type using the button below.', 'ultimate-multisite'), 'classes' => 'wu-text-gray-600 wu-text-xs wu-text-center wu-w-full', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -1099,13 +1099,13 @@ public function default_sections(): void { 'fields' => [ 'emulated_post_types_remove' => [ 'type' => 'note', - 'desc' => sprintf('', __('Remove', 'multisite-ultimate')), + 'desc' => sprintf('', __('Remove', 'ultimate-multisite')), 'wrapper_classes' => 'wu-absolute wu-top-0 wu-right-0', ], 'emulated_post_types_slug' => [ 'type' => 'text', - 'title' => __('Post Type Slug', 'multisite-ultimate'), - 'placeholder' => __('e.g. product', 'multisite-ultimate'), + 'title' => __('Post Type Slug', 'ultimate-multisite'), + 'placeholder' => __('e.g. product', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-5/12', 'html_attr' => [ 'v-model' => 'emulated_post_type.post_type', @@ -1114,8 +1114,8 @@ public function default_sections(): void { ], 'emulated_post_types_label' => [ 'type' => 'text', - 'title' => __('Post Type Label', 'multisite-ultimate'), - 'placeholder' => __('e.g. Products', 'multisite-ultimate'), + 'title' => __('Post Type Label', 'ultimate-multisite'), + 'placeholder' => __('e.g. Products', 'ultimate-multisite'), 'wrapper_classes' => 'wu-w-7/12 wu-ml-2', 'html_attr' => [ 'v-model' => 'emulated_post_type.label', @@ -1131,7 +1131,7 @@ public function default_sections(): void { 'emulated_post_types_repeat', [ 'type' => 'submit', - 'title' => __('+ Add Post Type', 'multisite-ultimate'), + 'title' => __('+ Add Post Type', 'ultimate-multisite'), 'classes' => 'wu-uppercase wu-text-2xs wu-text-blue-700 wu-border-none wu-bg-transparent wu-font-bold wu-text-right wu-w-full wu-cursor-pointer', 'wrapper_classes' => 'wu-bg-gray-100 wu-items-end', 'wrapper_html_attr' => [ @@ -1152,14 +1152,14 @@ public function default_sections(): void { /* * Site Templates - * This section holds the Site Templates settings of the Multisite Ultimate Plugin. + * This section holds the Site Templates settings of the Ultimate Multisite Plugin. */ $this->add_section( 'sites', [ - 'title' => __('Sites', 'multisite-ultimate'), - 'desc' => __('Sites', 'multisite-ultimate'), + 'title' => __('Sites', 'ultimate-multisite'), + 'desc' => __('Sites', 'ultimate-multisite'), 'icon' => 'dashicons-wu-browser', ] ); @@ -1168,8 +1168,8 @@ public function default_sections(): void { 'sites', 'sites_features_heading', [ - 'title' => __('Site Options', 'multisite-ultimate'), - 'desc' => __('Configure certain aspects of how network Sites behave.', 'multisite-ultimate'), + 'title' => __('Site Options', 'ultimate-multisite'), + 'desc' => __('Configure certain aspects of how network Sites behave.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1179,9 +1179,9 @@ public function default_sections(): void { 'default_new_site_page', [ 'type' => 'model', - 'title' => __('Default New Site Page', 'multisite-ultimate'), - 'placeholder' => __('Search pages on the main site...', 'multisite-ultimate'), - 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'multisite-ultimate'), + 'title' => __('Default New Site Page', 'ultimate-multisite'), + 'placeholder' => __('Search pages on the main site...', 'ultimate-multisite'), + 'desc' => __('Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'data-base-link' => get_admin_url(wu_get_main_site_id(), 'post.php?action=edit&post'), @@ -1199,8 +1199,8 @@ public function default_sections(): void { 'sites', 'enable_visits_limiting', [ - 'title' => __('Enable Visits Limitation & Counting', 'multisite-ultimate'), - 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'multisite-ultimate'), + 'title' => __('Enable Visits Limitation & Counting', 'ultimate-multisite'), + 'desc' => __('Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1210,8 +1210,8 @@ public function default_sections(): void { 'sites', 'enable_screenshot_generator', [ - 'title' => __('Enable Screenshot Generator', 'multisite-ultimate'), - 'desc' => __('With this option is enabled, Multisite Ultimate will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'multisite-ultimate'), + 'title' => __('Enable Screenshot Generator', 'ultimate-multisite'), + 'desc' => __('With this option is enabled, Ultimate Multisite will take a screenshot for every newly created site on your network and set the resulting image as that site\'s featured image. This features requires a valid license key to work and it is not supported for local sites.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1221,8 +1221,8 @@ public function default_sections(): void { 'sites', 'wordpress_features_heading', [ - 'title' => __('WordPress Features', 'multisite-ultimate'), - 'desc' => __('Override default WordPress settings for network Sites.', 'multisite-ultimate'), + 'title' => __('WordPress Features', 'ultimate-multisite'), + 'desc' => __('Override default WordPress settings for network Sites.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1231,9 +1231,9 @@ public function default_sections(): void { 'sites', 'menu_items_plugin', [ - 'title' => __('Enable Plugins Menu', 'multisite-ultimate'), - 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'multisite-ultimate'), - 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'multisite-ultimate'), + 'title' => __('Enable Plugins Menu', 'ultimate-multisite'), + 'desc' => __('Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins.', 'ultimate-multisite'), + 'tooltip' => __('You can select which plugins the user will be able to use for each plan.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1243,9 +1243,9 @@ public function default_sections(): void { 'sites', 'add_new_users', [ - 'title' => __('Add New Users', 'multisite-ultimate'), - 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'multisite-ultimate'), - 'tooltip' => __('You can limit the number of users allowed for each plan.', 'multisite-ultimate'), + 'title' => __('Add New Users', 'ultimate-multisite'), + 'desc' => __('Allow site administrators to add new users to their site via the "Users → Add New" page.', 'ultimate-multisite'), + 'tooltip' => __('You can limit the number of users allowed for each plan.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1255,8 +1255,8 @@ public function default_sections(): void { 'sites', 'site_template_features_heading', [ - 'title' => __('Site Template Options', 'multisite-ultimate'), - 'desc' => __('Configure certain aspects of how Site Templates behave.', 'multisite-ultimate'), + 'title' => __('Site Template Options', 'ultimate-multisite'), + 'desc' => __('Configure certain aspects of how Site Templates behave.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1265,8 +1265,8 @@ public function default_sections(): void { 'sites', 'allow_template_switching', [ - 'title' => __('Allow Template Switching', 'multisite-ultimate'), - 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'multisite-ultimate'), + 'title' => __('Allow Template Switching', 'ultimate-multisite'), + 'desc' => __("Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over.", 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1276,8 +1276,8 @@ public function default_sections(): void { 'sites', 'allow_own_site_as_template', [ - 'title' => __('Allow Users to use their own Sites as Templates', 'multisite-ultimate'), - 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'multisite-ultimate'), + 'title' => __('Allow Users to use their own Sites as Templates', 'ultimate-multisite'), + 'desc' => __('Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -1290,8 +1290,8 @@ public function default_sections(): void { 'sites', 'copy_media', [ - 'title' => __('Copy Media on Template Duplication?', 'multisite-ultimate'), - 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'multisite-ultimate'), + 'title' => __('Copy Media on Template Duplication?', 'ultimate-multisite'), + 'desc' => __('Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1301,8 +1301,8 @@ public function default_sections(): void { 'sites', 'stop_template_indexing', [ - 'title' => __('Prevent Search Engines from indexing Site Templates', 'multisite-ultimate'), - 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'multisite-ultimate'), + 'title' => __('Prevent Search Engines from indexing Site Templates', 'ultimate-multisite'), + 'desc' => __('Checking this option will discourage search engines from indexing all the Site Templates on your network.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -1312,14 +1312,14 @@ public function default_sections(): void { /* * Payment Gateways - * This section holds the Payment Gateways settings of the Multisite Ultimate Plugin. + * This section holds the Payment Gateways settings of the Ultimate Multisite Plugin. */ $this->add_section( 'payment-gateways', [ - 'title' => __('Payments', 'multisite-ultimate'), - 'desc' => __('Payments', 'multisite-ultimate'), + 'title' => __('Payments', 'ultimate-multisite'), + 'desc' => __('Payments', 'ultimate-multisite'), 'icon' => 'dashicons-wu-credit-card', ] ); @@ -1328,8 +1328,8 @@ public function default_sections(): void { 'payment-gateways', 'main_header', [ - 'title' => __('Payment Settings', 'multisite-ultimate'), - 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'multisite-ultimate'), + 'title' => __('Payment Settings', 'ultimate-multisite'), + 'desc' => __('The following options affect how prices are displayed on the frontend, the backend and in reports.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1339,8 +1339,8 @@ public function default_sections(): void { 'payment-gateways', 'force_auto_renew', [ - 'title' => __('Force Auto-Renew', 'multisite-ultimate'), - 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'multisite-ultimate'), + 'title' => __('Force Auto-Renew', 'ultimate-multisite'), + 'desc' => __('Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout.', 'ultimate-multisite'), 'tooltip' => '', 'type' => 'toggle', 'default' => 1, @@ -1351,8 +1351,8 @@ public function default_sections(): void { 'payment-gateways', 'allow_trial_without_payment_method', [ - 'title' => __('Allow Trials without Payment Method', 'multisite-ultimate'), - 'desc' => __('By default, Multisite Ultimate asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'multisite-ultimate'), + 'title' => __('Allow Trials without Payment Method', 'ultimate-multisite'), + 'desc' => __('By default, Ultimate Multisite asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over.', 'ultimate-multisite'), 'tooltip' => '', 'type' => 'toggle', 'default' => 0, @@ -1363,9 +1363,9 @@ public function default_sections(): void { 'payment-gateways', 'attach_invoice_pdf', [ - 'title' => __('Send Invoice on Payment Confirmation', 'multisite-ultimate'), - 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'multisite-ultimate'), - 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'multisite-ultimate'), + 'title' => __('Send Invoice on Payment Confirmation', 'ultimate-multisite'), + 'desc' => __('Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option.', 'ultimate-multisite'), + 'tooltip' => __('The invoice files will be saved on the wp-content/uploads/wu-invoices folder.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1375,14 +1375,14 @@ public function default_sections(): void { 'payment-gateways', 'invoice_numbering_scheme', [ - 'title' => __('Invoice Numbering Scheme', 'multisite-ultimate'), - 'desc' => __('What should Multisite Ultimate use as the invoice number?', 'multisite-ultimate'), + 'title' => __('Invoice Numbering Scheme', 'ultimate-multisite'), + 'desc' => __('What should Ultimate Multisite use as the invoice number?', 'ultimate-multisite'), 'type' => 'select', 'default' => 'reference_code', 'tooltip' => '', 'options' => [ - 'reference_code' => __('Payment Reference Code', 'multisite-ultimate'), - 'sequential_number' => __('Sequential Number', 'multisite-ultimate'), + 'reference_code' => __('Payment Reference Code', 'ultimate-multisite'), + 'sequential_number' => __('Sequential Number', 'ultimate-multisite'), ], ] ); @@ -1391,8 +1391,8 @@ public function default_sections(): void { 'payment-gateways', 'next_invoice_number', [ - 'title' => __('Next Invoice Number', 'multisite-ultimate'), - 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'multisite-ultimate'), + 'title' => __('Next Invoice Number', 'ultimate-multisite'), + 'desc' => __('This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value.', 'ultimate-multisite'), 'type' => 'number', 'default' => '1', 'min' => 0, @@ -1406,10 +1406,10 @@ public function default_sections(): void { 'payment-gateways', 'invoice_prefix', [ - 'title' => __('Invoice Number Prefix', 'multisite-ultimate'), - 'placeholder' => __('INV00', 'multisite-ultimate'), + 'title' => __('Invoice Number Prefix', 'ultimate-multisite'), + 'placeholder' => __('INV00', 'ultimate-multisite'), // translators: %%YEAR%%, %%MONTH%%, and %%DAY%% are placeholders but are replaced before shown to the user but are used as examples. - 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'multisite-ultimate'), gmdate('Y') . '-' . gmdate('m') . '-INV'), + 'desc' => sprintf(__('Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s.', 'ultimate-multisite'), gmdate('Y') . '-' . gmdate('m') . '-INV'), 'default' => '', 'type' => 'text', 'raw' => true, // Necessary to prevent the removal of the %% tags. @@ -1423,8 +1423,8 @@ public function default_sections(): void { 'payment-gateways', 'gateways_header', [ - 'title' => __('Payment Gateways', 'multisite-ultimate'), - 'desc' => __('Activate and configure the installed payment gateways in this section.', 'multisite-ultimate'), + 'title' => __('Payment Gateways', 'ultimate-multisite'), + 'desc' => __('Activate and configure the installed payment gateways in this section.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1434,13 +1434,13 @@ public function default_sections(): void { /* * Emails - * This section holds the Email settings of the Multisite Ultimate Plugin. + * This section holds the Email settings of the Ultimate Multisite Plugin. */ $this->add_section( 'emails', [ - 'title' => __('Emails', 'multisite-ultimate'), - 'desc' => __('Emails', 'multisite-ultimate'), + 'title' => __('Emails', 'ultimate-multisite'), + 'desc' => __('Emails', 'ultimate-multisite'), 'icon' => 'dashicons-wu-email', ] ); @@ -1449,14 +1449,14 @@ public function default_sections(): void { /* * Domain Mapping - * This section holds the Domain Mapping settings of the Multisite Ultimate Plugin. + * This section holds the Domain Mapping settings of the Ultimate Multisite Plugin. */ $this->add_section( 'domain-mapping', [ - 'title' => __('Domain Mapping', 'multisite-ultimate'), - 'desc' => __('Domain Mapping', 'multisite-ultimate'), + 'title' => __('Domain Mapping', 'ultimate-multisite'), + 'desc' => __('Domain Mapping', 'ultimate-multisite'), 'icon' => 'dashicons-wu-link', ] ); @@ -1471,8 +1471,8 @@ public function default_sections(): void { $this->add_section( 'sso', [ - 'title' => __('Single Sign-On', 'multisite-ultimate'), - 'desc' => __('Single Sign-On', 'multisite-ultimate'), + 'title' => __('Single Sign-On', 'ultimate-multisite'), + 'desc' => __('Single Sign-On', 'ultimate-multisite'), 'icon' => 'dashicons-wu-add-user', ] ); @@ -1481,14 +1481,14 @@ public function default_sections(): void { /* * Integrations - * This section holds the Integrations settings of the Multisite Ultimate Plugin. + * This section holds the Integrations settings of the Ultimate Multisite Plugin. */ $this->add_section( 'integrations', [ - 'title' => __('Integrations', 'multisite-ultimate'), - 'desc' => __('Integrations', 'multisite-ultimate'), + 'title' => __('Integrations', 'ultimate-multisite'), + 'desc' => __('Integrations', 'ultimate-multisite'), 'icon' => 'dashicons-wu-power-plug', ] ); @@ -1497,8 +1497,8 @@ public function default_sections(): void { 'integrations', 'hosting_providers_header', [ - 'title' => __('Hosting or Panel Providers', 'multisite-ultimate'), - 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'multisite-ultimate'), + 'title' => __('Hosting or Panel Providers', 'ultimate-multisite'), + 'desc' => __('Configure and manage the integration with your Hosting or Panel Provider.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, ] @@ -1508,14 +1508,14 @@ public function default_sections(): void { /* * Other Options - * This section holds the Other Options settings of the Multisite Ultimate Plugin. + * This section holds the Other Options settings of the Ultimate Multisite Plugin. */ $this->add_section( 'other', [ - 'title' => __('Other Options', 'multisite-ultimate'), - 'desc' => __('Other Options', 'multisite-ultimate'), + 'title' => __('Other Options', 'ultimate-multisite'), + 'desc' => __('Other Options', 'ultimate-multisite'), 'icon' => 'dashicons-wu-switch', 'order' => 1000, ] @@ -1525,8 +1525,8 @@ public function default_sections(): void { 'other', 'Other_header', [ - 'title' => __('Miscellaneous', 'multisite-ultimate'), - 'desc' => __('Other options that do not fit anywhere else.', 'multisite-ultimate'), + 'title' => __('Miscellaneous', 'ultimate-multisite'), + 'desc' => __('Other options that do not fit anywhere else.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1537,8 +1537,8 @@ public function default_sections(): void { 'other', 'hide_tours', [ - 'title' => __('Hide UI Tours', 'multisite-ultimate') . $preview_image, - 'desc' => __('The UI tours showed by Multisite Ultimate should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'multisite-ultimate'), + 'title' => __('Hide UI Tours', 'ultimate-multisite') . $preview_image, + 'desc' => __('The UI tours showed by Ultimate Multisite should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -1550,8 +1550,8 @@ public function default_sections(): void { 'other', 'disable_image_zoom', [ - 'title' => __('Disable "Hover to Zoom"', 'multisite-ultimate') . $preview_image_2, - 'desc' => __('By default, Multisite Ultimate adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'multisite-ultimate'), + 'title' => __('Disable "Hover to Zoom"', 'ultimate-multisite') . $preview_image_2, + 'desc' => __('By default, Ultimate Multisite adds a "hover to zoom" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -1561,8 +1561,8 @@ public function default_sections(): void { 'other', 'error_reporting_header', [ - 'title' => __('Logging', 'multisite-ultimate'), - 'desc' => __('Log Multisite Ultimate data. This is useful for debugging purposes.', 'multisite-ultimate'), + 'title' => __('Logging', 'ultimate-multisite'), + 'desc' => __('Log Ultimate Multisite data. This is useful for debugging purposes.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1571,15 +1571,15 @@ public function default_sections(): void { 'other', 'error_logging_level', [ - 'title' => __('Logging Level', 'multisite-ultimate'), - 'desc' => __('Select the level of logging you want to use.', 'multisite-ultimate'), + 'title' => __('Logging Level', 'ultimate-multisite'), + 'desc' => __('Select the level of logging you want to use.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'default', 'options' => [ - 'default' => __('PHP Default', 'multisite-ultimate'), - 'disabled' => __('Disabled', 'multisite-ultimate'), - 'errors' => __('Errors Only', 'multisite-ultimate'), - 'all' => __('Everything', 'multisite-ultimate'), + 'default' => __('PHP Default', 'ultimate-multisite'), + 'disabled' => __('Disabled', 'ultimate-multisite'), + 'errors' => __('Errors Only', 'ultimate-multisite'), + 'all' => __('Everything', 'ultimate-multisite'), ], ] ); @@ -1588,8 +1588,8 @@ public function default_sections(): void { 'other', 'enable_error_reporting', [ - 'title' => __('Send Error Data to Multisite Ultimate Developers', 'multisite-ultimate'), - 'desc' => __('With this option enabled, every time your installation runs into an error related to Multisite Ultimate, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'multisite-ultimate'), + 'title' => __('Send Error Data to Ultimate Multisite Developers', 'ultimate-multisite'), + 'desc' => __('With this option enabled, every time your installation runs into an error related to Ultimate Multisite, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc).', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -1599,8 +1599,8 @@ public function default_sections(): void { 'other', 'advanced_header', [ - 'title' => __('Advanced Options', 'multisite-ultimate'), - 'desc' => __('Change the plugin and wordpress behavior.', 'multisite-ultimate'), + 'title' => __('Advanced Options', 'ultimate-multisite'), + 'desc' => __('Change the plugin and wordpress behavior.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -1615,15 +1615,15 @@ public function default_sections(): void { if ( ! empty($plans)) { $url = wu_network_admin_url('wp-ultimo-migration-alert'); - $title = __('Run Migration Again', 'multisite-ultimate') . sprintf( + $title = __('Run Migration Again', 'ultimate-multisite') . sprintf( "%s", - __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'multisite-ultimate') + __('Rerun the Migration Wizard if you experience data-loss after migrate.', 'ultimate-multisite') ) . sprintf( "%s", - __('Important: This process can have unexpected behavior with your current Ultimo models.
We recommend that you create a backup before continue.', 'multisite-ultimate') + __('Important: This process can have unexpected behavior with your current Ultimo models.
We recommend that you create a backup before continue.', 'ultimate-multisite') ); - $html = sprintf('%s', $url, __('Migrate', 'multisite-ultimate')); + $html = sprintf('%s', $url, __('Migrate', 'ultimate-multisite')); $this->add_field( 'other', @@ -1646,9 +1646,9 @@ public function default_sections(): void { 'other', 'security_mode', [ - 'title' => __('Security Mode', 'multisite-ultimate'), + 'title' => __('Security Mode', 'ultimate-multisite'), // Translators: Placeholder adds the security mode key and current site url with query string - 'desc' => sprintf(__('Only Multisite Ultimate and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
', 'multisite-ultimate'), $security_mode_key, get_site_url() . $security_mode_key), + 'desc' => sprintf(__('Only Ultimate Multisite and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
', 'ultimate-multisite'), $security_mode_key, get_site_url() . $security_mode_key), 'type' => 'toggle', 'default' => 0, ] @@ -1659,8 +1659,8 @@ public function default_sections(): void { 'other', 'uninstall_wipe_tables', [ - 'title' => __('Remove Data on Uninstall', 'multisite-ultimate'), - 'desc' => __('Remove all saved data for Multisite Ultimate when the plugin is uninstalled.', 'multisite-ultimate'), + 'title' => __('Remove Data on Uninstall', 'ultimate-multisite'), + 'desc' => __('Remove all saved data for Ultimate Multisite when the plugin is uninstalled.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] diff --git a/inc/class-sunrise.php b/inc/class-sunrise.php index 2b036d0ef..0db1ea348 100644 --- a/inc/class-sunrise.php +++ b/inc/class-sunrise.php @@ -1,6 +1,6 @@ []); @@ -286,10 +286,10 @@ public static function try_upgrade() { wu_log_add('sunrise', $error['message'], LogLevel::ERROR); /* translators: the placeholder is an error message */ - return new \WP_Error('error', sprintf(__('Sunrise copy failed: %s', 'multisite-ultimate'), $error['message'])); + return new \WP_Error('error', sprintf(__('Sunrise copy failed: %s', 'ultimate-multisite'), $error['message'])); } - wu_log_add('sunrise', __('Sunrise upgrade attempt succeeded.', 'multisite-ultimate')); + wu_log_add('sunrise', __('Sunrise upgrade attempt succeeded.', 'ultimate-multisite')); return true; } @@ -327,7 +327,7 @@ protected static function read_sunrise_meta() { * Method for imputing Sunrise data at wp-ultimo-system-info table. * * @since 2.0.11 - * @param array $sys_info Array containing Multisite Ultimate installation info. + * @param array $sys_info Array containing Ultimate Multisite installation info. * @return array Returns the array, modified with the sunrise data. */ public static function system_info($sys_info) { diff --git a/inc/class-user-switching.php b/inc/class-user-switching.php index aa404e2dc..5b976fbb5 100644 --- a/inc/class-user-switching.php +++ b/inc/class-user-switching.php @@ -1,6 +1,6 @@ [ 'type' => 'text-display', 'title' => '', - 'display_value' => __('This feature requires the plugin User Switching to be installed and active.', 'multisite-ultimate'), + 'display_value' => __('This feature requires the plugin User Switching to be installed and active.', 'ultimate-multisite'), 'tooltip' => '', ], 'link' => [ 'type' => 'link', - 'display_value' => __('Install User Switching', 'multisite-ultimate'), + 'display_value' => __('Install User Switching', 'ultimate-multisite'), 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end wu-text-center wu-bg-gray-100', 'html_attr' => [ diff --git a/inc/class-views.php b/inc/class-views.php index c052653eb..672a46c27 100644 --- a/inc/class-views.php +++ b/inc/class-views.php @@ -13,7 +13,7 @@ defined('ABSPATH') || exit; /** - * Adds a lighter ajax option to Multisite Ultimate. + * Adds a lighter ajax option to Ultimate Multisite. * * @since 1.9.14 */ diff --git a/inc/class-whitelabel.php b/inc/class-whitelabel.php index d614c00fb..66bc0ba9b 100644 --- a/inc/class-whitelabel.php +++ b/inc/class-whitelabel.php @@ -197,8 +197,8 @@ public function add_settings(): void { wu_register_settings_section( 'whitelabel', [ - 'title' => __('Whitelabel', 'multisite-ultimate'), - 'desc' => __('Basic Whitelabel', 'multisite-ultimate'), + 'title' => __('Whitelabel', 'ultimate-multisite'), + 'desc' => __('Basic Whitelabel', 'ultimate-multisite'), 'icon' => 'dashicons-wu-eye', ] ); @@ -207,8 +207,8 @@ public function add_settings(): void { 'whitelabel', 'whitelabel_header', [ - 'title' => __('Whitelabel', 'multisite-ultimate'), - 'desc' => __('Hide a couple specific WordPress elements and rename others.', 'multisite-ultimate'), + 'title' => __('Whitelabel', 'ultimate-multisite'), + 'desc' => __('Hide a couple specific WordPress elements and rename others.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -219,8 +219,8 @@ public function add_settings(): void { 'whitelabel', 'hide_wordpress_logo', [ - 'title' => __('Hide WordPress Logo', 'multisite-ultimate') . $preview_image, - 'desc' => __('Hide the WordPress logo from the top-bar and replace the same logo on the My Sites top-bar item with a more generic icon.', 'multisite-ultimate'), + 'title' => __('Hide WordPress Logo', 'ultimate-multisite') . $preview_image, + 'desc' => __('Hide the WordPress logo from the top-bar and replace the same logo on the My Sites top-bar item with a more generic icon.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -230,8 +230,8 @@ public function add_settings(): void { 'whitelabel', 'hide_sites_menu', [ - 'title' => __('Hide Sites Admin Menu', 'multisite-ultimate'), - 'desc' => __('We recommend that you manage all of your sites using the Multisite Ultimate → Sites page. To avoid confusion, you can hide the default "Sites" item from the WordPress admin menu by toggling this option.', 'multisite-ultimate'), + 'title' => __('Hide Sites Admin Menu', 'ultimate-multisite'), + 'desc' => __('We recommend that you manage all of your sites using the Ultimate Multisite → Sites page. To avoid confusion, you can hide the default "Sites" item from the WordPress admin menu by toggling this option.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -241,9 +241,9 @@ public function add_settings(): void { 'whitelabel', 'rename_wordpress', [ - 'title' => __('Replace the word "WordPress"', 'multisite-ultimate'), - 'placeholder' => __('e.g. My App', 'multisite-ultimate'), - 'desc' => __('Replace all occurrences of the word "WordPress" with a different word.', 'multisite-ultimate'), + 'title' => __('Replace the word "WordPress"', 'ultimate-multisite'), + 'placeholder' => __('e.g. My App', 'ultimate-multisite'), + 'desc' => __('Replace all occurrences of the word "WordPress" with a different word.', 'ultimate-multisite'), 'type' => 'text', 'default' => '', ] @@ -253,9 +253,9 @@ public function add_settings(): void { 'whitelabel', 'rename_site_singular', [ - 'title' => __('Replace the word "Site" (singular)', 'multisite-ultimate'), - 'placeholder' => __('e.g. App', 'multisite-ultimate'), - 'desc' => __('Replace all occurrences of the word "Site" with a different word.', 'multisite-ultimate'), + 'title' => __('Replace the word "Site" (singular)', 'ultimate-multisite'), + 'placeholder' => __('e.g. App', 'ultimate-multisite'), + 'desc' => __('Replace all occurrences of the word "Site" with a different word.', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'wrapper_classes' => 'wu-w-1/2', @@ -266,9 +266,9 @@ public function add_settings(): void { 'whitelabel', 'rename_site_plural', [ - 'title' => __('Replace the word "Sites" (plural)', 'multisite-ultimate'), - 'placeholder' => __('e.g. Apps', 'multisite-ultimate'), - 'desc' => __('Replace all occurrences of the word "Sites" with a different word.', 'multisite-ultimate'), + 'title' => __('Replace the word "Sites" (plural)', 'ultimate-multisite'), + 'placeholder' => __('e.g. Apps', 'ultimate-multisite'), + 'desc' => __('Replace all occurrences of the word "Sites" with a different word.', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'wrapper_classes' => 'wu-w-1/2', diff --git a/inc/class-wp-ultimo.php b/inc/class-wp-ultimo.php index 55062f4a1..cecd811d1 100644 --- a/inc/class-wp-ultimo.php +++ b/inc/class-wp-ultimo.php @@ -1,6 +1,6 @@ settings = WP_Ultimo\Settings::get_instance(); WP_Ultimo\Newsletter::get_instance(); /* - * Check if the Multisite Ultimate requirements are present. + * Check if the Ultimate Multisite requirements are present. * * Everything we need to run our setup install needs top be loaded before this * and have no dependencies outside of the classes loaded so far. @@ -165,12 +165,12 @@ public function init(): void { $this->currents = WP_Ultimo\Current::get_instance(); /* - * Loads the Multisite Ultimate admin notices helper class. + * Loads the Ultimate Multisite admin notices helper class. */ $this->notices = WP_Ultimo\Admin_Notices::get_instance(); /* - * Loads the Multisite Ultimate scripts handler + * Loads the Ultimate Multisite scripts handler */ $this->scripts = WP_Ultimo\Scripts::get_instance(); @@ -249,7 +249,7 @@ public function setup_tables(): void { * Loads public apis that should be on the global scope * * This method is responsible for loading and exposing public apis that - * plugin developers will use when creating extensions for Multisite Ultimate. + * plugin developers will use when creating extensions for Ultimate Multisite. * Things like render functions, helper methods, etc. * * @since 2.0.0 @@ -358,7 +358,7 @@ public function load_public_apis(): void { * Checkout and Registration. * * Loads functions that interact with the checkout - * and the registration elements of Multisite Ultimate. + * and the registration elements of Ultimate Multisite. * * @see wu_is_registration_page() */ @@ -416,7 +416,7 @@ public function load_public_apis(): void { } /** - * Load extra the Multisite Ultimate elements + * Load extra the Ultimate Multisite elements * * @since 2.0.0 * @return void @@ -599,8 +599,8 @@ function () { /* * Adds support to multiple accounts. * - * This used to be an add-on on Multisite Ultimate 1.X - * Now it is native, but needs to be activated on Multisite Ultimate settings. + * This used to be an add-on on Ultimate Multisite 1.X + * Now it is native, but needs to be activated on Ultimate Multisite settings. */ \WP_Ultimo\Compat\Multiple_Accounts_Compat::get_instance(); \WP_Ultimo\Compat\Edit_Users_Compat::get_instance(); @@ -611,7 +611,7 @@ function () { \WP_Ultimo\Dashboard_Widgets::get_instance(); /* - * Admin Themes Compatibility for Multisite Ultimate + * Admin Themes Compatibility for Ultimate Multisite */ \WP_Ultimo\Admin_Themes_Compatibility::get_instance(); @@ -622,7 +622,7 @@ function () { } /** - * Load the Multisite Ultimate Admin Pages. + * Load the Ultimate Multisite Admin Pages. * * @since 2.0.0 * @return void @@ -783,7 +783,7 @@ protected function load_admin_pages(): void { } /** - * Load extra the Multisite Ultimate managers. + * Load extra the Ultimate Multisite managers. * * @since 2.0.0 * @return void diff --git a/inc/compat/class-edit-users-compat.php b/inc/compat/class-edit-users-compat.php index 42d5c9b8c..a497ad8d7 100644 --- a/inc/compat/class-edit-users-compat.php +++ b/inc/compat/class-edit-users-compat.php @@ -111,8 +111,8 @@ public function add_settings(): void { 'login-and-registration', 'enable_edit_users', [ - 'title' => __('Enable Edit User Capability', 'multisite-ultimate'), - 'desc' => __('Allow site owners to edit the user accounts of users on their own site. Also lets site owners create user accounts without requiring email confirmation.', 'multisite-ultimate'), + 'title' => __('Enable Edit User Capability', 'ultimate-multisite'), + 'desc' => __('Allow site owners to edit the user accounts of users on their own site. Also lets site owners create user accounts without requiring email confirmation.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -140,10 +140,10 @@ public function add_noconfirmation_field($context) { ?> - +
- +
diff --git a/inc/compat/class-general-compat.php b/inc/compat/class-general-compat.php index 92bfac84a..647c08750 100644 --- a/inc/compat/class-general-compat.php +++ b/inc/compat/class-general-compat.php @@ -221,7 +221,7 @@ function () use ($wpdb, $tables) { * * This plugin has a setting that replaces quotes on the content. * This breaks our moment configuration strings, and is generally - * not compatible with Multisite Ultimate vue templates. + * not compatible with Ultimate Multisite vue templates. * * Here on this filter, we manually disable the smart quotes * settings to prevent that kind of processing, as well as add @@ -248,7 +248,7 @@ public function fix_wp_typography($settings) { */ public function add_wp_typography_warning_message(): void { - WP_Ultimo()->notices->add(__('WP Typography "Smart Quotes" replacement is not compatible with Multisite Ultimate and will be automatically disabled.', 'multisite-ultimate'), 'warning'); + WP_Ultimo()->notices->add(__('WP Typography "Smart Quotes" replacement is not compatible with Ultimate Multisite and will be automatically disabled.', 'ultimate-multisite'), 'warning'); } /** diff --git a/inc/compat/class-gutenberg-support.php b/inc/compat/class-gutenberg-support.php index 80a68ce2a..f9a2e5c73 100644 --- a/inc/compat/class-gutenberg-support.php +++ b/inc/compat/class-gutenberg-support.php @@ -2,7 +2,7 @@ /** * Gutenberg Support * - * Allows Multisite Ultimate to filter Gutenberg thingys. + * Allows Ultimate Multisite to filter Gutenberg thingys. * * @since 1.9.14 * @author Arindo Duque @@ -65,7 +65,7 @@ public function add_scripts(): void { wp_register_script('wu-gutenberg-support', wu_get_asset('gutenberg-support.js', 'js'), ['jquery'], wu_get_version(), true); // translators: the placeholder is replaced with the network name. - $preview_message = apply_filters('wu_gutenberg_support_preview_message', sprintf(__('%s is generating the preview...', 'multisite-ultimate'), get_network_option(null, 'site_name'))); + $preview_message = apply_filters('wu_gutenberg_support_preview_message', sprintf(__('%s is generating the preview...', 'ultimate-multisite'), get_network_option(null, 'site_name'))); wp_localize_script( 'wu-gutenberg-support', diff --git a/inc/compat/class-legacy-shortcodes.php b/inc/compat/class-legacy-shortcodes.php index c3682ab27..a8b043cc2 100644 --- a/inc/compat/class-legacy-shortcodes.php +++ b/inc/compat/class-legacy-shortcodes.php @@ -2,7 +2,7 @@ /** * Legacy Shortcodes * - * Handles Multisite Ultimate 1.X Legacy Shortcodes + * Handles Ultimate Multisite 1.X Legacy Shortcodes * * @package WP_Ultimo * @subpackage Compat @@ -17,7 +17,7 @@ use WP_Ultimo\Database\Memberships\Membership_Status; /** - * Handles Multisite Ultimate 1.X Legacy Shortcodes + * Handles Ultimate Multisite 1.X Legacy Shortcodes * * @since 2.0.0 */ @@ -215,7 +215,7 @@ public function restricted_content($atts, $content) { $atts['plan_id'] = ! empty($atts['product_id']) ? $atts['product_id'] : $atts['plan_id']; if (empty($atts) || ! $atts['plan_id']) { - return __('You need to pass a valid plan ID.', 'multisite-ultimate'); + return __('You need to pass a valid plan ID.', 'ultimate-multisite'); } $query_products = get_query_var('products', []); @@ -349,17 +349,17 @@ public function pricing_table($atts, $content) { [ 'duration' => 1, 'duration_unit' => 'month', - 'label' => __('Monthly', 'multisite-ultimate'), + 'label' => __('Monthly', 'ultimate-multisite'), ], [ 'duration' => 3, 'duration_unit' => 'month', - 'label' => __('Quarterly', 'multisite-ultimate'), + 'label' => __('Quarterly', 'ultimate-multisite'), ], [ 'duration' => 1, 'duration_unit' => 'year', - 'label' => __('Yearly', 'multisite-ultimate'), + 'label' => __('Yearly', 'ultimate-multisite'), ], ], ]; @@ -369,7 +369,7 @@ public function pricing_table($atts, $content) { $fields[] = [ 'step' => 'checkout', - 'name' => __('Plans', 'multisite-ultimate'), + 'name' => __('Plans', 'ultimate-multisite'), 'type' => 'pricing_table', 'id' => 'pricing_table', 'required' => true, @@ -385,7 +385,7 @@ public function pricing_table($atts, $content) { if ('legacy' !== $layout) { $fields[] = [ 'step' => 'checkout', - 'name' => __('Get Started →', 'multisite-ultimate'), + 'name' => __('Get Started →', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', ]; @@ -394,7 +394,7 @@ public function pricing_table($atts, $content) { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => $fields, ], @@ -522,7 +522,7 @@ public function templates_list($atts, $content) { $fields[] = [ 'step' => 'checkout', - 'name' => __('Templates', 'multisite-ultimate'), + 'name' => __('Templates', 'ultimate-multisite'), 'type' => 'template_selection', 'id' => 'template_selection', 'template_selection_sites' => implode(',', $templates ?: wu_get_site_templates($search_arguments)), @@ -534,7 +534,7 @@ public function templates_list($atts, $content) { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => $fields, ], diff --git a/inc/compat/class-login-wp-compat.php b/inc/compat/class-login-wp-compat.php index ccb08773e..6568b2257 100644 --- a/inc/compat/class-login-wp-compat.php +++ b/inc/compat/class-login-wp-compat.php @@ -42,7 +42,7 @@ public function add_error_field(array $fields): array { $error_message_field = [ 'error_message' => [ 'type' => 'note', - 'desc' => __('Error: Incorrect username or password.', 'multisite-ultimate'), + 'desc' => __('Error: Incorrect username or password.', 'ultimate-multisite'), ], ]; diff --git a/inc/compat/class-multiple-accounts-compat.php b/inc/compat/class-multiple-accounts-compat.php index 6c06bb7eb..9a017bdfd 100644 --- a/inc/compat/class-multiple-accounts-compat.php +++ b/inc/compat/class-multiple-accounts-compat.php @@ -260,8 +260,8 @@ public function add_settings(): void { 'login-and-registration', 'multiple_accounts_header', [ - 'title' => __('Multiple Accounts', 'multisite-ultimate'), - 'desc' => __('Options related to the Multiple Accounts feature.', 'multisite-ultimate'), + 'title' => __('Multiple Accounts', 'ultimate-multisite'), + 'desc' => __('Options related to the Multiple Accounts feature.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -270,8 +270,8 @@ public function add_settings(): void { 'login-and-registration', 'enable_multiple_accounts', [ - 'title' => __('Enable Multiple Accounts', 'multisite-ultimate'), - 'desc' => __('Allow users to have accounts in different sites with the same email address. This is useful when running stores with WooCommerce and other plugins, for example.', 'multisite-ultimate') . ' ' . sprintf('%s', wu_get_documentation_url('multiple-accounts'), __('Read More', 'multisite-ultimate')), + 'title' => __('Enable Multiple Accounts', 'ultimate-multisite'), + 'desc' => __('Allow users to have accounts in different sites with the same email address. This is useful when running stores with WooCommerce and other plugins, for example.', 'ultimate-multisite') . ' ' . sprintf('%s', wu_get_documentation_url('multiple-accounts'), __('Read More', 'ultimate-multisite')), 'type' => 'toggle', 'default' => 0, ] @@ -288,7 +288,7 @@ public function add_settings(): void { */ public function add_multiple_account_column($columns) { - $columns['multiple_accounts'] = __('Multiple Accounts', 'multisite-ultimate'); + $columns['multiple_accounts'] = __('Multiple Accounts', 'ultimate-multisite'); return $columns; } @@ -320,8 +320,8 @@ public function add_column_content($null, $column, $user_id): void { ); // translators: the %d is the account count for that email address. - printf(esc_html__('%s accounts using this email.', 'multisite-ultimate'), '' . esc_html($users->total_users) . ''); - printf("
" . esc_html__('See all', 'multisite-ultimate') . ' »', esc_attr(network_admin_url('users.php?s=' . $user->user_email))); + printf(esc_html__('%s accounts using this email.', 'ultimate-multisite'), '' . esc_html($users->total_users) . ''); + printf("
" . esc_html__('See all', 'ultimate-multisite') . ' »', esc_attr(network_admin_url('users.php?s=' . $user->user_email))); } } diff --git a/inc/country/class-country-br.php b/inc/country/class-country-br.php index cb0de7a2c..ef4a695d2 100644 --- a/inc/country/class-country-br.php +++ b/inc/country/class-country-br.php @@ -90,7 +90,7 @@ class Country_BR extends Country { */ public function get_name() { - return __('Brazil', 'multisite-ultimate'); + return __('Brazil', 'ultimate-multisite'); } /** @@ -102,33 +102,33 @@ public function get_name() { protected function states() { return [ - 'AC' => __('Acre', 'multisite-ultimate'), - 'AL' => __('Alagoas', 'multisite-ultimate'), - 'AP' => __('Amapá', 'multisite-ultimate'), - 'AM' => __('Amazonas', 'multisite-ultimate'), - 'BA' => __('Bahia', 'multisite-ultimate'), - 'CE' => __('Ceará', 'multisite-ultimate'), - 'DF' => __('Distrito Federal', 'multisite-ultimate'), - 'ES' => __('Espírito Santo', 'multisite-ultimate'), - 'GO' => __('Goiás', 'multisite-ultimate'), - 'MA' => __('Maranhão', 'multisite-ultimate'), - 'MT' => __('Mato Grosso', 'multisite-ultimate'), - 'MS' => __('Mato Grosso do Sul', 'multisite-ultimate'), - 'MG' => __('Minas Gerais', 'multisite-ultimate'), - 'PR' => __('Paraná', 'multisite-ultimate'), - 'PB' => __('Paraíba', 'multisite-ultimate'), - 'PA' => __('Pará', 'multisite-ultimate'), - 'PE' => __('Pernambuco', 'multisite-ultimate'), - 'PI' => __('Piauí', 'multisite-ultimate'), - 'RN' => __('Rio Grande do Norte', 'multisite-ultimate'), - 'RS' => __('Rio Grande do Sul', 'multisite-ultimate'), - 'RJ' => __('Rio de Janeiro', 'multisite-ultimate'), - 'RO' => __('Rondônia', 'multisite-ultimate'), - 'RR' => __('Roraima', 'multisite-ultimate'), - 'SC' => __('Santa Catarina', 'multisite-ultimate'), - 'SE' => __('Sergipe', 'multisite-ultimate'), - 'SP' => __('São Paulo', 'multisite-ultimate'), - 'TO' => __('Tocantins', 'multisite-ultimate'), + 'AC' => __('Acre', 'ultimate-multisite'), + 'AL' => __('Alagoas', 'ultimate-multisite'), + 'AP' => __('Amapá', 'ultimate-multisite'), + 'AM' => __('Amazonas', 'ultimate-multisite'), + 'BA' => __('Bahia', 'ultimate-multisite'), + 'CE' => __('Ceará', 'ultimate-multisite'), + 'DF' => __('Distrito Federal', 'ultimate-multisite'), + 'ES' => __('Espírito Santo', 'ultimate-multisite'), + 'GO' => __('Goiás', 'ultimate-multisite'), + 'MA' => __('Maranhão', 'ultimate-multisite'), + 'MT' => __('Mato Grosso', 'ultimate-multisite'), + 'MS' => __('Mato Grosso do Sul', 'ultimate-multisite'), + 'MG' => __('Minas Gerais', 'ultimate-multisite'), + 'PR' => __('Paraná', 'ultimate-multisite'), + 'PB' => __('Paraíba', 'ultimate-multisite'), + 'PA' => __('Pará', 'ultimate-multisite'), + 'PE' => __('Pernambuco', 'ultimate-multisite'), + 'PI' => __('Piauí', 'ultimate-multisite'), + 'RN' => __('Rio Grande do Norte', 'ultimate-multisite'), + 'RS' => __('Rio Grande do Sul', 'ultimate-multisite'), + 'RJ' => __('Rio de Janeiro', 'ultimate-multisite'), + 'RO' => __('Rondônia', 'ultimate-multisite'), + 'RR' => __('Roraima', 'ultimate-multisite'), + 'SC' => __('Santa Catarina', 'ultimate-multisite'), + 'SE' => __('Sergipe', 'ultimate-multisite'), + 'SP' => __('São Paulo', 'ultimate-multisite'), + 'TO' => __('Tocantins', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-ca.php b/inc/country/class-country-ca.php index 73b857d44..7af703801 100644 --- a/inc/country/class-country-ca.php +++ b/inc/country/class-country-ca.php @@ -76,7 +76,7 @@ class Country_CA extends Country { */ public function get_name() { - return __('Canada', 'multisite-ultimate'); + return __('Canada', 'ultimate-multisite'); } /** @@ -88,19 +88,19 @@ public function get_name() { protected function states() { return [ - 'AB' => __('Alberta', 'multisite-ultimate'), - 'BC' => __('British Columbia', 'multisite-ultimate'), - 'MB' => __('Manitoba', 'multisite-ultimate'), - 'NB' => __('New Brunswick', 'multisite-ultimate'), - 'NL' => __('Newfoundland and Labrador', 'multisite-ultimate'), - 'NT' => __('Northwest Territories', 'multisite-ultimate'), - 'NS' => __('Nova Scotia', 'multisite-ultimate'), - 'NU' => __('Nunavut', 'multisite-ultimate'), - 'ON' => __('Ontario', 'multisite-ultimate'), - 'PE' => __('Prince Edward Island', 'multisite-ultimate'), - 'QC' => __('Quebec', 'multisite-ultimate'), - 'SK' => __('Saskatchewan', 'multisite-ultimate'), - 'YT' => __('Yukon', 'multisite-ultimate'), + 'AB' => __('Alberta', 'ultimate-multisite'), + 'BC' => __('British Columbia', 'ultimate-multisite'), + 'MB' => __('Manitoba', 'ultimate-multisite'), + 'NB' => __('New Brunswick', 'ultimate-multisite'), + 'NL' => __('Newfoundland and Labrador', 'ultimate-multisite'), + 'NT' => __('Northwest Territories', 'ultimate-multisite'), + 'NS' => __('Nova Scotia', 'ultimate-multisite'), + 'NU' => __('Nunavut', 'ultimate-multisite'), + 'ON' => __('Ontario', 'ultimate-multisite'), + 'PE' => __('Prince Edward Island', 'ultimate-multisite'), + 'QC' => __('Quebec', 'ultimate-multisite'), + 'SK' => __('Saskatchewan', 'ultimate-multisite'), + 'YT' => __('Yukon', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-cn.php b/inc/country/class-country-cn.php index 815f9390a..94571c2b8 100644 --- a/inc/country/class-country-cn.php +++ b/inc/country/class-country-cn.php @@ -95,7 +95,7 @@ class Country_CN extends Country { */ public function get_name() { - return __('China', 'multisite-ultimate'); + return __('China', 'ultimate-multisite'); } /** @@ -107,40 +107,40 @@ public function get_name() { protected function states() { return [ - 'AH' => __('Anhui', 'multisite-ultimate'), - 'BJ' => __('Beijing', 'multisite-ultimate'), - 'CQ' => __('Chongqing', 'multisite-ultimate'), - 'FJ' => __('Fujian', 'multisite-ultimate'), - 'GS' => __('Gansu', 'multisite-ultimate'), - 'GD' => __('Guangdong', 'multisite-ultimate'), - 'GX' => __('Guangxi Zhuang', 'multisite-ultimate'), - 'GZ' => __('Guizhou', 'multisite-ultimate'), - 'HI' => __('Hainan', 'multisite-ultimate'), - 'HE' => __('Hebei', 'multisite-ultimate'), - 'HL' => __('Heilongjiang', 'multisite-ultimate'), - 'HA' => __('Henan', 'multisite-ultimate'), - 'HK' => __('Hong Kong SAR', 'multisite-ultimate'), - 'HB' => __('Hubei', 'multisite-ultimate'), - 'HN' => __('Hunan', 'multisite-ultimate'), - 'NM' => __('Inner Mongolia', 'multisite-ultimate'), - 'JS' => __('Jiangsu', 'multisite-ultimate'), - 'JX' => __('Jiangxi', 'multisite-ultimate'), - 'JL' => __('Jilin', 'multisite-ultimate'), - 'LN' => __('Liaoning', 'multisite-ultimate'), - 'MO' => __('Macau SAR', 'multisite-ultimate'), - 'NX' => __('Ningxia Huizu', 'multisite-ultimate'), - 'QH' => __('Qinghai', 'multisite-ultimate'), - 'SN' => __('Shaanxi', 'multisite-ultimate'), - 'SD' => __('Shandong', 'multisite-ultimate'), - 'SH' => __('Shanghai', 'multisite-ultimate'), - 'SX' => __('Shanxi', 'multisite-ultimate'), - 'SC' => __('Sichuan', 'multisite-ultimate'), - 'TW' => __('Taiwan', 'multisite-ultimate'), - 'TJ' => __('Tianjin', 'multisite-ultimate'), - 'XJ' => __('Xinjiang', 'multisite-ultimate'), - 'XZ' => __('Xizang', 'multisite-ultimate'), - 'YN' => __('Yunnan', 'multisite-ultimate'), - 'ZJ' => __('Zhejiang', 'multisite-ultimate'), + 'AH' => __('Anhui', 'ultimate-multisite'), + 'BJ' => __('Beijing', 'ultimate-multisite'), + 'CQ' => __('Chongqing', 'ultimate-multisite'), + 'FJ' => __('Fujian', 'ultimate-multisite'), + 'GS' => __('Gansu', 'ultimate-multisite'), + 'GD' => __('Guangdong', 'ultimate-multisite'), + 'GX' => __('Guangxi Zhuang', 'ultimate-multisite'), + 'GZ' => __('Guizhou', 'ultimate-multisite'), + 'HI' => __('Hainan', 'ultimate-multisite'), + 'HE' => __('Hebei', 'ultimate-multisite'), + 'HL' => __('Heilongjiang', 'ultimate-multisite'), + 'HA' => __('Henan', 'ultimate-multisite'), + 'HK' => __('Hong Kong SAR', 'ultimate-multisite'), + 'HB' => __('Hubei', 'ultimate-multisite'), + 'HN' => __('Hunan', 'ultimate-multisite'), + 'NM' => __('Inner Mongolia', 'ultimate-multisite'), + 'JS' => __('Jiangsu', 'ultimate-multisite'), + 'JX' => __('Jiangxi', 'ultimate-multisite'), + 'JL' => __('Jilin', 'ultimate-multisite'), + 'LN' => __('Liaoning', 'ultimate-multisite'), + 'MO' => __('Macau SAR', 'ultimate-multisite'), + 'NX' => __('Ningxia Huizu', 'ultimate-multisite'), + 'QH' => __('Qinghai', 'ultimate-multisite'), + 'SN' => __('Shaanxi', 'ultimate-multisite'), + 'SD' => __('Shandong', 'ultimate-multisite'), + 'SH' => __('Shanghai', 'ultimate-multisite'), + 'SX' => __('Shanxi', 'ultimate-multisite'), + 'SC' => __('Sichuan', 'ultimate-multisite'), + 'TW' => __('Taiwan', 'ultimate-multisite'), + 'TJ' => __('Tianjin', 'ultimate-multisite'), + 'XJ' => __('Xinjiang', 'ultimate-multisite'), + 'XZ' => __('Xizang', 'ultimate-multisite'), + 'YN' => __('Yunnan', 'ultimate-multisite'), + 'ZJ' => __('Zhejiang', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-de.php b/inc/country/class-country-de.php index 7f1c6a49a..3e6d6143d 100644 --- a/inc/country/class-country-de.php +++ b/inc/country/class-country-de.php @@ -79,7 +79,7 @@ class Country_DE extends Country { */ public function get_name() { - return __('Germany', 'multisite-ultimate'); + return __('Germany', 'ultimate-multisite'); } /** @@ -91,22 +91,22 @@ public function get_name() { protected function states() { return [ - 'BW' => __('Baden-Württemberg', 'multisite-ultimate'), - 'BY' => __('Bavaria', 'multisite-ultimate'), - 'BE' => __('Berlin', 'multisite-ultimate'), - 'BB' => __('Brandenburg', 'multisite-ultimate'), - 'HB' => __('Bremen', 'multisite-ultimate'), - 'HH' => __('Hamburg', 'multisite-ultimate'), - 'HE' => __('Hesse', 'multisite-ultimate'), - 'NI' => __('Lower Saxony', 'multisite-ultimate'), - 'MV' => __('Mecklenburg-Vorpommern', 'multisite-ultimate'), - 'NW' => __('North Rhine-Westphalia', 'multisite-ultimate'), - 'RP' => __('Rhineland-Palatinate', 'multisite-ultimate'), - 'SL' => __('Saarland', 'multisite-ultimate'), - 'SN' => __('Saxony', 'multisite-ultimate'), - 'ST' => __('Saxony-Anhalt', 'multisite-ultimate'), - 'SH' => __('Schleswig-Holstein', 'multisite-ultimate'), - 'TH' => __('Thuringia', 'multisite-ultimate'), + 'BW' => __('Baden-Württemberg', 'ultimate-multisite'), + 'BY' => __('Bavaria', 'ultimate-multisite'), + 'BE' => __('Berlin', 'ultimate-multisite'), + 'BB' => __('Brandenburg', 'ultimate-multisite'), + 'HB' => __('Bremen', 'ultimate-multisite'), + 'HH' => __('Hamburg', 'ultimate-multisite'), + 'HE' => __('Hesse', 'ultimate-multisite'), + 'NI' => __('Lower Saxony', 'ultimate-multisite'), + 'MV' => __('Mecklenburg-Vorpommern', 'ultimate-multisite'), + 'NW' => __('North Rhine-Westphalia', 'ultimate-multisite'), + 'RP' => __('Rhineland-Palatinate', 'ultimate-multisite'), + 'SL' => __('Saarland', 'ultimate-multisite'), + 'SN' => __('Saxony', 'ultimate-multisite'), + 'ST' => __('Saxony-Anhalt', 'ultimate-multisite'), + 'SH' => __('Schleswig-Holstein', 'ultimate-multisite'), + 'TH' => __('Thuringia', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-es.php b/inc/country/class-country-es.php index 0a6585dde..8167bc86e 100644 --- a/inc/country/class-country-es.php +++ b/inc/country/class-country-es.php @@ -81,7 +81,7 @@ class Country_ES extends Country { */ public function get_name() { - return __('Spain', 'multisite-ultimate'); + return __('Spain', 'ultimate-multisite'); } /** @@ -93,34 +93,34 @@ public function get_name() { protected function states() { return [ - 'AN' => __('Andalusia', 'multisite-ultimate'), - 'AR' => __('Aragon', 'multisite-ultimate'), - 'AS' => __('Asturias', 'multisite-ultimate'), - 'PM' => __('Balearic Islands', 'multisite-ultimate'), - 'PV' => __('Basque Country', 'multisite-ultimate'), - 'BU' => __('Burgos Province', 'multisite-ultimate'), - 'CN' => __('Canary Islands', 'multisite-ultimate'), - 'CB' => __('Cantabria', 'multisite-ultimate'), - 'CL' => __('Castile and León', 'multisite-ultimate'), - 'CM' => __('Castilla La Mancha', 'multisite-ultimate'), - 'CT' => __('Catalonia', 'multisite-ultimate'), - 'CE' => __('Ceuta', 'multisite-ultimate'), - 'EX' => __('Extremadura', 'multisite-ultimate'), - 'GA' => __('Galicia', 'multisite-ultimate'), - 'RI' => __('La Rioja', 'multisite-ultimate'), - 'LE' => __('Léon', 'multisite-ultimate'), - 'MD' => __('Madrid', 'multisite-ultimate'), - 'ML' => __('Melilla', 'multisite-ultimate'), - 'MC' => __('Murcia', 'multisite-ultimate'), - 'NC' => __('Navarra', 'multisite-ultimate'), - 'P' => __('Palencia Province', 'multisite-ultimate'), - 'SA' => __('Salamanca Province', 'multisite-ultimate'), - 'SG' => __('Segovia Province', 'multisite-ultimate'), - 'SO' => __('Soria Province', 'multisite-ultimate'), - 'VC' => __('Valencia', 'multisite-ultimate'), - 'VA' => __('Valladolid Province', 'multisite-ultimate'), - 'ZA' => __('Zamora Province', 'multisite-ultimate'), - 'AV' => __('Ávila', 'multisite-ultimate'), + 'AN' => __('Andalusia', 'ultimate-multisite'), + 'AR' => __('Aragon', 'ultimate-multisite'), + 'AS' => __('Asturias', 'ultimate-multisite'), + 'PM' => __('Balearic Islands', 'ultimate-multisite'), + 'PV' => __('Basque Country', 'ultimate-multisite'), + 'BU' => __('Burgos Province', 'ultimate-multisite'), + 'CN' => __('Canary Islands', 'ultimate-multisite'), + 'CB' => __('Cantabria', 'ultimate-multisite'), + 'CL' => __('Castile and León', 'ultimate-multisite'), + 'CM' => __('Castilla La Mancha', 'ultimate-multisite'), + 'CT' => __('Catalonia', 'ultimate-multisite'), + 'CE' => __('Ceuta', 'ultimate-multisite'), + 'EX' => __('Extremadura', 'ultimate-multisite'), + 'GA' => __('Galicia', 'ultimate-multisite'), + 'RI' => __('La Rioja', 'ultimate-multisite'), + 'LE' => __('Léon', 'ultimate-multisite'), + 'MD' => __('Madrid', 'ultimate-multisite'), + 'ML' => __('Melilla', 'ultimate-multisite'), + 'MC' => __('Murcia', 'ultimate-multisite'), + 'NC' => __('Navarra', 'ultimate-multisite'), + 'P' => __('Palencia Province', 'ultimate-multisite'), + 'SA' => __('Salamanca Province', 'ultimate-multisite'), + 'SG' => __('Segovia Province', 'ultimate-multisite'), + 'SO' => __('Soria Province', 'ultimate-multisite'), + 'VC' => __('Valencia', 'ultimate-multisite'), + 'VA' => __('Valladolid Province', 'ultimate-multisite'), + 'ZA' => __('Zamora Province', 'ultimate-multisite'), + 'AV' => __('Ávila', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-fr.php b/inc/country/class-country-fr.php index 85078a49b..012c511b8 100644 --- a/inc/country/class-country-fr.php +++ b/inc/country/class-country-fr.php @@ -76,7 +76,7 @@ class Country_FR extends Country { */ public function get_name() { - return __('France', 'multisite-ultimate'); + return __('France', 'ultimate-multisite'); } /** @@ -88,129 +88,129 @@ public function get_name() { protected function states() { return [ - '10' => __('Aube', 'multisite-ultimate'), - '11' => __('Aude', 'multisite-ultimate'), - '12' => __('Aveyron', 'multisite-ultimate'), - '13' => __('Bouches-du-Rhône', 'multisite-ultimate'), - '14' => __('Calvados', 'multisite-ultimate'), - '15' => __('Cantal', 'multisite-ultimate'), - '16' => __('Charente', 'multisite-ultimate'), - '17' => __('Charente-Maritime', 'multisite-ultimate'), - '18' => __('Cher', 'multisite-ultimate'), - '19' => __('Corrèze', 'multisite-ultimate'), - '21' => __("Côte-d'Or", 'multisite-ultimate'), - '22' => __("Côtes-d'Armor", 'multisite-ultimate'), - '23' => __('Creuse', 'multisite-ultimate'), - '24' => __('Dordogne', 'multisite-ultimate'), - '25' => __('Doubs', 'multisite-ultimate'), - '26' => __('Drôme', 'multisite-ultimate'), - '27' => __('Eure', 'multisite-ultimate'), - '28' => __('Eure-et-Loir', 'multisite-ultimate'), - '29' => __('Finistère', 'multisite-ultimate'), - '30' => __('Gard', 'multisite-ultimate'), - '31' => __('Haute-Garonne', 'multisite-ultimate'), - '32' => __('Gers', 'multisite-ultimate'), - '33' => __('Gironde', 'multisite-ultimate'), - '34' => __('Hérault', 'multisite-ultimate'), - '35' => __('Ille-et-Vilaine', 'multisite-ultimate'), - '36' => __('Indre', 'multisite-ultimate'), - '37' => __('Indre-et-Loire', 'multisite-ultimate'), - '38' => __('Isère', 'multisite-ultimate'), - '39' => __('Jura', 'multisite-ultimate'), - '40' => __('Landes', 'multisite-ultimate'), - '41' => __('Loir-et-Cher', 'multisite-ultimate'), - '42' => __('Loire', 'multisite-ultimate'), - '43' => __('Haute-Loire', 'multisite-ultimate'), - '44' => __('Loire-Atlantique', 'multisite-ultimate'), - '45' => __('Loiret', 'multisite-ultimate'), - '46' => __('Lot', 'multisite-ultimate'), - '47' => __('Lot-et-Garonne', 'multisite-ultimate'), - '48' => __('Lozère', 'multisite-ultimate'), - '49' => __('Maine-et-Loire', 'multisite-ultimate'), - '50' => __('Manche', 'multisite-ultimate'), - '51' => __('Marne', 'multisite-ultimate'), - '52' => __('Haute-Marne', 'multisite-ultimate'), - '53' => __('Mayenne', 'multisite-ultimate'), - '54' => __('Meurthe-et-Moselle', 'multisite-ultimate'), - '55' => __('Meuse', 'multisite-ultimate'), - '56' => __('Morbihan', 'multisite-ultimate'), - '57' => __('Moselle', 'multisite-ultimate'), - '58' => __('Nièvre', 'multisite-ultimate'), - '59' => __('Nord', 'multisite-ultimate'), - '60' => __('Oise', 'multisite-ultimate'), - '61' => __('Orne', 'multisite-ultimate'), - '62' => __('Pas-de-Calais', 'multisite-ultimate'), - '63' => __('Puy-de-Dôme', 'multisite-ultimate'), - '64' => __('Pyrénées-Atlantiques', 'multisite-ultimate'), - '65' => __('Hautes-Pyrénées', 'multisite-ultimate'), - '66' => __('Pyrénées-Orientales', 'multisite-ultimate'), - '67' => __('Bas-Rhin', 'multisite-ultimate'), - '68' => __('Haut-Rhin', 'multisite-ultimate'), - '69' => __('Rhône', 'multisite-ultimate'), - '70' => __('Haute-Saône', 'multisite-ultimate'), - '71' => __('Saône-et-Loire', 'multisite-ultimate'), - '72' => __('Sarthe', 'multisite-ultimate'), - '73' => __('Savoie', 'multisite-ultimate'), - '74' => __('Haute-Savoie', 'multisite-ultimate'), - '76' => __('Seine-Maritime', 'multisite-ultimate'), - '77' => __('Seine-et-Marne', 'multisite-ultimate'), - '78' => __('Yvelines', 'multisite-ultimate'), - '79' => __('Deux-Sèvres', 'multisite-ultimate'), - '80' => __('Somme', 'multisite-ultimate'), - '81' => __('Tarn', 'multisite-ultimate'), - '82' => __('Tarn-et-Garonne', 'multisite-ultimate'), - '83' => __('Var', 'multisite-ultimate'), - '84' => __('Vaucluse', 'multisite-ultimate'), - '85' => __('Vendée', 'multisite-ultimate'), - '86' => __('Vienne', 'multisite-ultimate'), - '87' => __('Haute-Vienne', 'multisite-ultimate'), - '88' => __('Vosges', 'multisite-ultimate'), - '89' => __('Yonne', 'multisite-ultimate'), - '90' => __('Territoire de Belfort', 'multisite-ultimate'), - '91' => __('Essonne', 'multisite-ultimate'), - '92' => __('Hauts-de-Seine', 'multisite-ultimate'), - '93' => __('Seine-Saint-Denis', 'multisite-ultimate'), - '94' => __('Val-de-Marne', 'multisite-ultimate'), - '95' => __("Val-d'Oise", 'multisite-ultimate'), - '971' => __('Guadeloupe', 'multisite-ultimate'), - '972' => __('Martinique', 'multisite-ultimate'), - '973' => __('French Guiana', 'multisite-ultimate'), - '974' => __('La Réunion', 'multisite-ultimate'), - '976' => __('Mayotte', 'multisite-ultimate'), - '01' => __('Ain', 'multisite-ultimate'), - '02' => __('Aisne', 'multisite-ultimate'), - '03' => __('Allier', 'multisite-ultimate'), - '06' => __('Alpes-Maritimes', 'multisite-ultimate'), - '04' => __('Alpes-de-Haute-Provence', 'multisite-ultimate'), - '6AE' => __('Alsace', 'multisite-ultimate'), - '08' => __('Ardennes', 'multisite-ultimate'), - '07' => __('Ardèche', 'multisite-ultimate'), - '09' => __('Ariège', 'multisite-ultimate'), - 'ARA' => __('Auvergne-Rhône-Alpes', 'multisite-ultimate'), - 'BFC' => __('Bourgogne-Franche-Comté', 'multisite-ultimate'), - 'BRE' => __('Bretagne', 'multisite-ultimate'), - 'CVL' => __('Centre-Val de Loire', 'multisite-ultimate'), - 'CP' => __('Clipperton', 'multisite-ultimate'), - '20R' => __('Corse', 'multisite-ultimate'), - '2A' => __('Corse-du-Sud', 'multisite-ultimate'), - 'PF' => __('French Polynesia', 'multisite-ultimate'), - 'TF' => __('French Southern and Antarctic Lands', 'multisite-ultimate'), - 'GES' => __('Grand-Est', 'multisite-ultimate'), - '2B' => __('Haute-Corse', 'multisite-ultimate'), - '05' => __('Hautes-Alpes', 'multisite-ultimate'), - 'HDF' => __('Hauts-de-France', 'multisite-ultimate'), - '69M' => __('Métropole de Lyon', 'multisite-ultimate'), - 'NOR' => __('Normandie', 'multisite-ultimate'), - 'NAQ' => __('Nouvelle-Aquitaine', 'multisite-ultimate'), - 'OCC' => __('Occitanie', 'multisite-ultimate'), - '75C' => __('Paris', 'multisite-ultimate'), - 'PDL' => __('Pays-de-la-Loire', 'multisite-ultimate'), - 'PAC' => __('Provence-Alpes-Côte-d’Azur', 'multisite-ultimate'), - 'PM' => __('Saint Pierre and Miquelon', 'multisite-ultimate'), - 'BL' => __('Saint-Barthélemy', 'multisite-ultimate'), - 'MF' => __('Saint-Martin', 'multisite-ultimate'), - 'WF' => __('Wallis and Futuna', 'multisite-ultimate'), - 'IDF' => __('Île-de-France', 'multisite-ultimate'), + '10' => __('Aube', 'ultimate-multisite'), + '11' => __('Aude', 'ultimate-multisite'), + '12' => __('Aveyron', 'ultimate-multisite'), + '13' => __('Bouches-du-Rhône', 'ultimate-multisite'), + '14' => __('Calvados', 'ultimate-multisite'), + '15' => __('Cantal', 'ultimate-multisite'), + '16' => __('Charente', 'ultimate-multisite'), + '17' => __('Charente-Maritime', 'ultimate-multisite'), + '18' => __('Cher', 'ultimate-multisite'), + '19' => __('Corrèze', 'ultimate-multisite'), + '21' => __("Côte-d'Or", 'ultimate-multisite'), + '22' => __("Côtes-d'Armor", 'ultimate-multisite'), + '23' => __('Creuse', 'ultimate-multisite'), + '24' => __('Dordogne', 'ultimate-multisite'), + '25' => __('Doubs', 'ultimate-multisite'), + '26' => __('Drôme', 'ultimate-multisite'), + '27' => __('Eure', 'ultimate-multisite'), + '28' => __('Eure-et-Loir', 'ultimate-multisite'), + '29' => __('Finistère', 'ultimate-multisite'), + '30' => __('Gard', 'ultimate-multisite'), + '31' => __('Haute-Garonne', 'ultimate-multisite'), + '32' => __('Gers', 'ultimate-multisite'), + '33' => __('Gironde', 'ultimate-multisite'), + '34' => __('Hérault', 'ultimate-multisite'), + '35' => __('Ille-et-Vilaine', 'ultimate-multisite'), + '36' => __('Indre', 'ultimate-multisite'), + '37' => __('Indre-et-Loire', 'ultimate-multisite'), + '38' => __('Isère', 'ultimate-multisite'), + '39' => __('Jura', 'ultimate-multisite'), + '40' => __('Landes', 'ultimate-multisite'), + '41' => __('Loir-et-Cher', 'ultimate-multisite'), + '42' => __('Loire', 'ultimate-multisite'), + '43' => __('Haute-Loire', 'ultimate-multisite'), + '44' => __('Loire-Atlantique', 'ultimate-multisite'), + '45' => __('Loiret', 'ultimate-multisite'), + '46' => __('Lot', 'ultimate-multisite'), + '47' => __('Lot-et-Garonne', 'ultimate-multisite'), + '48' => __('Lozère', 'ultimate-multisite'), + '49' => __('Maine-et-Loire', 'ultimate-multisite'), + '50' => __('Manche', 'ultimate-multisite'), + '51' => __('Marne', 'ultimate-multisite'), + '52' => __('Haute-Marne', 'ultimate-multisite'), + '53' => __('Mayenne', 'ultimate-multisite'), + '54' => __('Meurthe-et-Moselle', 'ultimate-multisite'), + '55' => __('Meuse', 'ultimate-multisite'), + '56' => __('Morbihan', 'ultimate-multisite'), + '57' => __('Moselle', 'ultimate-multisite'), + '58' => __('Nièvre', 'ultimate-multisite'), + '59' => __('Nord', 'ultimate-multisite'), + '60' => __('Oise', 'ultimate-multisite'), + '61' => __('Orne', 'ultimate-multisite'), + '62' => __('Pas-de-Calais', 'ultimate-multisite'), + '63' => __('Puy-de-Dôme', 'ultimate-multisite'), + '64' => __('Pyrénées-Atlantiques', 'ultimate-multisite'), + '65' => __('Hautes-Pyrénées', 'ultimate-multisite'), + '66' => __('Pyrénées-Orientales', 'ultimate-multisite'), + '67' => __('Bas-Rhin', 'ultimate-multisite'), + '68' => __('Haut-Rhin', 'ultimate-multisite'), + '69' => __('Rhône', 'ultimate-multisite'), + '70' => __('Haute-Saône', 'ultimate-multisite'), + '71' => __('Saône-et-Loire', 'ultimate-multisite'), + '72' => __('Sarthe', 'ultimate-multisite'), + '73' => __('Savoie', 'ultimate-multisite'), + '74' => __('Haute-Savoie', 'ultimate-multisite'), + '76' => __('Seine-Maritime', 'ultimate-multisite'), + '77' => __('Seine-et-Marne', 'ultimate-multisite'), + '78' => __('Yvelines', 'ultimate-multisite'), + '79' => __('Deux-Sèvres', 'ultimate-multisite'), + '80' => __('Somme', 'ultimate-multisite'), + '81' => __('Tarn', 'ultimate-multisite'), + '82' => __('Tarn-et-Garonne', 'ultimate-multisite'), + '83' => __('Var', 'ultimate-multisite'), + '84' => __('Vaucluse', 'ultimate-multisite'), + '85' => __('Vendée', 'ultimate-multisite'), + '86' => __('Vienne', 'ultimate-multisite'), + '87' => __('Haute-Vienne', 'ultimate-multisite'), + '88' => __('Vosges', 'ultimate-multisite'), + '89' => __('Yonne', 'ultimate-multisite'), + '90' => __('Territoire de Belfort', 'ultimate-multisite'), + '91' => __('Essonne', 'ultimate-multisite'), + '92' => __('Hauts-de-Seine', 'ultimate-multisite'), + '93' => __('Seine-Saint-Denis', 'ultimate-multisite'), + '94' => __('Val-de-Marne', 'ultimate-multisite'), + '95' => __("Val-d'Oise", 'ultimate-multisite'), + '971' => __('Guadeloupe', 'ultimate-multisite'), + '972' => __('Martinique', 'ultimate-multisite'), + '973' => __('French Guiana', 'ultimate-multisite'), + '974' => __('La Réunion', 'ultimate-multisite'), + '976' => __('Mayotte', 'ultimate-multisite'), + '01' => __('Ain', 'ultimate-multisite'), + '02' => __('Aisne', 'ultimate-multisite'), + '03' => __('Allier', 'ultimate-multisite'), + '06' => __('Alpes-Maritimes', 'ultimate-multisite'), + '04' => __('Alpes-de-Haute-Provence', 'ultimate-multisite'), + '6AE' => __('Alsace', 'ultimate-multisite'), + '08' => __('Ardennes', 'ultimate-multisite'), + '07' => __('Ardèche', 'ultimate-multisite'), + '09' => __('Ariège', 'ultimate-multisite'), + 'ARA' => __('Auvergne-Rhône-Alpes', 'ultimate-multisite'), + 'BFC' => __('Bourgogne-Franche-Comté', 'ultimate-multisite'), + 'BRE' => __('Bretagne', 'ultimate-multisite'), + 'CVL' => __('Centre-Val de Loire', 'ultimate-multisite'), + 'CP' => __('Clipperton', 'ultimate-multisite'), + '20R' => __('Corse', 'ultimate-multisite'), + '2A' => __('Corse-du-Sud', 'ultimate-multisite'), + 'PF' => __('French Polynesia', 'ultimate-multisite'), + 'TF' => __('French Southern and Antarctic Lands', 'ultimate-multisite'), + 'GES' => __('Grand-Est', 'ultimate-multisite'), + '2B' => __('Haute-Corse', 'ultimate-multisite'), + '05' => __('Hautes-Alpes', 'ultimate-multisite'), + 'HDF' => __('Hauts-de-France', 'ultimate-multisite'), + '69M' => __('Métropole de Lyon', 'ultimate-multisite'), + 'NOR' => __('Normandie', 'ultimate-multisite'), + 'NAQ' => __('Nouvelle-Aquitaine', 'ultimate-multisite'), + 'OCC' => __('Occitanie', 'ultimate-multisite'), + '75C' => __('Paris', 'ultimate-multisite'), + 'PDL' => __('Pays-de-la-Loire', 'ultimate-multisite'), + 'PAC' => __('Provence-Alpes-Côte-d’Azur', 'ultimate-multisite'), + 'PM' => __('Saint Pierre and Miquelon', 'ultimate-multisite'), + 'BL' => __('Saint-Barthélemy', 'ultimate-multisite'), + 'MF' => __('Saint-Martin', 'ultimate-multisite'), + 'WF' => __('Wallis and Futuna', 'ultimate-multisite'), + 'IDF' => __('Île-de-France', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-gb.php b/inc/country/class-country-gb.php index a611f878a..719dc39e4 100644 --- a/inc/country/class-country-gb.php +++ b/inc/country/class-country-gb.php @@ -67,7 +67,7 @@ class Country_GB extends Country { */ public function get_name() { - return __('United Kingdom', 'multisite-ultimate'); + return __('United Kingdom', 'ultimate-multisite'); } /** @@ -79,253 +79,253 @@ public function get_name() { protected function states() { return [ - 'ABE' => __('Aberdeen', 'multisite-ultimate'), - 'ABD' => __('Aberdeenshire', 'multisite-ultimate'), - 'ANS' => __('Angus', 'multisite-ultimate'), - 'ANT' => __('Antrim', 'multisite-ultimate'), - 'ANN' => __('Antrim and Newtownabbey', 'multisite-ultimate'), - 'ARD' => __('Ards', 'multisite-ultimate'), - 'AND' => __('Ards and North Down', 'multisite-ultimate'), - 'AGB' => __('Argyll and Bute', 'multisite-ultimate'), - 'ARM' => __('Armagh City and District Council', 'multisite-ultimate'), - 'ABC' => __('Armagh, Banbridge and Craigavon', 'multisite-ultimate'), - 'SH-AC' => __('Ascension Island', 'multisite-ultimate'), - 'BLA' => __('Ballymena Borough', 'multisite-ultimate'), - 'BLY' => __('Ballymoney', 'multisite-ultimate'), - 'BNB' => __('Banbridge', 'multisite-ultimate'), - 'BNS' => __('Barnsley', 'multisite-ultimate'), - 'BAS' => __('Bath and North East Somerset', 'multisite-ultimate'), - 'BDF' => __('Bedford', 'multisite-ultimate'), - 'BFS' => __('Belfast district', 'multisite-ultimate'), - 'BIR' => __('Birmingham', 'multisite-ultimate'), - 'BBD' => __('Blackburn with Darwen', 'multisite-ultimate'), - 'BPL' => __('Blackpool', 'multisite-ultimate'), - 'BGW' => __('Blaenau Gwent County Borough', 'multisite-ultimate'), - 'BOL' => __('Bolton', 'multisite-ultimate'), - 'BMH' => __('Bournemouth', 'multisite-ultimate'), - 'BRC' => __('Bracknell Forest', 'multisite-ultimate'), - 'BRD' => __('Bradford', 'multisite-ultimate'), - 'BGE' => __('Bridgend County Borough', 'multisite-ultimate'), - 'BNH' => __('Brighton and Hove', 'multisite-ultimate'), - 'BKM' => __('Buckinghamshire', 'multisite-ultimate'), - 'BUR' => __('Bury', 'multisite-ultimate'), - 'CAY' => __('Caerphilly County Borough', 'multisite-ultimate'), - 'CLD' => __('Calderdale', 'multisite-ultimate'), - 'CAM' => __('Cambridgeshire', 'multisite-ultimate'), - 'CMN' => __('Carmarthenshire', 'multisite-ultimate'), - 'CKF' => __('Carrickfergus Borough Council', 'multisite-ultimate'), - 'CSR' => __('Castlereagh', 'multisite-ultimate'), - 'CCG' => __('Causeway Coast and Glens', 'multisite-ultimate'), - 'CBF' => __('Central Bedfordshire', 'multisite-ultimate'), - 'CGN' => __('Ceredigion', 'multisite-ultimate'), - 'CHE' => __('Cheshire East', 'multisite-ultimate'), - 'CHW' => __('Cheshire West and Chester', 'multisite-ultimate'), - 'CRF' => __('City and County of Cardiff', 'multisite-ultimate'), - 'SWA' => __('City and County of Swansea', 'multisite-ultimate'), - 'BST' => __('City of Bristol', 'multisite-ultimate'), - 'DER' => __('City of Derby', 'multisite-ultimate'), - 'KHL' => __('City of Kingston upon Hull', 'multisite-ultimate'), - 'LCE' => __('City of Leicester', 'multisite-ultimate'), - 'LND' => __('City of London', 'multisite-ultimate'), - 'NGM' => __('City of Nottingham', 'multisite-ultimate'), - 'PTE' => __('City of Peterborough', 'multisite-ultimate'), - 'PLY' => __('City of Plymouth', 'multisite-ultimate'), - 'POR' => __('City of Portsmouth', 'multisite-ultimate'), - 'STH' => __('City of Southampton', 'multisite-ultimate'), - 'STE' => __('City of Stoke-on-Trent', 'multisite-ultimate'), - 'SND' => __('City of Sunderland', 'multisite-ultimate'), - 'WSM' => __('City of Westminster', 'multisite-ultimate'), - 'WLV' => __('City of Wolverhampton', 'multisite-ultimate'), - 'YOR' => __('City of York', 'multisite-ultimate'), - 'CLK' => __('Clackmannanshire', 'multisite-ultimate'), - 'CLR' => __('Coleraine Borough Council', 'multisite-ultimate'), - 'CWY' => __('Conwy County Borough', 'multisite-ultimate'), - 'CKT' => __('Cookstown District Council', 'multisite-ultimate'), - 'CON' => __('Cornwall', 'multisite-ultimate'), - 'DUR' => __('County Durham', 'multisite-ultimate'), - 'COV' => __('Coventry', 'multisite-ultimate'), - 'CGV' => __('Craigavon Borough Council', 'multisite-ultimate'), - 'CMA' => __('Cumbria', 'multisite-ultimate'), - 'DAL' => __('Darlington', 'multisite-ultimate'), - 'DEN' => __('Denbighshire', 'multisite-ultimate'), - 'DBY' => __('Derbyshire', 'multisite-ultimate'), - 'DRY' => __('Derry City Council', 'multisite-ultimate'), - 'DRS' => __('Derry City and Strabane', 'multisite-ultimate'), - 'DEV' => __('Devon', 'multisite-ultimate'), - 'DNC' => __('Doncaster', 'multisite-ultimate'), - 'DOR' => __('Dorset', 'multisite-ultimate'), - 'DOW' => __('Down District Council', 'multisite-ultimate'), - 'DUD' => __('Dudley', 'multisite-ultimate'), - 'DGY' => __('Dumfries and Galloway', 'multisite-ultimate'), - 'DND' => __('Dundee', 'multisite-ultimate'), - 'DGN' => __('Dungannon and South Tyrone Borough Council', 'multisite-ultimate'), - 'EAY' => __('East Ayrshire', 'multisite-ultimate'), - 'EDU' => __('East Dunbartonshire', 'multisite-ultimate'), - 'ELN' => __('East Lothian', 'multisite-ultimate'), - 'ERW' => __('East Renfrewshire', 'multisite-ultimate'), - 'ERY' => __('East Riding of Yorkshire', 'multisite-ultimate'), - 'ESX' => __('East Sussex', 'multisite-ultimate'), - 'EDH' => __('Edinburgh', 'multisite-ultimate'), - 'ENG' => __('England', 'multisite-ultimate'), - 'ESS' => __('Essex', 'multisite-ultimate'), - 'FAL' => __('Falkirk', 'multisite-ultimate'), - 'FER' => __('Fermanagh District Council', 'multisite-ultimate'), - 'FMO' => __('Fermanagh and Omagh', 'multisite-ultimate'), - 'FIF' => __('Fife', 'multisite-ultimate'), - 'FLN' => __('Flintshire', 'multisite-ultimate'), - 'GAT' => __('Gateshead', 'multisite-ultimate'), - 'GLG' => __('Glasgow', 'multisite-ultimate'), - 'GLS' => __('Gloucestershire', 'multisite-ultimate'), - 'GWN' => __('Gwynedd', 'multisite-ultimate'), - 'HAL' => __('Halton', 'multisite-ultimate'), - 'HAM' => __('Hampshire', 'multisite-ultimate'), - 'HPL' => __('Hartlepool', 'multisite-ultimate'), - 'HEF' => __('Herefordshire', 'multisite-ultimate'), - 'HRT' => __('Hertfordshire', 'multisite-ultimate'), - 'HLD' => __('Highland', 'multisite-ultimate'), - 'IVC' => __('Inverclyde', 'multisite-ultimate'), - 'IOW' => __('Isle of Wight', 'multisite-ultimate'), - 'IOS' => __('Isles of Scilly', 'multisite-ultimate'), - 'KEN' => __('Kent', 'multisite-ultimate'), - 'KIR' => __('Kirklees', 'multisite-ultimate'), - 'KWL' => __('Knowsley', 'multisite-ultimate'), - 'LAN' => __('Lancashire', 'multisite-ultimate'), - 'LRN' => __('Larne Borough Council', 'multisite-ultimate'), - 'LDS' => __('Leeds', 'multisite-ultimate'), - 'LEC' => __('Leicestershire', 'multisite-ultimate'), - 'LMV' => __('Limavady Borough Council', 'multisite-ultimate'), - 'LIN' => __('Lincolnshire', 'multisite-ultimate'), - 'LSB' => __('Lisburn City Council', 'multisite-ultimate'), - 'LBC' => __('Lisburn and Castlereagh', 'multisite-ultimate'), - 'LIV' => __('Liverpool', 'multisite-ultimate'), - 'BDG' => __('London Borough of Barking and Dagenham', 'multisite-ultimate'), - 'BNE' => __('London Borough of Barnet', 'multisite-ultimate'), - 'BEX' => __('London Borough of Bexley', 'multisite-ultimate'), - 'BEN' => __('London Borough of Brent', 'multisite-ultimate'), - 'BRY' => __('London Borough of Bromley', 'multisite-ultimate'), - 'CMD' => __('London Borough of Camden', 'multisite-ultimate'), - 'CRY' => __('London Borough of Croydon', 'multisite-ultimate'), - 'EAL' => __('London Borough of Ealing', 'multisite-ultimate'), - 'ENF' => __('London Borough of Enfield', 'multisite-ultimate'), - 'HCK' => __('London Borough of Hackney', 'multisite-ultimate'), - 'HMF' => __('London Borough of Hammersmith and Fulham', 'multisite-ultimate'), - 'HRY' => __('London Borough of Haringey', 'multisite-ultimate'), - 'HRW' => __('London Borough of Harrow', 'multisite-ultimate'), - 'HAV' => __('London Borough of Havering', 'multisite-ultimate'), - 'HIL' => __('London Borough of Hillingdon', 'multisite-ultimate'), - 'HNS' => __('London Borough of Hounslow', 'multisite-ultimate'), - 'ISL' => __('London Borough of Islington', 'multisite-ultimate'), - 'LBH' => __('London Borough of Lambeth', 'multisite-ultimate'), - 'LEW' => __('London Borough of Lewisham', 'multisite-ultimate'), - 'MRT' => __('London Borough of Merton', 'multisite-ultimate'), - 'NWM' => __('London Borough of Newham', 'multisite-ultimate'), - 'RDB' => __('London Borough of Redbridge', 'multisite-ultimate'), - 'RIC' => __('London Borough of Richmond upon Thames', 'multisite-ultimate'), - 'SWK' => __('London Borough of Southwark', 'multisite-ultimate'), - 'STN' => __('London Borough of Sutton', 'multisite-ultimate'), - 'TWH' => __('London Borough of Tower Hamlets', 'multisite-ultimate'), - 'WFT' => __('London Borough of Waltham Forest', 'multisite-ultimate'), - 'WND' => __('London Borough of Wandsworth', 'multisite-ultimate'), - 'MFT' => __('Magherafelt District Council', 'multisite-ultimate'), - 'MAN' => __('Manchester', 'multisite-ultimate'), - 'MDW' => __('Medway', 'multisite-ultimate'), - 'MTY' => __('Merthyr Tydfil County Borough', 'multisite-ultimate'), - 'WGN' => __('Metropolitan Borough of Wigan', 'multisite-ultimate'), - 'MUL' => __('Mid Ulster', 'multisite-ultimate'), - 'MEA' => __('Mid and East Antrim', 'multisite-ultimate'), - 'MDB' => __('Middlesbrough', 'multisite-ultimate'), - 'MLN' => __('Midlothian', 'multisite-ultimate'), - 'MIK' => __('Milton Keynes', 'multisite-ultimate'), - 'MON' => __('Monmouthshire', 'multisite-ultimate'), - 'MRY' => __('Moray', 'multisite-ultimate'), - 'MYL' => __('Moyle District Council', 'multisite-ultimate'), - 'NTL' => __('Neath Port Talbot County Borough', 'multisite-ultimate'), - 'NET' => __('Newcastle upon Tyne', 'multisite-ultimate'), - 'NWP' => __('Newport', 'multisite-ultimate'), - 'NYM' => __('Newry and Mourne District Council', 'multisite-ultimate'), - 'NMD' => __('Newry, Mourne and Down', 'multisite-ultimate'), - 'NTA' => __('Newtownabbey Borough Council', 'multisite-ultimate'), - 'NFK' => __('Norfolk', 'multisite-ultimate'), - 'NAY' => __('North Ayrshire', 'multisite-ultimate'), - 'NDN' => __('North Down Borough Council', 'multisite-ultimate'), - 'NEL' => __('North East Lincolnshire', 'multisite-ultimate'), - 'NLK' => __('North Lanarkshire', 'multisite-ultimate'), - 'NLN' => __('North Lincolnshire', 'multisite-ultimate'), - 'NSM' => __('North Somerset', 'multisite-ultimate'), - 'NTY' => __('North Tyneside', 'multisite-ultimate'), - 'NYK' => __('North Yorkshire', 'multisite-ultimate'), - 'NTH' => __('Northamptonshire', 'multisite-ultimate'), - 'NIR' => __('Northern Ireland', 'multisite-ultimate'), - 'NBL' => __('Northumberland', 'multisite-ultimate'), - 'NTT' => __('Nottinghamshire', 'multisite-ultimate'), - 'OLD' => __('Oldham', 'multisite-ultimate'), - 'OMH' => __('Omagh District Council', 'multisite-ultimate'), - 'ORK' => __('Orkney Islands', 'multisite-ultimate'), - 'ELS' => __('Outer Hebrides', 'multisite-ultimate'), - 'OXF' => __('Oxfordshire', 'multisite-ultimate'), - 'PEM' => __('Pembrokeshire', 'multisite-ultimate'), - 'PKN' => __('Perth and Kinross', 'multisite-ultimate'), - 'POL' => __('Poole', 'multisite-ultimate'), - 'POW' => __('Powys', 'multisite-ultimate'), - 'RDG' => __('Reading', 'multisite-ultimate'), - 'RCC' => __('Redcar and Cleveland', 'multisite-ultimate'), - 'RFW' => __('Renfrewshire', 'multisite-ultimate'), - 'RCT' => __('Rhondda Cynon Taf', 'multisite-ultimate'), - 'RCH' => __('Rochdale', 'multisite-ultimate'), - 'ROT' => __('Rotherham', 'multisite-ultimate'), - 'GRE' => __('Royal Borough of Greenwich', 'multisite-ultimate'), - 'KEC' => __('Royal Borough of Kensington and Chelsea', 'multisite-ultimate'), - 'KTT' => __('Royal Borough of Kingston upon Thames', 'multisite-ultimate'), - 'RUT' => __('Rutland', 'multisite-ultimate'), - 'SH-HL' => __('Saint Helena', 'multisite-ultimate'), - 'SLF' => __('Salford', 'multisite-ultimate'), - 'SAW' => __('Sandwell', 'multisite-ultimate'), - 'SCT' => __('Scotland', 'multisite-ultimate'), - 'SCB' => __('Scottish Borders', 'multisite-ultimate'), - 'SFT' => __('Sefton', 'multisite-ultimate'), - 'SHF' => __('Sheffield', 'multisite-ultimate'), - 'ZET' => __('Shetland Islands', 'multisite-ultimate'), - 'SHR' => __('Shropshire', 'multisite-ultimate'), - 'SLG' => __('Slough', 'multisite-ultimate'), - 'SOL' => __('Solihull', 'multisite-ultimate'), - 'SOM' => __('Somerset', 'multisite-ultimate'), - 'SAY' => __('South Ayrshire', 'multisite-ultimate'), - 'SGC' => __('South Gloucestershire', 'multisite-ultimate'), - 'SLK' => __('South Lanarkshire', 'multisite-ultimate'), - 'STY' => __('South Tyneside', 'multisite-ultimate'), - 'SOS' => __('Southend-on-Sea', 'multisite-ultimate'), - 'SHN' => __('St Helens', 'multisite-ultimate'), - 'STS' => __('Staffordshire', 'multisite-ultimate'), - 'STG' => __('Stirling', 'multisite-ultimate'), - 'SKP' => __('Stockport', 'multisite-ultimate'), - 'STT' => __('Stockton-on-Tees', 'multisite-ultimate'), - 'STB' => __('Strabane District Council', 'multisite-ultimate'), - 'SFK' => __('Suffolk', 'multisite-ultimate'), - 'SRY' => __('Surrey', 'multisite-ultimate'), - 'SWD' => __('Swindon', 'multisite-ultimate'), - 'TAM' => __('Tameside', 'multisite-ultimate'), - 'TFW' => __('Telford and Wrekin', 'multisite-ultimate'), - 'THR' => __('Thurrock', 'multisite-ultimate'), - 'TOB' => __('Torbay', 'multisite-ultimate'), - 'TOF' => __('Torfaen', 'multisite-ultimate'), - 'TRF' => __('Trafford', 'multisite-ultimate'), - 'UKM' => __('United Kingdom', 'multisite-ultimate'), - 'VGL' => __('Vale of Glamorgan', 'multisite-ultimate'), - 'WKF' => __('Wakefield', 'multisite-ultimate'), - 'WLS' => __('Wales', 'multisite-ultimate'), - 'WLL' => __('Walsall', 'multisite-ultimate'), - 'WRT' => __('Warrington', 'multisite-ultimate'), - 'WAR' => __('Warwickshire', 'multisite-ultimate'), - 'WBK' => __('West Berkshire', 'multisite-ultimate'), - 'WDU' => __('West Dunbartonshire', 'multisite-ultimate'), - 'WLN' => __('West Lothian', 'multisite-ultimate'), - 'WSX' => __('West Sussex', 'multisite-ultimate'), - 'WIL' => __('Wiltshire', 'multisite-ultimate'), - 'WNM' => __('Windsor and Maidenhead', 'multisite-ultimate'), - 'WRL' => __('Wirral', 'multisite-ultimate'), - 'WOK' => __('Wokingham', 'multisite-ultimate'), - 'WOR' => __('Worcestershire', 'multisite-ultimate'), - 'WRX' => __('Wrexham County Borough', 'multisite-ultimate'), + 'ABE' => __('Aberdeen', 'ultimate-multisite'), + 'ABD' => __('Aberdeenshire', 'ultimate-multisite'), + 'ANS' => __('Angus', 'ultimate-multisite'), + 'ANT' => __('Antrim', 'ultimate-multisite'), + 'ANN' => __('Antrim and Newtownabbey', 'ultimate-multisite'), + 'ARD' => __('Ards', 'ultimate-multisite'), + 'AND' => __('Ards and North Down', 'ultimate-multisite'), + 'AGB' => __('Argyll and Bute', 'ultimate-multisite'), + 'ARM' => __('Armagh City and District Council', 'ultimate-multisite'), + 'ABC' => __('Armagh, Banbridge and Craigavon', 'ultimate-multisite'), + 'SH-AC' => __('Ascension Island', 'ultimate-multisite'), + 'BLA' => __('Ballymena Borough', 'ultimate-multisite'), + 'BLY' => __('Ballymoney', 'ultimate-multisite'), + 'BNB' => __('Banbridge', 'ultimate-multisite'), + 'BNS' => __('Barnsley', 'ultimate-multisite'), + 'BAS' => __('Bath and North East Somerset', 'ultimate-multisite'), + 'BDF' => __('Bedford', 'ultimate-multisite'), + 'BFS' => __('Belfast district', 'ultimate-multisite'), + 'BIR' => __('Birmingham', 'ultimate-multisite'), + 'BBD' => __('Blackburn with Darwen', 'ultimate-multisite'), + 'BPL' => __('Blackpool', 'ultimate-multisite'), + 'BGW' => __('Blaenau Gwent County Borough', 'ultimate-multisite'), + 'BOL' => __('Bolton', 'ultimate-multisite'), + 'BMH' => __('Bournemouth', 'ultimate-multisite'), + 'BRC' => __('Bracknell Forest', 'ultimate-multisite'), + 'BRD' => __('Bradford', 'ultimate-multisite'), + 'BGE' => __('Bridgend County Borough', 'ultimate-multisite'), + 'BNH' => __('Brighton and Hove', 'ultimate-multisite'), + 'BKM' => __('Buckinghamshire', 'ultimate-multisite'), + 'BUR' => __('Bury', 'ultimate-multisite'), + 'CAY' => __('Caerphilly County Borough', 'ultimate-multisite'), + 'CLD' => __('Calderdale', 'ultimate-multisite'), + 'CAM' => __('Cambridgeshire', 'ultimate-multisite'), + 'CMN' => __('Carmarthenshire', 'ultimate-multisite'), + 'CKF' => __('Carrickfergus Borough Council', 'ultimate-multisite'), + 'CSR' => __('Castlereagh', 'ultimate-multisite'), + 'CCG' => __('Causeway Coast and Glens', 'ultimate-multisite'), + 'CBF' => __('Central Bedfordshire', 'ultimate-multisite'), + 'CGN' => __('Ceredigion', 'ultimate-multisite'), + 'CHE' => __('Cheshire East', 'ultimate-multisite'), + 'CHW' => __('Cheshire West and Chester', 'ultimate-multisite'), + 'CRF' => __('City and County of Cardiff', 'ultimate-multisite'), + 'SWA' => __('City and County of Swansea', 'ultimate-multisite'), + 'BST' => __('City of Bristol', 'ultimate-multisite'), + 'DER' => __('City of Derby', 'ultimate-multisite'), + 'KHL' => __('City of Kingston upon Hull', 'ultimate-multisite'), + 'LCE' => __('City of Leicester', 'ultimate-multisite'), + 'LND' => __('City of London', 'ultimate-multisite'), + 'NGM' => __('City of Nottingham', 'ultimate-multisite'), + 'PTE' => __('City of Peterborough', 'ultimate-multisite'), + 'PLY' => __('City of Plymouth', 'ultimate-multisite'), + 'POR' => __('City of Portsmouth', 'ultimate-multisite'), + 'STH' => __('City of Southampton', 'ultimate-multisite'), + 'STE' => __('City of Stoke-on-Trent', 'ultimate-multisite'), + 'SND' => __('City of Sunderland', 'ultimate-multisite'), + 'WSM' => __('City of Westminster', 'ultimate-multisite'), + 'WLV' => __('City of Wolverhampton', 'ultimate-multisite'), + 'YOR' => __('City of York', 'ultimate-multisite'), + 'CLK' => __('Clackmannanshire', 'ultimate-multisite'), + 'CLR' => __('Coleraine Borough Council', 'ultimate-multisite'), + 'CWY' => __('Conwy County Borough', 'ultimate-multisite'), + 'CKT' => __('Cookstown District Council', 'ultimate-multisite'), + 'CON' => __('Cornwall', 'ultimate-multisite'), + 'DUR' => __('County Durham', 'ultimate-multisite'), + 'COV' => __('Coventry', 'ultimate-multisite'), + 'CGV' => __('Craigavon Borough Council', 'ultimate-multisite'), + 'CMA' => __('Cumbria', 'ultimate-multisite'), + 'DAL' => __('Darlington', 'ultimate-multisite'), + 'DEN' => __('Denbighshire', 'ultimate-multisite'), + 'DBY' => __('Derbyshire', 'ultimate-multisite'), + 'DRY' => __('Derry City Council', 'ultimate-multisite'), + 'DRS' => __('Derry City and Strabane', 'ultimate-multisite'), + 'DEV' => __('Devon', 'ultimate-multisite'), + 'DNC' => __('Doncaster', 'ultimate-multisite'), + 'DOR' => __('Dorset', 'ultimate-multisite'), + 'DOW' => __('Down District Council', 'ultimate-multisite'), + 'DUD' => __('Dudley', 'ultimate-multisite'), + 'DGY' => __('Dumfries and Galloway', 'ultimate-multisite'), + 'DND' => __('Dundee', 'ultimate-multisite'), + 'DGN' => __('Dungannon and South Tyrone Borough Council', 'ultimate-multisite'), + 'EAY' => __('East Ayrshire', 'ultimate-multisite'), + 'EDU' => __('East Dunbartonshire', 'ultimate-multisite'), + 'ELN' => __('East Lothian', 'ultimate-multisite'), + 'ERW' => __('East Renfrewshire', 'ultimate-multisite'), + 'ERY' => __('East Riding of Yorkshire', 'ultimate-multisite'), + 'ESX' => __('East Sussex', 'ultimate-multisite'), + 'EDH' => __('Edinburgh', 'ultimate-multisite'), + 'ENG' => __('England', 'ultimate-multisite'), + 'ESS' => __('Essex', 'ultimate-multisite'), + 'FAL' => __('Falkirk', 'ultimate-multisite'), + 'FER' => __('Fermanagh District Council', 'ultimate-multisite'), + 'FMO' => __('Fermanagh and Omagh', 'ultimate-multisite'), + 'FIF' => __('Fife', 'ultimate-multisite'), + 'FLN' => __('Flintshire', 'ultimate-multisite'), + 'GAT' => __('Gateshead', 'ultimate-multisite'), + 'GLG' => __('Glasgow', 'ultimate-multisite'), + 'GLS' => __('Gloucestershire', 'ultimate-multisite'), + 'GWN' => __('Gwynedd', 'ultimate-multisite'), + 'HAL' => __('Halton', 'ultimate-multisite'), + 'HAM' => __('Hampshire', 'ultimate-multisite'), + 'HPL' => __('Hartlepool', 'ultimate-multisite'), + 'HEF' => __('Herefordshire', 'ultimate-multisite'), + 'HRT' => __('Hertfordshire', 'ultimate-multisite'), + 'HLD' => __('Highland', 'ultimate-multisite'), + 'IVC' => __('Inverclyde', 'ultimate-multisite'), + 'IOW' => __('Isle of Wight', 'ultimate-multisite'), + 'IOS' => __('Isles of Scilly', 'ultimate-multisite'), + 'KEN' => __('Kent', 'ultimate-multisite'), + 'KIR' => __('Kirklees', 'ultimate-multisite'), + 'KWL' => __('Knowsley', 'ultimate-multisite'), + 'LAN' => __('Lancashire', 'ultimate-multisite'), + 'LRN' => __('Larne Borough Council', 'ultimate-multisite'), + 'LDS' => __('Leeds', 'ultimate-multisite'), + 'LEC' => __('Leicestershire', 'ultimate-multisite'), + 'LMV' => __('Limavady Borough Council', 'ultimate-multisite'), + 'LIN' => __('Lincolnshire', 'ultimate-multisite'), + 'LSB' => __('Lisburn City Council', 'ultimate-multisite'), + 'LBC' => __('Lisburn and Castlereagh', 'ultimate-multisite'), + 'LIV' => __('Liverpool', 'ultimate-multisite'), + 'BDG' => __('London Borough of Barking and Dagenham', 'ultimate-multisite'), + 'BNE' => __('London Borough of Barnet', 'ultimate-multisite'), + 'BEX' => __('London Borough of Bexley', 'ultimate-multisite'), + 'BEN' => __('London Borough of Brent', 'ultimate-multisite'), + 'BRY' => __('London Borough of Bromley', 'ultimate-multisite'), + 'CMD' => __('London Borough of Camden', 'ultimate-multisite'), + 'CRY' => __('London Borough of Croydon', 'ultimate-multisite'), + 'EAL' => __('London Borough of Ealing', 'ultimate-multisite'), + 'ENF' => __('London Borough of Enfield', 'ultimate-multisite'), + 'HCK' => __('London Borough of Hackney', 'ultimate-multisite'), + 'HMF' => __('London Borough of Hammersmith and Fulham', 'ultimate-multisite'), + 'HRY' => __('London Borough of Haringey', 'ultimate-multisite'), + 'HRW' => __('London Borough of Harrow', 'ultimate-multisite'), + 'HAV' => __('London Borough of Havering', 'ultimate-multisite'), + 'HIL' => __('London Borough of Hillingdon', 'ultimate-multisite'), + 'HNS' => __('London Borough of Hounslow', 'ultimate-multisite'), + 'ISL' => __('London Borough of Islington', 'ultimate-multisite'), + 'LBH' => __('London Borough of Lambeth', 'ultimate-multisite'), + 'LEW' => __('London Borough of Lewisham', 'ultimate-multisite'), + 'MRT' => __('London Borough of Merton', 'ultimate-multisite'), + 'NWM' => __('London Borough of Newham', 'ultimate-multisite'), + 'RDB' => __('London Borough of Redbridge', 'ultimate-multisite'), + 'RIC' => __('London Borough of Richmond upon Thames', 'ultimate-multisite'), + 'SWK' => __('London Borough of Southwark', 'ultimate-multisite'), + 'STN' => __('London Borough of Sutton', 'ultimate-multisite'), + 'TWH' => __('London Borough of Tower Hamlets', 'ultimate-multisite'), + 'WFT' => __('London Borough of Waltham Forest', 'ultimate-multisite'), + 'WND' => __('London Borough of Wandsworth', 'ultimate-multisite'), + 'MFT' => __('Magherafelt District Council', 'ultimate-multisite'), + 'MAN' => __('Manchester', 'ultimate-multisite'), + 'MDW' => __('Medway', 'ultimate-multisite'), + 'MTY' => __('Merthyr Tydfil County Borough', 'ultimate-multisite'), + 'WGN' => __('Metropolitan Borough of Wigan', 'ultimate-multisite'), + 'MUL' => __('Mid Ulster', 'ultimate-multisite'), + 'MEA' => __('Mid and East Antrim', 'ultimate-multisite'), + 'MDB' => __('Middlesbrough', 'ultimate-multisite'), + 'MLN' => __('Midlothian', 'ultimate-multisite'), + 'MIK' => __('Milton Keynes', 'ultimate-multisite'), + 'MON' => __('Monmouthshire', 'ultimate-multisite'), + 'MRY' => __('Moray', 'ultimate-multisite'), + 'MYL' => __('Moyle District Council', 'ultimate-multisite'), + 'NTL' => __('Neath Port Talbot County Borough', 'ultimate-multisite'), + 'NET' => __('Newcastle upon Tyne', 'ultimate-multisite'), + 'NWP' => __('Newport', 'ultimate-multisite'), + 'NYM' => __('Newry and Mourne District Council', 'ultimate-multisite'), + 'NMD' => __('Newry, Mourne and Down', 'ultimate-multisite'), + 'NTA' => __('Newtownabbey Borough Council', 'ultimate-multisite'), + 'NFK' => __('Norfolk', 'ultimate-multisite'), + 'NAY' => __('North Ayrshire', 'ultimate-multisite'), + 'NDN' => __('North Down Borough Council', 'ultimate-multisite'), + 'NEL' => __('North East Lincolnshire', 'ultimate-multisite'), + 'NLK' => __('North Lanarkshire', 'ultimate-multisite'), + 'NLN' => __('North Lincolnshire', 'ultimate-multisite'), + 'NSM' => __('North Somerset', 'ultimate-multisite'), + 'NTY' => __('North Tyneside', 'ultimate-multisite'), + 'NYK' => __('North Yorkshire', 'ultimate-multisite'), + 'NTH' => __('Northamptonshire', 'ultimate-multisite'), + 'NIR' => __('Northern Ireland', 'ultimate-multisite'), + 'NBL' => __('Northumberland', 'ultimate-multisite'), + 'NTT' => __('Nottinghamshire', 'ultimate-multisite'), + 'OLD' => __('Oldham', 'ultimate-multisite'), + 'OMH' => __('Omagh District Council', 'ultimate-multisite'), + 'ORK' => __('Orkney Islands', 'ultimate-multisite'), + 'ELS' => __('Outer Hebrides', 'ultimate-multisite'), + 'OXF' => __('Oxfordshire', 'ultimate-multisite'), + 'PEM' => __('Pembrokeshire', 'ultimate-multisite'), + 'PKN' => __('Perth and Kinross', 'ultimate-multisite'), + 'POL' => __('Poole', 'ultimate-multisite'), + 'POW' => __('Powys', 'ultimate-multisite'), + 'RDG' => __('Reading', 'ultimate-multisite'), + 'RCC' => __('Redcar and Cleveland', 'ultimate-multisite'), + 'RFW' => __('Renfrewshire', 'ultimate-multisite'), + 'RCT' => __('Rhondda Cynon Taf', 'ultimate-multisite'), + 'RCH' => __('Rochdale', 'ultimate-multisite'), + 'ROT' => __('Rotherham', 'ultimate-multisite'), + 'GRE' => __('Royal Borough of Greenwich', 'ultimate-multisite'), + 'KEC' => __('Royal Borough of Kensington and Chelsea', 'ultimate-multisite'), + 'KTT' => __('Royal Borough of Kingston upon Thames', 'ultimate-multisite'), + 'RUT' => __('Rutland', 'ultimate-multisite'), + 'SH-HL' => __('Saint Helena', 'ultimate-multisite'), + 'SLF' => __('Salford', 'ultimate-multisite'), + 'SAW' => __('Sandwell', 'ultimate-multisite'), + 'SCT' => __('Scotland', 'ultimate-multisite'), + 'SCB' => __('Scottish Borders', 'ultimate-multisite'), + 'SFT' => __('Sefton', 'ultimate-multisite'), + 'SHF' => __('Sheffield', 'ultimate-multisite'), + 'ZET' => __('Shetland Islands', 'ultimate-multisite'), + 'SHR' => __('Shropshire', 'ultimate-multisite'), + 'SLG' => __('Slough', 'ultimate-multisite'), + 'SOL' => __('Solihull', 'ultimate-multisite'), + 'SOM' => __('Somerset', 'ultimate-multisite'), + 'SAY' => __('South Ayrshire', 'ultimate-multisite'), + 'SGC' => __('South Gloucestershire', 'ultimate-multisite'), + 'SLK' => __('South Lanarkshire', 'ultimate-multisite'), + 'STY' => __('South Tyneside', 'ultimate-multisite'), + 'SOS' => __('Southend-on-Sea', 'ultimate-multisite'), + 'SHN' => __('St Helens', 'ultimate-multisite'), + 'STS' => __('Staffordshire', 'ultimate-multisite'), + 'STG' => __('Stirling', 'ultimate-multisite'), + 'SKP' => __('Stockport', 'ultimate-multisite'), + 'STT' => __('Stockton-on-Tees', 'ultimate-multisite'), + 'STB' => __('Strabane District Council', 'ultimate-multisite'), + 'SFK' => __('Suffolk', 'ultimate-multisite'), + 'SRY' => __('Surrey', 'ultimate-multisite'), + 'SWD' => __('Swindon', 'ultimate-multisite'), + 'TAM' => __('Tameside', 'ultimate-multisite'), + 'TFW' => __('Telford and Wrekin', 'ultimate-multisite'), + 'THR' => __('Thurrock', 'ultimate-multisite'), + 'TOB' => __('Torbay', 'ultimate-multisite'), + 'TOF' => __('Torfaen', 'ultimate-multisite'), + 'TRF' => __('Trafford', 'ultimate-multisite'), + 'UKM' => __('United Kingdom', 'ultimate-multisite'), + 'VGL' => __('Vale of Glamorgan', 'ultimate-multisite'), + 'WKF' => __('Wakefield', 'ultimate-multisite'), + 'WLS' => __('Wales', 'ultimate-multisite'), + 'WLL' => __('Walsall', 'ultimate-multisite'), + 'WRT' => __('Warrington', 'ultimate-multisite'), + 'WAR' => __('Warwickshire', 'ultimate-multisite'), + 'WBK' => __('West Berkshire', 'ultimate-multisite'), + 'WDU' => __('West Dunbartonshire', 'ultimate-multisite'), + 'WLN' => __('West Lothian', 'ultimate-multisite'), + 'WSX' => __('West Sussex', 'ultimate-multisite'), + 'WIL' => __('Wiltshire', 'ultimate-multisite'), + 'WNM' => __('Windsor and Maidenhead', 'ultimate-multisite'), + 'WRL' => __('Wirral', 'ultimate-multisite'), + 'WOK' => __('Wokingham', 'ultimate-multisite'), + 'WOR' => __('Worcestershire', 'ultimate-multisite'), + 'WRX' => __('Wrexham County Borough', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-in.php b/inc/country/class-country-in.php index e17eb181d..ae87f9ca2 100644 --- a/inc/country/class-country-in.php +++ b/inc/country/class-country-in.php @@ -99,7 +99,7 @@ class Country_IN extends Country { */ public function get_name() { - return __('India', 'multisite-ultimate'); + return __('India', 'ultimate-multisite'); } /** @@ -111,42 +111,42 @@ public function get_name() { protected function states() { return [ - 'AN' => __('Andaman and Nicobar Islands', 'multisite-ultimate'), - 'AP' => __('Andhra Pradesh', 'multisite-ultimate'), - 'AR' => __('Arunachal Pradesh', 'multisite-ultimate'), - 'AS' => __('Assam', 'multisite-ultimate'), - 'BR' => __('Bihar', 'multisite-ultimate'), - 'CH' => __('Chandigarh', 'multisite-ultimate'), - 'CT' => __('Chhattisgarh', 'multisite-ultimate'), - 'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'multisite-ultimate'), - 'DL' => __('Delhi', 'multisite-ultimate'), - 'GA' => __('Goa', 'multisite-ultimate'), - 'GJ' => __('Gujarat', 'multisite-ultimate'), - 'HR' => __('Haryana', 'multisite-ultimate'), - 'HP' => __('Himachal Pradesh', 'multisite-ultimate'), - 'JK' => __('Jammu and Kashmir', 'multisite-ultimate'), - 'JH' => __('Jharkhand', 'multisite-ultimate'), - 'KA' => __('Karnataka', 'multisite-ultimate'), - 'KL' => __('Kerala', 'multisite-ultimate'), - 'LA' => __('Ladakh', 'multisite-ultimate'), - 'LD' => __('Lakshadweep', 'multisite-ultimate'), - 'MP' => __('Madhya Pradesh', 'multisite-ultimate'), - 'MH' => __('Maharashtra', 'multisite-ultimate'), - 'MN' => __('Manipur', 'multisite-ultimate'), - 'ML' => __('Meghalaya', 'multisite-ultimate'), - 'MZ' => __('Mizoram', 'multisite-ultimate'), - 'NL' => __('Nagaland', 'multisite-ultimate'), - 'OR' => __('Odisha', 'multisite-ultimate'), - 'PY' => __('Puducherry', 'multisite-ultimate'), - 'PB' => __('Punjab', 'multisite-ultimate'), - 'RJ' => __('Rajasthan', 'multisite-ultimate'), - 'SK' => __('Sikkim', 'multisite-ultimate'), - 'TN' => __('Tamil Nadu', 'multisite-ultimate'), - 'TG' => __('Telangana', 'multisite-ultimate'), - 'TR' => __('Tripura', 'multisite-ultimate'), - 'UP' => __('Uttar Pradesh', 'multisite-ultimate'), - 'UT' => __('Uttarakhand', 'multisite-ultimate'), - 'WB' => __('West Bengal', 'multisite-ultimate'), + 'AN' => __('Andaman and Nicobar Islands', 'ultimate-multisite'), + 'AP' => __('Andhra Pradesh', 'ultimate-multisite'), + 'AR' => __('Arunachal Pradesh', 'ultimate-multisite'), + 'AS' => __('Assam', 'ultimate-multisite'), + 'BR' => __('Bihar', 'ultimate-multisite'), + 'CH' => __('Chandigarh', 'ultimate-multisite'), + 'CT' => __('Chhattisgarh', 'ultimate-multisite'), + 'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'ultimate-multisite'), + 'DL' => __('Delhi', 'ultimate-multisite'), + 'GA' => __('Goa', 'ultimate-multisite'), + 'GJ' => __('Gujarat', 'ultimate-multisite'), + 'HR' => __('Haryana', 'ultimate-multisite'), + 'HP' => __('Himachal Pradesh', 'ultimate-multisite'), + 'JK' => __('Jammu and Kashmir', 'ultimate-multisite'), + 'JH' => __('Jharkhand', 'ultimate-multisite'), + 'KA' => __('Karnataka', 'ultimate-multisite'), + 'KL' => __('Kerala', 'ultimate-multisite'), + 'LA' => __('Ladakh', 'ultimate-multisite'), + 'LD' => __('Lakshadweep', 'ultimate-multisite'), + 'MP' => __('Madhya Pradesh', 'ultimate-multisite'), + 'MH' => __('Maharashtra', 'ultimate-multisite'), + 'MN' => __('Manipur', 'ultimate-multisite'), + 'ML' => __('Meghalaya', 'ultimate-multisite'), + 'MZ' => __('Mizoram', 'ultimate-multisite'), + 'NL' => __('Nagaland', 'ultimate-multisite'), + 'OR' => __('Odisha', 'ultimate-multisite'), + 'PY' => __('Puducherry', 'ultimate-multisite'), + 'PB' => __('Punjab', 'ultimate-multisite'), + 'RJ' => __('Rajasthan', 'ultimate-multisite'), + 'SK' => __('Sikkim', 'ultimate-multisite'), + 'TN' => __('Tamil Nadu', 'ultimate-multisite'), + 'TG' => __('Telangana', 'ultimate-multisite'), + 'TR' => __('Tripura', 'ultimate-multisite'), + 'UP' => __('Uttar Pradesh', 'ultimate-multisite'), + 'UT' => __('Uttarakhand', 'ultimate-multisite'), + 'WB' => __('West Bengal', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-jp.php b/inc/country/class-country-jp.php index 0546f266f..f70e81342 100644 --- a/inc/country/class-country-jp.php +++ b/inc/country/class-country-jp.php @@ -110,7 +110,7 @@ class Country_JP extends Country { */ public function get_name() { - return __('Japan', 'multisite-ultimate'); + return __('Japan', 'ultimate-multisite'); } /** @@ -122,53 +122,53 @@ public function get_name() { protected function states() { return [ - '10' => __('Gunma Prefecture', 'multisite-ultimate'), - '11' => __('Saitama Prefecture', 'multisite-ultimate'), - '12' => __('Chiba Prefecture', 'multisite-ultimate'), - '13' => __('Tokyo', 'multisite-ultimate'), - '14' => __('Kanagawa Prefecture', 'multisite-ultimate'), - '15' => __('Niigata Prefecture', 'multisite-ultimate'), - '16' => __('Toyama Prefecture', 'multisite-ultimate'), - '17' => __('Ishikawa Prefecture', 'multisite-ultimate'), - '18' => __('Fukui Prefecture', 'multisite-ultimate'), - '19' => __('Yamanashi Prefecture', 'multisite-ultimate'), - '20' => __('Nagano Prefecture', 'multisite-ultimate'), - '21' => __('Gifu Prefecture', 'multisite-ultimate'), - '22' => __('Shizuoka Prefecture', 'multisite-ultimate'), - '23' => __('Aichi Prefecture', 'multisite-ultimate'), - '24' => __('Mie Prefecture', 'multisite-ultimate'), - '25' => __('Shiga Prefecture', 'multisite-ultimate'), - '26' => __('Kyōto Prefecture', 'multisite-ultimate'), - '27' => __('Ōsaka Prefecture', 'multisite-ultimate'), - '28' => __('Hyōgo Prefecture', 'multisite-ultimate'), - '29' => __('Nara Prefecture', 'multisite-ultimate'), - '30' => __('Wakayama Prefecture', 'multisite-ultimate'), - '31' => __('Tottori Prefecture', 'multisite-ultimate'), - '32' => __('Shimane Prefecture', 'multisite-ultimate'), - '33' => __('Okayama Prefecture', 'multisite-ultimate'), - '34' => __('Hiroshima Prefecture', 'multisite-ultimate'), - '35' => __('Yamaguchi Prefecture', 'multisite-ultimate'), - '36' => __('Tokushima Prefecture', 'multisite-ultimate'), - '37' => __('Kagawa Prefecture', 'multisite-ultimate'), - '38' => __('Ehime Prefecture', 'multisite-ultimate'), - '39' => __('Kōchi Prefecture', 'multisite-ultimate'), - '40' => __('Fukuoka Prefecture', 'multisite-ultimate'), - '41' => __('Saga Prefecture', 'multisite-ultimate'), - '42' => __('Nagasaki Prefecture', 'multisite-ultimate'), - '43' => __('Kumamoto Prefecture', 'multisite-ultimate'), - '44' => __('Ōita Prefecture', 'multisite-ultimate'), - '45' => __('Miyazaki Prefecture', 'multisite-ultimate'), - '46' => __('Kagoshima Prefecture', 'multisite-ultimate'), - '47' => __('Okinawa Prefecture', 'multisite-ultimate'), - '05' => __('Akita Prefecture', 'multisite-ultimate'), - '02' => __('Aomori Prefecture', 'multisite-ultimate'), - '07' => __('Fukushima Prefecture', 'multisite-ultimate'), - '01' => __('Hokkaidō Prefecture', 'multisite-ultimate'), - '08' => __('Ibaraki Prefecture', 'multisite-ultimate'), - '03' => __('Iwate Prefecture', 'multisite-ultimate'), - '04' => __('Miyagi Prefecture', 'multisite-ultimate'), - '09' => __('Tochigi Prefecture', 'multisite-ultimate'), - '06' => __('Yamagata Prefecture', 'multisite-ultimate'), + '10' => __('Gunma Prefecture', 'ultimate-multisite'), + '11' => __('Saitama Prefecture', 'ultimate-multisite'), + '12' => __('Chiba Prefecture', 'ultimate-multisite'), + '13' => __('Tokyo', 'ultimate-multisite'), + '14' => __('Kanagawa Prefecture', 'ultimate-multisite'), + '15' => __('Niigata Prefecture', 'ultimate-multisite'), + '16' => __('Toyama Prefecture', 'ultimate-multisite'), + '17' => __('Ishikawa Prefecture', 'ultimate-multisite'), + '18' => __('Fukui Prefecture', 'ultimate-multisite'), + '19' => __('Yamanashi Prefecture', 'ultimate-multisite'), + '20' => __('Nagano Prefecture', 'ultimate-multisite'), + '21' => __('Gifu Prefecture', 'ultimate-multisite'), + '22' => __('Shizuoka Prefecture', 'ultimate-multisite'), + '23' => __('Aichi Prefecture', 'ultimate-multisite'), + '24' => __('Mie Prefecture', 'ultimate-multisite'), + '25' => __('Shiga Prefecture', 'ultimate-multisite'), + '26' => __('Kyōto Prefecture', 'ultimate-multisite'), + '27' => __('Ōsaka Prefecture', 'ultimate-multisite'), + '28' => __('Hyōgo Prefecture', 'ultimate-multisite'), + '29' => __('Nara Prefecture', 'ultimate-multisite'), + '30' => __('Wakayama Prefecture', 'ultimate-multisite'), + '31' => __('Tottori Prefecture', 'ultimate-multisite'), + '32' => __('Shimane Prefecture', 'ultimate-multisite'), + '33' => __('Okayama Prefecture', 'ultimate-multisite'), + '34' => __('Hiroshima Prefecture', 'ultimate-multisite'), + '35' => __('Yamaguchi Prefecture', 'ultimate-multisite'), + '36' => __('Tokushima Prefecture', 'ultimate-multisite'), + '37' => __('Kagawa Prefecture', 'ultimate-multisite'), + '38' => __('Ehime Prefecture', 'ultimate-multisite'), + '39' => __('Kōchi Prefecture', 'ultimate-multisite'), + '40' => __('Fukuoka Prefecture', 'ultimate-multisite'), + '41' => __('Saga Prefecture', 'ultimate-multisite'), + '42' => __('Nagasaki Prefecture', 'ultimate-multisite'), + '43' => __('Kumamoto Prefecture', 'ultimate-multisite'), + '44' => __('Ōita Prefecture', 'ultimate-multisite'), + '45' => __('Miyazaki Prefecture', 'ultimate-multisite'), + '46' => __('Kagoshima Prefecture', 'ultimate-multisite'), + '47' => __('Okinawa Prefecture', 'ultimate-multisite'), + '05' => __('Akita Prefecture', 'ultimate-multisite'), + '02' => __('Aomori Prefecture', 'ultimate-multisite'), + '07' => __('Fukushima Prefecture', 'ultimate-multisite'), + '01' => __('Hokkaidō Prefecture', 'ultimate-multisite'), + '08' => __('Ibaraki Prefecture', 'ultimate-multisite'), + '03' => __('Iwate Prefecture', 'ultimate-multisite'), + '04' => __('Miyagi Prefecture', 'ultimate-multisite'), + '09' => __('Tochigi Prefecture', 'ultimate-multisite'), + '06' => __('Yamagata Prefecture', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-mx.php b/inc/country/class-country-mx.php index f27cecbe2..840d50266 100644 --- a/inc/country/class-country-mx.php +++ b/inc/country/class-country-mx.php @@ -95,7 +95,7 @@ class Country_MX extends Country { */ public function get_name() { - return __('Mexico', 'multisite-ultimate'); + return __('Mexico', 'ultimate-multisite'); } /** @@ -107,38 +107,38 @@ public function get_name() { protected function states() { return [ - 'AGU' => __('Aguascalientes', 'multisite-ultimate'), - 'BCN' => __('Baja California', 'multisite-ultimate'), - 'BCS' => __('Baja California Sur', 'multisite-ultimate'), - 'CAM' => __('Campeche', 'multisite-ultimate'), - 'CHP' => __('Chiapas', 'multisite-ultimate'), - 'CHH' => __('Chihuahua', 'multisite-ultimate'), - 'CDMX' => __('Ciudad de México', 'multisite-ultimate'), - 'COA' => __('Coahuila de Zaragoza', 'multisite-ultimate'), - 'COL' => __('Colima', 'multisite-ultimate'), - 'DUR' => __('Durango', 'multisite-ultimate'), - 'MEX' => __('Estado de México', 'multisite-ultimate'), - 'GUA' => __('Guanajuato', 'multisite-ultimate'), - 'GRO' => __('Guerrero', 'multisite-ultimate'), - 'HID' => __('Hidalgo', 'multisite-ultimate'), - 'JAL' => __('Jalisco', 'multisite-ultimate'), - 'MIC' => __('Michoacán de Ocampo', 'multisite-ultimate'), - 'MOR' => __('Morelos', 'multisite-ultimate'), - 'NAY' => __('Nayarit', 'multisite-ultimate'), - 'NLE' => __('Nuevo León', 'multisite-ultimate'), - 'OAX' => __('Oaxaca', 'multisite-ultimate'), - 'PUE' => __('Puebla', 'multisite-ultimate'), - 'QUE' => __('Querétaro', 'multisite-ultimate'), - 'ROO' => __('Quintana Roo', 'multisite-ultimate'), - 'SLP' => __('San Luis Potosí', 'multisite-ultimate'), - 'SIN' => __('Sinaloa', 'multisite-ultimate'), - 'SON' => __('Sonora', 'multisite-ultimate'), - 'TAB' => __('Tabasco', 'multisite-ultimate'), - 'TAM' => __('Tamaulipas', 'multisite-ultimate'), - 'TLA' => __('Tlaxcala', 'multisite-ultimate'), - 'VER' => __('Veracruz de Ignacio de la Llave', 'multisite-ultimate'), - 'YUC' => __('Yucatán', 'multisite-ultimate'), - 'ZAC' => __('Zacatecas', 'multisite-ultimate'), + 'AGU' => __('Aguascalientes', 'ultimate-multisite'), + 'BCN' => __('Baja California', 'ultimate-multisite'), + 'BCS' => __('Baja California Sur', 'ultimate-multisite'), + 'CAM' => __('Campeche', 'ultimate-multisite'), + 'CHP' => __('Chiapas', 'ultimate-multisite'), + 'CHH' => __('Chihuahua', 'ultimate-multisite'), + 'CDMX' => __('Ciudad de México', 'ultimate-multisite'), + 'COA' => __('Coahuila de Zaragoza', 'ultimate-multisite'), + 'COL' => __('Colima', 'ultimate-multisite'), + 'DUR' => __('Durango', 'ultimate-multisite'), + 'MEX' => __('Estado de México', 'ultimate-multisite'), + 'GUA' => __('Guanajuato', 'ultimate-multisite'), + 'GRO' => __('Guerrero', 'ultimate-multisite'), + 'HID' => __('Hidalgo', 'ultimate-multisite'), + 'JAL' => __('Jalisco', 'ultimate-multisite'), + 'MIC' => __('Michoacán de Ocampo', 'ultimate-multisite'), + 'MOR' => __('Morelos', 'ultimate-multisite'), + 'NAY' => __('Nayarit', 'ultimate-multisite'), + 'NLE' => __('Nuevo León', 'ultimate-multisite'), + 'OAX' => __('Oaxaca', 'ultimate-multisite'), + 'PUE' => __('Puebla', 'ultimate-multisite'), + 'QUE' => __('Querétaro', 'ultimate-multisite'), + 'ROO' => __('Quintana Roo', 'ultimate-multisite'), + 'SLP' => __('San Luis Potosí', 'ultimate-multisite'), + 'SIN' => __('Sinaloa', 'ultimate-multisite'), + 'SON' => __('Sonora', 'ultimate-multisite'), + 'TAB' => __('Tabasco', 'ultimate-multisite'), + 'TAM' => __('Tamaulipas', 'ultimate-multisite'), + 'TLA' => __('Tlaxcala', 'ultimate-multisite'), + 'VER' => __('Veracruz de Ignacio de la Llave', 'ultimate-multisite'), + 'YUC' => __('Yucatán', 'ultimate-multisite'), + 'ZAC' => __('Zacatecas', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-my.php b/inc/country/class-country-my.php index f2d6d954f..427a062c4 100644 --- a/inc/country/class-country-my.php +++ b/inc/country/class-country-my.php @@ -79,7 +79,7 @@ class Country_MY extends Country { */ public function get_name() { - return __('Malaysia', 'multisite-ultimate'); + return __('Malaysia', 'ultimate-multisite'); } /** @@ -91,22 +91,22 @@ public function get_name() { protected function states() { return [ - '10' => __('Selangor', 'multisite-ultimate'), - '11' => __('Terengganu', 'multisite-ultimate'), - '12' => __('Sabah', 'multisite-ultimate'), - '13' => __('Sarawak', 'multisite-ultimate'), - '14' => __('Kuala Lumpur', 'multisite-ultimate'), - '15' => __('Labuan', 'multisite-ultimate'), - '16' => __('Putrajaya', 'multisite-ultimate'), - '01' => __('Johor', 'multisite-ultimate'), - '02' => __('Kedah', 'multisite-ultimate'), - '03' => __('Kelantan', 'multisite-ultimate'), - '04' => __('Malacca', 'multisite-ultimate'), - '05' => __('Negeri Sembilan', 'multisite-ultimate'), - '06' => __('Pahang', 'multisite-ultimate'), - '07' => __('Penang', 'multisite-ultimate'), - '08' => __('Perak', 'multisite-ultimate'), - '09' => __('Perlis', 'multisite-ultimate'), + '10' => __('Selangor', 'ultimate-multisite'), + '11' => __('Terengganu', 'ultimate-multisite'), + '12' => __('Sabah', 'ultimate-multisite'), + '13' => __('Sarawak', 'ultimate-multisite'), + '14' => __('Kuala Lumpur', 'ultimate-multisite'), + '15' => __('Labuan', 'ultimate-multisite'), + '16' => __('Putrajaya', 'ultimate-multisite'), + '01' => __('Johor', 'ultimate-multisite'), + '02' => __('Kedah', 'ultimate-multisite'), + '03' => __('Kelantan', 'ultimate-multisite'), + '04' => __('Malacca', 'ultimate-multisite'), + '05' => __('Negeri Sembilan', 'ultimate-multisite'), + '06' => __('Pahang', 'ultimate-multisite'), + '07' => __('Penang', 'ultimate-multisite'), + '08' => __('Perak', 'ultimate-multisite'), + '09' => __('Perlis', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-ne.php b/inc/country/class-country-ne.php index c20c0c1d5..a9bc2c763 100644 --- a/inc/country/class-country-ne.php +++ b/inc/country/class-country-ne.php @@ -70,7 +70,7 @@ class Country_NE extends Country { */ public function get_name() { - return __('Niger', 'multisite-ultimate'); + return __('Niger', 'ultimate-multisite'); } /** @@ -82,13 +82,13 @@ public function get_name() { protected function states() { return [ - '1' => __('Agadez Region', 'multisite-ultimate'), - '2' => __('Diffa Region', 'multisite-ultimate'), - '3' => __('Dosso Region', 'multisite-ultimate'), - '4' => __('Maradi Region', 'multisite-ultimate'), - '5' => __('Tahoua Region', 'multisite-ultimate'), - '6' => __('Tillabéri Region', 'multisite-ultimate'), - '7' => __('Zinder Region', 'multisite-ultimate'), + '1' => __('Agadez Region', 'ultimate-multisite'), + '2' => __('Diffa Region', 'ultimate-multisite'), + '3' => __('Dosso Region', 'ultimate-multisite'), + '4' => __('Maradi Region', 'ultimate-multisite'), + '5' => __('Tahoua Region', 'ultimate-multisite'), + '6' => __('Tillabéri Region', 'ultimate-multisite'), + '7' => __('Zinder Region', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-nl.php b/inc/country/class-country-nl.php index 6299adc85..6caed2da4 100644 --- a/inc/country/class-country-nl.php +++ b/inc/country/class-country-nl.php @@ -75,7 +75,7 @@ class Country_NL extends Country { */ public function get_name() { - return __('Netherlands', 'multisite-ultimate'); + return __('Netherlands', 'ultimate-multisite'); } /** @@ -87,21 +87,21 @@ public function get_name() { protected function states() { return [ - 'BQ1' => __('Bonaire', 'multisite-ultimate'), - 'DR' => __('Drenthe', 'multisite-ultimate'), - 'FL' => __('Flevoland', 'multisite-ultimate'), - 'FR' => __('Friesland', 'multisite-ultimate'), - 'GE' => __('Gelderland', 'multisite-ultimate'), - 'GR' => __('Groningen', 'multisite-ultimate'), - 'LI' => __('Limburg', 'multisite-ultimate'), - 'NB' => __('North Brabant', 'multisite-ultimate'), - 'NH' => __('North Holland', 'multisite-ultimate'), - 'OV' => __('Overijssel', 'multisite-ultimate'), - 'BQ2' => __('Saba', 'multisite-ultimate'), - 'BQ3' => __('Sint Eustatius', 'multisite-ultimate'), - 'ZH' => __('South Holland', 'multisite-ultimate'), - 'UT' => __('Utrecht', 'multisite-ultimate'), - 'ZE' => __('Zeeland', 'multisite-ultimate'), + 'BQ1' => __('Bonaire', 'ultimate-multisite'), + 'DR' => __('Drenthe', 'ultimate-multisite'), + 'FL' => __('Flevoland', 'ultimate-multisite'), + 'FR' => __('Friesland', 'ultimate-multisite'), + 'GE' => __('Gelderland', 'ultimate-multisite'), + 'GR' => __('Groningen', 'ultimate-multisite'), + 'LI' => __('Limburg', 'ultimate-multisite'), + 'NB' => __('North Brabant', 'ultimate-multisite'), + 'NH' => __('North Holland', 'ultimate-multisite'), + 'OV' => __('Overijssel', 'ultimate-multisite'), + 'BQ2' => __('Saba', 'ultimate-multisite'), + 'BQ3' => __('Sint Eustatius', 'ultimate-multisite'), + 'ZH' => __('South Holland', 'ultimate-multisite'), + 'UT' => __('Utrecht', 'ultimate-multisite'), + 'ZE' => __('Zeeland', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-ru.php b/inc/country/class-country-ru.php index ca5f2bdcf..06d9be343 100644 --- a/inc/country/class-country-ru.php +++ b/inc/country/class-country-ru.php @@ -146,7 +146,7 @@ class Country_RU extends Country { */ public function get_name() { - return __('Russia', 'multisite-ultimate'); + return __('Russia', 'ultimate-multisite'); } /** @@ -158,90 +158,90 @@ public function get_name() { protected function states() { return [ - 'ALT' => __('Altai Krai', 'multisite-ultimate'), - 'AL' => __('Altai Republic', 'multisite-ultimate'), - 'AMU' => __('Amur Oblast', 'multisite-ultimate'), - 'ARK' => __('Arkhangelsk', 'multisite-ultimate'), - 'AST' => __('Astrakhan Oblast', 'multisite-ultimate'), - 'BEL' => __('Belgorod Oblast', 'multisite-ultimate'), - 'BRY' => __('Bryansk Oblast', 'multisite-ultimate'), - 'CE' => __('Chechen Republic', 'multisite-ultimate'), - 'CHE' => __('Chelyabinsk Oblast', 'multisite-ultimate'), - 'CHU' => __('Chukotka Autonomous Okrug', 'multisite-ultimate'), - 'CU' => __('Chuvash Republic', 'multisite-ultimate'), - 'IRK' => __('Irkutsk', 'multisite-ultimate'), - 'IVA' => __('Ivanovo Oblast', 'multisite-ultimate'), - 'YEV' => __('Jewish Autonomous Oblast', 'multisite-ultimate'), - 'KB' => __('Kabardino-Balkar Republic', 'multisite-ultimate'), - 'KGD' => __('Kaliningrad', 'multisite-ultimate'), - 'KLU' => __('Kaluga Oblast', 'multisite-ultimate'), - 'KAM' => __('Kamchatka Krai', 'multisite-ultimate'), - 'KC' => __('Karachay-Cherkess Republic', 'multisite-ultimate'), - 'KEM' => __('Kemerovo Oblast', 'multisite-ultimate'), - 'KHA' => __('Khabarovsk Krai', 'multisite-ultimate'), - 'KHM' => __('Khanty-Mansi Autonomous Okrug', 'multisite-ultimate'), - 'KIR' => __('Kirov Oblast', 'multisite-ultimate'), - 'KO' => __('Komi Republic', 'multisite-ultimate'), - 'KOS' => __('Kostroma Oblast', 'multisite-ultimate'), - 'KDA' => __('Krasnodar Krai', 'multisite-ultimate'), - 'KYA' => __('Krasnoyarsk Krai', 'multisite-ultimate'), - 'KGN' => __('Kurgan Oblast', 'multisite-ultimate'), - 'KRS' => __('Kursk Oblast', 'multisite-ultimate'), - 'LEN' => __('Leningrad Oblast', 'multisite-ultimate'), - 'LIP' => __('Lipetsk Oblast', 'multisite-ultimate'), - 'MAG' => __('Magadan Oblast', 'multisite-ultimate'), - 'ME' => __('Mari El Republic', 'multisite-ultimate'), - 'MOW' => __('Moscow', 'multisite-ultimate'), - 'MOS' => __('Moscow Oblast', 'multisite-ultimate'), - 'MUR' => __('Murmansk Oblast', 'multisite-ultimate'), - 'NEN' => __('Nenets Autonomous Okrug', 'multisite-ultimate'), - 'NIZ' => __('Nizhny Novgorod Oblast', 'multisite-ultimate'), - 'NGR' => __('Novgorod Oblast', 'multisite-ultimate'), - 'NVS' => __('Novosibirsk', 'multisite-ultimate'), - 'OMS' => __('Omsk Oblast', 'multisite-ultimate'), - 'ORE' => __('Orenburg Oblast', 'multisite-ultimate'), - 'ORL' => __('Oryol Oblast', 'multisite-ultimate'), - 'PNZ' => __('Penza Oblast', 'multisite-ultimate'), - 'PER' => __('Perm Krai', 'multisite-ultimate'), - 'PRI' => __('Primorsky Krai', 'multisite-ultimate'), - 'PSK' => __('Pskov Oblast', 'multisite-ultimate'), - 'AD' => __('Republic of Adygea', 'multisite-ultimate'), - 'BA' => __('Republic of Bashkortostan', 'multisite-ultimate'), - 'BU' => __('Republic of Buryatia', 'multisite-ultimate'), - 'DA' => __('Republic of Dagestan', 'multisite-ultimate'), - 'IN' => __('Republic of Ingushetia', 'multisite-ultimate'), - 'KL' => __('Republic of Kalmykia', 'multisite-ultimate'), - 'KR' => __('Republic of Karelia', 'multisite-ultimate'), - 'KK' => __('Republic of Khakassia', 'multisite-ultimate'), - 'MO' => __('Republic of Mordovia', 'multisite-ultimate'), - 'SE' => __('Republic of North Ossetia-Alania', 'multisite-ultimate'), - 'TA' => __('Republic of Tatarstan', 'multisite-ultimate'), - 'ROS' => __('Rostov Oblast', 'multisite-ultimate'), - 'RYA' => __('Ryazan Oblast', 'multisite-ultimate'), - 'SPE' => __('Saint Petersburg', 'multisite-ultimate'), - 'SA' => __('Sakha Republic', 'multisite-ultimate'), - 'SAK' => __('Sakhalin', 'multisite-ultimate'), - 'SAM' => __('Samara Oblast', 'multisite-ultimate'), - 'SAR' => __('Saratov Oblast', 'multisite-ultimate'), - 'UA-40' => __('Sevastopol', 'multisite-ultimate'), - 'SMO' => __('Smolensk Oblast', 'multisite-ultimate'), - 'STA' => __('Stavropol Krai', 'multisite-ultimate'), - 'SVE' => __('Sverdlovsk', 'multisite-ultimate'), - 'TAM' => __('Tambov Oblast', 'multisite-ultimate'), - 'TOM' => __('Tomsk Oblast', 'multisite-ultimate'), - 'TUL' => __('Tula Oblast', 'multisite-ultimate'), - 'TY' => __('Tuva Republic', 'multisite-ultimate'), - 'TVE' => __('Tver Oblast', 'multisite-ultimate'), - 'TYU' => __('Tyumen Oblast', 'multisite-ultimate'), - 'UD' => __('Udmurt Republic', 'multisite-ultimate'), - 'ULY' => __('Ulyanovsk Oblast', 'multisite-ultimate'), - 'VLA' => __('Vladimir Oblast', 'multisite-ultimate'), - 'VGG' => __('Volgograd Oblast', 'multisite-ultimate'), - 'VLG' => __('Vologda Oblast', 'multisite-ultimate'), - 'VOR' => __('Voronezh Oblast', 'multisite-ultimate'), - 'YAN' => __('Yamalo-Nenets Autonomous Okrug', 'multisite-ultimate'), - 'YAR' => __('Yaroslavl Oblast', 'multisite-ultimate'), - 'ZAB' => __('Zabaykalsky Krai', 'multisite-ultimate'), + 'ALT' => __('Altai Krai', 'ultimate-multisite'), + 'AL' => __('Altai Republic', 'ultimate-multisite'), + 'AMU' => __('Amur Oblast', 'ultimate-multisite'), + 'ARK' => __('Arkhangelsk', 'ultimate-multisite'), + 'AST' => __('Astrakhan Oblast', 'ultimate-multisite'), + 'BEL' => __('Belgorod Oblast', 'ultimate-multisite'), + 'BRY' => __('Bryansk Oblast', 'ultimate-multisite'), + 'CE' => __('Chechen Republic', 'ultimate-multisite'), + 'CHE' => __('Chelyabinsk Oblast', 'ultimate-multisite'), + 'CHU' => __('Chukotka Autonomous Okrug', 'ultimate-multisite'), + 'CU' => __('Chuvash Republic', 'ultimate-multisite'), + 'IRK' => __('Irkutsk', 'ultimate-multisite'), + 'IVA' => __('Ivanovo Oblast', 'ultimate-multisite'), + 'YEV' => __('Jewish Autonomous Oblast', 'ultimate-multisite'), + 'KB' => __('Kabardino-Balkar Republic', 'ultimate-multisite'), + 'KGD' => __('Kaliningrad', 'ultimate-multisite'), + 'KLU' => __('Kaluga Oblast', 'ultimate-multisite'), + 'KAM' => __('Kamchatka Krai', 'ultimate-multisite'), + 'KC' => __('Karachay-Cherkess Republic', 'ultimate-multisite'), + 'KEM' => __('Kemerovo Oblast', 'ultimate-multisite'), + 'KHA' => __('Khabarovsk Krai', 'ultimate-multisite'), + 'KHM' => __('Khanty-Mansi Autonomous Okrug', 'ultimate-multisite'), + 'KIR' => __('Kirov Oblast', 'ultimate-multisite'), + 'KO' => __('Komi Republic', 'ultimate-multisite'), + 'KOS' => __('Kostroma Oblast', 'ultimate-multisite'), + 'KDA' => __('Krasnodar Krai', 'ultimate-multisite'), + 'KYA' => __('Krasnoyarsk Krai', 'ultimate-multisite'), + 'KGN' => __('Kurgan Oblast', 'ultimate-multisite'), + 'KRS' => __('Kursk Oblast', 'ultimate-multisite'), + 'LEN' => __('Leningrad Oblast', 'ultimate-multisite'), + 'LIP' => __('Lipetsk Oblast', 'ultimate-multisite'), + 'MAG' => __('Magadan Oblast', 'ultimate-multisite'), + 'ME' => __('Mari El Republic', 'ultimate-multisite'), + 'MOW' => __('Moscow', 'ultimate-multisite'), + 'MOS' => __('Moscow Oblast', 'ultimate-multisite'), + 'MUR' => __('Murmansk Oblast', 'ultimate-multisite'), + 'NEN' => __('Nenets Autonomous Okrug', 'ultimate-multisite'), + 'NIZ' => __('Nizhny Novgorod Oblast', 'ultimate-multisite'), + 'NGR' => __('Novgorod Oblast', 'ultimate-multisite'), + 'NVS' => __('Novosibirsk', 'ultimate-multisite'), + 'OMS' => __('Omsk Oblast', 'ultimate-multisite'), + 'ORE' => __('Orenburg Oblast', 'ultimate-multisite'), + 'ORL' => __('Oryol Oblast', 'ultimate-multisite'), + 'PNZ' => __('Penza Oblast', 'ultimate-multisite'), + 'PER' => __('Perm Krai', 'ultimate-multisite'), + 'PRI' => __('Primorsky Krai', 'ultimate-multisite'), + 'PSK' => __('Pskov Oblast', 'ultimate-multisite'), + 'AD' => __('Republic of Adygea', 'ultimate-multisite'), + 'BA' => __('Republic of Bashkortostan', 'ultimate-multisite'), + 'BU' => __('Republic of Buryatia', 'ultimate-multisite'), + 'DA' => __('Republic of Dagestan', 'ultimate-multisite'), + 'IN' => __('Republic of Ingushetia', 'ultimate-multisite'), + 'KL' => __('Republic of Kalmykia', 'ultimate-multisite'), + 'KR' => __('Republic of Karelia', 'ultimate-multisite'), + 'KK' => __('Republic of Khakassia', 'ultimate-multisite'), + 'MO' => __('Republic of Mordovia', 'ultimate-multisite'), + 'SE' => __('Republic of North Ossetia-Alania', 'ultimate-multisite'), + 'TA' => __('Republic of Tatarstan', 'ultimate-multisite'), + 'ROS' => __('Rostov Oblast', 'ultimate-multisite'), + 'RYA' => __('Ryazan Oblast', 'ultimate-multisite'), + 'SPE' => __('Saint Petersburg', 'ultimate-multisite'), + 'SA' => __('Sakha Republic', 'ultimate-multisite'), + 'SAK' => __('Sakhalin', 'ultimate-multisite'), + 'SAM' => __('Samara Oblast', 'ultimate-multisite'), + 'SAR' => __('Saratov Oblast', 'ultimate-multisite'), + 'UA-40' => __('Sevastopol', 'ultimate-multisite'), + 'SMO' => __('Smolensk Oblast', 'ultimate-multisite'), + 'STA' => __('Stavropol Krai', 'ultimate-multisite'), + 'SVE' => __('Sverdlovsk', 'ultimate-multisite'), + 'TAM' => __('Tambov Oblast', 'ultimate-multisite'), + 'TOM' => __('Tomsk Oblast', 'ultimate-multisite'), + 'TUL' => __('Tula Oblast', 'ultimate-multisite'), + 'TY' => __('Tuva Republic', 'ultimate-multisite'), + 'TVE' => __('Tver Oblast', 'ultimate-multisite'), + 'TYU' => __('Tyumen Oblast', 'ultimate-multisite'), + 'UD' => __('Udmurt Republic', 'ultimate-multisite'), + 'ULY' => __('Ulyanovsk Oblast', 'ultimate-multisite'), + 'VLA' => __('Vladimir Oblast', 'ultimate-multisite'), + 'VGG' => __('Volgograd Oblast', 'ultimate-multisite'), + 'VLG' => __('Vologda Oblast', 'ultimate-multisite'), + 'VOR' => __('Voronezh Oblast', 'ultimate-multisite'), + 'YAN' => __('Yamalo-Nenets Autonomous Okrug', 'ultimate-multisite'), + 'YAR' => __('Yaroslavl Oblast', 'ultimate-multisite'), + 'ZAB' => __('Zabaykalsky Krai', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-sg.php b/inc/country/class-country-sg.php index 2b500c959..816449854 100644 --- a/inc/country/class-country-sg.php +++ b/inc/country/class-country-sg.php @@ -65,7 +65,7 @@ class Country_SG extends Country { */ public function get_name() { - return __('Singapore', 'multisite-ultimate'); + return __('Singapore', 'ultimate-multisite'); } /** @@ -77,11 +77,11 @@ public function get_name() { protected function states() { return [ - '01' => __('Central Singapore Community Development Council', 'multisite-ultimate'), - '02' => __('North East Community Development Council', 'multisite-ultimate'), - '03' => __('North West Community Development Council', 'multisite-ultimate'), - '04' => __('South East Community Development Council', 'multisite-ultimate'), - '05' => __('South West Community Development Council', 'multisite-ultimate'), + '01' => __('Central Singapore Community Development Council', 'ultimate-multisite'), + '02' => __('North East Community Development Council', 'ultimate-multisite'), + '03' => __('North West Community Development Council', 'ultimate-multisite'), + '04' => __('South East Community Development Council', 'ultimate-multisite'), + '05' => __('South West Community Development Council', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-tr.php b/inc/country/class-country-tr.php index 0b2498510..d3403e157 100644 --- a/inc/country/class-country-tr.php +++ b/inc/country/class-country-tr.php @@ -144,7 +144,7 @@ class Country_TR extends Country { */ public function get_name() { - return __('Turkey', 'multisite-ultimate'); + return __('Turkey', 'ultimate-multisite'); } /** @@ -156,87 +156,87 @@ public function get_name() { protected function states() { return [ - '10' => __('Balıkesir', 'multisite-ultimate'), - '11' => __('Bilecik', 'multisite-ultimate'), - '12' => __('Bingöl', 'multisite-ultimate'), - '13' => __('Bitlis', 'multisite-ultimate'), - '14' => __('Bolu', 'multisite-ultimate'), - '15' => __('Burdur', 'multisite-ultimate'), - '16' => __('Bursa', 'multisite-ultimate'), - '17' => __('Çanakkale', 'multisite-ultimate'), - '18' => __('Çankırı', 'multisite-ultimate'), - '19' => __('Çorum', 'multisite-ultimate'), - '20' => __('Denizli', 'multisite-ultimate'), - '21' => __('Diyarbakır', 'multisite-ultimate'), - '22' => __('Edirne', 'multisite-ultimate'), - '23' => __('Elazığ', 'multisite-ultimate'), - '24' => __('Erzincan', 'multisite-ultimate'), - '25' => __('Erzurum', 'multisite-ultimate'), - '26' => __('Eskişehir', 'multisite-ultimate'), - '27' => __('Gaziantep', 'multisite-ultimate'), - '28' => __('Giresun', 'multisite-ultimate'), - '29' => __('Gümüşhane', 'multisite-ultimate'), - '30' => __('Hakkâri', 'multisite-ultimate'), - '31' => __('Hatay', 'multisite-ultimate'), - '32' => __('Isparta', 'multisite-ultimate'), - '33' => __('Mersin', 'multisite-ultimate'), - '34' => __('Istanbul', 'multisite-ultimate'), - '35' => __('İzmir', 'multisite-ultimate'), - '36' => __('Kars', 'multisite-ultimate'), - '37' => __('Kastamonu', 'multisite-ultimate'), - '38' => __('Kayseri', 'multisite-ultimate'), - '39' => __('Kırklareli', 'multisite-ultimate'), - '40' => __('Kırşehir', 'multisite-ultimate'), - '41' => __('Kocaeli', 'multisite-ultimate'), - '42' => __('Konya', 'multisite-ultimate'), - '43' => __('Kütahya', 'multisite-ultimate'), - '44' => __('Malatya', 'multisite-ultimate'), - '45' => __('Manisa', 'multisite-ultimate'), - '46' => __('Kahramanmaraş', 'multisite-ultimate'), - '47' => __('Mardin', 'multisite-ultimate'), - '48' => __('Muğla', 'multisite-ultimate'), - '49' => __('Muş', 'multisite-ultimate'), - '50' => __('Nevşehir', 'multisite-ultimate'), - '51' => __('Niğde', 'multisite-ultimate'), - '52' => __('Ordu', 'multisite-ultimate'), - '53' => __('Rize', 'multisite-ultimate'), - '54' => __('Sakarya', 'multisite-ultimate'), - '55' => __('Samsun', 'multisite-ultimate'), - '56' => __('Siirt', 'multisite-ultimate'), - '57' => __('Sinop', 'multisite-ultimate'), - '58' => __('Sivas', 'multisite-ultimate'), - '59' => __('Tekirdağ', 'multisite-ultimate'), - '60' => __('Tokat', 'multisite-ultimate'), - '61' => __('Trabzon', 'multisite-ultimate'), - '62' => __('Tunceli', 'multisite-ultimate'), - '63' => __('Şanlıurfa', 'multisite-ultimate'), - '64' => __('Uşak', 'multisite-ultimate'), - '65' => __('Van', 'multisite-ultimate'), - '66' => __('Yozgat', 'multisite-ultimate'), - '67' => __('Zonguldak', 'multisite-ultimate'), - '68' => __('Aksaray', 'multisite-ultimate'), - '69' => __('Bayburt', 'multisite-ultimate'), - '70' => __('Karaman', 'multisite-ultimate'), - '71' => __('Kırıkkale', 'multisite-ultimate'), - '72' => __('Batman', 'multisite-ultimate'), - '73' => __('Şırnak', 'multisite-ultimate'), - '74' => __('Bartın', 'multisite-ultimate'), - '75' => __('Ardahan', 'multisite-ultimate'), - '76' => __('Iğdır', 'multisite-ultimate'), - '77' => __('Yalova', 'multisite-ultimate'), - '78' => __('Karabük', 'multisite-ultimate'), - '79' => __('Kilis', 'multisite-ultimate'), - '80' => __('Osmaniye', 'multisite-ultimate'), - '81' => __('Düzce', 'multisite-ultimate'), - '01' => __('Adana', 'multisite-ultimate'), - '02' => __('Adıyaman', 'multisite-ultimate'), - '03' => __('Afyonkarahisar', 'multisite-ultimate'), - '05' => __('Amasya', 'multisite-ultimate'), - '06' => __('Ankara', 'multisite-ultimate'), - '07' => __('Antalya', 'multisite-ultimate'), - '08' => __('Artvin', 'multisite-ultimate'), - '09' => __('Aydın', 'multisite-ultimate'), - '04' => __('Ağrı', 'multisite-ultimate'), + '10' => __('Balıkesir', 'ultimate-multisite'), + '11' => __('Bilecik', 'ultimate-multisite'), + '12' => __('Bingöl', 'ultimate-multisite'), + '13' => __('Bitlis', 'ultimate-multisite'), + '14' => __('Bolu', 'ultimate-multisite'), + '15' => __('Burdur', 'ultimate-multisite'), + '16' => __('Bursa', 'ultimate-multisite'), + '17' => __('Çanakkale', 'ultimate-multisite'), + '18' => __('Çankırı', 'ultimate-multisite'), + '19' => __('Çorum', 'ultimate-multisite'), + '20' => __('Denizli', 'ultimate-multisite'), + '21' => __('Diyarbakır', 'ultimate-multisite'), + '22' => __('Edirne', 'ultimate-multisite'), + '23' => __('Elazığ', 'ultimate-multisite'), + '24' => __('Erzincan', 'ultimate-multisite'), + '25' => __('Erzurum', 'ultimate-multisite'), + '26' => __('Eskişehir', 'ultimate-multisite'), + '27' => __('Gaziantep', 'ultimate-multisite'), + '28' => __('Giresun', 'ultimate-multisite'), + '29' => __('Gümüşhane', 'ultimate-multisite'), + '30' => __('Hakkâri', 'ultimate-multisite'), + '31' => __('Hatay', 'ultimate-multisite'), + '32' => __('Isparta', 'ultimate-multisite'), + '33' => __('Mersin', 'ultimate-multisite'), + '34' => __('Istanbul', 'ultimate-multisite'), + '35' => __('İzmir', 'ultimate-multisite'), + '36' => __('Kars', 'ultimate-multisite'), + '37' => __('Kastamonu', 'ultimate-multisite'), + '38' => __('Kayseri', 'ultimate-multisite'), + '39' => __('Kırklareli', 'ultimate-multisite'), + '40' => __('Kırşehir', 'ultimate-multisite'), + '41' => __('Kocaeli', 'ultimate-multisite'), + '42' => __('Konya', 'ultimate-multisite'), + '43' => __('Kütahya', 'ultimate-multisite'), + '44' => __('Malatya', 'ultimate-multisite'), + '45' => __('Manisa', 'ultimate-multisite'), + '46' => __('Kahramanmaraş', 'ultimate-multisite'), + '47' => __('Mardin', 'ultimate-multisite'), + '48' => __('Muğla', 'ultimate-multisite'), + '49' => __('Muş', 'ultimate-multisite'), + '50' => __('Nevşehir', 'ultimate-multisite'), + '51' => __('Niğde', 'ultimate-multisite'), + '52' => __('Ordu', 'ultimate-multisite'), + '53' => __('Rize', 'ultimate-multisite'), + '54' => __('Sakarya', 'ultimate-multisite'), + '55' => __('Samsun', 'ultimate-multisite'), + '56' => __('Siirt', 'ultimate-multisite'), + '57' => __('Sinop', 'ultimate-multisite'), + '58' => __('Sivas', 'ultimate-multisite'), + '59' => __('Tekirdağ', 'ultimate-multisite'), + '60' => __('Tokat', 'ultimate-multisite'), + '61' => __('Trabzon', 'ultimate-multisite'), + '62' => __('Tunceli', 'ultimate-multisite'), + '63' => __('Şanlıurfa', 'ultimate-multisite'), + '64' => __('Uşak', 'ultimate-multisite'), + '65' => __('Van', 'ultimate-multisite'), + '66' => __('Yozgat', 'ultimate-multisite'), + '67' => __('Zonguldak', 'ultimate-multisite'), + '68' => __('Aksaray', 'ultimate-multisite'), + '69' => __('Bayburt', 'ultimate-multisite'), + '70' => __('Karaman', 'ultimate-multisite'), + '71' => __('Kırıkkale', 'ultimate-multisite'), + '72' => __('Batman', 'ultimate-multisite'), + '73' => __('Şırnak', 'ultimate-multisite'), + '74' => __('Bartın', 'ultimate-multisite'), + '75' => __('Ardahan', 'ultimate-multisite'), + '76' => __('Iğdır', 'ultimate-multisite'), + '77' => __('Yalova', 'ultimate-multisite'), + '78' => __('Karabük', 'ultimate-multisite'), + '79' => __('Kilis', 'ultimate-multisite'), + '80' => __('Osmaniye', 'ultimate-multisite'), + '81' => __('Düzce', 'ultimate-multisite'), + '01' => __('Adana', 'ultimate-multisite'), + '02' => __('Adıyaman', 'ultimate-multisite'), + '03' => __('Afyonkarahisar', 'ultimate-multisite'), + '05' => __('Amasya', 'ultimate-multisite'), + '06' => __('Ankara', 'ultimate-multisite'), + '07' => __('Antalya', 'ultimate-multisite'), + '08' => __('Artvin', 'ultimate-multisite'), + '09' => __('Aydın', 'ultimate-multisite'), + '04' => __('Ağrı', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-us.php b/inc/country/class-country-us.php index 01e3d69d0..d9ae53eb6 100644 --- a/inc/country/class-country-us.php +++ b/inc/country/class-country-us.php @@ -115,7 +115,7 @@ class Country_US extends Country { */ public function get_name() { - return __('United States', 'multisite-ultimate'); + return __('United States', 'ultimate-multisite'); } /** @@ -127,72 +127,72 @@ public function get_name() { protected function states() { return [ - 'AL' => __('Alabama', 'multisite-ultimate'), - 'AK' => __('Alaska', 'multisite-ultimate'), - 'AS' => __('American Samoa', 'multisite-ultimate'), - 'AZ' => __('Arizona', 'multisite-ultimate'), - 'AR' => __('Arkansas', 'multisite-ultimate'), - 'UM-81' => __('Baker Island', 'multisite-ultimate'), - 'CA' => __('California', 'multisite-ultimate'), - 'CO' => __('Colorado', 'multisite-ultimate'), - 'CT' => __('Connecticut', 'multisite-ultimate'), - 'DE' => __('Delaware', 'multisite-ultimate'), - 'DC' => __('District of Columbia', 'multisite-ultimate'), - 'FL' => __('Florida', 'multisite-ultimate'), - 'GA' => __('Georgia', 'multisite-ultimate'), - 'GU' => __('Guam', 'multisite-ultimate'), - 'HI' => __('Hawaii', 'multisite-ultimate'), - 'UM-84' => __('Howland Island', 'multisite-ultimate'), - 'ID' => __('Idaho', 'multisite-ultimate'), - 'IL' => __('Illinois', 'multisite-ultimate'), - 'IN' => __('Indiana', 'multisite-ultimate'), - 'IA' => __('Iowa', 'multisite-ultimate'), - 'UM-86' => __('Jarvis Island', 'multisite-ultimate'), - 'UM-67' => __('Johnston Atoll', 'multisite-ultimate'), - 'KS' => __('Kansas', 'multisite-ultimate'), - 'KY' => __('Kentucky', 'multisite-ultimate'), - 'UM-89' => __('Kingman Reef', 'multisite-ultimate'), - 'LA' => __('Louisiana', 'multisite-ultimate'), - 'ME' => __('Maine', 'multisite-ultimate'), - 'MD' => __('Maryland', 'multisite-ultimate'), - 'MA' => __('Massachusetts', 'multisite-ultimate'), - 'MI' => __('Michigan', 'multisite-ultimate'), - 'UM-71' => __('Midway Atoll', 'multisite-ultimate'), - 'MN' => __('Minnesota', 'multisite-ultimate'), - 'MS' => __('Mississippi', 'multisite-ultimate'), - 'MO' => __('Missouri', 'multisite-ultimate'), - 'MT' => __('Montana', 'multisite-ultimate'), - 'UM-76' => __('Navassa Island', 'multisite-ultimate'), - 'NE' => __('Nebraska', 'multisite-ultimate'), - 'NV' => __('Nevada', 'multisite-ultimate'), - 'NH' => __('New Hampshire', 'multisite-ultimate'), - 'NJ' => __('New Jersey', 'multisite-ultimate'), - 'NM' => __('New Mexico', 'multisite-ultimate'), - 'NY' => __('New York', 'multisite-ultimate'), - 'NC' => __('North Carolina', 'multisite-ultimate'), - 'ND' => __('North Dakota', 'multisite-ultimate'), - 'MP' => __('Northern Mariana Islands', 'multisite-ultimate'), - 'OH' => __('Ohio', 'multisite-ultimate'), - 'OK' => __('Oklahoma', 'multisite-ultimate'), - 'OR' => __('Oregon', 'multisite-ultimate'), - 'UM-95' => __('Palmyra Atoll', 'multisite-ultimate'), - 'PA' => __('Pennsylvania', 'multisite-ultimate'), - 'PR' => __('Puerto Rico', 'multisite-ultimate'), - 'RI' => __('Rhode Island', 'multisite-ultimate'), - 'SC' => __('South Carolina', 'multisite-ultimate'), - 'SD' => __('South Dakota', 'multisite-ultimate'), - 'TN' => __('Tennessee', 'multisite-ultimate'), - 'TX' => __('Texas', 'multisite-ultimate'), - 'UM' => __('United States Minor Outlying Islands', 'multisite-ultimate'), - 'VI' => __('United States Virgin Islands', 'multisite-ultimate'), - 'UT' => __('Utah', 'multisite-ultimate'), - 'VT' => __('Vermont', 'multisite-ultimate'), - 'VA' => __('Virginia', 'multisite-ultimate'), - 'UM-79' => __('Wake Island', 'multisite-ultimate'), - 'WA' => __('Washington', 'multisite-ultimate'), - 'WV' => __('West Virginia', 'multisite-ultimate'), - 'WI' => __('Wisconsin', 'multisite-ultimate'), - 'WY' => __('Wyoming', 'multisite-ultimate'), + 'AL' => __('Alabama', 'ultimate-multisite'), + 'AK' => __('Alaska', 'ultimate-multisite'), + 'AS' => __('American Samoa', 'ultimate-multisite'), + 'AZ' => __('Arizona', 'ultimate-multisite'), + 'AR' => __('Arkansas', 'ultimate-multisite'), + 'UM-81' => __('Baker Island', 'ultimate-multisite'), + 'CA' => __('California', 'ultimate-multisite'), + 'CO' => __('Colorado', 'ultimate-multisite'), + 'CT' => __('Connecticut', 'ultimate-multisite'), + 'DE' => __('Delaware', 'ultimate-multisite'), + 'DC' => __('District of Columbia', 'ultimate-multisite'), + 'FL' => __('Florida', 'ultimate-multisite'), + 'GA' => __('Georgia', 'ultimate-multisite'), + 'GU' => __('Guam', 'ultimate-multisite'), + 'HI' => __('Hawaii', 'ultimate-multisite'), + 'UM-84' => __('Howland Island', 'ultimate-multisite'), + 'ID' => __('Idaho', 'ultimate-multisite'), + 'IL' => __('Illinois', 'ultimate-multisite'), + 'IN' => __('Indiana', 'ultimate-multisite'), + 'IA' => __('Iowa', 'ultimate-multisite'), + 'UM-86' => __('Jarvis Island', 'ultimate-multisite'), + 'UM-67' => __('Johnston Atoll', 'ultimate-multisite'), + 'KS' => __('Kansas', 'ultimate-multisite'), + 'KY' => __('Kentucky', 'ultimate-multisite'), + 'UM-89' => __('Kingman Reef', 'ultimate-multisite'), + 'LA' => __('Louisiana', 'ultimate-multisite'), + 'ME' => __('Maine', 'ultimate-multisite'), + 'MD' => __('Maryland', 'ultimate-multisite'), + 'MA' => __('Massachusetts', 'ultimate-multisite'), + 'MI' => __('Michigan', 'ultimate-multisite'), + 'UM-71' => __('Midway Atoll', 'ultimate-multisite'), + 'MN' => __('Minnesota', 'ultimate-multisite'), + 'MS' => __('Mississippi', 'ultimate-multisite'), + 'MO' => __('Missouri', 'ultimate-multisite'), + 'MT' => __('Montana', 'ultimate-multisite'), + 'UM-76' => __('Navassa Island', 'ultimate-multisite'), + 'NE' => __('Nebraska', 'ultimate-multisite'), + 'NV' => __('Nevada', 'ultimate-multisite'), + 'NH' => __('New Hampshire', 'ultimate-multisite'), + 'NJ' => __('New Jersey', 'ultimate-multisite'), + 'NM' => __('New Mexico', 'ultimate-multisite'), + 'NY' => __('New York', 'ultimate-multisite'), + 'NC' => __('North Carolina', 'ultimate-multisite'), + 'ND' => __('North Dakota', 'ultimate-multisite'), + 'MP' => __('Northern Mariana Islands', 'ultimate-multisite'), + 'OH' => __('Ohio', 'ultimate-multisite'), + 'OK' => __('Oklahoma', 'ultimate-multisite'), + 'OR' => __('Oregon', 'ultimate-multisite'), + 'UM-95' => __('Palmyra Atoll', 'ultimate-multisite'), + 'PA' => __('Pennsylvania', 'ultimate-multisite'), + 'PR' => __('Puerto Rico', 'ultimate-multisite'), + 'RI' => __('Rhode Island', 'ultimate-multisite'), + 'SC' => __('South Carolina', 'ultimate-multisite'), + 'SD' => __('South Dakota', 'ultimate-multisite'), + 'TN' => __('Tennessee', 'ultimate-multisite'), + 'TX' => __('Texas', 'ultimate-multisite'), + 'UM' => __('United States Minor Outlying Islands', 'ultimate-multisite'), + 'VI' => __('United States Virgin Islands', 'ultimate-multisite'), + 'UT' => __('Utah', 'ultimate-multisite'), + 'VT' => __('Vermont', 'ultimate-multisite'), + 'VA' => __('Virginia', 'ultimate-multisite'), + 'UM-79' => __('Wake Island', 'ultimate-multisite'), + 'WA' => __('Washington', 'ultimate-multisite'), + 'WV' => __('West Virginia', 'ultimate-multisite'), + 'WI' => __('Wisconsin', 'ultimate-multisite'), + 'WY' => __('Wyoming', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country-za.php b/inc/country/class-country-za.php index a4ca914a7..279f50d32 100644 --- a/inc/country/class-country-za.php +++ b/inc/country/class-country-za.php @@ -72,7 +72,7 @@ class Country_ZA extends Country { */ public function get_name() { - return __('South Africa', 'multisite-ultimate'); + return __('South Africa', 'ultimate-multisite'); } /** @@ -84,15 +84,15 @@ public function get_name() { protected function states() { return [ - 'EC' => __('Eastern Cape', 'multisite-ultimate'), - 'FS' => __('Free State', 'multisite-ultimate'), - 'GP' => __('Gauteng', 'multisite-ultimate'), - 'KZN' => __('KwaZulu-Natal', 'multisite-ultimate'), - 'LP' => __('Limpopo', 'multisite-ultimate'), - 'MP' => __('Mpumalanga', 'multisite-ultimate'), - 'NW' => __('North West', 'multisite-ultimate'), - 'NC' => __('Northern Cape', 'multisite-ultimate'), - 'WC' => __('Western Cape', 'multisite-ultimate'), + 'EC' => __('Eastern Cape', 'ultimate-multisite'), + 'FS' => __('Free State', 'ultimate-multisite'), + 'GP' => __('Gauteng', 'ultimate-multisite'), + 'KZN' => __('KwaZulu-Natal', 'ultimate-multisite'), + 'LP' => __('Limpopo', 'ultimate-multisite'), + 'MP' => __('Mpumalanga', 'ultimate-multisite'), + 'NW' => __('North West', 'ultimate-multisite'), + 'NC' => __('Northern Cape', 'ultimate-multisite'), + 'WC' => __('Western Cape', 'ultimate-multisite'), ]; } } diff --git a/inc/country/class-country.php b/inc/country/class-country.php index cb1a325e5..aba3565d6 100644 --- a/inc/country/class-country.php +++ b/inc/country/class-country.php @@ -104,7 +104,7 @@ public function get_states_as_options($placeholder = '') { $division_name = $this->get_administrative_division_name(); // translators: %s is the name of the administrative division (state, province, etc). - $placeholder_option[''] = '' !== $placeholder ? $placeholder : sprintf(__('Select your %s', 'multisite-ultimate'), $division_name); + $placeholder_option[''] = '' !== $placeholder ? $placeholder : sprintf(__('Select your %s', 'ultimate-multisite'), $division_name); } return array_merge($placeholder_option, $options); @@ -162,7 +162,7 @@ public function get_cities_as_options($state_code = '', $placeholder = '') { $placeholder_option = []; if (false !== $placeholder && $options) { - $placeholder_option[''] = '' !== $placeholder ? $placeholder : __('Select your city', 'multisite-ultimate'); + $placeholder_option[''] = '' !== $placeholder ? $placeholder : __('Select your city', 'ultimate-multisite'); } $options = array_combine($options, $options); @@ -195,7 +195,7 @@ protected function states() { */ public function get_municipality_name($state_code = null, $ucwords = false) { - $name = __('city', 'multisite-ultimate'); + $name = __('city', 'ultimate-multisite'); $name = $ucwords ? ucwords($name) : $name; @@ -217,18 +217,18 @@ public function get_municipality_name($state_code = null, $ucwords = false) { public function get_administrative_division_name($state_code = null, $ucwords = false) { $denominations = [ - 'province' => __('province', 'multisite-ultimate'), - 'state' => __('state', 'multisite-ultimate'), - 'territory' => __('territory', 'multisite-ultimate'), - 'region' => __('region', 'multisite-ultimate'), - 'department' => __('department', 'multisite-ultimate'), - 'district' => __('district', 'multisite-ultimate'), - 'prefecture' => __('prefecture', 'multisite-ultimate'), - 'autonomous_community' => __('autonomous community', 'multisite-ultimate'), - 'parish' => __('parish', 'multisite-ultimate'), - 'county' => __('county', 'multisite-ultimate'), - 'division' => __('division', 'multisite-ultimate'), - 'unknown' => __('state / province', 'multisite-ultimate'), + 'province' => __('province', 'ultimate-multisite'), + 'state' => __('state', 'ultimate-multisite'), + 'territory' => __('territory', 'ultimate-multisite'), + 'region' => __('region', 'ultimate-multisite'), + 'department' => __('department', 'ultimate-multisite'), + 'district' => __('district', 'ultimate-multisite'), + 'prefecture' => __('prefecture', 'ultimate-multisite'), + 'autonomous_community' => __('autonomous community', 'ultimate-multisite'), + 'parish' => __('parish', 'ultimate-multisite'), + 'county' => __('county', 'ultimate-multisite'), + 'division' => __('division', 'ultimate-multisite'), + 'unknown' => __('state / province', 'ultimate-multisite'), ]; $name = wu_get_isset($denominations, $this->state_type, $denominations['unknown']); diff --git a/inc/database/domains/class-domain-stage.php b/inc/database/domains/class-domain-stage.php index 4163ce7f6..88bf60ae4 100644 --- a/inc/database/domains/class-domain-stage.php +++ b/inc/database/domains/class-domain-stage.php @@ -62,11 +62,11 @@ protected function classes() { protected function labels() { return [ - static::FAILED => __('DNS Failed', 'multisite-ultimate'), - static::CHECKING_DNS => __('Checking DNS', 'multisite-ultimate'), - static::CHECKING_SSL => __('Checking SSL', 'multisite-ultimate'), - static::DONE => __('Ready', 'multisite-ultimate'), - static::DONE_WITHOUT_SSL => __('Ready (without SSL)', 'multisite-ultimate'), + static::FAILED => __('DNS Failed', 'ultimate-multisite'), + static::CHECKING_DNS => __('Checking DNS', 'ultimate-multisite'), + static::CHECKING_SSL => __('Checking SSL', 'ultimate-multisite'), + static::DONE => __('Ready', 'ultimate-multisite'), + static::DONE_WITHOUT_SSL => __('Ready (without SSL)', 'ultimate-multisite'), ]; } } diff --git a/inc/database/engine/class-enum.php b/inc/database/engine/class-enum.php index 0148549a4..d78e9ef78 100644 --- a/inc/database/engine/class-enum.php +++ b/inc/database/engine/class-enum.php @@ -1,6 +1,6 @@ __('Pending', 'multisite-ultimate'), - static::ACTIVE => __('Active', 'multisite-ultimate'), - static::TRIALING => __('Trialing', 'multisite-ultimate'), - static::ON_HOLD => __('On Hold', 'multisite-ultimate'), - static::EXPIRED => __('Expired', 'multisite-ultimate'), - static::CANCELLED => __('Cancelled', 'multisite-ultimate'), + static::PENDING => __('Pending', 'ultimate-multisite'), + static::ACTIVE => __('Active', 'ultimate-multisite'), + static::TRIALING => __('Trialing', 'ultimate-multisite'), + static::ON_HOLD => __('On Hold', 'ultimate-multisite'), + static::EXPIRED => __('Expired', 'ultimate-multisite'), + static::CANCELLED => __('Cancelled', 'ultimate-multisite'), ]; } } diff --git a/inc/database/payments/class-payment-status.php b/inc/database/payments/class-payment-status.php index 7dc38d945..0f86e2c2c 100644 --- a/inc/database/payments/class-payment-status.php +++ b/inc/database/payments/class-payment-status.php @@ -87,13 +87,13 @@ protected function icon_classes() { protected function labels() { return [ - static::PENDING => __('Pending', 'multisite-ultimate'), - static::COMPLETED => __('Completed', 'multisite-ultimate'), - static::REFUND => __('Refunded', 'multisite-ultimate'), - static::PARTIAL_REFUND => __('Partially Refunded', 'multisite-ultimate'), - static::PARTIAL => __('Partially Paid', 'multisite-ultimate'), - static::FAILED => __('Failed', 'multisite-ultimate'), - static::CANCELLED => __('Cancelled', 'multisite-ultimate'), + static::PENDING => __('Pending', 'ultimate-multisite'), + static::COMPLETED => __('Completed', 'ultimate-multisite'), + static::REFUND => __('Refunded', 'ultimate-multisite'), + static::PARTIAL_REFUND => __('Partially Refunded', 'ultimate-multisite'), + static::PARTIAL => __('Partially Paid', 'ultimate-multisite'), + static::FAILED => __('Failed', 'ultimate-multisite'), + static::CANCELLED => __('Cancelled', 'ultimate-multisite'), ]; } } diff --git a/inc/database/products/class-product-type.php b/inc/database/products/class-product-type.php index fa91f0236..3c0a95272 100644 --- a/inc/database/products/class-product-type.php +++ b/inc/database/products/class-product-type.php @@ -56,9 +56,9 @@ protected function classes() { protected function labels() { return [ - static::PLAN => __('Plan', 'multisite-ultimate'), - static::PACKAGE => __('Package', 'multisite-ultimate'), - static::SERVICE => __('Service', 'multisite-ultimate'), + static::PLAN => __('Plan', 'ultimate-multisite'), + static::PACKAGE => __('Package', 'ultimate-multisite'), + static::SERVICE => __('Service', 'ultimate-multisite'), ]; } } diff --git a/inc/database/sites/class-site-type.php b/inc/database/sites/class-site-type.php index 812632a63..f66aa39a8 100644 --- a/inc/database/sites/class-site-type.php +++ b/inc/database/sites/class-site-type.php @@ -65,11 +65,11 @@ protected function classes() { protected function labels() { return [ - static::REGULAR => __('Regular Site', 'multisite-ultimate'), - static::SITE_TEMPLATE => __('Site Template', 'multisite-ultimate'), - static::CUSTOMER_OWNED => __('Customer-Owned', 'multisite-ultimate'), - static::PENDING => __('Pending', 'multisite-ultimate'), - static::MAIN => __('Main Site', 'multisite-ultimate'), + static::REGULAR => __('Regular Site', 'ultimate-multisite'), + static::SITE_TEMPLATE => __('Site Template', 'ultimate-multisite'), + static::CUSTOMER_OWNED => __('Customer-Owned', 'ultimate-multisite'), + static::PENDING => __('Pending', 'ultimate-multisite'), + static::MAIN => __('Main Site', 'ultimate-multisite'), ]; } } diff --git a/inc/debug/class-debug.php b/inc/debug/class-debug.php index 5caf671b9..5d0def49b 100644 --- a/inc/debug/class-debug.php +++ b/inc/debug/class-debug.php @@ -24,7 +24,7 @@ class Debug { use \WP_Ultimo\Traits\Singleton; /** - * The registry of Multisite Ultimate admin pages. + * The registry of Ultimate Multisite admin pages. * * @since 2.0.0 * @var array @@ -71,37 +71,37 @@ public function add_debug_links(): void { - + - + - + - + [ - 'title' => __('Customers', 'multisite-ultimate'), - 'desc' => __('Toggle to generate customers.', 'multisite-ultimate'), + 'title' => __('Customers', 'ultimate-multisite'), + 'desc' => __('Toggle to generate customers.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'customers', ], ], 'customers_number' => [ - 'title' => __('Number of Customers', 'multisite-ultimate'), + 'title' => __('Number of Customers', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -175,15 +175,15 @@ public function render_debug_generator_form(): void { ], ], 'products' => [ - 'title' => __('Products', 'multisite-ultimate'), - 'desc' => __('Toggle to generate products.', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), + 'desc' => __('Toggle to generate products.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'products', ], ], 'products_number' => [ - 'title' => __('Number of Products', 'multisite-ultimate'), + 'title' => __('Number of Products', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -192,15 +192,15 @@ public function render_debug_generator_form(): void { ], ], 'memberships' => [ - 'title' => __('Memberships', 'multisite-ultimate'), - 'desc' => __('Toggle to generate memberships.', 'multisite-ultimate'), + 'title' => __('Memberships', 'ultimate-multisite'), + 'desc' => __('Toggle to generate memberships.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'memberships', ], ], 'memberships_number' => [ - 'title' => __('Number of Memberships', 'multisite-ultimate'), + 'title' => __('Number of Memberships', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -209,15 +209,15 @@ public function render_debug_generator_form(): void { ], ], 'sites' => [ - 'title' => __('Sites', 'multisite-ultimate'), - 'desc' => __('Toggle to generate sites.', 'multisite-ultimate'), + 'title' => __('Sites', 'ultimate-multisite'), + 'desc' => __('Toggle to generate sites.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'sites', ], ], 'sites_number' => [ - 'title' => __('Number of Sites', 'multisite-ultimate'), + 'title' => __('Number of Sites', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -226,15 +226,15 @@ public function render_debug_generator_form(): void { ], ], 'domains' => [ - 'title' => __('Domains', 'multisite-ultimate'), - 'desc' => __('Toggle to generate domains.', 'multisite-ultimate'), + 'title' => __('Domains', 'ultimate-multisite'), + 'desc' => __('Toggle to generate domains.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'domains', ], ], 'domains_number' => [ - 'title' => __('Number of Domains', 'multisite-ultimate'), + 'title' => __('Number of Domains', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -243,15 +243,15 @@ public function render_debug_generator_form(): void { ], ], 'discount_codes' => [ - 'title' => __('Discount Codes', 'multisite-ultimate'), - 'desc' => __('Toggle to generate discount codes.', 'multisite-ultimate'), + 'title' => __('Discount Codes', 'ultimate-multisite'), + 'desc' => __('Toggle to generate discount codes.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'discount_codes', ], ], 'discount_codes_number' => [ - 'title' => __('Number of Discount Codes', 'multisite-ultimate'), + 'title' => __('Number of Discount Codes', 'ultimate-multisite'), 'type' => 'number', 'value' => 10, 'wrapper_html_attr' => [ @@ -260,15 +260,15 @@ public function render_debug_generator_form(): void { ], ], 'payments' => [ - 'title' => __('Payments', 'multisite-ultimate'), - 'desc' => __('Toggle to generate payments.', 'multisite-ultimate'), + 'title' => __('Payments', 'ultimate-multisite'), + 'desc' => __('Toggle to generate payments.', 'ultimate-multisite'), 'type' => 'toggle', 'html_attr' => [ 'v-model' => 'payments', ], ], 'payments_number' => [ - 'title' => __('Number of Payments', 'multisite-ultimate'), + 'title' => __('Number of Payments', 'ultimate-multisite'), 'type' => 'number', 'value' => 30, 'wrapper_html_attr' => [ @@ -277,7 +277,7 @@ public function render_debug_generator_form(): void { ], ], 'submit_button' => [ - 'title' => __('Generate Data →', 'multisite-ultimate'), + 'title' => __('Generate Data →', 'ultimate-multisite'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -400,8 +400,8 @@ public function render_debug_reset_database_form(): void { $fields = [ 'reset_only_fake_data' => [ - 'title' => __('Only reset generated data.', 'multisite-ultimate'), - 'desc' => __('Toggle this option to only remove data that was added by the generator previously. Untoggling this option will reset ALL data in Multisite Ultimate tables.', 'multisite-ultimate'), + 'title' => __('Only reset generated data.', 'ultimate-multisite'), + 'desc' => __('Toggle this option to only remove data that was added by the generator previously. Untoggling this option will reset ALL data in Ultimate Multisite tables.', 'ultimate-multisite'), 'type' => 'toggle', 'value' => true, 'html_attr' => [ @@ -409,7 +409,7 @@ public function render_debug_reset_database_form(): void { ], ], 'submit_button' => [ - 'title' => __('Reset Database →', 'multisite-ultimate'), + 'title' => __('Reset Database →', 'ultimate-multisite'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -486,10 +486,10 @@ public function render_debug_drop_database_form(): void { $fields = [ 'reset_note' => [ 'type' => 'note', - 'desc' => __('This action will drop the Multisite Ultimate database tables and is irreversable.', 'multisite-ultimate'), + 'desc' => __('This action will drop the Ultimate Multisite database tables and is irreversable.', 'ultimate-multisite'), ], 'submit_button' => [ - 'title' => __('Drop Database Tables →', 'multisite-ultimate'), + 'title' => __('Drop Database Tables →', 'ultimate-multisite'), 'type' => 'submit', 'value' => 'save', 'classes' => 'button button-primary wu-w-full', @@ -581,7 +581,7 @@ function () { } /** - * Add a Multisite Ultimate page to the registry. + * Add a Ultimate Multisite page to the registry. * * @since 2.0.0 * @@ -956,7 +956,7 @@ private function reset_settings(): void { $the_prefix = 'wp-ultimo_'; /* - * List of Multisite Ultimate options. + * List of Ultimate Multisite options. * Format: $option_name => $should_use_prefix */ $options = [ diff --git a/inc/deprecated/deprecated.php b/inc/deprecated/deprecated.php index 129cb01eb..0c81d43c9 100644 --- a/inc/deprecated/deprecated.php +++ b/inc/deprecated/deprecated.php @@ -171,8 +171,8 @@ public function __construct($network = true, $atts = []) { 'parent' => 'wp-ultimo', 'capability' => 'manage_network', 'menu_icon' => 'dashicons-menu', - 'title' => __('Admin Page', 'multisite-ultimate'), - 'menu_title' => __('Admin Page', 'multisite-ultimate'), + 'title' => __('Admin Page', 'ultimate-multisite'), + 'menu_title' => __('Admin Page', 'ultimate-multisite'), ] ); @@ -425,7 +425,7 @@ public static function __callStatic($method_name, $args) { * There is plans to re-add something like this in the future. * For now, this is deprecated and declaring it have no side-effects. * This class is here to prevent fatal errors when plugin developers - * used it on their Multisite Ultimate extensions. + * used it on their Ultimate Multisite extensions. * * @deprecated 2.0.0 */ diff --git a/inc/development/bootstrap.php b/inc/development/bootstrap.php index 5c7e67a33..bb7697005 100644 --- a/inc/development/bootstrap.php +++ b/inc/development/bootstrap.php @@ -2,7 +2,7 @@ /** * Development Bootstrap File * - * This file loads some of the tooling we use to develop Multisite Ultimate. + * This file loads some of the tooling we use to develop Ultimate Multisite. * It is not part of the final zip file we ship, so there's no need to worry * about things added in here. * diff --git a/inc/development/class-toolkit.php b/inc/development/class-toolkit.php index 14be70cca..eca25201c 100644 --- a/inc/development/class-toolkit.php +++ b/inc/development/class-toolkit.php @@ -346,7 +346,7 @@ public function add_overview_panel($output) { } /** - * Manually enqueues query monitor and Multisite Ultimate styles. + * Manually enqueues query monitor and Ultimate Multisite styles. * * @since 2.0.11 * diff --git a/inc/development/query-monitor/collectors/class-collector-overview.php b/inc/development/query-monitor/collectors/class-collector-overview.php index 7edd64678..108417b74 100644 --- a/inc/development/query-monitor/collectors/class-collector-overview.php +++ b/inc/development/query-monitor/collectors/class-collector-overview.php @@ -1,6 +1,6 @@ $this->menu( [ - 'title' => esc_html__('Multisite Ultimate', 'multisite-ultimate'), + 'title' => esc_html__('Ultimate Multisite', 'ultimate-multisite'), 'id' => 'wp-ultimo', ] ), diff --git a/inc/domain-mapping/class-helper.php b/inc/domain-mapping/class-helper.php index 2a1563236..8bf5e50a1 100644 --- a/inc/domain-mapping/class-helper.php +++ b/inc/domain-mapping/class-helper.php @@ -231,7 +231,7 @@ public static function has_valid_ssl_certificate($domain = '') { wu_log_add( 'domain-ssl-checks', // translators: % error message - sprintf(__('Certificate Invalid: %s', 'multisite-ultimate'), $e->getMessage()), + sprintf(__('Certificate Invalid: %s', 'ultimate-multisite'), $e->getMessage()), LogLevel::ERROR ); } diff --git a/inc/exception/class-runtime-exception.php b/inc/exception/class-runtime-exception.php index ec62cef43..751389567 100644 --- a/inc/exception/class-runtime-exception.php +++ b/inc/exception/class-runtime-exception.php @@ -1,6 +1,6 @@ __('This is not yet available...', 'multisite-ultimate'), - 'sub_message' => __('We\'re still working on this part of the product.', 'multisite-ultimate'), - 'link_label' => __('← Go Back', 'multisite-ultimate'), + 'message' => __('This is not yet available...', 'ultimate-multisite'), + 'sub_message' => __('We\'re still working on this part of the product.', 'ultimate-multisite'), + 'link_label' => __('← Go Back', 'ultimate-multisite'), 'link_url' => 'javascript:history.go(-1)', 'link_classes' => '', 'link_icon' => '', @@ -61,7 +61,7 @@ function wu_responsive_table_row($args = [], $first_row = [], $second_row = []) $args, [ 'id' => '', - 'title' => __('No Title', 'multisite-ultimate'), + 'title' => __('No Title', 'ultimate-multisite'), 'url' => '#', 'status' => '', 'image' => '', diff --git a/inc/functions/checkout.php b/inc/functions/checkout.php index b7dbea30a..026ab652a 100644 --- a/inc/functions/checkout.php +++ b/inc/functions/checkout.php @@ -244,7 +244,7 @@ function wu_get_days_in_cycle($duration_unit, $duration) { * Register a new field type. * * Field types are types of field (duh!) that can be - * added to the checkout flow and other forms inside Multisite Ultimate. + * added to the checkout flow and other forms inside Ultimate Multisite. * * @see https://github.com/superdav42/wp-multisite-waas/wiki/Add-Custom-Field-Types * @@ -271,7 +271,7 @@ function ($field_types) use ($field_type_id, $field_type_class_name) { * Register a new field template for a field type. * * Field templates are different layouts that can be added to - * Multisite Ultimate to be used as the final representation of a given + * Ultimate Multisite to be used as the final representation of a given * checkout field. * * @see https://github.com/superdav42/wp-multisite-waas/wiki/Customize-Checkout-Flow diff --git a/inc/functions/countries.php b/inc/functions/countries.php index 092def116..0adc77dc5 100644 --- a/inc/functions/countries.php +++ b/inc/functions/countries.php @@ -20,255 +20,255 @@ function wu_get_countries() { return apply_filters( 'wu_get_countries', [ - 'AF' => __('Afghanistan', 'multisite-ultimate'), - 'AX' => __('Åland Islands', 'multisite-ultimate'), - 'AL' => __('Albania', 'multisite-ultimate'), - 'DZ' => __('Algeria', 'multisite-ultimate'), - 'AS' => __('American Samoa', 'multisite-ultimate'), - 'AD' => __('Andorra', 'multisite-ultimate'), - 'AO' => __('Angola', 'multisite-ultimate'), - 'AI' => __('Anguilla', 'multisite-ultimate'), - 'AQ' => __('Antarctica', 'multisite-ultimate'), - 'AG' => __('Antigua and Barbuda', 'multisite-ultimate'), - 'AR' => __('Argentina', 'multisite-ultimate'), - 'AM' => __('Armenia', 'multisite-ultimate'), - 'AW' => __('Aruba', 'multisite-ultimate'), - 'AU' => __('Australia', 'multisite-ultimate'), - 'AT' => __('Austria', 'multisite-ultimate'), - 'AZ' => __('Azerbaijan', 'multisite-ultimate'), - 'BS' => __('Bahamas', 'multisite-ultimate'), - 'BH' => __('Bahrain', 'multisite-ultimate'), - 'BD' => __('Bangladesh', 'multisite-ultimate'), - 'BB' => __('Barbados', 'multisite-ultimate'), - 'BY' => __('Belarus', 'multisite-ultimate'), - 'BE' => __('Belgium', 'multisite-ultimate'), - 'PW' => __('Belau', 'multisite-ultimate'), - 'BZ' => __('Belize', 'multisite-ultimate'), - 'BJ' => __('Benin', 'multisite-ultimate'), - 'BM' => __('Bermuda', 'multisite-ultimate'), - 'BT' => __('Bhutan', 'multisite-ultimate'), - 'BO' => __('Bolivia', 'multisite-ultimate'), - 'BQ' => __('Bonaire, Saint Eustatius and Saba', 'multisite-ultimate'), - 'BA' => __('Bosnia and Herzegovina', 'multisite-ultimate'), - 'BW' => __('Botswana', 'multisite-ultimate'), - 'BV' => __('Bouvet Island', 'multisite-ultimate'), - 'BR' => __('Brazil', 'multisite-ultimate'), - 'IO' => __('British Indian Ocean Territory', 'multisite-ultimate'), - 'VG' => __('British Virgin Islands', 'multisite-ultimate'), - 'BN' => __('Brunei', 'multisite-ultimate'), - 'BG' => __('Bulgaria', 'multisite-ultimate'), - 'BF' => __('Burkina Faso', 'multisite-ultimate'), - 'BI' => __('Burundi', 'multisite-ultimate'), - 'KH' => __('Cambodia', 'multisite-ultimate'), - 'CM' => __('Cameroon', 'multisite-ultimate'), - 'CA' => __('Canada', 'multisite-ultimate'), - 'CV' => __('Cape Verde', 'multisite-ultimate'), - 'KY' => __('Cayman Islands', 'multisite-ultimate'), - 'CF' => __('Central African Republic', 'multisite-ultimate'), - 'TD' => __('Chad', 'multisite-ultimate'), - 'CL' => __('Chile', 'multisite-ultimate'), - 'CN' => __('China', 'multisite-ultimate'), - 'CX' => __('Christmas Island', 'multisite-ultimate'), - 'CC' => __('Cocos (Keeling) Islands', 'multisite-ultimate'), - 'CO' => __('Colombia', 'multisite-ultimate'), - 'KM' => __('Comoros', 'multisite-ultimate'), - 'CG' => __('Congo (Brazzaville)', 'multisite-ultimate'), - 'CD' => __('Congo (Kinshasa)', 'multisite-ultimate'), - 'CK' => __('Cook Islands', 'multisite-ultimate'), - 'CR' => __('Costa Rica', 'multisite-ultimate'), - 'HR' => __('Croatia', 'multisite-ultimate'), - 'CU' => __('Cuba', 'multisite-ultimate'), - 'CW' => __('Curaçao', 'multisite-ultimate'), - 'CY' => __('Cyprus', 'multisite-ultimate'), - 'CZ' => __('Czech Republic', 'multisite-ultimate'), - 'DK' => __('Denmark', 'multisite-ultimate'), - 'DJ' => __('Djibouti', 'multisite-ultimate'), - 'DM' => __('Dominica', 'multisite-ultimate'), - 'DO' => __('Dominican Republic', 'multisite-ultimate'), - 'EC' => __('Ecuador', 'multisite-ultimate'), - 'EG' => __('Egypt', 'multisite-ultimate'), - 'SV' => __('El Salvador', 'multisite-ultimate'), - 'GQ' => __('Equatorial Guinea', 'multisite-ultimate'), - 'ER' => __('Eritrea', 'multisite-ultimate'), - 'EE' => __('Estonia', 'multisite-ultimate'), - 'ET' => __('Ethiopia', 'multisite-ultimate'), - 'FK' => __('Falkland Islands', 'multisite-ultimate'), - 'FO' => __('Faroe Islands', 'multisite-ultimate'), - 'FJ' => __('Fiji', 'multisite-ultimate'), - 'FI' => __('Finland', 'multisite-ultimate'), - 'FR' => __('France', 'multisite-ultimate'), - 'GF' => __('French Guiana', 'multisite-ultimate'), - 'PF' => __('French Polynesia', 'multisite-ultimate'), - 'TF' => __('French Southern Territories', 'multisite-ultimate'), - 'GA' => __('Gabon', 'multisite-ultimate'), - 'GM' => __('Gambia', 'multisite-ultimate'), - 'GE' => __('Georgia', 'multisite-ultimate'), - 'DE' => __('Germany', 'multisite-ultimate'), - 'GH' => __('Ghana', 'multisite-ultimate'), - 'GI' => __('Gibraltar', 'multisite-ultimate'), - 'GR' => __('Greece', 'multisite-ultimate'), - 'GL' => __('Greenland', 'multisite-ultimate'), - 'GD' => __('Grenada', 'multisite-ultimate'), - 'GP' => __('Guadeloupe', 'multisite-ultimate'), - 'GU' => __('Guam', 'multisite-ultimate'), - 'GT' => __('Guatemala', 'multisite-ultimate'), - 'GG' => __('Guernsey', 'multisite-ultimate'), - 'GN' => __('Guinea', 'multisite-ultimate'), - 'GW' => __('Guinea-Bissau', 'multisite-ultimate'), - 'GY' => __('Guyana', 'multisite-ultimate'), - 'HT' => __('Haiti', 'multisite-ultimate'), - 'HM' => __('Heard Island and McDonald Islands', 'multisite-ultimate'), - 'HN' => __('Honduras', 'multisite-ultimate'), - 'HK' => __('Hong Kong', 'multisite-ultimate'), - 'HU' => __('Hungary', 'multisite-ultimate'), - 'IS' => __('Iceland', 'multisite-ultimate'), - 'IN' => __('India', 'multisite-ultimate'), - 'ID' => __('Indonesia', 'multisite-ultimate'), - 'IR' => __('Iran', 'multisite-ultimate'), - 'IQ' => __('Iraq', 'multisite-ultimate'), - 'IE' => __('Ireland', 'multisite-ultimate'), - 'IM' => __('Isle of Man', 'multisite-ultimate'), - 'IL' => __('Israel', 'multisite-ultimate'), - 'IT' => __('Italy', 'multisite-ultimate'), - 'CI' => __('Ivory Coast', 'multisite-ultimate'), - 'JM' => __('Jamaica', 'multisite-ultimate'), - 'JP' => __('Japan', 'multisite-ultimate'), - 'JE' => __('Jersey', 'multisite-ultimate'), - 'JO' => __('Jordan', 'multisite-ultimate'), - 'KZ' => __('Kazakhstan', 'multisite-ultimate'), - 'KE' => __('Kenya', 'multisite-ultimate'), - 'KI' => __('Kiribati', 'multisite-ultimate'), - 'KW' => __('Kuwait', 'multisite-ultimate'), - 'KG' => __('Kyrgyzstan', 'multisite-ultimate'), - 'LA' => __('Laos', 'multisite-ultimate'), - 'LV' => __('Latvia', 'multisite-ultimate'), - 'LB' => __('Lebanon', 'multisite-ultimate'), - 'LS' => __('Lesotho', 'multisite-ultimate'), - 'LR' => __('Liberia', 'multisite-ultimate'), - 'LY' => __('Libya', 'multisite-ultimate'), - 'LI' => __('Liechtenstein', 'multisite-ultimate'), - 'LT' => __('Lithuania', 'multisite-ultimate'), - 'LU' => __('Luxembourg', 'multisite-ultimate'), - 'MO' => __('Macao S.A.R., China', 'multisite-ultimate'), - 'MK' => __('Macedonia', 'multisite-ultimate'), - 'MG' => __('Madagascar', 'multisite-ultimate'), - 'MW' => __('Malawi', 'multisite-ultimate'), - 'MY' => __('Malaysia', 'multisite-ultimate'), - 'MV' => __('Maldives', 'multisite-ultimate'), - 'ML' => __('Mali', 'multisite-ultimate'), - 'MT' => __('Malta', 'multisite-ultimate'), - 'MH' => __('Marshall Islands', 'multisite-ultimate'), - 'MQ' => __('Martinique', 'multisite-ultimate'), - 'MR' => __('Mauritania', 'multisite-ultimate'), - 'MU' => __('Mauritius', 'multisite-ultimate'), - 'YT' => __('Mayotte', 'multisite-ultimate'), - 'MX' => __('Mexico', 'multisite-ultimate'), - 'FM' => __('Micronesia', 'multisite-ultimate'), - 'MD' => __('Moldova', 'multisite-ultimate'), - 'MC' => __('Monaco', 'multisite-ultimate'), - 'MN' => __('Mongolia', 'multisite-ultimate'), - 'ME' => __('Montenegro', 'multisite-ultimate'), - 'MS' => __('Montserrat', 'multisite-ultimate'), - 'MA' => __('Morocco', 'multisite-ultimate'), - 'MZ' => __('Mozambique', 'multisite-ultimate'), - 'MM' => __('Myanmar', 'multisite-ultimate'), - 'NA' => __('Namibia', 'multisite-ultimate'), - 'NR' => __('Nauru', 'multisite-ultimate'), - 'NP' => __('Nepal', 'multisite-ultimate'), - 'NL' => __('Netherlands', 'multisite-ultimate'), - 'NC' => __('New Caledonia', 'multisite-ultimate'), - 'NZ' => __('New Zealand', 'multisite-ultimate'), - 'NI' => __('Nicaragua', 'multisite-ultimate'), - 'NE' => __('Niger', 'multisite-ultimate'), - 'NG' => __('Nigeria', 'multisite-ultimate'), - 'NU' => __('Niue', 'multisite-ultimate'), - 'NF' => __('Norfolk Island', 'multisite-ultimate'), - 'MP' => __('Northern Mariana Islands', 'multisite-ultimate'), - 'KP' => __('North Korea', 'multisite-ultimate'), - 'NO' => __('Norway', 'multisite-ultimate'), - 'OM' => __('Oman', 'multisite-ultimate'), - 'PK' => __('Pakistan', 'multisite-ultimate'), - 'PS' => __('Palestinian Territory', 'multisite-ultimate'), - 'PA' => __('Panama', 'multisite-ultimate'), - 'PG' => __('Papua New Guinea', 'multisite-ultimate'), - 'PY' => __('Paraguay', 'multisite-ultimate'), - 'PE' => __('Peru', 'multisite-ultimate'), - 'PH' => __('Philippines', 'multisite-ultimate'), - 'PN' => __('Pitcairn', 'multisite-ultimate'), - 'PL' => __('Poland', 'multisite-ultimate'), - 'PT' => __('Portugal', 'multisite-ultimate'), - 'PR' => __('Puerto Rico', 'multisite-ultimate'), - 'QA' => __('Qatar', 'multisite-ultimate'), - 'RE' => __('Reunion', 'multisite-ultimate'), - 'RO' => __('Romania', 'multisite-ultimate'), - 'RU' => __('Russia', 'multisite-ultimate'), - 'RW' => __('Rwanda', 'multisite-ultimate'), - 'BL' => __('Saint Barthélemy', 'multisite-ultimate'), - 'SH' => __('Saint Helena', 'multisite-ultimate'), - 'KN' => __('Saint Kitts and Nevis', 'multisite-ultimate'), - 'LC' => __('Saint Lucia', 'multisite-ultimate'), - 'MF' => __('Saint Martin (French part)', 'multisite-ultimate'), - 'SX' => __('Saint Martin (Dutch part)', 'multisite-ultimate'), - 'PM' => __('Saint Pierre and Miquelon', 'multisite-ultimate'), - 'VC' => __('Saint Vincent and the Grenadines', 'multisite-ultimate'), - 'SM' => __('San Marino', 'multisite-ultimate'), - 'ST' => __('São Tomé and Príncipe', 'multisite-ultimate'), - 'SA' => __('Saudi Arabia', 'multisite-ultimate'), - 'SN' => __('Senegal', 'multisite-ultimate'), - 'RS' => __('Serbia', 'multisite-ultimate'), - 'SC' => __('Seychelles', 'multisite-ultimate'), - 'SL' => __('Sierra Leone', 'multisite-ultimate'), - 'SG' => __('Singapore', 'multisite-ultimate'), - 'SK' => __('Slovakia', 'multisite-ultimate'), - 'SI' => __('Slovenia', 'multisite-ultimate'), - 'SB' => __('Solomon Islands', 'multisite-ultimate'), - 'SO' => __('Somalia', 'multisite-ultimate'), - 'ZA' => __('South Africa', 'multisite-ultimate'), - 'GS' => __('South Georgia/Sandwich Islands', 'multisite-ultimate'), - 'KR' => __('South Korea', 'multisite-ultimate'), - 'SS' => __('South Sudan', 'multisite-ultimate'), - 'ES' => __('Spain', 'multisite-ultimate'), - 'LK' => __('Sri Lanka', 'multisite-ultimate'), - 'SD' => __('Sudan', 'multisite-ultimate'), - 'SR' => __('Suriname', 'multisite-ultimate'), - 'SJ' => __('Svalbard and Jan Mayen', 'multisite-ultimate'), - 'SZ' => __('Swaziland', 'multisite-ultimate'), - 'SE' => __('Sweden', 'multisite-ultimate'), - 'CH' => __('Switzerland', 'multisite-ultimate'), - 'SY' => __('Syria', 'multisite-ultimate'), - 'TW' => __('Taiwan', 'multisite-ultimate'), - 'TJ' => __('Tajikistan', 'multisite-ultimate'), - 'TZ' => __('Tanzania', 'multisite-ultimate'), - 'TH' => __('Thailand', 'multisite-ultimate'), - 'TL' => __('Timor-Leste', 'multisite-ultimate'), - 'TG' => __('Togo', 'multisite-ultimate'), - 'TK' => __('Tokelau', 'multisite-ultimate'), - 'TO' => __('Tonga', 'multisite-ultimate'), - 'TT' => __('Trinidad and Tobago', 'multisite-ultimate'), - 'TN' => __('Tunisia', 'multisite-ultimate'), - 'TR' => __('Turkey', 'multisite-ultimate'), - 'TM' => __('Turkmenistan', 'multisite-ultimate'), - 'TC' => __('Turks and Caicos Islands', 'multisite-ultimate'), - 'TV' => __('Tuvalu', 'multisite-ultimate'), - 'UG' => __('Uganda', 'multisite-ultimate'), - 'UA' => __('Ukraine', 'multisite-ultimate'), - 'AE' => __('United Arab Emirates', 'multisite-ultimate'), - 'GB' => __('United Kingdom (UK)', 'multisite-ultimate'), - 'US' => __('United States (US)', 'multisite-ultimate'), - 'UM' => __('United States (US) Minor Outlying Islands', 'multisite-ultimate'), - 'VI' => __('United States (US) Virgin Islands', 'multisite-ultimate'), - 'UY' => __('Uruguay', 'multisite-ultimate'), - 'UZ' => __('Uzbekistan', 'multisite-ultimate'), - 'VU' => __('Vanuatu', 'multisite-ultimate'), - 'VA' => __('Vatican', 'multisite-ultimate'), - 'VE' => __('Venezuela', 'multisite-ultimate'), - 'VN' => __('Vietnam', 'multisite-ultimate'), - 'WF' => __('Wallis and Futuna', 'multisite-ultimate'), - 'EH' => __('Western Sahara', 'multisite-ultimate'), - 'WS' => __('Samoa', 'multisite-ultimate'), - 'YE' => __('Yemen', 'multisite-ultimate'), - 'ZM' => __('Zambia', 'multisite-ultimate'), - 'ZW' => __('Zimbabwe', 'multisite-ultimate'), + 'AF' => __('Afghanistan', 'ultimate-multisite'), + 'AX' => __('Åland Islands', 'ultimate-multisite'), + 'AL' => __('Albania', 'ultimate-multisite'), + 'DZ' => __('Algeria', 'ultimate-multisite'), + 'AS' => __('American Samoa', 'ultimate-multisite'), + 'AD' => __('Andorra', 'ultimate-multisite'), + 'AO' => __('Angola', 'ultimate-multisite'), + 'AI' => __('Anguilla', 'ultimate-multisite'), + 'AQ' => __('Antarctica', 'ultimate-multisite'), + 'AG' => __('Antigua and Barbuda', 'ultimate-multisite'), + 'AR' => __('Argentina', 'ultimate-multisite'), + 'AM' => __('Armenia', 'ultimate-multisite'), + 'AW' => __('Aruba', 'ultimate-multisite'), + 'AU' => __('Australia', 'ultimate-multisite'), + 'AT' => __('Austria', 'ultimate-multisite'), + 'AZ' => __('Azerbaijan', 'ultimate-multisite'), + 'BS' => __('Bahamas', 'ultimate-multisite'), + 'BH' => __('Bahrain', 'ultimate-multisite'), + 'BD' => __('Bangladesh', 'ultimate-multisite'), + 'BB' => __('Barbados', 'ultimate-multisite'), + 'BY' => __('Belarus', 'ultimate-multisite'), + 'BE' => __('Belgium', 'ultimate-multisite'), + 'PW' => __('Belau', 'ultimate-multisite'), + 'BZ' => __('Belize', 'ultimate-multisite'), + 'BJ' => __('Benin', 'ultimate-multisite'), + 'BM' => __('Bermuda', 'ultimate-multisite'), + 'BT' => __('Bhutan', 'ultimate-multisite'), + 'BO' => __('Bolivia', 'ultimate-multisite'), + 'BQ' => __('Bonaire, Saint Eustatius and Saba', 'ultimate-multisite'), + 'BA' => __('Bosnia and Herzegovina', 'ultimate-multisite'), + 'BW' => __('Botswana', 'ultimate-multisite'), + 'BV' => __('Bouvet Island', 'ultimate-multisite'), + 'BR' => __('Brazil', 'ultimate-multisite'), + 'IO' => __('British Indian Ocean Territory', 'ultimate-multisite'), + 'VG' => __('British Virgin Islands', 'ultimate-multisite'), + 'BN' => __('Brunei', 'ultimate-multisite'), + 'BG' => __('Bulgaria', 'ultimate-multisite'), + 'BF' => __('Burkina Faso', 'ultimate-multisite'), + 'BI' => __('Burundi', 'ultimate-multisite'), + 'KH' => __('Cambodia', 'ultimate-multisite'), + 'CM' => __('Cameroon', 'ultimate-multisite'), + 'CA' => __('Canada', 'ultimate-multisite'), + 'CV' => __('Cape Verde', 'ultimate-multisite'), + 'KY' => __('Cayman Islands', 'ultimate-multisite'), + 'CF' => __('Central African Republic', 'ultimate-multisite'), + 'TD' => __('Chad', 'ultimate-multisite'), + 'CL' => __('Chile', 'ultimate-multisite'), + 'CN' => __('China', 'ultimate-multisite'), + 'CX' => __('Christmas Island', 'ultimate-multisite'), + 'CC' => __('Cocos (Keeling) Islands', 'ultimate-multisite'), + 'CO' => __('Colombia', 'ultimate-multisite'), + 'KM' => __('Comoros', 'ultimate-multisite'), + 'CG' => __('Congo (Brazzaville)', 'ultimate-multisite'), + 'CD' => __('Congo (Kinshasa)', 'ultimate-multisite'), + 'CK' => __('Cook Islands', 'ultimate-multisite'), + 'CR' => __('Costa Rica', 'ultimate-multisite'), + 'HR' => __('Croatia', 'ultimate-multisite'), + 'CU' => __('Cuba', 'ultimate-multisite'), + 'CW' => __('Curaçao', 'ultimate-multisite'), + 'CY' => __('Cyprus', 'ultimate-multisite'), + 'CZ' => __('Czech Republic', 'ultimate-multisite'), + 'DK' => __('Denmark', 'ultimate-multisite'), + 'DJ' => __('Djibouti', 'ultimate-multisite'), + 'DM' => __('Dominica', 'ultimate-multisite'), + 'DO' => __('Dominican Republic', 'ultimate-multisite'), + 'EC' => __('Ecuador', 'ultimate-multisite'), + 'EG' => __('Egypt', 'ultimate-multisite'), + 'SV' => __('El Salvador', 'ultimate-multisite'), + 'GQ' => __('Equatorial Guinea', 'ultimate-multisite'), + 'ER' => __('Eritrea', 'ultimate-multisite'), + 'EE' => __('Estonia', 'ultimate-multisite'), + 'ET' => __('Ethiopia', 'ultimate-multisite'), + 'FK' => __('Falkland Islands', 'ultimate-multisite'), + 'FO' => __('Faroe Islands', 'ultimate-multisite'), + 'FJ' => __('Fiji', 'ultimate-multisite'), + 'FI' => __('Finland', 'ultimate-multisite'), + 'FR' => __('France', 'ultimate-multisite'), + 'GF' => __('French Guiana', 'ultimate-multisite'), + 'PF' => __('French Polynesia', 'ultimate-multisite'), + 'TF' => __('French Southern Territories', 'ultimate-multisite'), + 'GA' => __('Gabon', 'ultimate-multisite'), + 'GM' => __('Gambia', 'ultimate-multisite'), + 'GE' => __('Georgia', 'ultimate-multisite'), + 'DE' => __('Germany', 'ultimate-multisite'), + 'GH' => __('Ghana', 'ultimate-multisite'), + 'GI' => __('Gibraltar', 'ultimate-multisite'), + 'GR' => __('Greece', 'ultimate-multisite'), + 'GL' => __('Greenland', 'ultimate-multisite'), + 'GD' => __('Grenada', 'ultimate-multisite'), + 'GP' => __('Guadeloupe', 'ultimate-multisite'), + 'GU' => __('Guam', 'ultimate-multisite'), + 'GT' => __('Guatemala', 'ultimate-multisite'), + 'GG' => __('Guernsey', 'ultimate-multisite'), + 'GN' => __('Guinea', 'ultimate-multisite'), + 'GW' => __('Guinea-Bissau', 'ultimate-multisite'), + 'GY' => __('Guyana', 'ultimate-multisite'), + 'HT' => __('Haiti', 'ultimate-multisite'), + 'HM' => __('Heard Island and McDonald Islands', 'ultimate-multisite'), + 'HN' => __('Honduras', 'ultimate-multisite'), + 'HK' => __('Hong Kong', 'ultimate-multisite'), + 'HU' => __('Hungary', 'ultimate-multisite'), + 'IS' => __('Iceland', 'ultimate-multisite'), + 'IN' => __('India', 'ultimate-multisite'), + 'ID' => __('Indonesia', 'ultimate-multisite'), + 'IR' => __('Iran', 'ultimate-multisite'), + 'IQ' => __('Iraq', 'ultimate-multisite'), + 'IE' => __('Ireland', 'ultimate-multisite'), + 'IM' => __('Isle of Man', 'ultimate-multisite'), + 'IL' => __('Israel', 'ultimate-multisite'), + 'IT' => __('Italy', 'ultimate-multisite'), + 'CI' => __('Ivory Coast', 'ultimate-multisite'), + 'JM' => __('Jamaica', 'ultimate-multisite'), + 'JP' => __('Japan', 'ultimate-multisite'), + 'JE' => __('Jersey', 'ultimate-multisite'), + 'JO' => __('Jordan', 'ultimate-multisite'), + 'KZ' => __('Kazakhstan', 'ultimate-multisite'), + 'KE' => __('Kenya', 'ultimate-multisite'), + 'KI' => __('Kiribati', 'ultimate-multisite'), + 'KW' => __('Kuwait', 'ultimate-multisite'), + 'KG' => __('Kyrgyzstan', 'ultimate-multisite'), + 'LA' => __('Laos', 'ultimate-multisite'), + 'LV' => __('Latvia', 'ultimate-multisite'), + 'LB' => __('Lebanon', 'ultimate-multisite'), + 'LS' => __('Lesotho', 'ultimate-multisite'), + 'LR' => __('Liberia', 'ultimate-multisite'), + 'LY' => __('Libya', 'ultimate-multisite'), + 'LI' => __('Liechtenstein', 'ultimate-multisite'), + 'LT' => __('Lithuania', 'ultimate-multisite'), + 'LU' => __('Luxembourg', 'ultimate-multisite'), + 'MO' => __('Macao S.A.R., China', 'ultimate-multisite'), + 'MK' => __('Macedonia', 'ultimate-multisite'), + 'MG' => __('Madagascar', 'ultimate-multisite'), + 'MW' => __('Malawi', 'ultimate-multisite'), + 'MY' => __('Malaysia', 'ultimate-multisite'), + 'MV' => __('Maldives', 'ultimate-multisite'), + 'ML' => __('Mali', 'ultimate-multisite'), + 'MT' => __('Malta', 'ultimate-multisite'), + 'MH' => __('Marshall Islands', 'ultimate-multisite'), + 'MQ' => __('Martinique', 'ultimate-multisite'), + 'MR' => __('Mauritania', 'ultimate-multisite'), + 'MU' => __('Mauritius', 'ultimate-multisite'), + 'YT' => __('Mayotte', 'ultimate-multisite'), + 'MX' => __('Mexico', 'ultimate-multisite'), + 'FM' => __('Micronesia', 'ultimate-multisite'), + 'MD' => __('Moldova', 'ultimate-multisite'), + 'MC' => __('Monaco', 'ultimate-multisite'), + 'MN' => __('Mongolia', 'ultimate-multisite'), + 'ME' => __('Montenegro', 'ultimate-multisite'), + 'MS' => __('Montserrat', 'ultimate-multisite'), + 'MA' => __('Morocco', 'ultimate-multisite'), + 'MZ' => __('Mozambique', 'ultimate-multisite'), + 'MM' => __('Myanmar', 'ultimate-multisite'), + 'NA' => __('Namibia', 'ultimate-multisite'), + 'NR' => __('Nauru', 'ultimate-multisite'), + 'NP' => __('Nepal', 'ultimate-multisite'), + 'NL' => __('Netherlands', 'ultimate-multisite'), + 'NC' => __('New Caledonia', 'ultimate-multisite'), + 'NZ' => __('New Zealand', 'ultimate-multisite'), + 'NI' => __('Nicaragua', 'ultimate-multisite'), + 'NE' => __('Niger', 'ultimate-multisite'), + 'NG' => __('Nigeria', 'ultimate-multisite'), + 'NU' => __('Niue', 'ultimate-multisite'), + 'NF' => __('Norfolk Island', 'ultimate-multisite'), + 'MP' => __('Northern Mariana Islands', 'ultimate-multisite'), + 'KP' => __('North Korea', 'ultimate-multisite'), + 'NO' => __('Norway', 'ultimate-multisite'), + 'OM' => __('Oman', 'ultimate-multisite'), + 'PK' => __('Pakistan', 'ultimate-multisite'), + 'PS' => __('Palestinian Territory', 'ultimate-multisite'), + 'PA' => __('Panama', 'ultimate-multisite'), + 'PG' => __('Papua New Guinea', 'ultimate-multisite'), + 'PY' => __('Paraguay', 'ultimate-multisite'), + 'PE' => __('Peru', 'ultimate-multisite'), + 'PH' => __('Philippines', 'ultimate-multisite'), + 'PN' => __('Pitcairn', 'ultimate-multisite'), + 'PL' => __('Poland', 'ultimate-multisite'), + 'PT' => __('Portugal', 'ultimate-multisite'), + 'PR' => __('Puerto Rico', 'ultimate-multisite'), + 'QA' => __('Qatar', 'ultimate-multisite'), + 'RE' => __('Reunion', 'ultimate-multisite'), + 'RO' => __('Romania', 'ultimate-multisite'), + 'RU' => __('Russia', 'ultimate-multisite'), + 'RW' => __('Rwanda', 'ultimate-multisite'), + 'BL' => __('Saint Barthélemy', 'ultimate-multisite'), + 'SH' => __('Saint Helena', 'ultimate-multisite'), + 'KN' => __('Saint Kitts and Nevis', 'ultimate-multisite'), + 'LC' => __('Saint Lucia', 'ultimate-multisite'), + 'MF' => __('Saint Martin (French part)', 'ultimate-multisite'), + 'SX' => __('Saint Martin (Dutch part)', 'ultimate-multisite'), + 'PM' => __('Saint Pierre and Miquelon', 'ultimate-multisite'), + 'VC' => __('Saint Vincent and the Grenadines', 'ultimate-multisite'), + 'SM' => __('San Marino', 'ultimate-multisite'), + 'ST' => __('São Tomé and Príncipe', 'ultimate-multisite'), + 'SA' => __('Saudi Arabia', 'ultimate-multisite'), + 'SN' => __('Senegal', 'ultimate-multisite'), + 'RS' => __('Serbia', 'ultimate-multisite'), + 'SC' => __('Seychelles', 'ultimate-multisite'), + 'SL' => __('Sierra Leone', 'ultimate-multisite'), + 'SG' => __('Singapore', 'ultimate-multisite'), + 'SK' => __('Slovakia', 'ultimate-multisite'), + 'SI' => __('Slovenia', 'ultimate-multisite'), + 'SB' => __('Solomon Islands', 'ultimate-multisite'), + 'SO' => __('Somalia', 'ultimate-multisite'), + 'ZA' => __('South Africa', 'ultimate-multisite'), + 'GS' => __('South Georgia/Sandwich Islands', 'ultimate-multisite'), + 'KR' => __('South Korea', 'ultimate-multisite'), + 'SS' => __('South Sudan', 'ultimate-multisite'), + 'ES' => __('Spain', 'ultimate-multisite'), + 'LK' => __('Sri Lanka', 'ultimate-multisite'), + 'SD' => __('Sudan', 'ultimate-multisite'), + 'SR' => __('Suriname', 'ultimate-multisite'), + 'SJ' => __('Svalbard and Jan Mayen', 'ultimate-multisite'), + 'SZ' => __('Swaziland', 'ultimate-multisite'), + 'SE' => __('Sweden', 'ultimate-multisite'), + 'CH' => __('Switzerland', 'ultimate-multisite'), + 'SY' => __('Syria', 'ultimate-multisite'), + 'TW' => __('Taiwan', 'ultimate-multisite'), + 'TJ' => __('Tajikistan', 'ultimate-multisite'), + 'TZ' => __('Tanzania', 'ultimate-multisite'), + 'TH' => __('Thailand', 'ultimate-multisite'), + 'TL' => __('Timor-Leste', 'ultimate-multisite'), + 'TG' => __('Togo', 'ultimate-multisite'), + 'TK' => __('Tokelau', 'ultimate-multisite'), + 'TO' => __('Tonga', 'ultimate-multisite'), + 'TT' => __('Trinidad and Tobago', 'ultimate-multisite'), + 'TN' => __('Tunisia', 'ultimate-multisite'), + 'TR' => __('Turkey', 'ultimate-multisite'), + 'TM' => __('Turkmenistan', 'ultimate-multisite'), + 'TC' => __('Turks and Caicos Islands', 'ultimate-multisite'), + 'TV' => __('Tuvalu', 'ultimate-multisite'), + 'UG' => __('Uganda', 'ultimate-multisite'), + 'UA' => __('Ukraine', 'ultimate-multisite'), + 'AE' => __('United Arab Emirates', 'ultimate-multisite'), + 'GB' => __('United Kingdom (UK)', 'ultimate-multisite'), + 'US' => __('United States (US)', 'ultimate-multisite'), + 'UM' => __('United States (US) Minor Outlying Islands', 'ultimate-multisite'), + 'VI' => __('United States (US) Virgin Islands', 'ultimate-multisite'), + 'UY' => __('Uruguay', 'ultimate-multisite'), + 'UZ' => __('Uzbekistan', 'ultimate-multisite'), + 'VU' => __('Vanuatu', 'ultimate-multisite'), + 'VA' => __('Vatican', 'ultimate-multisite'), + 'VE' => __('Venezuela', 'ultimate-multisite'), + 'VN' => __('Vietnam', 'ultimate-multisite'), + 'WF' => __('Wallis and Futuna', 'ultimate-multisite'), + 'EH' => __('Western Sahara', 'ultimate-multisite'), + 'WS' => __('Samoa', 'ultimate-multisite'), + 'YE' => __('Yemen', 'ultimate-multisite'), + 'ZM' => __('Zambia', 'ultimate-multisite'), + 'ZW' => __('Zimbabwe', 'ultimate-multisite'), ] ); } @@ -283,7 +283,7 @@ function wu_get_countries_as_options() { return array_merge( [ - '' => __('Select Country', 'multisite-ultimate'), + '' => __('Select Country', 'ultimate-multisite'), ], wu_get_countries() ); @@ -397,7 +397,7 @@ function wu_get_country_cities($country_code, $states, $key_name = 'id', $value_ */ function wu_get_country_name($country_code) { - $country_name = wu_get_isset(wu_get_countries(), $country_code, __('Not found', 'multisite-ultimate')); + $country_name = wu_get_isset(wu_get_countries(), $country_code, __('Not found', 'ultimate-multisite')); return apply_filters('wu_get_country_name', $country_name, $country_code); } diff --git a/inc/functions/currency.php b/inc/functions/currency.php index 284e00e09..95790ba7b 100644 --- a/inc/functions/currency.php +++ b/inc/functions/currency.php @@ -10,7 +10,7 @@ defined('ABSPATH') || exit; /** - * Get all the currencies we use in Multisite Ultimate + * Get all the currencies we use in Ultimate Multisite * * @return array Return the currencies array. */ @@ -20,143 +20,143 @@ function wu_get_currencies(): array { 'wu_currencies', [ - 'AED' => __('United Arab Emirates Dirham', 'multisite-ultimate'), - 'AFN' => __('Afghan Afghani', 'multisite-ultimate'), - 'ALL' => __('Albanian Lek', 'multisite-ultimate'), - 'AMD' => __('Armenian Dram', 'multisite-ultimate'), - 'AOA' => __('Angolan Kwanza', 'multisite-ultimate'), - 'ARS' => __('Argentine Peso', 'multisite-ultimate'), - 'AUD' => __('Australian Dollar', 'multisite-ultimate'), - 'AWG' => __('Aruban Florin', 'multisite-ultimate'), - 'AZN' => __('Azerbaijani Manat', 'multisite-ultimate'), - 'BAM' => __('Bosnia & Herzegovina Convertible Mark', 'multisite-ultimate'), - 'BBD' => __('Barbadian Dollar', 'multisite-ultimate'), - 'BDT' => __('Bangladeshi Taka', 'multisite-ultimate'), - 'BGN' => __('Bulgarian Lev', 'multisite-ultimate'), - 'BIF' => __('Burundian Franc', 'multisite-ultimate'), - 'BMD' => __('Bermudian Dollar', 'multisite-ultimate'), - 'BND' => __('Brunei Dollar', 'multisite-ultimate'), - 'BOB' => __('Bolivian Boliviano', 'multisite-ultimate'), - 'BRL' => __('Brazilian Real', 'multisite-ultimate'), - 'BSD' => __('Bahamian Dollar', 'multisite-ultimate'), - 'BWP' => __('Botswana Pula', 'multisite-ultimate'), - 'BYN' => __('Belarusian Ruble', 'multisite-ultimate'), - 'BZD' => __('Belize Dollar', 'multisite-ultimate'), - 'CAD' => __('Canadian Dollar', 'multisite-ultimate'), - 'CDF' => __('Congolese Franc', 'multisite-ultimate'), - 'CHF' => __('Swiss Franc', 'multisite-ultimate'), - 'CLP' => __('Chilean Peso', 'multisite-ultimate'), - 'CNY' => __('Chinese Renminbi Yuan', 'multisite-ultimate'), - 'COP' => __('Colombian Peso', 'multisite-ultimate'), - 'CRC' => __('Costa Rican Colón', 'multisite-ultimate'), - 'CVE' => __('Cape Verdean Escudo', 'multisite-ultimate'), - 'CZK' => __('Czech Koruna', 'multisite-ultimate'), - 'DJF' => __('Djiboutian Franc', 'multisite-ultimate'), - 'DKK' => __('Danish Krone', 'multisite-ultimate'), - 'DOP' => __('Dominican Peso', 'multisite-ultimate'), - 'DZD' => __('Algerian Dinar', 'multisite-ultimate'), - 'EGP' => __('Egyptian Pound', 'multisite-ultimate'), - 'ETB' => __('Ethiopian Birr', 'multisite-ultimate'), - 'EUR' => __('Euro', 'multisite-ultimate'), - 'FJD' => __('Fijian Dollar', 'multisite-ultimate'), - 'FKP' => __('Falkland Islands Pound', 'multisite-ultimate'), - 'GBP' => __('British Pound', 'multisite-ultimate'), - 'GEL' => __('Georgian Lari', 'multisite-ultimate'), - 'GIP' => __('Gibraltar Pound', 'multisite-ultimate'), - 'GMD' => __('Gambian Dalasi', 'multisite-ultimate'), - 'GNF' => __('Guinean Franc', 'multisite-ultimate'), - 'GTQ' => __('Guatemalan Quetzal', 'multisite-ultimate'), - 'GYD' => __('Guyanese Dollar', 'multisite-ultimate'), - 'HKD' => __('Hong Kong Dollar', 'multisite-ultimate'), - 'HNL' => __('Honduran Lempira', 'multisite-ultimate'), - 'HRK' => __('Croatian Kuna', 'multisite-ultimate'), - 'HTG' => __('Haitian Gourde', 'multisite-ultimate'), - 'HUF' => __('Hungarian Forint', 'multisite-ultimate'), - 'IDR' => __('Indonesian Rupiah', 'multisite-ultimate'), - 'ILS' => __('Israeli New Sheqel', 'multisite-ultimate'), - 'INR' => __('Indian Rupee', 'multisite-ultimate'), - 'ISK' => __('Icelandic Króna', 'multisite-ultimate'), - 'JMD' => __('Jamaican Dollar', 'multisite-ultimate'), - 'JPY' => __('Japanese Yen', 'multisite-ultimate'), - 'KES' => __('Kenyan Shilling', 'multisite-ultimate'), - 'KGS' => __('Kyrgyzstani Som', 'multisite-ultimate'), - 'KHR' => __('Cambodian Riel', 'multisite-ultimate'), - 'KMF' => __('Comorian Franc', 'multisite-ultimate'), - 'KRW' => __('South Korean Won', 'multisite-ultimate'), - 'KYD' => __('Cayman Islands Dollar', 'multisite-ultimate'), - 'KZT' => __('Kazakhstani Tenge', 'multisite-ultimate'), - 'LAK' => __('Lao Kip', 'multisite-ultimate'), - 'LBP' => __('Lebanese Pound', 'multisite-ultimate'), - 'LKR' => __('Sri Lankan Rupee', 'multisite-ultimate'), - 'LRD' => __('Liberian Dollar', 'multisite-ultimate'), - 'LSL' => __('Lesotho Loti', 'multisite-ultimate'), - 'MAD' => __('Moroccan Dirham', 'multisite-ultimate'), - 'MDL' => __('Moldovan Leu', 'multisite-ultimate'), - 'MGA' => __('Malagasy Ariary', 'multisite-ultimate'), - 'MKD' => __('Macedonian Denar', 'multisite-ultimate'), - 'MMK' => __('Myanmar Kyat', 'multisite-ultimate'), - 'MNT' => __('Mongolian Tögrög', 'multisite-ultimate'), - 'MOP' => __('Macanese Pataca', 'multisite-ultimate'), - 'MRU' => __('Mauritanian Ouguiya', 'multisite-ultimate'), // MRO seems outdated, MRU modern replacements in ISO 4217. - 'MUR' => __('Mauritian Rupee', 'multisite-ultimate'), - 'MVR' => __('Maldivian Rufiyaa', 'multisite-ultimate'), - 'MWK' => __('Malawian Kwacha', 'multisite-ultimate'), - 'MXN' => __('Mexican Peso', 'multisite-ultimate'), - 'MYR' => __('Malaysian Ringgit', 'multisite-ultimate'), - 'MZN' => __('Mozambican Metical', 'multisite-ultimate'), - 'NAD' => __('Namibian Dollar', 'multisite-ultimate'), - 'NGN' => __('Nigerian Naira', 'multisite-ultimate'), - 'NIO' => __('Nicaraguan Córdoba', 'multisite-ultimate'), - 'NOK' => __('Norwegian Krone', 'multisite-ultimate'), - 'NPR' => __('Nepalese Rupee', 'multisite-ultimate'), - 'NZD' => __('New Zealand Dollar', 'multisite-ultimate'), - 'PAB' => __('Panamanian Balboa', 'multisite-ultimate'), - 'PEN' => __('Peruvian Nuevo Sol', 'multisite-ultimate'), - 'PGK' => __('Papua New Guinean Kina', 'multisite-ultimate'), - 'PHP' => __('Philippine Peso', 'multisite-ultimate'), - 'PKR' => __('Pakistani Rupee', 'multisite-ultimate'), - 'PLN' => __('Polish Złoty', 'multisite-ultimate'), - 'PYG' => __('Paraguayan Guaraní', 'multisite-ultimate'), - 'QAR' => __('Qatari Riyal', 'multisite-ultimate'), - 'RON' => __('Romanian Leu', 'multisite-ultimate'), - 'RSD' => __('Serbian Dinar', 'multisite-ultimate'), - 'RUB' => __('Russian Ruble', 'multisite-ultimate'), - 'RWF' => __('Rwandan Franc', 'multisite-ultimate'), - 'SAR' => __('Saudi Riyal', 'multisite-ultimate'), - 'SBD' => __('Solomon Islands Dollar', 'multisite-ultimate'), - 'SCR' => __('Seychellois Rupee', 'multisite-ultimate'), - 'SEK' => __('Swedish Krona', 'multisite-ultimate'), - 'SGD' => __('Singapore Dollar', 'multisite-ultimate'), - 'SHP' => __('Saint Helenian Pound', 'multisite-ultimate'), - 'SLE' => __('Sierra Leonean Leone', 'multisite-ultimate'), // SLL is outdated, SLE modern replacements in ISO 4217. - 'SOS' => __('Somali Shilling', 'multisite-ultimate'), - 'SRD' => __('Surinamese Dollar', 'multisite-ultimate'), - 'STD' => __('São Tomé and Príncipe Dobra', 'multisite-ultimate'), - 'SVC' => __('Salvadoran Colón', 'multisite-ultimate'), - 'SZL' => __('Swazi Lilangeni', 'multisite-ultimate'), - 'THB' => __('Thai Baht', 'multisite-ultimate'), - 'TJS' => __('Tajikistani Somoni', 'multisite-ultimate'), - 'TOP' => __('Tongan Paʻanga', 'multisite-ultimate'), - 'TRY' => __('Turkish Lira', 'multisite-ultimate'), - 'TTD' => __('Trinidad and Tobago Dollar', 'multisite-ultimate'), - 'TWD' => __('New Taiwan Dollar', 'multisite-ultimate'), - 'TZS' => __('Tanzanian Shilling', 'multisite-ultimate'), - 'UAH' => __('Ukrainian Hryvnia', 'multisite-ultimate'), - 'UGX' => __('Ugandan Shilling', 'multisite-ultimate'), - 'USD' => __('United States Dollar', 'multisite-ultimate'), - 'UYU' => __('Uruguayan Peso', 'multisite-ultimate'), - 'UZS' => __('Uzbekistani Som', 'multisite-ultimate'), - 'VND' => __('Vietnamese Đồng', 'multisite-ultimate'), - 'VUV' => __('Vanuatu Vatu', 'multisite-ultimate'), - 'WST' => __('Samoan Tala', 'multisite-ultimate'), - 'XAF' => __('Central African Cfa Franc', 'multisite-ultimate'), - 'XCD' => __('East Caribbean Dollar', 'multisite-ultimate'), - 'XOF' => __('West African Cfa Franc', 'multisite-ultimate'), - 'XPF' => __('Cfp Franc', 'multisite-ultimate'), - 'XCG' => __('Caribbean Guilder', 'multisite-ultimate'), - 'YER' => __('Yemeni Rial', 'multisite-ultimate'), - 'ZAR' => __('South African Rand', 'multisite-ultimate'), - 'ZMW' => __('Zambian Kwacha', 'multisite-ultimate'), + 'AED' => __('United Arab Emirates Dirham', 'ultimate-multisite'), + 'AFN' => __('Afghan Afghani', 'ultimate-multisite'), + 'ALL' => __('Albanian Lek', 'ultimate-multisite'), + 'AMD' => __('Armenian Dram', 'ultimate-multisite'), + 'AOA' => __('Angolan Kwanza', 'ultimate-multisite'), + 'ARS' => __('Argentine Peso', 'ultimate-multisite'), + 'AUD' => __('Australian Dollar', 'ultimate-multisite'), + 'AWG' => __('Aruban Florin', 'ultimate-multisite'), + 'AZN' => __('Azerbaijani Manat', 'ultimate-multisite'), + 'BAM' => __('Bosnia & Herzegovina Convertible Mark', 'ultimate-multisite'), + 'BBD' => __('Barbadian Dollar', 'ultimate-multisite'), + 'BDT' => __('Bangladeshi Taka', 'ultimate-multisite'), + 'BGN' => __('Bulgarian Lev', 'ultimate-multisite'), + 'BIF' => __('Burundian Franc', 'ultimate-multisite'), + 'BMD' => __('Bermudian Dollar', 'ultimate-multisite'), + 'BND' => __('Brunei Dollar', 'ultimate-multisite'), + 'BOB' => __('Bolivian Boliviano', 'ultimate-multisite'), + 'BRL' => __('Brazilian Real', 'ultimate-multisite'), + 'BSD' => __('Bahamian Dollar', 'ultimate-multisite'), + 'BWP' => __('Botswana Pula', 'ultimate-multisite'), + 'BYN' => __('Belarusian Ruble', 'ultimate-multisite'), + 'BZD' => __('Belize Dollar', 'ultimate-multisite'), + 'CAD' => __('Canadian Dollar', 'ultimate-multisite'), + 'CDF' => __('Congolese Franc', 'ultimate-multisite'), + 'CHF' => __('Swiss Franc', 'ultimate-multisite'), + 'CLP' => __('Chilean Peso', 'ultimate-multisite'), + 'CNY' => __('Chinese Renminbi Yuan', 'ultimate-multisite'), + 'COP' => __('Colombian Peso', 'ultimate-multisite'), + 'CRC' => __('Costa Rican Colón', 'ultimate-multisite'), + 'CVE' => __('Cape Verdean Escudo', 'ultimate-multisite'), + 'CZK' => __('Czech Koruna', 'ultimate-multisite'), + 'DJF' => __('Djiboutian Franc', 'ultimate-multisite'), + 'DKK' => __('Danish Krone', 'ultimate-multisite'), + 'DOP' => __('Dominican Peso', 'ultimate-multisite'), + 'DZD' => __('Algerian Dinar', 'ultimate-multisite'), + 'EGP' => __('Egyptian Pound', 'ultimate-multisite'), + 'ETB' => __('Ethiopian Birr', 'ultimate-multisite'), + 'EUR' => __('Euro', 'ultimate-multisite'), + 'FJD' => __('Fijian Dollar', 'ultimate-multisite'), + 'FKP' => __('Falkland Islands Pound', 'ultimate-multisite'), + 'GBP' => __('British Pound', 'ultimate-multisite'), + 'GEL' => __('Georgian Lari', 'ultimate-multisite'), + 'GIP' => __('Gibraltar Pound', 'ultimate-multisite'), + 'GMD' => __('Gambian Dalasi', 'ultimate-multisite'), + 'GNF' => __('Guinean Franc', 'ultimate-multisite'), + 'GTQ' => __('Guatemalan Quetzal', 'ultimate-multisite'), + 'GYD' => __('Guyanese Dollar', 'ultimate-multisite'), + 'HKD' => __('Hong Kong Dollar', 'ultimate-multisite'), + 'HNL' => __('Honduran Lempira', 'ultimate-multisite'), + 'HRK' => __('Croatian Kuna', 'ultimate-multisite'), + 'HTG' => __('Haitian Gourde', 'ultimate-multisite'), + 'HUF' => __('Hungarian Forint', 'ultimate-multisite'), + 'IDR' => __('Indonesian Rupiah', 'ultimate-multisite'), + 'ILS' => __('Israeli New Sheqel', 'ultimate-multisite'), + 'INR' => __('Indian Rupee', 'ultimate-multisite'), + 'ISK' => __('Icelandic Króna', 'ultimate-multisite'), + 'JMD' => __('Jamaican Dollar', 'ultimate-multisite'), + 'JPY' => __('Japanese Yen', 'ultimate-multisite'), + 'KES' => __('Kenyan Shilling', 'ultimate-multisite'), + 'KGS' => __('Kyrgyzstani Som', 'ultimate-multisite'), + 'KHR' => __('Cambodian Riel', 'ultimate-multisite'), + 'KMF' => __('Comorian Franc', 'ultimate-multisite'), + 'KRW' => __('South Korean Won', 'ultimate-multisite'), + 'KYD' => __('Cayman Islands Dollar', 'ultimate-multisite'), + 'KZT' => __('Kazakhstani Tenge', 'ultimate-multisite'), + 'LAK' => __('Lao Kip', 'ultimate-multisite'), + 'LBP' => __('Lebanese Pound', 'ultimate-multisite'), + 'LKR' => __('Sri Lankan Rupee', 'ultimate-multisite'), + 'LRD' => __('Liberian Dollar', 'ultimate-multisite'), + 'LSL' => __('Lesotho Loti', 'ultimate-multisite'), + 'MAD' => __('Moroccan Dirham', 'ultimate-multisite'), + 'MDL' => __('Moldovan Leu', 'ultimate-multisite'), + 'MGA' => __('Malagasy Ariary', 'ultimate-multisite'), + 'MKD' => __('Macedonian Denar', 'ultimate-multisite'), + 'MMK' => __('Myanmar Kyat', 'ultimate-multisite'), + 'MNT' => __('Mongolian Tögrög', 'ultimate-multisite'), + 'MOP' => __('Macanese Pataca', 'ultimate-multisite'), + 'MRU' => __('Mauritanian Ouguiya', 'ultimate-multisite'), // MRO seems outdated, MRU modern replacements in ISO 4217. + 'MUR' => __('Mauritian Rupee', 'ultimate-multisite'), + 'MVR' => __('Maldivian Rufiyaa', 'ultimate-multisite'), + 'MWK' => __('Malawian Kwacha', 'ultimate-multisite'), + 'MXN' => __('Mexican Peso', 'ultimate-multisite'), + 'MYR' => __('Malaysian Ringgit', 'ultimate-multisite'), + 'MZN' => __('Mozambican Metical', 'ultimate-multisite'), + 'NAD' => __('Namibian Dollar', 'ultimate-multisite'), + 'NGN' => __('Nigerian Naira', 'ultimate-multisite'), + 'NIO' => __('Nicaraguan Córdoba', 'ultimate-multisite'), + 'NOK' => __('Norwegian Krone', 'ultimate-multisite'), + 'NPR' => __('Nepalese Rupee', 'ultimate-multisite'), + 'NZD' => __('New Zealand Dollar', 'ultimate-multisite'), + 'PAB' => __('Panamanian Balboa', 'ultimate-multisite'), + 'PEN' => __('Peruvian Nuevo Sol', 'ultimate-multisite'), + 'PGK' => __('Papua New Guinean Kina', 'ultimate-multisite'), + 'PHP' => __('Philippine Peso', 'ultimate-multisite'), + 'PKR' => __('Pakistani Rupee', 'ultimate-multisite'), + 'PLN' => __('Polish Złoty', 'ultimate-multisite'), + 'PYG' => __('Paraguayan Guaraní', 'ultimate-multisite'), + 'QAR' => __('Qatari Riyal', 'ultimate-multisite'), + 'RON' => __('Romanian Leu', 'ultimate-multisite'), + 'RSD' => __('Serbian Dinar', 'ultimate-multisite'), + 'RUB' => __('Russian Ruble', 'ultimate-multisite'), + 'RWF' => __('Rwandan Franc', 'ultimate-multisite'), + 'SAR' => __('Saudi Riyal', 'ultimate-multisite'), + 'SBD' => __('Solomon Islands Dollar', 'ultimate-multisite'), + 'SCR' => __('Seychellois Rupee', 'ultimate-multisite'), + 'SEK' => __('Swedish Krona', 'ultimate-multisite'), + 'SGD' => __('Singapore Dollar', 'ultimate-multisite'), + 'SHP' => __('Saint Helenian Pound', 'ultimate-multisite'), + 'SLE' => __('Sierra Leonean Leone', 'ultimate-multisite'), // SLL is outdated, SLE modern replacements in ISO 4217. + 'SOS' => __('Somali Shilling', 'ultimate-multisite'), + 'SRD' => __('Surinamese Dollar', 'ultimate-multisite'), + 'STD' => __('São Tomé and Príncipe Dobra', 'ultimate-multisite'), + 'SVC' => __('Salvadoran Colón', 'ultimate-multisite'), + 'SZL' => __('Swazi Lilangeni', 'ultimate-multisite'), + 'THB' => __('Thai Baht', 'ultimate-multisite'), + 'TJS' => __('Tajikistani Somoni', 'ultimate-multisite'), + 'TOP' => __('Tongan Paʻanga', 'ultimate-multisite'), + 'TRY' => __('Turkish Lira', 'ultimate-multisite'), + 'TTD' => __('Trinidad and Tobago Dollar', 'ultimate-multisite'), + 'TWD' => __('New Taiwan Dollar', 'ultimate-multisite'), + 'TZS' => __('Tanzanian Shilling', 'ultimate-multisite'), + 'UAH' => __('Ukrainian Hryvnia', 'ultimate-multisite'), + 'UGX' => __('Ugandan Shilling', 'ultimate-multisite'), + 'USD' => __('United States Dollar', 'ultimate-multisite'), + 'UYU' => __('Uruguayan Peso', 'ultimate-multisite'), + 'UZS' => __('Uzbekistani Som', 'ultimate-multisite'), + 'VND' => __('Vietnamese Đồng', 'ultimate-multisite'), + 'VUV' => __('Vanuatu Vatu', 'ultimate-multisite'), + 'WST' => __('Samoan Tala', 'ultimate-multisite'), + 'XAF' => __('Central African Cfa Franc', 'ultimate-multisite'), + 'XCD' => __('East Caribbean Dollar', 'ultimate-multisite'), + 'XOF' => __('West African Cfa Franc', 'ultimate-multisite'), + 'XPF' => __('Cfp Franc', 'ultimate-multisite'), + 'XCG' => __('Caribbean Guilder', 'ultimate-multisite'), + 'YER' => __('Yemeni Rial', 'ultimate-multisite'), + 'ZAR' => __('South African Rand', 'ultimate-multisite'), + 'ZMW' => __('Zambian Kwacha', 'ultimate-multisite'), ] ); @@ -401,7 +401,7 @@ function wu_format_currency($value, $currency = null, $format = null, $thousands } /** - * Determines if Multisite Ultimate is using a zero-decimal currency. + * Determines if Ultimate Multisite is using a zero-decimal currency. * * @param string $currency The currency code to check. * diff --git a/inc/functions/customer.php b/inc/functions/customer.php index c1624ce82..769524581 100644 --- a/inc/functions/customer.php +++ b/inc/functions/customer.php @@ -160,7 +160,7 @@ function wu_create_customer($customer_data) { if (!is_email($customer_data['email'])) { return new \WP_Error( 'invalid_email', - __('The email address is invalid.', 'multisite-ultimate'), + __('The email address is invalid.', 'ultimate-multisite'), $customer_data ); } @@ -176,14 +176,14 @@ function wu_create_customer($customer_data) { } if (false === $user_id) { - return new \WP_Error('user', __('We were not able to create a new user with the provided username and email address combination.', 'multisite-ultimate'), $customer_data); + return new \WP_Error('user', __('We were not able to create a new user with the provided username and email address combination.', 'ultimate-multisite'), $customer_data); } } else { $user_id = $user->ID; } if ( ! get_userdata($user_id)) { - return new \WP_Error('user_id', __('We were not able to find a user with the given user_id.', 'multisite-ultimate'), $customer_data); + return new \WP_Error('user_id', __('We were not able to find a user with the given user_id.', 'ultimate-multisite'), $customer_data); } $customer = new Customer( diff --git a/inc/functions/date.php b/inc/functions/date.php index c4604d768..84ddc6ca8 100644 --- a/inc/functions/date.php +++ b/inc/functions/date.php @@ -112,13 +112,13 @@ function wu_filter_duration_unit($unit, $length) { switch ($unit) { case 'day': - $new_unit = $length > 1 ? __('Days', 'multisite-ultimate') : __('Day', 'multisite-ultimate'); + $new_unit = $length > 1 ? __('Days', 'ultimate-multisite') : __('Day', 'ultimate-multisite'); break; case 'month': - $new_unit = $length > 1 ? __('Months', 'multisite-ultimate') : __('Month', 'multisite-ultimate'); + $new_unit = $length > 1 ? __('Months', 'ultimate-multisite') : __('Month', 'ultimate-multisite'); break; case 'year': - $new_unit = $length > 1 ? __('Years', 'multisite-ultimate') : __('Year', 'multisite-ultimate'); + $new_unit = $length > 1 ? __('Years', 'ultimate-multisite') : __('Year', 'ultimate-multisite'); break; default: break; @@ -145,7 +145,7 @@ function wu_human_time_diff($from, $limit = '-5 days', $to = false): string { if ($timestamp_from <= $limit) { // translators: %s: date. - return sprintf(__('on %s', 'multisite-ultimate'), date_i18n(get_option('date_format'), $timestamp_from)); + return sprintf(__('on %s', 'ultimate-multisite'), date_i18n(get_option('date_format'), $timestamp_from)); } if (false === $to) { @@ -153,7 +153,7 @@ function wu_human_time_diff($from, $limit = '-5 days', $to = false): string { } // translators: %s is a relative past date. - $placeholder = wu_get_current_time('timestamp') > $timestamp_from ? __('%s ago', 'multisite-ultimate') : __('In %s', 'multisite-ultimate'); + $placeholder = wu_get_current_time('timestamp') > $timestamp_from ? __('%s ago', 'ultimate-multisite') : __('In %s', 'ultimate-multisite'); return sprintf($placeholder, human_time_diff($timestamp_from, $to)); } diff --git a/inc/functions/fs.php b/inc/functions/fs.php index 2481652c1..6c963beb7 100644 --- a/inc/functions/fs.php +++ b/inc/functions/fs.php @@ -33,7 +33,7 @@ function wu_get_main_site_upload_dir() { } /** - * Creates a Multisite Ultimate folder inside the uploads folder - if needed - and return its path. + * Creates a Ultimate Multisite folder inside the uploads folder - if needed - and return its path. * * @since 2.0.11 * diff --git a/inc/functions/gateway.php b/inc/functions/gateway.php index 18376de3b..b990f7d2a 100644 --- a/inc/functions/gateway.php +++ b/inc/functions/gateway.php @@ -26,7 +26,7 @@ function wu_register_gateway($id, $title, $desc, $class_name, $hidden = false) { if ( ! did_action('wu_register_gateways')) { - _doing_it_wrong(__FUNCTION__, esc_html__('You should not register new payment gateways before the wu_register_gateways hook.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(__FUNCTION__, esc_html__('You should not register new payment gateways before the wu_register_gateways hook.', 'ultimate-multisite'), '2.0.0'); } return Gateway_Manager::get_instance()->register_gateway($id, $title, $desc, $class_name, $hidden); diff --git a/inc/functions/helper.php b/inc/functions/helper.php index d7f8f385f..35e351fbf 100644 --- a/inc/functions/helper.php +++ b/inc/functions/helper.php @@ -13,7 +13,7 @@ use Psr\Log\LogLevel; /** - * Returns the Multisite Ultimate version. + * Returns the Ultimate Multisite version. * * @since 2.0.0 * @return string @@ -35,7 +35,7 @@ function wu_is_debug() { } /** - * Checks if Multisite Ultimate is being loaded as a must-use plugin. + * Checks if Ultimate Multisite is being loaded as a must-use plugin. * * @since 2.0.0 * @return bool @@ -353,56 +353,83 @@ function wu_kses_allowed_html(): array { $vue_and_data_attributes = [ // Vue.js directives - 'v-html' => true, - 'v-show' => true, - 'v-if' => true, - 'v-else' => true, - 'v-else-if' => true, - 'v-for' => true, - 'v-model' => true, - 'v-bind' => true, - 'v-bind:class' => true, - 'v-on' => true, - 'v-cloak' => true, - 'v-pre' => true, - 'v-once' => true, - 'v-text' => true, + 'v-html' => true, + 'v-show' => true, + 'v-if' => true, + 'v-else' => true, + 'v-else-if' => true, + 'v-for' => true, + 'v-model' => true, + 'v-bind' => true, + 'v-bind:class' => true, + 'v-on' => true, + 'v-cloak' => true, + 'v-pre' => true, + 'v-once' => true, + 'v-text' => true, // Vue.js shorthand attributes - ':class' => true, - ':style' => true, - 'v-on:click' => true, - 'v-on:input' => true, - 'v-on:change' => true, - '@click' => true, - '@submit' => true, - '@change' => true, + ':class' => true, + ':style' => true, + 'v-on:click' => true, + 'v-on:input' => true, + 'v-on:change' => true, + '@click' => true, + '@click.prevent' => true, + 'v-on:click.prevent' => true, + '@submit' => true, + '@change' => true, // Common data attributes - 'data-image' => true, - 'data-src' => true, - 'data-id' => true, - 'data-value' => true, - 'data-target' => true, - 'data-toggle' => true, - 'data-dismiss' => true, - 'data-placement' => true, - 'data-content' => true, - 'data-title' => true, - 'data-delay' => true, - 'data-animation' => true, - 'data-container' => true, - 'data-trigger' => true, - 'data-model' => true, - 'data-value-field' => true, - 'data-label-field' => true, - 'data-search-field' => true, - 'data-max-items' => true, - 'data-init' => true, - 'tabindex' => true, - + 'data-image' => true, + 'data-src' => true, + 'data-id' => true, + 'data-value' => true, + 'data-target' => true, + 'data-toggle' => true, + 'data-dismiss' => true, + 'data-placement' => true, + 'data-content' => true, + 'data-title' => true, + 'data-delay' => true, + 'data-animation' => true, + 'data-container' => true, + 'data-trigger' => true, + 'data-model' => true, + 'data-value-field' => true, + 'data-label-field' => true, + 'data-search-field' => true, + 'data-max-items' => true, + 'data-frame' => true, + 'data-selectize' => true, + 'data-selectize-categories' => true, + 'data-selected' => true, + 'data-init' => true, + 'data-wu-customizer-panel' => true, + 'data-editor' => true, + 'data-code-editor' => true, + 'data-frequency-selector' => true, + 'data-wu-app' => true, + 'data-loading' => true, + 'data-state' => true, + 'tabindex' => true, + 'data-base-link' => true, + 'data-exclude' => true, + 'data-field-value' => true, + 'data-on-load' => true, + 'data-format' => true, + 'data-allow-time' => true, + 'data-no-calendar' => true, + 'data-clipboard-text' => true, + 'data-page' => true, + 'data-testid' => true, + 'data-confirm-email' => true, + 'data-include' => true, + 'data-clipboard-action' => true, + 'data-action' => true, // others - 'style' => true, - 'class' => true, - 'id' => true, + 'style' => true, + 'class' => true, + 'id' => true, + 'data-price' => true, ]; $allowed_html = wp_kses_allowed_html('post'); @@ -414,6 +441,7 @@ function wu_kses_allowed_html(): array { 'placeholder' => true, 'name' => true, 'disabled' => true, + 'checked' => true, ]; $allowed_html['textarea'] = [ 'name' => true, @@ -436,6 +464,10 @@ function wu_kses_allowed_html(): array { 'name' => true, 'value' => true, ]; + $allowed_html['dynamic'] = [ + ':template' => true, + 'template' => true, + ]; return [ 'svg' => $svg_attributes + [ diff --git a/inc/functions/http.php b/inc/functions/http.php index c44e8b8c5..22a97bb1c 100644 --- a/inc/functions/http.php +++ b/inc/functions/http.php @@ -54,7 +54,7 @@ function wu_no_cache() { } /** - * Maybe sends a Multisite Ultimate X Header. + * Maybe sends a Ultimate Multisite X Header. * * Useful for debugging purposes. * These headers can easily be omitted by diff --git a/inc/functions/legacy.php b/inc/functions/legacy.php index a4746a727..c1d6b7613 100644 --- a/inc/functions/legacy.php +++ b/inc/functions/legacy.php @@ -270,7 +270,7 @@ function wu_print_signup_field($field_slug, $field, $results) { type="" name="" id="" class="input" value="" data-reveal="1" data-pw="" class="input" size="20" autocomplete="off" aria-describedby="pass-strength-result" /> - + value pairs to be saved as meta fields on that site. diff --git a/inc/functions/limitations.php b/inc/functions/limitations.php index 0a791ca4f..b1ee8f2ce 100644 --- a/inc/functions/limitations.php +++ b/inc/functions/limitations.php @@ -65,7 +65,7 @@ function wu_has_product($product_slug, $blocking = false, $site_id = '') { $site = wu_get_site($site_id); if (empty($site)) { - return new \WP_Error('site-not-found', __('Invalid site ID', 'multisite-ultimate')); + return new \WP_Error('site-not-found', __('Invalid site ID', 'ultimate-multisite')); } $membership = $site->get_membership(); @@ -104,7 +104,7 @@ function wu_is_membership_active($site_id = '') { $site = wu_get_site($site_id); if (empty($site)) { - return new \WP_Error('site-not-found', __('Invalid site ID', 'multisite-ultimate')); + return new \WP_Error('site-not-found', __('Invalid site ID', 'ultimate-multisite')); } $membership = $site->get_membership(); diff --git a/inc/functions/markup-helpers.php b/inc/functions/markup-helpers.php index 83f98b022..c4695f0be 100644 --- a/inc/functions/markup-helpers.php +++ b/inc/functions/markup-helpers.php @@ -157,7 +157,7 @@ function wu_tooltip_text($tooltip): void { function wu_preview_image($image_url, $label = false): string { if (empty($label)) { - $label = __('Preview', 'multisite-ultimate'); + $label = __('Preview', 'ultimate-multisite'); } return sprintf(' %s %s', $image_url, "", $label); diff --git a/inc/functions/membership.php b/inc/functions/membership.php index 25f394b42..20a9f19a9 100644 --- a/inc/functions/membership.php +++ b/inc/functions/membership.php @@ -374,14 +374,14 @@ function wu_get_membership_new_cart($membership) { $difference = $membership->get_amount() - $cart->get_recurring_total(); if (round(abs($difference), wu_currency_decimal_filter()) > 0) { - $type_translate = $difference < 0 ? __('credit', 'multisite-ultimate') : __('debit', 'multisite-ultimate'); + $type_translate = $difference < 0 ? __('credit', 'ultimate-multisite') : __('debit', 'ultimate-multisite'); $line_item_params = [ 'hash' => 'ADJUSTMENT', 'type' => $difference < 0 ? 'credit' : 'fee', // translators: %s is the type of adjustment (credit or debit). - 'title' => sprintf(__('Adjustment %s', 'multisite-ultimate'), $type_translate), - 'description' => __('Amount adjustment based on previous deal.', 'multisite-ultimate'), + 'title' => sprintf(__('Adjustment %s', 'ultimate-multisite'), $type_translate), + 'description' => __('Amount adjustment based on previous deal.', 'ultimate-multisite'), 'unit_price' => $difference, 'discountable' => false, 'taxable' => false, @@ -401,14 +401,14 @@ function wu_get_membership_new_cart($membership) { $y = $cart->get_total(); $difference = $membership->get_initial_amount() - $cart->get_total(); - $type_translate = $difference < 0 ? __('credit', 'multisite-ultimate') : __('debit', 'multisite-ultimate'); + $type_translate = $difference < 0 ? __('credit', 'ultimate-multisite') : __('debit', 'ultimate-multisite'); $line_item_params = [ 'hash' => 'INITADJUSTMENT', 'type' => $difference < 0 ? 'credit' : 'fee', // translators: %s is the type of adjustment (credit or debit). - 'title' => sprintf(__('Adjustment %s', 'multisite-ultimate'), $type_translate), - 'description' => __('Initial amount adjustment based on previous deal.', 'multisite-ultimate'), + 'title' => sprintf(__('Adjustment %s', 'ultimate-multisite'), $type_translate), + 'description' => __('Initial amount adjustment based on previous deal.', 'ultimate-multisite'), 'unit_price' => $difference, 'discountable' => false, 'taxable' => false, diff --git a/inc/functions/mock.php b/inc/functions/mock.php index e832a0a5e..d5cd4fd79 100644 --- a/inc/functions/mock.php +++ b/inc/functions/mock.php @@ -21,9 +21,9 @@ function wu_mock_site($seed = false) { $atts = apply_filters( 'wu_mock_site', [ - 'title' => __('Example Site', 'multisite-ultimate'), - 'description' => __('This is an example of a site description.', 'multisite-ultimate'), - 'domain' => __('examplesite.dev', 'multisite-ultimate'), + 'title' => __('Example Site', 'ultimate-multisite'), + 'description' => __('This is an example of a site description.', 'ultimate-multisite'), + 'domain' => __('examplesite.dev', 'ultimate-multisite'), 'path' => '/', ] ); @@ -66,7 +66,7 @@ function wu_mock_product() { $product = new \WP_Ultimo\Models\Product( [ - 'name' => __('Test Product', 'multisite-ultimate'), + 'name' => __('Test Product', 'ultimate-multisite'), ] ); diff --git a/inc/functions/settings.php b/inc/functions/settings.php index d396040ca..9df16daad 100644 --- a/inc/functions/settings.php +++ b/inc/functions/settings.php @@ -17,7 +17,7 @@ require_once wu_path('inc/functions/options.php'); /** - * Returns an array with all the Multisite Ultimate settings. + * Returns an array with all the Ultimate Multisite settings. * * @since 2.0.0 * @return array @@ -109,7 +109,7 @@ function wu_register_settings_side_panel($section_slug, $atts) { $atts = wp_parse_args( $atts, [ - 'title' => __('Side Panel', 'multisite-ultimate'), + 'title' => __('Side Panel', 'ultimate-multisite'), 'render' => '__return_false', 'show' => '__return_true', ] diff --git a/inc/functions/sunrise.php b/inc/functions/sunrise.php index 732311436..d016695a2 100644 --- a/inc/functions/sunrise.php +++ b/inc/functions/sunrise.php @@ -36,7 +36,7 @@ function wu_should_load_sunrise() { function wu_get_setting_early($setting, $default_value = false) { if (did_action('wp_ultimo_load')) { - _doing_it_wrong('wu_get_setting_early', esc_html__('Regular setting APIs are already available. You should use wu_get_setting() instead.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong('wu_get_setting_early', esc_html__('Regular setting APIs are already available. You should use wu_get_setting() instead.', 'ultimate-multisite'), '2.0.0'); } $settings_key = \WP_Ultimo\Settings::KEY; @@ -59,7 +59,7 @@ function wu_get_setting_early($setting, $default_value = false) { function wu_save_setting_early($key, $value) { if (did_action('wp_ultimo_load')) { - _doing_it_wrong('wu_save_setting_early', esc_html__('Regular setting APIs are already available. You should use wu_save_setting() instead.', 'multisite-ultimate'), '2.0.20'); + _doing_it_wrong('wu_save_setting_early', esc_html__('Regular setting APIs are already available. You should use wu_save_setting() instead.', 'ultimate-multisite'), '2.0.20'); } $settings_key = \WP_Ultimo\Settings::KEY; diff --git a/inc/functions/tax.php b/inc/functions/tax.php index a80b04da4..1e833d5ac 100644 --- a/inc/functions/tax.php +++ b/inc/functions/tax.php @@ -12,7 +12,7 @@ use WP_Ultimo\Tax\Tax; /** - * Checks if Multisite Ultimate should collect taxes. + * Checks if Ultimate Multisite should collect taxes. * * @since 2.0.0 * @return bool diff --git a/inc/functions/template.php b/inc/functions/template.php index cbee7dcde..a1f245348 100644 --- a/inc/functions/template.php +++ b/inc/functions/template.php @@ -41,7 +41,7 @@ function wu_get_template($view, $args = [], $default_view = false) { * Allows developers to add additional folders to the replaceable list. * * Be careful, as allowing additional folders might cause - * out-of-date copies to be loaded instead of the Multisite Ultimate versions. + * out-of-date copies to be loaded instead of the Ultimate Multisite versions. * * @since 2.0.0 * @param array $replaceable_views List of allowed folders. diff --git a/inc/functions/url.php b/inc/functions/url.php index 29a533787..96a7b0a0c 100644 --- a/inc/functions/url.php +++ b/inc/functions/url.php @@ -42,11 +42,11 @@ function wu_replace_scheme($url, $new_scheme = '') { } /** - * Wrapper to the network_admin_url function for Multisite Ultimate admin urls. + * Wrapper to the network_admin_url function for Ultimate Multisite admin urls. * * @since 2.0.0 * - * @param string $path Multisite Ultimate page. + * @param string $path Ultimate Multisite page. * @param array $query URL query parameters. * @return string */ diff --git a/inc/functions/user.php b/inc/functions/user.php index 502f83922..914ccda6b 100644 --- a/inc/functions/user.php +++ b/inc/functions/user.php @@ -25,7 +25,7 @@ function wu_get_roles_as_options($add_default_option = false) { $roles = []; if ($add_default_option) { - $roles['default'] = __('Use Multisite Ultimate default', 'multisite-ultimate'); + $roles['default'] = __('Use Ultimate Multisite default', 'ultimate-multisite'); } $editable_roles = get_editable_roles(); diff --git a/inc/gateways/class-base-gateway.php b/inc/gateways/class-base-gateway.php index fec4cdf21..66da5d2c7 100644 --- a/inc/gateways/class-base-gateway.php +++ b/inc/gateways/class-base-gateway.php @@ -45,7 +45,7 @@ abstract class Base_Gateway { * that share the same base code, or that have code that is applicable * to other gateways. * - * A classical example is the way Stripe is setup on Multisite Ultimate now: + * A classical example is the way Stripe is setup on Ultimate Multisite now: * - We have two stripe gateways - stripe and stripe-checkout; * - Both of those gateways inherit from class-base-stripe-gateway.php, * which deals with appending the remote gateway links to the admin panel, @@ -308,7 +308,7 @@ public function init() {} * Adds Settings. * * This method allows developers to use - * Multisite Ultimate apis to add settings to the settings + * Ultimate Multisite apis to add settings to the settings * page. * * Gateways can use wu_register_settings_field @@ -358,11 +358,11 @@ public function supports_recurring() { /** * Declares support for free trials. * - * Multisite Ultimate offers to ways of dealing with free trials: + * Ultimate Multisite offers to ways of dealing with free trials: * (1) By asking for a payment method upfront; or * (2) By not asking for a payment method until the trial is over. * - * If you go the second route, Multisite Ultimate uses + * If you go the second route, Ultimate Multisite uses * the free gateway to deal with the first payment (which will be 0) * * If you go the first route, though, the payment gateway @@ -614,18 +614,18 @@ public function process_membership_update(&$membership, $customer) { public function get_amount_update_message($to_customer = false) { if ( ! $this->supports_amount_update()) { - $message = __('The current payment integration will be cancelled.', 'multisite-ultimate'); + $message = __('The current payment integration will be cancelled.', 'ultimate-multisite'); if ($to_customer) { - $message .= ' ' . __('You will receive a new invoice on the next billing cycle.', 'multisite-ultimate'); + $message .= ' ' . __('You will receive a new invoice on the next billing cycle.', 'ultimate-multisite'); } else { - $message .= ' ' . __('The customer will receive a new invoice on the next billing cycle.', 'multisite-ultimate'); + $message .= ' ' . __('The customer will receive a new invoice on the next billing cycle.', 'ultimate-multisite'); } return $message; } - return __('The current payment integration will be updated.', 'multisite-ultimate'); + return __('The current payment integration will be updated.', 'ultimate-multisite'); } /** @@ -676,8 +676,8 @@ public function get_return_url() { * * @param string $return_url the URL to redirect after process. * @param self $gateway the gateway instance. - * @param \WP_Ultimo\Models\Payment $payment the Multisite Ultimate payment instance. - * @param \WP_Ultimo\Checkout\Cart $cart the current Multisite Ultimate cart order. + * @param \WP_Ultimo\Models\Payment $payment the Ultimate Multisite payment instance. + * @param \WP_Ultimo\Checkout\Cart $cart the current Ultimate Multisite cart order. * @return string */ return apply_filters('wu_return_url', $return_url, $this, $this->payment, $this->order); diff --git a/inc/gateways/class-base-stripe-gateway.php b/inc/gateways/class-base-stripe-gateway.php index 86b72525e..2b7f2b3d5 100644 --- a/inc/gateways/class-base-stripe-gateway.php +++ b/inc/gateways/class-base-stripe-gateway.php @@ -150,7 +150,7 @@ public function init(): void { $this->setup_api_keys($id); if (method_exists(Stripe\Stripe::class, 'setAppInfo')) { - Stripe\Stripe::setAppInfo('WordPress Multisite Ultimate', wu_get_version(), esc_url(site_url())); + Stripe\Stripe::setAppInfo('WordPress Ultimate Multisite', wu_get_version(), esc_url(site_url())); } } @@ -230,7 +230,7 @@ public function add_site_actions($actions, $atts, $site, $membership) { if ( ! empty($s_subscription_id)) { $actions['change_payment_method'] = [ - 'label' => __('Change Payment Method', 'multisite-ultimate'), + 'label' => __('Change Payment Method', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'href' => add_query_arg( [ @@ -266,7 +266,7 @@ public function maybe_redirect_to_portal(): void { $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - wp_die(esc_html__('You are not allowed to modify this membership.', 'multisite-ultimate')); + wp_die(esc_html__('You are not allowed to modify this membership.', 'ultimate-multisite')); } $gateway_id = $membership->get_gateway(); @@ -343,7 +343,7 @@ public function maybe_redirect_to_portal(): void { ], ], 'business_profile' => [ - 'headline' => __('Manage your membership payment methods.', 'multisite-ultimate'), + 'headline' => __('Manage your membership payment methods.', 'ultimate-multisite'), ], ] ); @@ -376,7 +376,7 @@ public function get_public_title() { $gateway_id = wu_replace_dashes($this->id); - return wu_get_setting("{$gateway_id}_public_title", __('Credit Card', 'multisite-ultimate')); + return wu_get_setting("{$gateway_id}_public_title", __('Credit Card', 'ultimate-multisite')); } /** @@ -393,7 +393,7 @@ public function settings(): void { 'payment-gateways', "{$gateway_id}_enable_portal", [ - 'title' => __('Use Stripe Billing Portal', 'multisite-ultimate'), + 'title' => __('Use Stripe Billing Portal', 'ultimate-multisite'), 'desc' => 'Add a link to the Billing Portal in the site actions widget so your customer can change the payment method used in Stripe (additional charges from Stripe could be applied).', 'type' => 'toggle', 'default' => 0, @@ -542,7 +542,7 @@ public function check_keys_status($settings, $settings_to_save, $saved_settings) * The secret key is invalid; */ $t = "{$id}_{$stripe_mode}_sk_key_status"; - wu_save_setting("{$id}_{$stripe_mode}_sk_key_status", __('Invalid API Key provided', 'multisite-ultimate')); + wu_save_setting("{$id}_{$stripe_mode}_sk_key_status", __('Invalid API Key provided', 'ultimate-multisite')); } } @@ -566,7 +566,7 @@ public function check_keys_status($settings, $settings_to_save, $saved_settings) /** * The public key is invalid; */ - wu_save_setting("{$id}_{$stripe_mode}_pk_key_status", __('Invalid API Key provided', 'multisite-ultimate')); + wu_save_setting("{$id}_{$stripe_mode}_pk_key_status", __('Invalid API Key provided', 'ultimate-multisite')); } } } @@ -574,7 +574,7 @@ public function check_keys_status($settings, $settings_to_save, $saved_settings) /** * Installs webhook urls onto Stripe. * - * Multisite Ultimate will call this whenever settings for this api changes. + * Ultimate Multisite will call this whenever settings for this api changes. * That being said, it might be a good idea to check if the webhook already exists * before trying to re-create it. * @@ -655,7 +655,7 @@ public function install_webhook($settings, $settings_to_save, $saved_settings) { [ 'enabled_events' => ['*'], 'url' => $webhook_url, - 'description' => 'Added by Multisite Ultimate. Required to correctly handle changes in subscription status.', + 'description' => 'Added by Ultimate Multisite. Required to correctly handle changes in subscription status.', ] ); @@ -692,7 +692,7 @@ public function process_membership_update(&$membership, $customer) { $gateway_subscription_id = $membership->get_gateway_subscription_id(); if (empty($gateway_subscription_id)) { - return new \WP_Error('wu_stripe_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'multisite-ultimate')); + return new \WP_Error('wu_stripe_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'ultimate-multisite')); } $this->setup_api_keys(); @@ -776,7 +776,7 @@ public function process_membership_update(&$membership, $customer) { if (count($credits) > 1) { $credit = [ 'amount' => array_sum(wp_list_pluck($credits, 'amount')), - 'description' => __('Amount adjustment based on custom deal.', 'multisite-ultimate'), + 'description' => __('Amount adjustment based on custom deal.', 'ultimate-multisite'), ]; } else { $credit = $credits[0]; @@ -850,7 +850,7 @@ public function run_preflight() {} * * @since 2.0.0 * - * @param integer $customer_id Multisite Ultimate customer ID. + * @param integer $customer_id Ultimate Multisite customer ID. * @param integer $user_id The WordPress user ID. * @param integer $stripe_customer_id The Stripe Customer ID. * @return \Stripe\Customer|\WP_Error @@ -863,7 +863,7 @@ public function get_or_create_customer($customer_id = 0, $user_id = 0, $stripe_c $customer_exists = false; /* - * Use the Multisite Ultimate customer ID to search on the + * Use the Ultimate Multisite customer ID to search on the * database for an existing Stripe customer id. */ if (empty($stripe_customer_id)) { @@ -949,7 +949,7 @@ public function get_or_create_customer($customer_id = 0, $user_id = 0, $stripe_c * * @since 2.0.11 * - * @param \WP_Ultimo\Objects\Billing_Address $billing_address The Multisite Ultimate billing address. + * @param \WP_Ultimo\Objects\Billing_Address $billing_address The Ultimate Multisite billing address. * @return array */ public function convert_to_stripe_address($billing_address) { @@ -1060,7 +1060,7 @@ protected function create_recurring_payment($membership, $cart, $payment_method, $start_date = $datetime->getTimestamp() - HOUR_IN_SECONDS; // Reduce by 60 seconds to account for inaccurate server times. if (empty($payment_method)) { - throw new \Exception(esc_html__('Invalid payment method', 'multisite-ultimate')); + throw new \Exception(esc_html__('Invalid payment method', 'ultimate-multisite')); } /* @@ -1266,7 +1266,7 @@ protected function get_credit_coupon($cart) { $coupon_data = [ 'id' => sprintf('%s-%s-%s', $s_amount, $currency, 'once'), - 'name' => __('Account credit and other discounts', 'multisite-ultimate'), + 'name' => __('Account credit and other discounts', 'ultimate-multisite'), 'amount_off' => $s_amount, 'duration' => 'once', 'currency' => $currency, @@ -1390,7 +1390,7 @@ protected function build_non_recurring_cart($cart, $include_recurring_products = } /** - * Converts the Multisite Ultimate cart into Stripe Sub arguments. + * Converts the Ultimate Multisite cart into Stripe Sub arguments. * * @since 2.0.0 * @@ -1487,7 +1487,7 @@ protected function build_stripe_cart($cart) { } /** - * Converts the Stripe invoice line items into Multisite Ultimate line items. + * Converts the Stripe invoice line items into Ultimate Multisite line items. * * @since 2.0.19 * @@ -1651,7 +1651,7 @@ public function maybe_cancel_old_subscriptions($s_customer): void { if ( ! empty($subscription->metadata) ) { $customer_id = (int) $subscription->metadata['customer_id']; - // Legacy Multisite Ultimate uses user_id + // Legacy Ultimate Multisite uses user_id $user_id = (int) $subscription->metadata['user_id']; if (0 === $customer_id && 0 === $user_id) { @@ -1735,7 +1735,7 @@ public function process_refund($amount, $payment, $membership, $customer): bool $gateway_payment_id = $payment->get_gateway_payment_id(); if (empty($gateway_payment_id)) { - throw new \Exception(esc_html__('Gateway payment ID not found. Cannot process refund automatically.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Gateway payment ID not found. Cannot process refund automatically.', 'ultimate-multisite')); } /** @@ -1754,7 +1754,7 @@ public function process_refund($amount, $payment, $membership, $customer): bool $gateway_payment_id = $invoice->charge; } else { - throw new \Exception(esc_html__('Gateway payment ID not valid.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Gateway payment ID not valid.', 'ultimate-multisite')); } /* @@ -1887,7 +1887,7 @@ protected function get_stripe_error($e) { $wp_error->add($error['code'], $this->get_localized_error_message($error['code'], $e->getMessage())); } else { - $wp_error->add('unknown_error', __('An unknown error has occurred.', 'multisite-ultimate')); + $wp_error->add('unknown_error', __('An unknown error has occurred.', 'ultimate-multisite')); } return $wp_error; @@ -1910,7 +1910,7 @@ protected function get_localized_error_message($error_code, $error_message = '') // TODO: Fetch a translated message from an error_code => error_message map. // translators: 1 is the error code and 2 the message. - return sprintf(__('An error has occurred (code: %1$s; message: %2$s).', 'multisite-ultimate'), $error_code, $error_message); + return sprintf(__('An error has occurred (code: %1$s; message: %2$s).', 'ultimate-multisite'), $error_code, $error_message); } /** @@ -1951,7 +1951,7 @@ public function process_webhooks() { // for extra security, retrieve from the Stripe API if ( ! isset($received_event->id)) { - throw new \Exception(esc_html__('Event ID not found.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Event ID not found.', 'ultimate-multisite')); } // Set the right mode for this request @@ -2054,11 +2054,11 @@ public function process_webhooks() { if ($this->get_id() !== $membership->get_gateway()) { // translators: %s is the customer ID. - throw new Ignorable_Exception(esc_html(sprintf(__('Exiting Stripe webhook - This call must be handled by %s webhook', 'multisite-ultimate'), $membership->get_gateway()))); + throw new Ignorable_Exception(esc_html(sprintf(__('Exiting Stripe webhook - This call must be handled by %s webhook', 'ultimate-multisite'), $membership->get_gateway()))); } /* - * Set the Multisite Ultimate customer. + * Set the Ultimate Multisite customer. */ $customer = $membership->get_customer(); @@ -2332,7 +2332,7 @@ public function process_webhooks() { * Throws to inform that * we have a duplicate payment. */ - throw new Ignorable_Exception(esc_html__('Duplicate payment.', 'multisite-ultimate')); + throw new Ignorable_Exception(esc_html__('Duplicate payment.', 'ultimate-multisite')); } } @@ -2349,13 +2349,13 @@ public function process_webhooks() { $payment = wu_get_payment($payment_id); if (empty($payment)) { - throw new Ignorable_Exception(esc_html__('Payment not found on refund webhook call.', 'multisite-ultimate')); + throw new Ignorable_Exception(esc_html__('Payment not found on refund webhook call.', 'ultimate-multisite')); } $is_refundable = in_array($payment->get_status(), wu_get_refundable_payment_types(), true); if ( ! $is_refundable) { - throw new Ignorable_Exception(esc_html__('Payment is not refundable.', 'multisite-ultimate')); + throw new Ignorable_Exception(esc_html__('Payment is not refundable.', 'ultimate-multisite')); } /* @@ -2406,7 +2406,7 @@ public function process_webhooks() { if ($membership->is_active()) { $membership->cancel(); - $membership->add_note(['text' => __('Membership cancelled via Stripe webhook.', 'multisite-ultimate')]); + $membership->add_note(['text' => __('Membership cancelled via Stripe webhook.', 'ultimate-multisite')]); } else { wu_log_add('stripe', sprintf('Membership #%d is not active - not cancelling account.', $membership->get_id())); } @@ -2439,7 +2439,7 @@ public function get_saved_card_options() { foreach ($saved_payment_methods as $saved_payment_method) { $options[ $saved_payment_method->id ] = sprintf( // translators: 1 is the card brand (e.g. VISA), and 2 is the last 4 digits. - __('%1$s ending in %2$s', 'multisite-ultimate'), + __('%1$s ending in %2$s', 'ultimate-multisite'), strtoupper((string) $saved_payment_method->card->brand), $saved_payment_method->card->last4 ); @@ -2469,7 +2469,7 @@ public function update_card_fields(): void { // phpcs:disable ?>

- +

@@ -2615,7 +2615,7 @@ public function maybe_create_plan($args) { // Name and price are required. if (empty($args['name']) || empty($args['price'])) { - return new \WP_Error('missing_name_price', __('Missing plan name or price.', 'multisite-ultimate')); + return new \WP_Error('missing_name_price', __('Missing plan name or price.', 'ultimate-multisite')); } /* @@ -2636,7 +2636,7 @@ public function maybe_create_plan($args) { } if (empty($plan_id)) { - return new \WP_Error('empty_plan_id', __('Empty plan ID.', 'multisite-ultimate')); + return new \WP_Error('empty_plan_id', __('Empty plan ID.', 'ultimate-multisite')); } // Convert price to Stripe format. @@ -2717,7 +2717,7 @@ private function maybe_create_product($name, $id = '') { // Name are required. if (empty($name)) { - return new \WP_Error('missing_name', __('Missing product name.', 'multisite-ultimate')); + return new \WP_Error('missing_name', __('Missing product name.', 'ultimate-multisite')); } if (empty($id)) { @@ -2729,7 +2729,7 @@ private function maybe_create_product($name, $id = '') { } if (empty($product_id)) { - return new \WP_Error('empty_product_id', __('Empty product ID.', 'multisite-ultimate')); + return new \WP_Error('empty_product_id', __('Empty product ID.', 'ultimate-multisite')); } // First check to see if a product exists with this ID. If so, return that. diff --git a/inc/gateways/class-manual-gateway.php b/inc/gateways/class-manual-gateway.php index 94d42ee67..07b591a4c 100644 --- a/inc/gateways/class-manual-gateway.php +++ b/inc/gateways/class-manual-gateway.php @@ -6,7 +6,7 @@ * It doesn't do anything with the payments, * as they need to be manually approved by the super admin * but it serves as a good example of how - * to implement a custom gateway for Multisite Ultimate. + * to implement a custom gateway for Ultimate Multisite. * * @package WP_Ultimo * @subpackage Gateways @@ -87,8 +87,8 @@ public function settings(): void { 'payment-gateways', 'manual_header', [ - 'title' => __('Manual', 'multisite-ultimate'), - 'desc' => __('Use the settings section below to configure the manual payment method. This method allows your customers to manually pay for their memberships, but those payments require manual confirmation on your part.', 'multisite-ultimate'), + 'title' => __('Manual', 'ultimate-multisite'), + 'desc' => __('Use the settings section below to configure the manual payment method. This method allows your customers to manually pay for their memberships, but those payments require manual confirmation on your part.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, 'require' => [ @@ -101,11 +101,11 @@ public function settings(): void { 'payment-gateways', 'manual_payment_instructions', [ - 'title' => __('Payment Instructions', 'multisite-ultimate'), - 'desc' => __('This instructions will be shown to the customer on the thank you page, as well as be sent via email.', 'multisite-ultimate'), + 'title' => __('Payment Instructions', 'ultimate-multisite'), + 'desc' => __('This instructions will be shown to the customer on the thank you page, as well as be sent via email.', 'ultimate-multisite'), 'type' => 'wp_editor', 'allow_html' => true, - 'default' => __('Payment instructions here.', 'multisite-ultimate'), + 'default' => __('Payment instructions here.', 'ultimate-multisite'), 'require' => [ 'active_gateways' => 'manual', ], @@ -141,9 +141,9 @@ public function process_membership_update(&$membership, $customer) { public function get_amount_update_message($to_customer = false) { if ($to_customer) { - $message = __('You will receive a updated invoice on the next billing cycle.', 'multisite-ultimate'); + $message = __('You will receive a updated invoice on the next billing cycle.', 'ultimate-multisite'); } else { - $message = __('The customer will receive a updated invoice on the next billing cycle.', 'multisite-ultimate'); + $message = __('The customer will receive a updated invoice on the next billing cycle.', 'ultimate-multisite'); } return $message; @@ -212,7 +212,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) * * If you wish to stop the process at any point * due to some error, API failure or such, - * simply throw a exception and Multisite Ultimate will + * simply throw a exception and Ultimate Multisite will * catch it and rollback any changes. */ if ('new' === $type) { @@ -273,7 +273,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) * for a possible wp_error. * * If that happens, we need to throw an exception - * Multisite Ultimate will capture that exception and + * Ultimate Multisite will capture that exception and * rollback database changes for us, * to avoid problems with data integrity. * @@ -298,7 +298,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) /* * You don't need to return anything, * but if you return false from this method, - * Multisite Ultimate will assume that you want to handle redirection + * Ultimate Multisite will assume that you want to handle redirection * and such by yourself. * * This can be useful for some gateways that require @@ -355,7 +355,7 @@ public function process_refund($amount, $payment, $membership, $customer): void */ public function fields() { - $message = __('After you finish signing up, we will send you an email with instructions to finalize the payment. Your account will be pending until the payment is finalized and confirmed.', 'multisite-ultimate'); + $message = __('After you finish signing up, we will send you an email with instructions to finalize the payment. Your account will be pending until the payment is finalized and confirmed.', 'ultimate-multisite'); return sprintf('

%s

', $message); } @@ -388,7 +388,7 @@ public function add_payment_instructions_block($payment, $membership, $customer)

- +

diff --git a/inc/gateways/class-paypal-gateway.php b/inc/gateways/class-paypal-gateway.php index 7fbe1cbb8..3953ab018 100644 --- a/inc/gateways/class-paypal-gateway.php +++ b/inc/gateways/class-paypal-gateway.php @@ -190,8 +190,8 @@ public function settings(): void { 'payment-gateways', 'paypal_header', [ - 'title' => __('PayPal', 'multisite-ultimate'), - 'desc' => __('Use the settings section below to configure PayPal Express as a payment method.', 'multisite-ultimate'), + 'title' => __('PayPal', 'ultimate-multisite'), + 'desc' => __('Use the settings section below to configure PayPal Express as a payment method.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, 'require' => [ @@ -204,8 +204,8 @@ public function settings(): void { 'payment-gateways', 'paypal_sandbox_mode', [ - 'title' => __('PayPal Sandbox Mode', 'multisite-ultimate'), - 'desc' => __('Toggle this to put PayPal on sandbox mode. This is useful for testing and making sure PayPal is correctly setup to handle your payments.', 'multisite-ultimate'), + 'title' => __('PayPal Sandbox Mode', 'ultimate-multisite'), + 'desc' => __('Toggle this to put PayPal on sandbox mode. This is useful for testing and making sure PayPal is correctly setup to handle your payments.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'html_attr' => [ @@ -221,10 +221,10 @@ public function settings(): void { 'payment-gateways', 'paypal_test_username', [ - 'title' => __('PayPal Test Username', 'multisite-ultimate'), + 'title' => __('PayPal Test Username', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the TEST username, not the live one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. username_api1.username.co', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST username, not the live one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. username_api1.username.co', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -239,10 +239,10 @@ public function settings(): void { 'payment-gateways', 'paypal_test_password', [ - 'title' => __('PayPal Test Password', 'multisite-ultimate'), + 'title' => __('PayPal Test Password', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the TEST password, not the live one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. IUOSABK987HJG88N', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST password, not the live one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. IUOSABK987HJG88N', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -257,10 +257,10 @@ public function settings(): void { 'payment-gateways', 'paypal_test_signature', [ - 'title' => __('PayPal Test Signature', 'multisite-ultimate'), + 'title' => __('PayPal Test Signature', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the TEST signature, not the live one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST signature, not the live one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -275,10 +275,10 @@ public function settings(): void { 'payment-gateways', 'paypal_live_username', [ - 'title' => __('PayPal Live Username', 'multisite-ultimate'), + 'title' => __('PayPal Live Username', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the LIVE username, not the test one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. username_api1.username.co', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE username, not the test one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. username_api1.username.co', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -293,10 +293,10 @@ public function settings(): void { 'payment-gateways', 'paypal_live_password', [ - 'title' => __('PayPal Live Password', 'multisite-ultimate'), + 'title' => __('PayPal Live Password', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the LIVE password, not the test one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. IUOSABK987HJG88N', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE password, not the test one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. IUOSABK987HJG88N', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -311,10 +311,10 @@ public function settings(): void { 'payment-gateways', 'paypal_live_signature', [ - 'title' => __('PayPal Live Signature', 'multisite-ultimate'), + 'title' => __('PayPal Live Signature', 'ultimate-multisite'), 'desc' => '', - 'tooltip' => __('Make sure you are placing the LIVE signature, not the test one.', 'multisite-ultimate'), - 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE signature, not the test one.', 'ultimate-multisite'), + 'placeholder' => __('e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -342,7 +342,7 @@ public function process_membership_update(&$membership, $customer) { $gateway_subscription_id = $membership->get_gateway_subscription_id(); if (empty($gateway_subscription_id)) { - return new \WP_Error('wu_paypal_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'multisite-ultimate')); + return new \WP_Error('wu_paypal_no_subscription_id', __('Error: No gateway subscription ID found for this membership.', 'ultimate-multisite')); } $original = $membership->_get_original(); @@ -350,7 +350,7 @@ public function process_membership_update(&$membership, $customer) { $has_duration_change = $membership->get_duration() !== absint(wu_get_isset($original, 'duration')) || $membership->get_duration_unit() !== wu_get_isset($original, 'duration_unit'); if ($has_duration_change) { - return new \WP_Error('wu_paypal_no_duration_change', __('Error: PayPal does not support changing the duration of a subscription.', 'multisite-ultimate')); + return new \WP_Error('wu_paypal_no_duration_change', __('Error: PayPal does not support changing the duration of a subscription.', 'ultimate-multisite')); } /** @@ -368,7 +368,7 @@ public function process_membership_update(&$membership, $customer) { 'VERSION' => '124', 'METHOD' => 'UpdateRecurringPaymentsProfile', 'PROFILEID' => $gateway_subscription_id, - 'NOTE' => __('Membership update', 'multisite-ultimate'), + 'NOTE' => __('Membership update', 'ultimate-multisite'), 'DESC' => $description, 'AMT' => $temp_payment->get_total() - $temp_payment->get_tax_total(), 'TAXAMT' => $temp_payment->get_tax_total(), @@ -400,7 +400,7 @@ public function process_membership_update(&$membership, $customer) { } if ('failure' === strtolower((string) $body['ACK'])) { - return new \WP_Error($body['L_ERRORCODE0'], __('PayPal Error:', 'multisite-ultimate') . ' ' . $body['L_LONGMESSAGE0']); + return new \WP_Error($body['L_ERRORCODE0'], __('PayPal Error:', 'ultimate-multisite') . ' ' . $body['L_LONGMESSAGE0']); } return true; @@ -505,7 +505,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) $date = wp_date(get_option('date_format'), strtotime($membership->get_date_trial_end(), wu_get_current_time('timestamp', true))); // translators: %1$s is the date it will end - $notes[] = sprintf(__('Your trial period will end on %1$s.', 'multisite-ultimate'), $date); + $notes[] = sprintf(__('Your trial period will end on %1$s.', 'ultimate-multisite'), $date); } if ($is_recurring && $should_auto_renew) { @@ -524,25 +524,25 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) if ('downgrade' === $type) { if ($is_trial_setup) { // translators: $1$s the date membership will start, $2$s amount to be billed. - $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s every month.', 'multisite-ultimate'), $date, $recurring_total_format); + $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s every month.', 'ultimate-multisite'), $date, $recurring_total_format); } else { $date_renew = wp_date(get_option('date_format'), strtotime($membership->get_date_expiration(), wu_get_current_time('timestamp', true))); // translators: $1$s the date membership will start, $2$s amount to be billed, %3$s the description of how often. - $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'multisite-ultimate'), $date_renew, $recurring_total_format, $desc); + $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'ultimate-multisite'), $date_renew, $recurring_total_format, $desc); } } elseif ($is_trial_setup) { // translators: $1$s amount to be billed, $2$s how often - $notes[] = sprintf(__('After the first payment you will be billed %1$s %2$s.', 'multisite-ultimate'), $recurring_total_format, $desc); + $notes[] = sprintf(__('After the first payment you will be billed %1$s %2$s.', 'ultimate-multisite'), $recurring_total_format, $desc); } else { // translators: $1$s amount to be billed, $2$s how often - $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'multisite-ultimate'), $recurring_total_format, $desc); + $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'ultimate-multisite'), $recurring_total_format, $desc); } } elseif ($is_trial_setup) { // translators: $1$s amount to be billed, $2$s how often - $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'multisite-ultimate'), $recurring_total_format, $desc); + $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'ultimate-multisite'), $recurring_total_format, $desc); } else { // translators: $1$s how often - $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'multisite-ultimate'), $desc); + $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'ultimate-multisite'), $desc); } } @@ -582,12 +582,12 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) $discounts_total = $cart->get_total_discounts(); if ( ! empty($discounts_total)) { - __('Account credit and other discounts', 'multisite-ultimate'); + __('Account credit and other discounts', 'ultimate-multisite'); $args = array_merge( $args, [ - "L_PAYMENTREQUEST_0_NAME{$product_index}" => __('Account credit and other discounts', 'multisite-ultimate'), + "L_PAYMENTREQUEST_0_NAME{$product_index}" => __('Account credit and other discounts', 'ultimate-multisite'), "L_PAYMENTREQUEST_0_AMT{$product_index}" => $discounts_total, "L_PAYMENTREQUEST_0_QTY{$product_index}" => 1, ] @@ -658,7 +658,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) /* * If we get here, something went wrong. */ - throw new \Exception(esc_html__('Something has gone wrong, please try again', 'multisite-ultimate')); + throw new \Exception(esc_html__('Something has gone wrong, please try again', 'ultimate-multisite')); } /** @@ -718,7 +718,7 @@ public function process_refund($amount, $payment, $membership, $customer) { $gateway_payment_id = $payment->get_gateway_payment_id(); if (empty($gateway_payment_id)) { - throw new \Exception(esc_html__('Gateway payment ID not found. Cannot process refund automatically.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Gateway payment ID not found. Cannot process refund automatically.', 'ultimate-multisite')); } $refund_type = 'Partial'; @@ -780,7 +780,7 @@ public function process_refund($amount, $payment, $membership, $customer) { return true; } - throw new \Exception(esc_html__('Something went wrong.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Something went wrong.', 'ultimate-multisite')); } /** @@ -795,7 +795,7 @@ public function process_refund($amount, $payment, $membership, $customer) { */ public function fields() { - $message = __('You will be redirected to PayPal to complete the purchase.', 'multisite-ultimate'); + $message = __('You will be redirected to PayPal to complete the purchase.', 'ultimate-multisite'); return sprintf('

%s

', $message); } @@ -831,7 +831,7 @@ public function process_confirmation(): void { $details = $this->get_checkout_details(wu_request('token')); if (empty($details)) { - wp_die(esc_html__('PayPal token no longer valid.', 'multisite-ultimate')); + wp_die(esc_html__('PayPal token no longer valid.', 'ultimate-multisite')); } /* @@ -845,7 +845,7 @@ public function process_confirmation(): void { * Bail. */ if (empty($payment)) { - wp_die(esc_html__('Pending payment does not exist.', 'multisite-ultimate')); + wp_die(esc_html__('Pending payment does not exist.', 'ultimate-multisite')); } /* @@ -857,7 +857,7 @@ public function process_confirmation(): void { $original_cart = $payment->get_meta('wu_original_cart'); if (empty($original_cart)) { - wp_die(esc_html__('Original cart does not exist.', 'multisite-ultimate')); + wp_die(esc_html__('Original cart does not exist.', 'ultimate-multisite')); } /* @@ -869,7 +869,7 @@ public function process_confirmation(): void { $is_recurring = $original_cart->has_recurring(); if (empty($membership) || empty($customer)) { - $error = new \WP_Error('no-membership', esc_html__('Missing membership or customer data.', 'multisite-ultimate')); + $error = new \WP_Error('no-membership', esc_html__('Missing membership or customer data.', 'ultimate-multisite')); wp_die($error); // phpcs:ignore WordPress.Security.EscapeOutput } @@ -957,7 +957,7 @@ public function process_webhooks(): bool { } if (empty($membership)) { - throw new \Exception(esc_html__('Exiting PayPal Express IPN - membership ID not found.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Exiting PayPal Express IPN - membership ID not found.', 'ultimate-multisite')); } wu_log_add('paypal', sprintf('Processing IPN for membership #%d.', $membership->get_id())); @@ -1076,15 +1076,15 @@ public function process_webhooks(): bool { // Recurring payment failed. // translators: %s: Transaction ID - $membership->add_note(['text' => sprintf(__('Transaction ID %s failed in PayPal.', 'multisite-ultimate'), $posted['txn_id'])]); + $membership->add_note(['text' => sprintf(__('Transaction ID %s failed in PayPal.', 'ultimate-multisite'), $posted['txn_id'])]); die('Subscription payment failed'); } elseif ('pending' === strtolower((string) $posted['payment_status'])) { // Recurring payment pending (such as echeck). - $pending_reason = ! empty($posted['pending_reason']) ? $posted['pending_reason'] : __('unknown', 'multisite-ultimate'); + $pending_reason = ! empty($posted['pending_reason']) ? $posted['pending_reason'] : __('unknown', 'ultimate-multisite'); // translators: %1$s: Transaction ID, %2$s: Pending reason - $membership->add_note(['text' => sprintf(__('Transaction ID %1$s is pending in PayPal for reason: %2$s', 'multisite-ultimate'), $posted['txn_id'], $pending_reason)]); + $membership->add_note(['text' => sprintf(__('Transaction ID %1$s is pending in PayPal for reason: %2$s', 'ultimate-multisite'), $posted['txn_id'], $pending_reason)]); die('Subscription payment pending'); } @@ -1128,9 +1128,9 @@ public function process_webhooks(): bool { // Initial payment failed, so set the user back to pending. $membership->set_status('pending'); - $membership->add_note(['text' => __('Initial payment failed in PayPal Express.', 'multisite-ultimate')]); + $membership->add_note(['text' => __('Initial payment failed in PayPal Express.', 'ultimate-multisite')]); - $this->error_message = __('Initial payment failed.', 'multisite-ultimate'); + $this->error_message = __('Initial payment failed.', 'ultimate-multisite'); } else { // If this is a completed payment plan, we can skip any cancellation actions. This is handled in renewals. @@ -1143,7 +1143,7 @@ public function process_webhooks(): bool { // user is marked as cancelled but retains access until end of term $membership->cancel(); - $membership->add_note(['text' => __('Membership cancelled via PayPal Express IPN.', 'multisite-ultimate')]); + $membership->add_note(['text' => __('Membership cancelled via PayPal Express IPN.', 'ultimate-multisite')]); } break; @@ -1386,8 +1386,8 @@ protected function create_recurring_profile($details, $cart, $payment, $membersh } } else { wp_die( - esc_html__('Something has gone wrong, please try again', 'multisite-ultimate'), - esc_html__('Error', 'multisite-ultimate'), + esc_html__('Something has gone wrong, please try again', 'ultimate-multisite'), + esc_html__('Error', 'ultimate-multisite'), [ 'back_link' => true, 'response' => '401', @@ -1539,8 +1539,8 @@ protected function complete_single_payment($details, $cart, $payment, $membershi } } else { wp_die( - esc_html__('Something has gone wrong, please try again', 'multisite-ultimate'), - esc_html__('Error', 'multisite-ultimate'), + esc_html__('Something has gone wrong, please try again', 'ultimate-multisite'), + esc_html__('Error', 'ultimate-multisite'), [ 'back_link' => true, 'response' => '401', @@ -1562,10 +1562,10 @@ public function confirmation_form() { $checkout_details = $this->get_checkout_details($token); if ( ! is_array($checkout_details)) { - $error = is_wp_error($checkout_details) ? $checkout_details->get_error_message() : __('Invalid response code from PayPal', 'multisite-ultimate'); + $error = is_wp_error($checkout_details) ? $checkout_details->get_error_message() : __('Invalid response code from PayPal', 'ultimate-multisite'); // translators: %s is the paypal error message. - return '

' . sprintf(__('An unexpected PayPal error occurred. Error message: %s.', 'multisite-ultimate'), $error) . '

'; + return '

' . sprintf(__('An unexpected PayPal error occurred. Error message: %s.', 'ultimate-multisite'), $error) . '

'; } /* diff --git a/inc/gateways/class-stripe-checkout-gateway.php b/inc/gateways/class-stripe-checkout-gateway.php index 839b815bd..0d08bef9d 100644 --- a/inc/gateways/class-stripe-checkout-gateway.php +++ b/inc/gateways/class-stripe-checkout-gateway.php @@ -47,8 +47,8 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_header', [ - 'title' => __('Stripe Checkout', 'multisite-ultimate'), - 'desc' => __('Use the settings section below to configure Stripe Checkout as a payment method.', 'multisite-ultimate'), + 'title' => __('Stripe Checkout', 'ultimate-multisite'), + 'desc' => __('Use the settings section below to configure Stripe Checkout as a payment method.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, 'require' => [ @@ -61,10 +61,10 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_public_title', [ - 'title' => __('Stripe Public Name', 'multisite-ultimate'), - 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'multisite-ultimate'), + 'title' => __('Stripe Public Name', 'ultimate-multisite'), + 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'ultimate-multisite'), 'type' => 'text', - 'default' => __('Credit Card', 'multisite-ultimate'), + 'default' => __('Credit Card', 'ultimate-multisite'), 'require' => [ 'active_gateways' => 'stripe-checkout', ], @@ -75,8 +75,8 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_sandbox_mode', [ - 'title' => __('Stripe Checkout Sandbox Mode', 'multisite-ultimate'), - 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'multisite-ultimate'), + 'title' => __('Stripe Checkout Sandbox Mode', 'ultimate-multisite'), + 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, 'html_attr' => [ @@ -94,10 +94,10 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_test_pk_key', [ - 'title' => __('Stripe Test Publishable Key', 'multisite-ultimate'), + 'title' => __('Stripe Test Publishable Key', 'ultimate-multisite'), 'desc' => ! empty($pk_test_status) ? sprintf($error_message_wrap, $pk_test_status) : '', - 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'multisite-ultimate'), - 'placeholder' => __('pk_test_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'ultimate-multisite'), + 'placeholder' => __('pk_test_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -114,10 +114,10 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_test_sk_key', [ - 'title' => __('Stripe Test Secret Key', 'multisite-ultimate'), + 'title' => __('Stripe Test Secret Key', 'ultimate-multisite'), 'desc' => ! empty($sk_test_status) ? sprintf($error_message_wrap, $sk_test_status) : '', - 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'multisite-ultimate'), - 'placeholder' => __('sk_test_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'ultimate-multisite'), + 'placeholder' => __('sk_test_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -134,10 +134,10 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_live_pk_key', [ - 'title' => __('Stripe Live Publishable Key', 'multisite-ultimate'), + 'title' => __('Stripe Live Publishable Key', 'ultimate-multisite'), 'desc' => ! empty($pk_status) ? sprintf($error_message_wrap, $pk_status) : '', - 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'multisite-ultimate'), - 'placeholder' => __('pk_live_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'ultimate-multisite'), + 'placeholder' => __('pk_live_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -154,10 +154,10 @@ public function settings(): void { 'payment-gateways', 'stripe_checkout_live_sk_key', [ - 'title' => __('Stripe Live Secret Key', 'multisite-ultimate'), + 'title' => __('Stripe Live Secret Key', 'ultimate-multisite'), 'desc' => ! empty($sk_status) ? sprintf($error_message_wrap, $sk_status) : '', - 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'multisite-ultimate'), - 'placeholder' => __('sk_live_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'ultimate-multisite'), + 'placeholder' => __('sk_live_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -168,15 +168,15 @@ public function settings(): void { ] ); - $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, Multisite Ultimate will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'multisite-ultimate')); + $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, Ultimate Multisite will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'ultimate-multisite')); wu_register_settings_field( 'payment-gateways', 'stripe_checkout_webhook_listener_explanation', [ - 'title' => __('Webhook Listener URL', 'multisite-ultimate'), + 'title' => __('Webhook Listener URL', 'ultimate-multisite'), 'desc' => $webhook_message, - 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'multisite-ultimate'), + 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'ultimate-multisite'), 'type' => 'text-display', 'copy' => true, 'default' => $this->get_webhook_listener_url(), @@ -397,7 +397,7 @@ public function process_confirmation(): void { */ public function fields(): string { - $message = __('You will be redirected to a checkout to complete the purchase.', 'multisite-ultimate'); + $message = __('You will be redirected to a checkout to complete the purchase.', 'ultimate-multisite'); return sprintf('

%s

', $message); } @@ -419,7 +419,7 @@ public function payment_methods() { $fields = [ "payment_method_{$payment_method}" => [ 'type' => 'text-display', - 'title' => __('Saved Cards', 'multisite-ultimate'), + 'title' => __('Saved Cards', 'ultimate-multisite'), 'display_value' => $card, ], ]; diff --git a/inc/gateways/class-stripe-gateway.php b/inc/gateways/class-stripe-gateway.php index 8843695e2..9a8758275 100644 --- a/inc/gateways/class-stripe-gateway.php +++ b/inc/gateways/class-stripe-gateway.php @@ -74,8 +74,8 @@ public function settings(): void { 'payment-gateways', 'stripe_header', [ - 'title' => __('Stripe', 'multisite-ultimate'), - 'desc' => __('Use the settings section below to configure Stripe as a payment method.', 'multisite-ultimate'), + 'title' => __('Stripe', 'ultimate-multisite'), + 'desc' => __('Use the settings section below to configure Stripe as a payment method.', 'ultimate-multisite'), 'type' => 'header', 'show_as_submenu' => true, 'require' => [ @@ -88,10 +88,10 @@ public function settings(): void { 'payment-gateways', 'stripe_public_title', [ - 'title' => __('Stripe Public Name', 'multisite-ultimate'), - 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'multisite-ultimate'), + 'title' => __('Stripe Public Name', 'ultimate-multisite'), + 'tooltip' => __('The name to display on the payment method selection field. By default, "Credit Card" is used.', 'ultimate-multisite'), 'type' => 'text', - 'default' => __('Credit Card', 'multisite-ultimate'), + 'default' => __('Credit Card', 'ultimate-multisite'), 'require' => [ 'active_gateways' => 'stripe', ], @@ -102,8 +102,8 @@ public function settings(): void { 'payment-gateways', 'stripe_sandbox_mode', [ - 'title' => __('Stripe Sandbox Mode', 'multisite-ultimate'), - 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'multisite-ultimate'), + 'title' => __('Stripe Sandbox Mode', 'ultimate-multisite'), + 'desc' => __('Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, 'html_attr' => [ @@ -121,10 +121,10 @@ public function settings(): void { 'payment-gateways', 'stripe_test_pk_key', [ - 'title' => __('Stripe Test Publishable Key', 'multisite-ultimate'), + 'title' => __('Stripe Test Publishable Key', 'ultimate-multisite'), 'desc' => ! empty($pk_test_status) ? sprintf($error_message_wrap, $pk_test_status) : '', - 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'multisite-ultimate'), - 'placeholder' => __('pk_test_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'ultimate-multisite'), + 'placeholder' => __('pk_test_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -141,10 +141,10 @@ public function settings(): void { 'payment-gateways', 'stripe_test_sk_key', [ - 'title' => __('Stripe Test Secret Key', 'multisite-ultimate'), + 'title' => __('Stripe Test Secret Key', 'ultimate-multisite'), 'desc' => ! empty($sk_test_status) ? sprintf($error_message_wrap, $sk_test_status) : '', - 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'multisite-ultimate'), - 'placeholder' => __('sk_test_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the TEST keys, not the live ones.', 'ultimate-multisite'), + 'placeholder' => __('sk_test_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -161,10 +161,10 @@ public function settings(): void { 'payment-gateways', 'stripe_live_pk_key', [ - 'title' => __('Stripe Live Publishable Key', 'multisite-ultimate'), + 'title' => __('Stripe Live Publishable Key', 'ultimate-multisite'), 'desc' => ! empty($pk_status) ? sprintf($error_message_wrap, $pk_status) : '', - 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'multisite-ultimate'), - 'placeholder' => __('pk_live_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'ultimate-multisite'), + 'placeholder' => __('pk_live_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -181,10 +181,10 @@ public function settings(): void { 'payment-gateways', 'stripe_live_sk_key', [ - 'title' => __('Stripe Live Secret Key', 'multisite-ultimate'), + 'title' => __('Stripe Live Secret Key', 'ultimate-multisite'), 'desc' => ! empty($sk_status) ? sprintf($error_message_wrap, $sk_status) : '', - 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'multisite-ultimate'), - 'placeholder' => __('sk_live_***********', 'multisite-ultimate'), + 'tooltip' => __('Make sure you are placing the LIVE keys, not the test ones.', 'ultimate-multisite'), + 'placeholder' => __('sk_live_***********', 'ultimate-multisite'), 'type' => 'text', 'default' => '', 'capability' => 'manage_api_keys', @@ -195,15 +195,15 @@ public function settings(): void { ] ); - $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, Multisite Ultimate will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'multisite-ultimate')); + $webhook_message = sprintf('%s', __('Whenever you change your Stripe settings, Ultimate Multisite will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments.', 'ultimate-multisite')); wu_register_settings_field( 'payment-gateways', 'stripe_webhook_listener_explanation', [ - 'title' => __('Webhook Listener URL', 'multisite-ultimate'), + 'title' => __('Webhook Listener URL', 'ultimate-multisite'), 'desc' => $webhook_message, - 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'multisite-ultimate'), + 'tooltip' => __('This is the URL Stripe should send webhook calls to.', 'ultimate-multisite'), 'type' => 'text-display', 'copy' => true, 'default' => $this->get_webhook_listener_url(), @@ -258,7 +258,7 @@ public function run_preflight() { if (is_wp_error($s_customer)) { // translators: %s is the error message. - return new \WP_Error($s_customer->get_error_code(), sprintf(__('Error creating Stripe customer: %s', 'multisite-ultimate'), $s_customer->get_error_message())); + return new \WP_Error($s_customer->get_error_code(), sprintf(__('Error creating Stripe customer: %s', 'ultimate-multisite'), $s_customer->get_error_message())); } $this->membership->set_gateway_customer_id($s_customer->id); @@ -512,7 +512,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) $payment_intent_id = $payment->get_meta('stripe_payment_intent_id'); if (empty($payment_intent_id)) { - throw new \Exception(esc_html__('Missing Stripe payment intent, please try again or contact support if the issue persists.', 'multisite-ultimate')); + throw new \Exception(esc_html__('Missing Stripe payment intent, please try again or contact support if the issue persists.', 'ultimate-multisite')); } /** @@ -547,7 +547,7 @@ public function process_checkout($payment, $membership, $customer, $cart, $type) $s_customer = $this->get_or_create_customer($customer->get_id(), $customer->get_user_id(), $payment_intent->customer); // translators: first is the customer id, then the customer email. - $description = sprintf(__('Customer ID: %1$d - User Email: %2$s', 'multisite-ultimate'), $customer->get_id(), $customer->get_email_address()); + $description = sprintf(__('Customer ID: %1$d - User Email: %2$s', 'ultimate-multisite'), $customer->get_id(), $customer->get_email_address()); if (strlen($description) > 350) { $description = substr($description, 0, 350); @@ -648,12 +648,12 @@ public function fields(): string { $card_options = $this->get_saved_card_options(); if ($card_options) { - $card_options['add-new'] = __('Add new card', 'multisite-ultimate'); + $card_options['add-new'] = __('Add new card', 'ultimate-multisite'); $fields = [ 'payment_method' => [ 'type' => 'radio', - 'title' => __('Saved Payment Methods', 'multisite-ultimate'), + 'title' => __('Saved Payment Methods', 'ultimate-multisite'), 'value' => wu_request('payment_method'), 'options' => $card_options, 'html_attr' => [ @@ -679,30 +679,25 @@ public function fields(): string { ob_start(); $stripe_form->render(); - - // phpcs:disable - ?>
- -
+ +
-
- -
+
+ +
- + [ 'type' => 'text-display', - 'title' => __('Saved Cards', 'multisite-ultimate'), + 'title' => __('Saved Cards', 'ultimate-multisite'), 'display_value' => $card, ], ]; diff --git a/inc/helpers/class-screenshot.php b/inc/helpers/class-screenshot.php index ab6e6c9c4..7156721fb 100644 --- a/inc/helpers/class-screenshot.php +++ b/inc/helpers/class-screenshot.php @@ -58,7 +58,7 @@ public static function take_screenshot($url) { public static function save_image_from_url($url) { // translators: %s is the API URL. - $log_prefix = sprintf(__('Downloading image from "%s":', 'multisite-ultimate'), $url) . ' '; + $log_prefix = sprintf(__('Downloading image from "%s":', 'ultimate-multisite'), $url) . ' '; $response = wp_remote_get( $url, @@ -83,7 +83,7 @@ public static function save_image_from_url($url) { * Check if the results contain a PNG header. */ if (! str_starts_with($response['body'], "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a")) { - wu_log_add('screenshot-generator', $log_prefix . __('Result is not a PNG file.', 'multisite-ultimate'), LogLevel::ERROR); + wu_log_add('screenshot-generator', $log_prefix . __('Result is not a PNG file.', 'ultimate-multisite'), LogLevel::ERROR); return false; } @@ -122,7 +122,7 @@ public static function save_image_from_url($url) { // Assign metadata to attachment wp_update_attachment_metadata($attach_id, $attach_data); - wu_log_add('screenshot-generator', $log_prefix . __('Success!', 'multisite-ultimate')); + wu_log_add('screenshot-generator', $log_prefix . __('Success!', 'ultimate-multisite')); return $attach_id; } diff --git a/inc/helpers/class-site-duplicator.php b/inc/helpers/class-site-duplicator.php index 836c10249..e9f9ceb28 100644 --- a/inc/helpers/class-site-duplicator.php +++ b/inc/helpers/class-site-duplicator.php @@ -21,10 +21,10 @@ } if ( ! defined('MUCD_NETWORK_PAGE_DUPLICATE_COPY_FILE_ERROR')) { // translators: %s the file path that failed. - define('MUCD_NETWORK_PAGE_DUPLICATE_COPY_FILE_ERROR', __('Failed to copy files : check permissions on %s', 'multisite-ultimate')); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound + define('MUCD_NETWORK_PAGE_DUPLICATE_COPY_FILE_ERROR', __('Failed to copy files : check permissions on %s', 'ultimate-multisite')); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound } if ( ! defined('MUCD_NETWORK_PAGE_DUPLICATE_VIEW_LOG')) { - define('MUCD_NETWORK_PAGE_DUPLICATE_VIEW_LOG', __('View log', 'multisite-ultimate')); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound + define('MUCD_NETWORK_PAGE_DUPLICATE_VIEW_LOG', __('View log', 'ultimate-multisite')); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound } if ( ! defined('MUCD_MAX_NUMBER_OF_SITE')) { define('MUCD_MAX_NUMBER_OF_SITE', 5000); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound @@ -66,7 +66,7 @@ public static function duplicate_site($from_site_id, $title, $args = []) { if (is_wp_error($duplicate_site)) { // translators: %s id the template site id and %s is the error message returned. - $message = sprintf(__('Attempt to duplicate site %1$d failed: %2$s', 'multisite-ultimate'), $from_site_id, $duplicate_site->get_error_message()); + $message = sprintf(__('Attempt to duplicate site %1$d failed: %2$s', 'ultimate-multisite'), $from_site_id, $duplicate_site->get_error_message()); wu_log_add('site-duplication', $message, LogLevel::ERROR); @@ -74,7 +74,7 @@ public static function duplicate_site($from_site_id, $title, $args = []) { } // translators: %1$d is the ID of the site template used, and %2$d is the id of the new site. - $message = sprintf(__('Attempt to duplicate site %1$d successful - New site id: %2$d', 'multisite-ultimate'), $from_site_id, $duplicate_site); + $message = sprintf(__('Attempt to duplicate site %1$d successful - New site id: %2$d', 'ultimate-multisite'), $from_site_id, $duplicate_site); wu_log_add('site-duplication', $message); @@ -118,7 +118,7 @@ public static function override_site($from_site_id, $to_site_id, $args = []) { if (is_wp_error($duplicate_site_id)) { // translators: %s id the template site id and %s is the error message returned. - $message = sprintf(__('Attempt to override site %1$d with data from site %2$d failed: %3$s', 'multisite-ultimate'), $from_site_id, $to_site_id, $duplicate_site_id->get_error_message()); + $message = sprintf(__('Attempt to override site %1$d with data from site %2$d failed: %3$s', 'ultimate-multisite'), $from_site_id, $to_site_id, $duplicate_site_id->get_error_message()); wu_log_add('site-duplication', $message, LogLevel::ERROR); @@ -142,7 +142,7 @@ public static function override_site($from_site_id, $to_site_id, $args = []) { if ($saved) { // translators: %1$d is the ID of the site template used, and %2$d is the ID of the overriden site. - $message = sprintf(__('Attempt to override site %1$d with data from site %2$d successful.', 'multisite-ultimate'), $from_site_id, $duplicate_site_id); + $message = sprintf(__('Attempt to override site %1$d with data from site %2$d successful.', 'ultimate-multisite'), $from_site_id, $duplicate_site_id); wu_log_add('site-duplication', $message); @@ -198,7 +198,7 @@ protected static function process_duplication($args) { $wpdb->hide_errors(); if ( ! $args->from_site_id) { - return new \WP_Error('from_site_id_required', __('You need to provide a valid site to duplicate.', 'multisite-ultimate')); + return new \WP_Error('from_site_id_required', __('You need to provide a valid site to duplicate.', 'ultimate-multisite')); } $user_id = ! empty($args->user_id) ? $args->user_id : self::create_admin($args->email, $site_domain); @@ -220,7 +220,7 @@ protected static function process_duplication($args) { } if ( ! is_numeric($args->to_site_id)) { - return new \WP_Error('site_creation_failed', __('An attempt to create a new site failed.', 'multisite-ultimate')); + return new \WP_Error('site_creation_failed', __('An attempt to create a new site failed.', 'ultimate-multisite')); } if ( ! is_super_admin($user_id) && ! get_user_option('primary_blog', $user_id)) { @@ -284,7 +284,7 @@ public static function create_admin($email, $domain) { $user_id = wpmu_create_user($domain, $password, $email); if (false === $user_id) { - return new \WP_Error('user_creation_error', __('We were not able to create a new admin user for the site being duplicated.', 'multisite-ultimate')); + return new \WP_Error('user_creation_error', __('We were not able to create a new admin user for the site being duplicated.', 'ultimate-multisite')); } else { wp_new_user_notification($user_id); } diff --git a/inc/helpers/class-validator.php b/inc/helpers/class-validator.php index 80c87908b..8f279eb57 100644 --- a/inc/helpers/class-validator.php +++ b/inc/helpers/class-validator.php @@ -1,6 +1,6 @@ $field_required_message, 'required_with' => $field_required_message, // translators: %s is the email field identifier - 'email' => sprintf(__('The %s is not a valid email', 'multisite-ultimate'), ':attribute'), + 'email' => sprintf(__('The %s is not a valid email', 'ultimate-multisite'), ':attribute'), // translators: 1st %s is the field name; 2nd is the allowed value - 'min' => sprintf(__('The %1$s minimum is %2$s', 'multisite-ultimate'), ':attribute', ':min'), + 'min' => sprintf(__('The %1$s minimum is %2$s', 'ultimate-multisite'), ':attribute', ':min'), // translators: 1st %s is the field name; 2nd is the allowed value - 'max' => sprintf(__('The %1$s maximum is %2$s', 'multisite-ultimate'), ':attribute', ':max'), + 'max' => sprintf(__('The %1$s maximum is %2$s', 'ultimate-multisite'), ':attribute', ':max'), // translators: %s is the field identifier - 'alpha_dash' => sprintf(__('The %s only allows a-z, 0-9, _ and -', 'multisite-ultimate'), ':attribute'), + 'alpha_dash' => sprintf(__('The %s only allows a-z, 0-9, _ and -', 'ultimate-multisite'), ':attribute'), // translators: %s is the field identifier - 'lowercase' => sprintf(__('The %s must be lowercase', 'multisite-ultimate'), ':attribute'), + 'lowercase' => sprintf(__('The %s must be lowercase', 'ultimate-multisite'), ':attribute'), // translators: %s is the field identifier - 'integer' => sprintf(__('The %s must be integer', 'multisite-ultimate'), ':attribute'), + 'integer' => sprintf(__('The %s must be integer', 'ultimate-multisite'), ':attribute'), ], $this ); @@ -92,8 +92,8 @@ public function __construct() { $this->validator->setTranslations( [ - 'and' => __('and', 'multisite-ultimate'), - 'or' => __('or', 'multisite-ultimate'), + 'and' => __('and', 'ultimate-multisite'), + 'or' => __('or', 'ultimate-multisite'), ] ); diff --git a/inc/helpers/class-woocommerce-api-client.php b/inc/helpers/class-woocommerce-api-client.php index 4af480f25..04e87a238 100644 --- a/inc/helpers/class-woocommerce-api-client.php +++ b/inc/helpers/class-woocommerce-api-client.php @@ -88,7 +88,7 @@ private function execute_request($endpoint, $params = [], $method = 'GET') { 'woocommerce_api_error', sprintf( /* translators: %1$s: HTTP response code, %2$s: response body */ - __('WooCommerce API request failed with status %1$s: %2$s', 'multisite-ultimate'), + __('WooCommerce API request failed with status %1$s: %2$s', 'ultimate-multisite'), $response_code, $response_body ) @@ -100,7 +100,7 @@ private function execute_request($endpoint, $params = [], $method = 'GET') { if (null === $data) { return new WP_Error( 'json_decode_error', - __('Failed to decode API response JSON', 'multisite-ultimate') + __('Failed to decode API response JSON', 'ultimate-multisite') ); } diff --git a/inc/helpers/class-wp-config.php b/inc/helpers/class-wp-config.php index 4134023ad..fd1cbc96b 100644 --- a/inc/helpers/class-wp-config.php +++ b/inc/helpers/class-wp-config.php @@ -37,14 +37,14 @@ public function inject_wp_config_constant($constant, $value) { if ( ! is_writable($config_path)) { // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_is_writable // translators: %s is the file name. - return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'multisite-ultimate'), $config_path)); + return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'ultimate-multisite'), $config_path)); } $config = file($config_path); $line = $this->find_injected_line($config, $constant); - $content = str_pad(sprintf("define( '%s', '%s' );", $constant, $value), 50) . '// Automatically injected by Multisite Ultimate;'; + $content = str_pad(sprintf("define( '%s', '%s' );", $constant, $value), 50) . '// Automatically injected by Ultimate Multisite;'; if (false === $line) { @@ -52,7 +52,7 @@ public function inject_wp_config_constant($constant, $value) { $hook_line = $this->find_reference_hook_line($config); if (false === $hook_line) { - return new \WP_Error('unknown-wpconfig', __("Multisite Ultimate can't recognize your wp-config.php, please revert it to original state for further process.", 'multisite-ultimate')); + return new \WP_Error('unknown-wpconfig', __("Ultimate Multisite can't recognize your wp-config.php, please revert it to original state for further process.", 'ultimate-multisite')); } $config = $this->inject_contents($config, $hook_line + 1, PHP_EOL . $content . PHP_EOL); @@ -180,7 +180,7 @@ public function revert($constant) { if ( ! is_writable($config_path)) { // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_is_writable // translators: %s is the file name. - return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'multisite-ultimate'), $config_path)); + return new \WP_Error('not-writeable', sprintf(__('The file %s is not writable', 'ultimate-multisite'), $config_path)); } $config = file($config_path); diff --git a/inc/helpers/validation-rules/class-checkout-steps.php b/inc/helpers/validation-rules/class-checkout-steps.php index 028e87bf7..e2681fea0 100644 --- a/inc/helpers/validation-rules/class-checkout-steps.php +++ b/inc/helpers/validation-rules/class-checkout-steps.php @@ -76,7 +76,7 @@ public function check($value): bool { foreach ($required_fields_list as $field_slug) { if (! in_array($field_slug, $all_fields_list, true)) { // translators: %s is a placeholder for the field name - $this->message = sprintf(__('The %s field must be present in at least one of the checkout form steps.', 'multisite-ultimate'), wu_slug_to_name($field_slug)); + $this->message = sprintf(__('The %s field must be present in at least one of the checkout form steps.', 'ultimate-multisite'), wu_slug_to_name($field_slug)); return false; } @@ -113,7 +113,7 @@ public function check($value): bool { if (empty($found_submittable_field_types)) { // translators: %s is a placeholder for the step name - $this->message = sprintf(__('The %s step is missing a submit field', 'multisite-ultimate'), $step['name']); + $this->message = sprintf(__('The %s step is missing a submit field', 'ultimate-multisite'), $step['name']); return false; } diff --git a/inc/helpers/validation-rules/class-price-variations.php b/inc/helpers/validation-rules/class-price-variations.php index a65ea8967..5f1c729ff 100644 --- a/inc/helpers/validation-rules/class-price-variations.php +++ b/inc/helpers/validation-rules/class-price-variations.php @@ -84,7 +84,7 @@ public function check($value): bool { * Check if it is the same as the main duration */ if ($this->parameter('duration') == $duration && $this->parameter('duration_unit') === $unit) { - $this->message = __('This product cannot have a price variation for the same duration and duration unit values as the product itself.', 'multisite-ultimate'); + $this->message = __('This product cannot have a price variation for the same duration and duration unit values as the product itself.', 'ultimate-multisite'); return false; } diff --git a/inc/helpers/validation-rules/class-products.php b/inc/helpers/validation-rules/class-products.php index b59db83c9..5b03198a2 100644 --- a/inc/helpers/validation-rules/class-products.php +++ b/inc/helpers/validation-rules/class-products.php @@ -55,7 +55,7 @@ public function check($products) : bool { // phpcs:ignore return true; } - $this->message = __('A plan is required.', 'multisite-ultimate'); + $this->message = __('A plan is required.', 'ultimate-multisite'); return false; } diff --git a/inc/helpers/validation-rules/class-site-template.php b/inc/helpers/validation-rules/class-site-template.php index fd65fcf6e..ea8e6ffc6 100644 --- a/inc/helpers/validation-rules/class-site-template.php +++ b/inc/helpers/validation-rules/class-site-template.php @@ -56,14 +56,14 @@ public function check($template_id) : bool { // phpcs:ignore $site = wu_get_site($template_id); if (! $site || ($site->get_type() !== Site_Type::SITE_TEMPLATE && $site->get_type() !== Site_Type::CUSTOMER_OWNED)) { - $this->message = __('The Template ID does not correspond to a valid Template', 'multisite-ultimate'); + $this->message = __('The Template ID does not correspond to a valid Template', 'ultimate-multisite'); return false; } if ($site->get_type() === Site_Type::CUSTOMER_OWNED) { if (! wu_get_setting('allow_own_site_as_template')) { - $this->message = __('You can not use your sites as template', 'multisite-ultimate'); + $this->message = __('You can not use your sites as template', 'ultimate-multisite'); return false; } @@ -71,7 +71,7 @@ public function check($template_id) : bool { // phpcs:ignore $customer = wu_get_current_customer(); if (! $customer || $site->get_customer_id() !== $customer->get_id()) { - $this->message = __('The selected template is not available.', 'multisite-ultimate'); + $this->message = __('The selected template is not available.', 'ultimate-multisite'); return false; } @@ -103,7 +103,7 @@ public function check($template_id) : bool { // phpcs:ignore if (is_array($allowed_templates) && !in_array($template_id, $allowed_templates)) { // phpcs:ignore - $this->message = __('The selected template is not available for this product.', 'multisite-ultimate'); + $this->message = __('The selected template is not available for this product.', 'ultimate-multisite'); return false; } diff --git a/inc/helpers/validation-rules/class-unique.php b/inc/helpers/validation-rules/class-unique.php index f4a03f664..831dd4c42 100644 --- a/inc/helpers/validation-rules/class-unique.php +++ b/inc/helpers/validation-rules/class-unique.php @@ -81,7 +81,7 @@ public function check($value): bool { * Customize the error message for the customer. */ if (in_array($model, $user_models, true)) { - $this->message = __('A customer with the same email address or username already exists.', 'multisite-ultimate'); + $this->message = __('A customer with the same email address or username already exists.', 'ultimate-multisite'); } if ( ! $existing) { diff --git a/inc/installers/class-base-installer.php b/inc/installers/class-base-installer.php index 73cac948f..e6c957dc5 100644 --- a/inc/installers/class-base-installer.php +++ b/inc/installers/class-base-installer.php @@ -1,6 +1,6 @@ ', esc_attr(wu_get_documentation_url('wp-ultimo-closte-config'))), '')); + throw new \Exception(sprintf(esc_html__('You are using Closte and they prevent the wp-config.php file from being written to. %1$s Follow these instructions to do it manually %2$s.', 'ultimate-multisite'), sprintf('', esc_attr(wu_get_documentation_url('wp-ultimo-closte-config'))), '')); } return true; @@ -66,21 +66,21 @@ public function get_steps() { $steps['database_tables'] = [ 'done' => $has_tables_installed, - 'title' => __('Create Database Tables', 'multisite-ultimate'), - 'description' => __('Multisite Ultimate uses custom tables for performance reasons. We need to create those tables and make sure they are setup properly before we can activate the plugin.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating default tables...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create Database Tables', 'ultimate-multisite'), + 'description' => __('Ultimate Multisite uses custom tables for performance reasons. We need to create those tables and make sure they are setup properly before we can activate the plugin.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating default tables...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), ]; $steps['sunrise'] = [ 'done' => defined('SUNRISE') && SUNRISE && defined('WP_ULTIMO_SUNRISE_VERSION'), - 'title' => __('Install sunrise.php File', 'multisite-ultimate'), - 'description' => __('We need to add our own sunrise.php file to the wp-content folder in order to be able to control access to sites and plugins before anything else happens on WordPress. ', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Installing sunrise file...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Install sunrise.php File', 'ultimate-multisite'), + 'description' => __('We need to add our own sunrise.php file to the wp-content folder in order to be able to control access to sites and plugins before anything else happens on WordPress. ', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Installing sunrise file...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), ]; @@ -115,7 +115,7 @@ public function _install_database_tables(): void { if (false === $success) { // translators: %s is the name of a database table, e.g. wu_memberships. - $error_message = sprintf(__('Installation of the table %s failed', 'multisite-ultimate'), $table->get_name()); + $error_message = sprintf(__('Installation of the table %s failed', 'ultimate-multisite'), $table->get_name()); throw new \Exception(esc_html($error_message)); } @@ -140,7 +140,7 @@ public function _install_sunrise(): void { /** * Allow host providers to install the constant differently. * - * Returning true will prevent Multisite Ultimate from trying to write to the wp-config file. + * Returning true will prevent Ultimate Multisite from trying to write to the wp-config file. * * @since 2.0.0 * @param bool $short_circuit diff --git a/inc/installers/class-default-content-installer.php b/inc/installers/class-default-content-installer.php index fc2781134..d3559ece2 100644 --- a/inc/installers/class-default-content-installer.php +++ b/inc/installers/class-default-content-installer.php @@ -24,7 +24,7 @@ class Default_Content_Installer extends Base_Installer { use \WP_Ultimo\Traits\Singleton; /** - * Loads dependencies for when Multisite Ultimate is not yet loaded. + * Loads dependencies for when Ultimate Multisite is not yet loaded. * * @since 2.0.0 * @return void @@ -147,52 +147,57 @@ public function get_steps() { $steps['create_template_site'] = [ 'done' => $this->done_creating_template_site(), - 'title' => __('Create Example Template Site', 'multisite-ultimate'), - 'description' => __('This will create a template site on your network that you can use as a starting point.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating Template Site...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create Example Template Site', 'ultimate-multisite'), + 'description' => __('This will create a template site on your network that you can use as a starting point.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating Template Site...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), + 'checked' => true, ]; $steps['create_products'] = [ 'done' => $this->done_creating_products(), - 'title' => __('Create Example Products', 'multisite-ultimate'), - 'description' => __('This action will create example products (plans, packages, and services), so you have an starting point.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating Products...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create Example Products', 'ultimate-multisite'), + 'description' => __('This action will create example products (plans, packages, and services), so you have an starting point.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating Products...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), + 'checked' => true, ]; $steps['create_checkout'] = [ 'done' => $this->done_creating_checkout_forms(), - 'title' => __('Create a Checkout Form', 'multisite-ultimate'), - 'description' => __('This action will create a single-step checkout form that your customers will use to place purchases, as well as the page that goes with it.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating Checkout Form and Registration Page...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create a Checkout Form', 'ultimate-multisite'), + 'description' => __('This action will create a single-step checkout form that your customers will use to place purchases, as well as the page that goes with it.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating Checkout Form and Registration Page...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), + 'checked' => true, ]; $steps['create_emails'] = [ 'done' => $this->done_creating_emails(), - 'title' => __('Create the System Emails', 'multisite-ultimate'), - 'description' => __('This action will create all emails sent by Multisite Ultimate.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating System Emails...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create the System Emails', 'ultimate-multisite'), + 'description' => __('This action will create all emails sent by Ultimate Multisite.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating System Emails...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), + 'checked' => true, ]; $steps['create_login_page'] = [ 'done' => $this->done_creating_login_page(), - 'title' => __('Create Custom Login Page', 'multisite-ultimate'), - 'description' => __('This action will create a custom login page and replace the default one.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Creating Custom Login Page...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Create Custom Login Page', 'ultimate-multisite'), + 'description' => __('This action will create a custom login page and replace the default one.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Creating Custom Login Page...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('installation-errors'), + 'checked' => true, ]; return $steps; @@ -214,7 +219,7 @@ public function _install_create_template_site(): void { $template_site = [ 'domain' => $d->domain, 'path' => $d->path, - 'title' => __('Template Site', 'multisite-ultimate'), + 'title' => __('Template Site', 'ultimate-multisite'), 'type' => 'site_template', ]; @@ -225,7 +230,7 @@ public function _install_create_template_site(): void { } if ( ! $status) { - $error_message = __('Template Site was not created. Maybe a site with the /template path already exists?', 'multisite-ultimate'); + $error_message = __('Template Site was not created. Maybe a site with the /template path already exists?', 'ultimate-multisite'); throw new \Exception(esc_html($error_message)); } @@ -256,8 +261,8 @@ public function _install_create_products(): void { * Free Plan */ $products[] = [ - 'name' => __('Free', 'multisite-ultimate'), - 'description' => __('This is an example of a free plan.', 'multisite-ultimate'), + 'name' => __('Free', 'ultimate-multisite'), + 'description' => __('This is an example of a free plan.', 'ultimate-multisite'), 'currency' => wu_get_setting('currency_symbol', 'USD'), 'pricing_type' => 'free', 'duration' => 1, @@ -276,8 +281,8 @@ public function _install_create_products(): void { * Premium Plan */ $products[] = [ - 'name' => __('Premium', 'multisite-ultimate'), - 'description' => __('This is an example of a paid plan.', 'multisite-ultimate'), + 'name' => __('Premium', 'ultimate-multisite'), + 'description' => __('This is an example of a paid plan.', 'ultimate-multisite'), 'currency' => wu_get_setting('currency_symbol', 'USD'), 'pricing_type' => 'paid', 'type' => 'plan', @@ -296,8 +301,8 @@ public function _install_create_products(): void { * Service */ $products[] = [ - 'name' => __('SEO Consulting', 'multisite-ultimate'), - 'description' => __('This is an example of a service that you can create and charge customers for.', 'multisite-ultimate'), + 'name' => __('SEO Consulting', 'ultimate-multisite'), + 'description' => __('This is an example of a service that you can create and charge customers for.', 'ultimate-multisite'), 'currency' => wu_get_setting('currency_symbol', 'USD'), 'pricing_type' => 'paid', 'type' => 'service', @@ -335,7 +340,7 @@ public function _install_create_products(): void { public function _install_create_checkout(): void { $checkout_form = [ - 'name' => __('Registration Form', 'multisite-ultimate'), + 'name' => __('Registration Form', 'ultimate-multisite'), 'slug' => 'main-form', 'settings' => [], ]; @@ -361,7 +366,7 @@ public function _install_create_checkout(): void { */ $post_details = [ 'post_name' => 'register', - 'post_title' => __('Register', 'multisite-ultimate'), + 'post_title' => __('Register', 'ultimate-multisite'), 'post_content' => sprintf($post_content, $status->get_slug()), 'post_status' => 'publish', 'post_type' => 'page', @@ -408,7 +413,7 @@ public function _install_create_login_page(): void { '; $page_args = [ - 'post_title' => __('Login', 'multisite-ultimate'), + 'post_title' => __('Login', 'ultimate-multisite'), 'post_content' => $page_content, 'post_status' => 'publish', 'post_author' => get_current_user_id(), diff --git a/inc/installers/class-migrator.php b/inc/installers/class-migrator.php index 07d281fb6..fb354c292 100644 --- a/inc/installers/class-migrator.php +++ b/inc/installers/class-migrator.php @@ -1,6 +1,6 @@ __('Pre-Migration Check', 'multisite-ultimate'), - 'description' => __('Runs all migrations in a sand-boxed environment to see if it hits an error.', 'multisite-ultimate'), + 'title' => __('Pre-Migration Check', 'ultimate-multisite'), + 'description' => __('Runs all migrations in a sand-boxed environment to see if it hits an error.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Checking...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Checking...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'done' => false, ]; @@ -273,105 +273,105 @@ public function get_steps($force_all = false) { if ( ! $dry_run) { $steps['backup'] = [ - 'title' => __('Prepare for Migration', 'multisite-ultimate'), - 'description' => __('Verifies the data before going forward with the migration.', 'multisite-ultimate'), - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Preparing...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'title' => __('Prepare for Migration', 'ultimate-multisite'), + 'description' => __('Verifies the data before going forward with the migration.', 'ultimate-multisite'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Preparing...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; } $steps['settings'] = [ - 'title' => __('Settings', 'multisite-ultimate'), - 'description' => __('Migrates the settings from the older version.', 'multisite-ultimate'), + 'title' => __('Settings', 'ultimate-multisite'), + 'description' => __('Migrates the settings from the older version.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['products'] = [ - 'title' => __('Plans to Products', 'multisite-ultimate'), - 'description' => __('Converts the old plans into products.', 'multisite-ultimate'), + 'title' => __('Plans to Products', 'ultimate-multisite'), + 'description' => __('Converts the old plans into products.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['customers'] = [ - 'title' => __('Users to Customers', 'multisite-ultimate'), - 'description' => __('Creates customers based on the existing users.', 'multisite-ultimate'), + 'title' => __('Users to Customers', 'ultimate-multisite'), + 'description' => __('Creates customers based on the existing users.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['memberships'] = [ - 'title' => __('Subscriptions to Memberships', 'multisite-ultimate'), - 'description' => __('Converts subscriptions into Memberships.', 'multisite-ultimate'), + 'title' => __('Subscriptions to Memberships', 'ultimate-multisite'), + 'description' => __('Converts subscriptions into Memberships.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['transactions'] = [ - 'title' => __('Transactions to Payments & Events', 'multisite-ultimate'), - 'description' => __('Converts transactions into payments and events.', 'multisite-ultimate'), + 'title' => __('Transactions to Payments & Events', 'ultimate-multisite'), + 'description' => __('Converts transactions into payments and events.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['discount_codes'] = [ - 'title' => __('Coupons to Discount Codes', 'multisite-ultimate'), - 'description' => __('Converts coupons into discount codes.', 'multisite-ultimate'), + 'title' => __('Coupons to Discount Codes', 'ultimate-multisite'), + 'description' => __('Converts coupons into discount codes.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['sites'] = [ - 'title' => __('Customer Sites', 'multisite-ultimate'), - 'description' => __('Adjusts existing customer sites.', 'multisite-ultimate'), - 'installing' => __('Making Adjustments...', 'multisite-ultimate'), + 'title' => __('Customer Sites', 'ultimate-multisite'), + 'description' => __('Adjusts existing customer sites.', 'ultimate-multisite'), + 'installing' => __('Making Adjustments...', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['site_templates'] = [ - 'title' => __('Sites Templates', 'multisite-ultimate'), - 'description' => __('Adjusts existing site templates.', 'multisite-ultimate'), - 'installing' => __('Making Adjustments...', 'multisite-ultimate'), + 'title' => __('Sites Templates', 'ultimate-multisite'), + 'description' => __('Adjusts existing site templates.', 'ultimate-multisite'), + 'installing' => __('Making Adjustments...', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['domains'] = [ - 'title' => __('Mapped Domains', 'multisite-ultimate'), - 'description' => __('Converts mapped domains.', 'multisite-ultimate'), + 'title' => __('Mapped Domains', 'ultimate-multisite'), + 'description' => __('Converts mapped domains.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['forms'] = [ - 'title' => __('Checkout Forms', 'multisite-ultimate'), - 'description' => __('Creates a checkout form based on the existing signup flow.', 'multisite-ultimate'), + 'title' => __('Checkout Forms', 'ultimate-multisite'), + 'description' => __('Creates a checkout form based on the existing signup flow.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['emails'] = [ - 'title' => __('Emails & Broadcasts', 'multisite-ultimate'), - 'description' => __('Converts the emails and broadcasts.', 'multisite-ultimate'), + 'title' => __('Emails & Broadcasts', 'ultimate-multisite'), + 'description' => __('Converts the emails and broadcasts.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['webhooks'] = [ - 'title' => __('Webhooks', 'multisite-ultimate'), - 'description' => __('Migrates existing webhooks.', 'multisite-ultimate'), + 'title' => __('Webhooks', 'ultimate-multisite'), + 'description' => __('Migrates existing webhooks.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; $steps['other'] = [ - 'title' => __('Other Migrations', 'multisite-ultimate'), - 'description' => __('Other migrations that don\'t really fit anywhere else.', 'multisite-ultimate'), + 'title' => __('Other Migrations', 'ultimate-multisite'), + 'description' => __('Other migrations that don\'t really fit anywhere else.', 'ultimate-multisite'), 'help' => wu_get_documentation_url('migration-errors'), 'done' => false, ]; @@ -380,9 +380,9 @@ public function get_steps($force_all = false) { fn($item) => wp_parse_args( $item, [ - 'pending' => __('Pending', 'multisite-ultimate'), - 'installing' => __('Migrating...', 'multisite-ultimate'), - 'success' => __('Success!', 'multisite-ultimate'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'installing' => __('Migrating...', 'ultimate-multisite'), + 'success' => __('Success!', 'ultimate-multisite'), ] ), $steps @@ -569,7 +569,7 @@ public function handle($status, $installer, $wizard) { * @since 2.0.7 * * @param \Throwable|null $e The exception thrown. - * @param Session $session THe Multisite Ultimate session object. + * @param Session $session THe Ultimate Multisite session object. * @param boolean $dry_run If we are on a dry run or not. * @param string $installer The name of the installer. * @return WP_Error @@ -581,7 +581,7 @@ public function handle_error_messages($e, $session, $dry_run = true, $installer $caller = $dry_run ? $wu_migrator_current_installer : $installer; // Translators: %s is the name of the installer. - $error_nice_message = sprintf(__('Critical error found when migrating "%s".', 'multisite-ultimate'), $caller); + $error_nice_message = sprintf(__('Critical error found when migrating "%s".', 'ultimate-multisite'), $caller); if ($session) { $errors = (array) $session->get('errors'); @@ -915,7 +915,7 @@ protected function _install_settings() { 'preview_url_parameter' => 'template-preview', 'bg_color' => $this->get_old_setting('top-bar-bg-color', '#f9f9f9'), 'button_bg_color' => $this->get_old_setting('top-bar-button-bg-color', '#00a1ff'), - 'button_text' => $this->get_old_setting('top-bar-button-text', __('Use this Template', 'multisite-ultimate')), + 'button_text' => $this->get_old_setting('top-bar-button-text', __('Use this Template', 'ultimate-multisite')), 'display_responsive_controls' => $this->get_old_setting('top-bar-enable-resize', true), 'use_custom_logo' => $this->get_old_setting('top-bar-use-logo'), 'custom_logo' => $this->get_old_setting('top-bar-logo'), @@ -2302,7 +2302,7 @@ protected function _install_forms() { } $checkout_form = [ - 'name' => __('Signup Form', 'multisite-ultimate'), + 'name' => __('Signup Form', 'ultimate-multisite'), 'slug' => 'main-form', 'allowed_countries' => $this->get_old_setting('allowed_countries', []), 'settings' => [], @@ -2339,7 +2339,7 @@ protected function _install_forms() { */ $post_details = [ 'post_name' => $page_slug, - 'post_title' => __('Signup', 'multisite-ultimate'), + 'post_title' => __('Signup', 'ultimate-multisite'), 'post_status' => 'publish', 'post_type' => 'page', 'post_content' => sprintf($post_content, $status->get_slug()), @@ -2379,7 +2379,7 @@ protected function _install_forms() { */ $login_post_details = [ 'post_name' => $login_page_slug, - 'post_title' => __('Login', 'multisite-ultimate'), + 'post_title' => __('Login', 'ultimate-multisite'), 'post_status' => 'publish', 'post_type' => 'page', 'post_content' => '', diff --git a/inc/integrations/host-providers/class-base-host-provider.php b/inc/integrations/host-providers/class-base-host-provider.php index 3d6ece678..a62dc7bb2 100644 --- a/inc/integrations/host-providers/class-base-host-provider.php +++ b/inc/integrations/host-providers/class-base-host-provider.php @@ -202,7 +202,7 @@ public function add_to_integration_list(): void { $slug = $this->get_id(); - $html = $this->is_enabled() ? sprintf(' %s', __('Activated', 'multisite-ultimate')) : ''; + $html = $this->is_enabled() ? sprintf(' %s', __('Activated', 'ultimate-multisite')) : ''; $url = wu_network_admin_url( 'wp-ultimo-hosting-integration-wizard', @@ -211,14 +211,14 @@ public function add_to_integration_list(): void { ] ); - $html .= sprintf('%s', $url, __('Configuration', 'multisite-ultimate')); + $html .= sprintf('%s', $url, __('Configuration', 'ultimate-multisite')); // translators: %s is the name of a host provider (e.g. Cloudways, WPMUDev, Closte...). - $title = sprintf(__('%s Integration', 'multisite-ultimate'), $this->get_title()); + $title = sprintf(__('%s Integration', 'ultimate-multisite'), $this->get_title()); $title .= sprintf( "%s", - __('Go to the setup wizard to setup this integration.', 'multisite-ultimate') + __('Go to the setup wizard to setup this integration.', 'ultimate-multisite') ); wu_register_settings_field( @@ -245,14 +245,14 @@ public function alert_provider_detected(): void { } // translators: %1$s will be replaced with the integration title. E.g. RunCloud - $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module is not active. In order for the domain mapping integration to work with %1$s, you might want to activate that module.', 'multisite-ultimate'), $this->get_title()); + $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module is not active. In order for the domain mapping integration to work with %1$s, you might want to activate that module.', 'ultimate-multisite'), $this->get_title()); $slug = $this->get_id(); $actions = [ 'activate' => [ // translators: %s is the integration name. - 'title' => sprintf(__('Activate %s', 'multisite-ultimate'), $this->get_title()), + 'title' => sprintf(__('Activate %s', 'ultimate-multisite'), $this->get_title()), 'url' => wu_network_admin_url( 'wp-ultimo-hosting-integration-wizard', [ @@ -278,14 +278,14 @@ public function alert_provider_not_setup(): void { } // translators: %1$s will be replaced with the integration title. E.g. RunCloud. - $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module was not properly setup. In order for the domain mapping integration to work with %1$s, you need to configure that module.', 'multisite-ultimate'), $this->get_title()); + $message = sprintf(__('It looks like you are using %1$s as your hosting provider, yet the %1$s integration module was not properly setup. In order for the domain mapping integration to work with %1$s, you need to configure that module.', 'ultimate-multisite'), $this->get_title()); $slug = $this->get_id(); $actions = [ 'activate' => [ // translators: %s is the integration name - 'title' => sprintf(__('Setup %s', 'multisite-ultimate'), $this->get_title()), + 'title' => sprintf(__('Setup %s', 'ultimate-multisite'), $this->get_title()), 'url' => wu_network_admin_url( 'wp-ultimo-hosting-integration-wizard', [ @@ -513,7 +513,7 @@ public function setup_constants($constant_values): void { /** * Generates a define string for manual insertion on-to wp-config.php. * - * This is useful when the user is not willing to let Multisite Ultimate inject the code, + * This is useful when the user is not willing to let Ultimate Multisite inject the code, * Or when the wp-config.php is not writable. * * @since 2.0.0 @@ -526,7 +526,7 @@ public function get_constants_string($constant_values) { * Initializes the array with an opening comment. */ $content = [ - sprintf('// Multisite Ultimate - Domain Mapping - %s', $this->get_title()), + sprintf('// Ultimate Multisite - Domain Mapping - %s', $this->get_title()), ]; /* @@ -546,7 +546,7 @@ public function get_constants_string($constant_values) { /* * Adds the final line. */ - $content[] = sprintf('// Multisite Ultimate - Domain Mapping - %s - End', $this->get_title()); + $content[] = sprintf('// Ultimate Multisite - Domain Mapping - %s - End', $this->get_title()); return implode(PHP_EOL, $content); } @@ -562,7 +562,7 @@ public function get_explainer_lines() { $explainer_lines = [ 'will' => [ // translators: %s is the name of the integration e.g. RunCloud - 'send_domains' => sprintf(__('Send API calls to %s servers with domain names added to this network', 'multisite-ultimate'), $this->get_title()), + 'send_domains' => sprintf(__('Send API calls to %s servers with domain names added to this network', 'ultimate-multisite'), $this->get_title()), ], 'will_not' => [], ]; @@ -570,11 +570,11 @@ public function get_explainer_lines() { if ($this->supports('autossl')) { // translators: %s is the name of the integration e.g. RunCloud - $explainer_lines['will'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added.', 'multisite-ultimate'), $this->get_title()); + $explainer_lines['will'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added.', 'ultimate-multisite'), $this->get_title()); } else { // translators: %s is the name of the integration e.g. RunCloud - $explainer_lines['will_not'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added. This needs to be done manually.', 'multisite-ultimate'), $this->get_title()); + $explainer_lines['will_not'][] = sprintf(__('Fetch and install a SSL certificate on %s platform after the domain is added. This needs to be done manually.', 'ultimate-multisite'), $this->get_title()); } return $explainer_lines; @@ -645,7 +645,7 @@ public function test_connection(): void { */ public function get_description() { - return __('No description provided.', 'multisite-ultimate'); + return __('No description provided.', 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/class-closte-host-provider.php b/inc/integrations/host-providers/class-closte-host-provider.php index 3d93dda56..7e6b49e1a 100644 --- a/inc/integrations/host-providers/class-closte-host-provider.php +++ b/inc/integrations/host-providers/class-closte-host-provider.php @@ -90,13 +90,32 @@ public function detect() { */ public function on_add_domain($domain, $site_id): void { - $this->send_closte_api_request( + wu_log_add('integration-closte', sprintf('Adding domain: %s for site ID: %d', $domain, $site_id)); + + // First add the domain alias + $domain_response = $this->send_closte_api_request( '/adddomainalias', [ 'domain' => $domain, 'wildcard' => str_starts_with($domain, '*.'), ] ); + + // Check if domain was added successfully, then request SSL + if (wu_get_isset($domain_response, 'success', false)) { + wu_log_add('integration-closte', sprintf('Domain %s added successfully, requesting SSL certificate', $domain)); + $this->request_ssl_certificate($domain); + } elseif (isset($domain_response['error']) && $domain_response['error'] === 'Invalid or empty domain: ' . $domain) { + wu_log_add('integration-closte', sprintf('Domain %s rejected by Closte API as invalid. This may be expected for Closte subdomains or internal domains.', $domain)); + } else { + wu_log_add('integration-closte', sprintf('Failed to add domain %s. Response: %s', $domain, wp_json_encode($domain_response))); + + // Only try SSL if it's not a domain validation error + if (!isset($domain_response['error']) || !str_contains($domain_response['error'], 'Invalid or empty domain')) { + wu_log_add('integration-closte', sprintf('Attempting SSL certificate request for %s despite domain addition failure', $domain)); + $this->request_ssl_certificate($domain); + } + } } /** @@ -142,6 +161,78 @@ public function on_add_subdomain($subdomain, $site_id) {} */ public function on_remove_subdomain($subdomain, $site_id) {} + /** + * Requests an SSL certificate for a domain. + * + * @since 2.0.0 + * @param string $domain The domain to request SSL certificate for. + * @return array|object + */ + private function request_ssl_certificate($domain) { + + wu_log_add('integration-closte', sprintf('Requesting SSL certificate for domain: %s', $domain)); + + // Try different possible SSL endpoints + $ssl_endpoints = [ + '/ssl/install', + '/installssl', + '/ssl', + '/certificate/install', + ]; + + $ssl_response = null; + + foreach ($ssl_endpoints as $endpoint) { + wu_log_add('integration-closte', sprintf('Trying SSL endpoint: %s', $endpoint)); + + $ssl_response = $this->send_closte_api_request( + $endpoint, + [ + 'domain' => $domain, + 'type' => 'letsencrypt', + ] + ); + + // If we get something other than 400/404, we found a working endpoint + if (!isset($ssl_response['error']) || !preg_match('/HTTP [45]\d\d/', $ssl_response['error'])) { + wu_log_add('integration-closte', sprintf('SSL endpoint %s responded, stopping search', $endpoint)); + break; + } + } + + if (wu_get_isset($ssl_response, 'success', false)) { + wu_log_add('integration-closte', sprintf('SSL certificate request successful for domain: %s', $domain)); + } else { + wu_log_add('integration-closte', sprintf('SSL certificate request failed for domain: %s. Response: %s', $domain, wp_json_encode($ssl_response))); + + // Note: Closte might handle SSL automatically when domain is added + wu_log_add('integration-closte', 'Note: Closte may handle SSL automatically when domains are added via /adddomainalias'); + } + + return $ssl_response; + } + + /** + * Checks the SSL certificate status for a domain. + * + * @since 2.0.0 + * @param string $domain The domain to check SSL status for. + * @return array|object + */ + public function check_ssl_status($domain) { + + wu_log_add('integration-closte', sprintf('Checking SSL status for domain: %s', $domain)); + + $ssl_status = $this->send_closte_api_request( + '/ssl/status', + ['domain' => $domain] + ); + + wu_log_add('integration-closte', sprintf('SSL status for domain %s: %s', $domain, wp_json_encode($ssl_status))); + + return $ssl_status; + } + /** * Tests the connection with the API. * @@ -157,12 +248,12 @@ public function test_connection(): void { if (wu_get_isset($response, 'error') === 'Invalid or empty domain: ') { wp_send_json_success( [ - 'message' => __('Access Authorized', 'multisite-ultimate'), + 'message' => __('Access Authorized', 'ultimate-multisite'), ] ); } - $error = new \WP_Error('not-auth', __('Something went wrong', 'multisite-ultimate')); + $error = new \WP_Error('not-auth', __('Something went wrong', 'ultimate-multisite')); wp_send_json_error($error); } @@ -178,42 +269,95 @@ public function test_connection(): void { public function send_closte_api_request($endpoint, $data) { if (defined('CLOSTE_CLIENT_API_KEY') === false) { + wu_log_add('integration-closte', 'CLOSTE_CLIENT_API_KEY constant not defined'); return (object) [ 'success' => false, 'error' => 'Closte API Key not found.', ]; } + if (empty(CLOSTE_CLIENT_API_KEY)) { + wu_log_add('integration-closte', 'CLOSTE_CLIENT_API_KEY is empty'); + return (object) [ + 'success' => false, + 'error' => 'Closte API Key is empty.', + ]; + } + + // Try different authentication methods + $api_key = CLOSTE_CLIENT_API_KEY; + $post_fields = [ 'blocking' => true, 'timeout' => 45, 'method' => 'POST', + 'headers' => [ + 'Content-Type' => 'application/x-www-form-urlencoded', + 'User-Agent' => 'WP-Ultimo-Closte-Integration/2.0', + ], 'body' => array_merge( [ - 'apikey' => CLOSTE_CLIENT_API_KEY, + 'apikey' => $api_key, ], $data ), ]; - $response = wp_remote_post('https://app.closte.com/api/client' . $endpoint, $post_fields); + wu_log_add('integration-closte', sprintf('Using API key (first 10 chars): %s...', substr($api_key, 0, 10))); + + $api_url = 'https://app.closte.com/api/client' . $endpoint; + wu_log_add('integration-closte', sprintf('Making API request to: %s with data: %s', $api_url, wp_json_encode($data))); + + $response = wp_remote_post($api_url, $post_fields); + + // Log response details + if (is_wp_error($response)) { + wu_log_add('integration-closte', sprintf('API request failed: %s', $response->get_error_message())); + return $response; + } + + $response_code = wp_remote_retrieve_response_code($response); + $response_body = wp_remote_retrieve_body($response); + + wu_log_add('integration-closte', sprintf('API response code: %d, body: %s', $response_code, $response_body)); - wu_log_add('integration-closte', wp_remote_retrieve_body($response)); + // Check for HTTP errors + if ($response_code >= 400) { + wu_log_add('integration-closte', sprintf('HTTP error %d for endpoint %s', $response_code, $endpoint)); + return (object) [ + 'success' => false, + 'error' => sprintf('HTTP %d error', $response_code), + 'response_body' => $response_body, + ]; + } - if ( ! is_wp_error($response)) { - $body = json_decode(wp_remote_retrieve_body($response), true); + if ($response_body) { + $body = json_decode($response_body, true); if (json_last_error() === JSON_ERROR_NONE) { + // Log success/failure for SSL-specific endpoints + if (strpos($endpoint, 'ssl') !== false) { + wu_log_add( + 'integration-closte-ssl', + sprintf('SSL request for %s: %s', $endpoint, wp_json_encode($body)) + ); + } return $body; } + wu_log_add('integration-closte', sprintf('JSON decode error: %s', json_last_error_msg())); return (object) [ 'success' => false, - 'error' => 'unknown', + 'error' => 'Invalid JSON response', + 'json_error' => json_last_error_msg(), ]; } - return $response; + wu_log_add('integration-closte', 'Empty response body'); + return (object) [ + 'success' => false, + 'error' => 'Empty response', + ]; } /** @@ -224,7 +368,7 @@ public function send_closte_api_request($endpoint, $data) { */ public function get_description() { - return __('Closte is not just another web hosting who advertise their services as a cloud hosting while still provides fixed plans like in 1995.', 'multisite-ultimate'); + return __('Closte is not just another web hosting who advertise their services as a cloud hosting while still provides fixed plans like in 1995.', 'ultimate-multisite'); } /** @@ -237,4 +381,6 @@ public function get_logo() { return wu_get_asset('closte.svg', 'img/hosts'); } + + } diff --git a/inc/integrations/host-providers/class-cloudflare-host-provider.php b/inc/integrations/host-providers/class-cloudflare-host-provider.php index de5ae70d7..ed8ec4191 100644 --- a/inc/integrations/host-providers/class-cloudflare-host-provider.php +++ b/inc/integrations/host-providers/class-cloudflare-host-provider.php @@ -116,9 +116,9 @@ public function add_cloudflare_dns_entries($dns_records, $domain) { ); if ( ! empty($dns_entries->result)) { - $proxied_tag = sprintf('%s', __('Proxied', 'multisite-ultimate'), __('Cloudflare', 'multisite-ultimate')); + $proxied_tag = sprintf('%s', __('Proxied', 'ultimate-multisite'), __('Cloudflare', 'ultimate-multisite')); - $not_proxied_tag = sprintf('%s', __('Not Proxied', 'multisite-ultimate'), __('Cloudflare', 'multisite-ultimate')); + $not_proxied_tag = sprintf('%s', __('Not Proxied', 'ultimate-multisite'), __('Cloudflare', 'ultimate-multisite')); foreach ($dns_entries->result as $entry) { $dns_records[] = [ @@ -163,12 +163,12 @@ public function get_fields() { return [ 'WU_CLOUDFLARE_ZONE_ID' => [ - 'title' => __('Zone ID', 'multisite-ultimate'), - 'placeholder' => __('e.g. 644c7705723d62e31f700bb798219c75', 'multisite-ultimate'), + 'title' => __('Zone ID', 'ultimate-multisite'), + 'placeholder' => __('e.g. 644c7705723d62e31f700bb798219c75', 'ultimate-multisite'), ], 'WU_CLOUDFLARE_API_KEY' => [ - 'title' => __('API Key', 'multisite-ultimate'), - 'placeholder' => __('e.g. xKGbxxVDpdcUv9dUzRf4i4ngv0QNf1wCtbehiec_o', 'multisite-ultimate'), + 'title' => __('API Key', 'ultimate-multisite'), + 'placeholder' => __('e.g. xKGbxxVDpdcUv9dUzRf4i4ngv0QNf1wCtbehiec_o', 'ultimate-multisite'), ], ]; } @@ -430,7 +430,7 @@ public function get_instructions(): void { */ public function get_description() { - return __('Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. It protects your internal resources such as behind-the-firewall applications, teams, and devices. And it is your platform for developing globally-scalable applications.', 'multisite-ultimate'); + return __('Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. It protects your internal resources such as behind-the-firewall applications, teams, and devices. And it is your platform for developing globally-scalable applications.', 'ultimate-multisite'); } /** @@ -458,12 +458,12 @@ public function get_explainer_lines() { ]; if (is_subdomain_install()) { - $explainer_lines['will']['send_sub_domains'] = __('Add a new proxied subdomain to the configured CloudFlare zone whenever a new site gets created', 'multisite-ultimate'); + $explainer_lines['will']['send_sub_domains'] = __('Add a new proxied subdomain to the configured CloudFlare zone whenever a new site gets created', 'ultimate-multisite'); } else { - $explainer_lines['will']['subdirectory'] = __('Do nothing! The CloudFlare integration has no effect in subdirectory multisite installs such as this one', 'multisite-ultimate'); + $explainer_lines['will']['subdirectory'] = __('Do nothing! The CloudFlare integration has no effect in subdirectory multisite installs such as this one', 'ultimate-multisite'); } - $explainer_lines['will_not']['send_domain'] = __('Add domain mappings as new CloudFlare zones', 'multisite-ultimate'); + $explainer_lines['will_not']['send_domain'] = __('Add domain mappings as new CloudFlare zones', 'ultimate-multisite'); return $explainer_lines; } diff --git a/inc/integrations/host-providers/class-cloudways-host-provider.php b/inc/integrations/host-providers/class-cloudways-host-provider.php index a6e0fc5cd..d1dff6363 100644 --- a/inc/integrations/host-providers/class-cloudways-host-provider.php +++ b/inc/integrations/host-providers/class-cloudways-host-provider.php @@ -144,30 +144,30 @@ public function get_fields() { return [ 'WU_CLOUDWAYS_EMAIL' => [ - 'title' => __('Cloudways Account Email', 'multisite-ultimate'), - 'desc' => __('Your Cloudways account email address.', 'multisite-ultimate'), - 'placeholder' => __('e.g. me@gmail.com', 'multisite-ultimate'), + 'title' => __('Cloudways Account Email', 'ultimate-multisite'), + 'desc' => __('Your Cloudways account email address.', 'ultimate-multisite'), + 'placeholder' => __('e.g. me@gmail.com', 'ultimate-multisite'), ], 'WU_CLOUDWAYS_API_KEY' => [ - 'title' => __('Cloudways API Key', 'multisite-ultimate'), - 'desc' => __('The API Key retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'multisite-ultimate'), + 'title' => __('Cloudways API Key', 'ultimate-multisite'), + 'desc' => __('The API Key retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'ultimate-multisite'), ], 'WU_CLOUDWAYS_SERVER_ID' => [ - 'title' => __('Cloudways Server ID', 'multisite-ultimate'), - 'desc' => __('The Server ID retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 11667', 'multisite-ultimate'), + 'title' => __('Cloudways Server ID', 'ultimate-multisite'), + 'desc' => __('The Server ID retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 11667', 'ultimate-multisite'), ], 'WU_CLOUDWAYS_APP_ID' => [ - 'title' => __('Cloudways App ID', 'multisite-ultimate'), - 'desc' => __('The App ID retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 940288', 'multisite-ultimate'), + 'title' => __('Cloudways App ID', 'ultimate-multisite'), + 'desc' => __('The App ID retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 940288', 'ultimate-multisite'), ], 'WU_CLOUDWAYS_EXTRA_DOMAINS' => [ - 'title' => __('Cloudways Extra Domains', 'multisite-ultimate'), - 'tooltip' => __('The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that Multisite Ultimate will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added.', 'multisite-ultimate'), - 'desc' => __('Comma-separated list of additional domains to add to Cloudways.', 'multisite-ultimate'), - 'placeholder' => __('e.g. *.test.com, test.com', 'multisite-ultimate'), + 'title' => __('Cloudways Extra Domains', 'ultimate-multisite'), + 'tooltip' => __('The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that Ultimate Multisite will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added.', 'ultimate-multisite'), + 'desc' => __('Comma-separated list of additional domains to add to Cloudways.', 'ultimate-multisite'), + 'placeholder' => __('e.g. *.test.com, test.com', 'ultimate-multisite'), ], ]; } @@ -528,7 +528,7 @@ public function get_instructions(): void { */ public function get_description() { - return __('Focus on your business and avoid all the web hosting hassles. Our managed hosting guarantees unmatched performance, reliability and choice with 24/7 support that acts as your extended team, making Cloudways an ultimate choice for growing agencies and e-commerce businesses.', 'multisite-ultimate'); + return __('Focus on your business and avoid all the web hosting hassles. Our managed hosting guarantees unmatched performance, reliability and choice with 24/7 support that acts as your extended team, making Cloudways an ultimate choice for growing agencies and e-commerce businesses.', 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/class-cpanel-host-provider.php b/inc/integrations/host-providers/class-cpanel-host-provider.php index e4f68a80a..a9e28f228 100644 --- a/inc/integrations/host-providers/class-cpanel-host-provider.php +++ b/inc/integrations/host-providers/class-cpanel-host-provider.php @@ -111,26 +111,26 @@ public function get_fields() { return [ 'WU_CPANEL_USERNAME' => [ - 'title' => __('cPanel Username', 'multisite-ultimate'), - 'placeholder' => __('e.g. username', 'multisite-ultimate'), + 'title' => __('cPanel Username', 'ultimate-multisite'), + 'placeholder' => __('e.g. username', 'ultimate-multisite'), ], 'WU_CPANEL_PASSWORD' => [ 'type' => 'password', - 'title' => __('cPanel Password', 'multisite-ultimate'), - 'placeholder' => __('password', 'multisite-ultimate'), + 'title' => __('cPanel Password', 'ultimate-multisite'), + 'placeholder' => __('password', 'ultimate-multisite'), ], 'WU_CPANEL_HOST' => [ - 'title' => __('cPanel Host', 'multisite-ultimate'), - 'placeholder' => __('e.g. yourdomain.com', 'multisite-ultimate'), + 'title' => __('cPanel Host', 'ultimate-multisite'), + 'placeholder' => __('e.g. yourdomain.com', 'ultimate-multisite'), ], 'WU_CPANEL_PORT' => [ - 'title' => __('cPanel Port', 'multisite-ultimate'), - 'placeholder' => __('Defaults to 2083', 'multisite-ultimate'), + 'title' => __('cPanel Port', 'ultimate-multisite'), + 'placeholder' => __('Defaults to 2083', 'ultimate-multisite'), 'value' => 2083, ], 'WU_CPANEL_ROOT_DIR' => [ - 'title' => __('Root Directory', 'multisite-ultimate'), - 'placeholder' => __('Defaults to /public_html', 'multisite-ultimate'), + 'title' => __('Root Directory', 'ultimate-multisite'), + 'placeholder' => __('Defaults to /public_html', 'ultimate-multisite'), 'value' => '/public_html', ], ]; @@ -300,7 +300,7 @@ public function log_calls($results) { wu_log_add('integration-cpanel', $results->cpanelresult->data->reason); return; } elseif ( ! isset($results->cpanelresult->data[0])) { - wu_log_add('integration-cpanel', __('Unexpected error ocurred trying to sync domains with CPanel', 'multisite-ultimate'), LogLevel::ERROR); + wu_log_add('integration-cpanel', __('Unexpected error ocurred trying to sync domains with CPanel', 'ultimate-multisite'), LogLevel::ERROR); return; } @@ -315,7 +315,7 @@ public function log_calls($results) { */ public function get_description() { - return __('cPanel is the management panel being used on a large number of shared and dedicated hosts across the globe.', 'multisite-ultimate'); + return __('cPanel is the management panel being used on a large number of shared and dedicated hosts across the globe.', 'ultimate-multisite'); } /** @@ -360,13 +360,13 @@ public function get_explainer_lines() { $explainer_lines = [ 'will' => [ - 'send_domains' => __('Add a new Addon Domain on cPanel whenever a new domain mapping gets created on your network', 'multisite-ultimate'), + 'send_domains' => __('Add a new Addon Domain on cPanel whenever a new domain mapping gets created on your network', 'ultimate-multisite'), ], 'will_not' => [], ]; if (is_subdomain_install()) { - $explainer_lines['will']['send_sub_domains'] = __('Add a new SubDomain on cPanel whenever a new site gets created on your network', 'multisite-ultimate'); + $explainer_lines['will']['send_sub_domains'] = __('Add a new SubDomain on cPanel whenever a new site gets created on your network', 'ultimate-multisite'); } return $explainer_lines; diff --git a/inc/integrations/host-providers/class-gridpane-host-provider.php b/inc/integrations/host-providers/class-gridpane-host-provider.php index d04620849..9d5d8808b 100644 --- a/inc/integrations/host-providers/class-gridpane-host-provider.php +++ b/inc/integrations/host-providers/class-gridpane-host-provider.php @@ -208,7 +208,7 @@ public function test_connection(): void { if (wu_get_isset($results, 'message') === 'This action is unauthorized.') { wp_send_json_error( [ - 'error' => __('We were not able to successfully establish a connection.', 'multisite-ultimate'), + 'error' => __('We were not able to successfully establish a connection.', 'ultimate-multisite'), ] ); } @@ -216,14 +216,14 @@ public function test_connection(): void { if (is_wp_error($results)) { wp_send_json_error( [ - 'error' => __('We were not able to successfully establish a connection.', 'multisite-ultimate'), + 'error' => __('We were not able to successfully establish a connection.', 'ultimate-multisite'), ] ); } wp_send_json_success( [ - 'success' => __('Connection successfully established.', 'multisite-ultimate'), + 'success' => __('Connection successfully established.', 'ultimate-multisite'), ] ); } @@ -247,7 +247,7 @@ public function get_instructions(): void { */ public function get_description() { - return __("GridPane is the world's first hosting control panel built exclusively for serious WordPress professionals.", 'multisite-ultimate'); + return __("GridPane is the world's first hosting control panel built exclusively for serious WordPress professionals.", 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/class-runcloud-host-provider.php b/inc/integrations/host-providers/class-runcloud-host-provider.php index 2b88249cd..341897088 100644 --- a/inc/integrations/host-providers/class-runcloud-host-provider.php +++ b/inc/integrations/host-providers/class-runcloud-host-provider.php @@ -90,24 +90,24 @@ public function get_fields() { return [ 'WU_RUNCLOUD_API_KEY' => [ - 'title' => __('RunCloud API Key', 'multisite-ultimate'), - 'desc' => __('The API Key retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. Sx9tHAn5XMrkeyZKS1a7uj8dGTLgKnlEOaJEFRt1m95L', 'multisite-ultimate'), + 'title' => __('RunCloud API Key', 'ultimate-multisite'), + 'desc' => __('The API Key retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. Sx9tHAn5XMrkeyZKS1a7uj8dGTLgKnlEOaJEFRt1m95L', 'ultimate-multisite'), ], 'WU_RUNCLOUD_API_SECRET' => [ - 'title' => __('RunCloud API Secret', 'multisite-ultimate'), - 'desc' => __('The API secret retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. ZlAebXp2sa6J5xsrPoiPcMXZRIVsHJ2rEkNCNGknZnF0UK5cSNSePS8GBW9FXIQd', 'multisite-ultimate'), + 'title' => __('RunCloud API Secret', 'ultimate-multisite'), + 'desc' => __('The API secret retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. ZlAebXp2sa6J5xsrPoiPcMXZRIVsHJ2rEkNCNGknZnF0UK5cSNSePS8GBW9FXIQd', 'ultimate-multisite'), ], 'WU_RUNCLOUD_SERVER_ID' => [ - 'title' => __('RunCloud Server ID', 'multisite-ultimate'), - 'desc' => __('The Server ID retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 11667', 'multisite-ultimate'), + 'title' => __('RunCloud Server ID', 'ultimate-multisite'), + 'desc' => __('The Server ID retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 11667', 'ultimate-multisite'), ], 'WU_RUNCLOUD_APP_ID' => [ - 'title' => __('RunCloud App ID', 'multisite-ultimate'), - 'desc' => __('The App ID retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 940288', 'multisite-ultimate'), + 'title' => __('RunCloud App ID', 'ultimate-multisite'), + 'desc' => __('The App ID retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 940288', 'ultimate-multisite'), ], ]; } @@ -169,7 +169,7 @@ public function on_remove_domain($domain, $site_id): void { $domain_id = $this->get_runcloud_domain_id($domain); if ( ! $domain_id) { - wu_log_add('integration-runcloud', __('Domain name not found on runcloud', 'multisite-ultimate')); + wu_log_add('integration-runcloud', __('Domain name not found on runcloud', 'ultimate-multisite')); } $response = $this->send_runcloud_request($this->get_runcloud_base_url("domains/$domain_id"), [], 'DELETE'); @@ -373,7 +373,7 @@ public function get_instructions(): void { */ public function get_description() { - return __('With RunCloud, you don’t need to be a Linux expert to build a website powered by DigitalOcean, AWS, or Google Cloud. Use our graphical interface and build a business on the cloud affordably.', 'multisite-ultimate'); + return __('With RunCloud, you don’t need to be a Linux expert to build a website powered by DigitalOcean, AWS, or Google Cloud. Use our graphical interface and build a business on the cloud affordably.', 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/class-serverpilot-host-provider.php b/inc/integrations/host-providers/class-serverpilot-host-provider.php index c36adf405..7b25469d8 100644 --- a/inc/integrations/host-providers/class-serverpilot-host-provider.php +++ b/inc/integrations/host-providers/class-serverpilot-host-provider.php @@ -89,19 +89,19 @@ public function get_fields() { return [ 'WU_SERVER_PILOT_CLIENT_ID' => [ - 'title' => __('ServerPilot Client ID', 'multisite-ultimate'), - 'desc' => __('Your ServerPilot Client ID.', 'multisite-ultimate'), - 'placeholder' => __('e.g. cid_lSmjevkdoSOpasYVqm', 'multisite-ultimate'), + 'title' => __('ServerPilot Client ID', 'ultimate-multisite'), + 'desc' => __('Your ServerPilot Client ID.', 'ultimate-multisite'), + 'placeholder' => __('e.g. cid_lSmjevkdoSOpasYVqm', 'ultimate-multisite'), ], 'WU_SERVER_PILOT_API_KEY' => [ - 'title' => __('ServerPilot API Key', 'multisite-ultimate'), - 'desc' => __('The API Key retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'multisite-ultimate'), + 'title' => __('ServerPilot API Key', 'ultimate-multisite'), + 'desc' => __('The API Key retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ', 'ultimate-multisite'), ], 'WU_SERVER_PILOT_APP_ID' => [ - 'title' => __('ServerPilot App ID', 'multisite-ultimate'), - 'desc' => __('The App ID retrieved in the previous step.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 940288', 'multisite-ultimate'), + 'title' => __('ServerPilot App ID', 'ultimate-multisite'), + 'desc' => __('The App ID retrieved in the previous step.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 940288', 'ultimate-multisite'), ], ]; } @@ -278,7 +278,7 @@ public function get_server_pilot_domains() { */ // translators: %s is the wp_json_encode of the error. - wu_log_add('integration-serverpilot', sprintf(__('An error occurred while trying to get the current list of domains: %s', 'multisite-ultimate'), wp_json_encode($app_info)), LogLevel::ERROR); + wu_log_add('integration-serverpilot', sprintf(__('An error occurred while trying to get the current list of domains: %s', 'ultimate-multisite'), wp_json_encode($app_info)), LogLevel::ERROR); return false; } @@ -319,7 +319,7 @@ public function get_instructions(): void { */ public function get_description() { - return __('ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. You can think of ServerPilot as a modern, centralized hosting control panel.', 'multisite-ultimate'); + return __('ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. You can think of ServerPilot as a modern, centralized hosting control panel.', 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/class-wpengine-host-provider.php b/inc/integrations/host-providers/class-wpengine-host-provider.php index 3214df715..4416ebc7e 100644 --- a/inc/integrations/host-providers/class-wpengine-host-provider.php +++ b/inc/integrations/host-providers/class-wpengine-host-provider.php @@ -172,9 +172,9 @@ public function on_remove_subdomain($subdomain, $site_id): void { */ public function get_description() { - $description = __('WP Engine drives your business forward faster with the first and only WordPress Digital Experience Platform. We offer the best WordPress hosting and developer experience on a proven, reliable architecture that delivers unparalleled speed, scalability, and security for your sites.', 'multisite-ultimate'); + $description = __('WP Engine drives your business forward faster with the first and only WordPress Digital Experience Platform. We offer the best WordPress hosting and developer experience on a proven, reliable architecture that delivers unparalleled speed, scalability, and security for your sites.', 'ultimate-multisite'); - $description .= '

' . __('We recommend to enter in contact with WP Engine support to ask for a Wildcard domain if you are using a subdomain install.', 'multisite-ultimate') . ''; + $description .= '

' . __('We recommend to enter in contact with WP Engine support to ask for a Wildcard domain if you are using a subdomain install.', 'ultimate-multisite') . ''; return $description; } diff --git a/inc/integrations/host-providers/class-wpmudev-host-provider.php b/inc/integrations/host-providers/class-wpmudev-host-provider.php index 22636a175..50fd53d7c 100644 --- a/inc/integrations/host-providers/class-wpmudev-host-provider.php +++ b/inc/integrations/host-providers/class-wpmudev-host-provider.php @@ -157,7 +157,7 @@ public function on_add_domain($domain, $site_id): void { if (is_wp_error($response)) { // translators: The %s placeholder will be replaced with the domain name. - wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %s to WPMU Dev hosting.', 'multisite-ultimate'), $_domain), LogLevel::ERROR); + wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %s to WPMU Dev hosting.', 'ultimate-multisite'), $_domain), LogLevel::ERROR); } $body = json_decode(wp_remote_retrieve_body($response)); @@ -165,11 +165,11 @@ public function on_add_domain($domain, $site_id): void { if ($body->message) { // translators: The %1$s will be replaced with the domain name and %2$s is the error message. - wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %1$s to WPMU Dev hosting: %2$s', 'multisite-ultimate'), $_domain, $body->message->message), LogLevel::ERROR); + wu_log_add('integration-wpmudev', sprintf(__('An error occurred while trying to add the custom domain %1$s to WPMU Dev hosting: %2$s', 'ultimate-multisite'), $_domain, $body->message->message), LogLevel::ERROR); } else { // translators: The %s placeholder will be replaced with the domain name. - wu_log_add('integration-wpmudev', sprintf(__('Domain %s added to WPMU Dev hosting successfully.', 'multisite-ultimate'), $_domain)); + wu_log_add('integration-wpmudev', sprintf(__('Domain %s added to WPMU Dev hosting successfully.', 'ultimate-multisite'), $_domain)); } } } @@ -253,7 +253,7 @@ public function test_connection(): void { */ public function get_description() { - return __('WPMU DEV is one of the largest companies in the WordPress space. Founded in 2004, it was one of the first companies to scale the Website as a Service model with products such as Edublogs and CampusPress.', 'multisite-ultimate'); + return __('WPMU DEV is one of the largest companies in the WordPress space. Founded in 2004, it was one of the first companies to scale the Website as a Service model with products such as Edublogs and CampusPress.', 'ultimate-multisite'); } /** diff --git a/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php b/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php index 023b5ee20..3da4baaad 100644 --- a/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php +++ b/inc/integrations/host-providers/cpanel-api/class-cpanel-api.php @@ -152,7 +152,7 @@ private function request($url, $params = []) { if (is_wp_error($response)) { // translators: %s is the error. - $this->log(sprintf(__('cPanel API Error: %s', 'multisite-ultimate'), $response->get_error_message())); + $this->log(sprintf(__('cPanel API Error: %s', 'ultimate-multisite'), $response->get_error_message())); return false; } @@ -224,7 +224,7 @@ private function sign_in() { $this->homepage = $this->get_base_url() . $reply['redirect']; $this->ex_page = $this->get_base_url() . "/{$this->cpsess}/execute/"; } else { - $this->log(__('Cannot connect to your cPanel server : Invalid Credentials', 'multisite-ultimate')); + $this->log(__('Cannot connect to your cPanel server : Invalid Credentials', 'ultimate-multisite')); } } diff --git a/inc/internal/class-memory-trap.php b/inc/internal/class-memory-trap.php index 8ed00ac8f..6fb490255 100644 --- a/inc/internal/class-memory-trap.php +++ b/inc/internal/class-memory-trap.php @@ -97,7 +97,7 @@ function () { */ public function memory_limit_error_handler($error): void { // phpcs:ignore - $message = sprintf(__('Your server\'s PHP and WordPress memory limits are too low to perform this check. You might need to contact your host provider and ask the PHP memory limit in particular to be raised.', 'multisite-ultimate')); + $message = sprintf(__('Your server\'s PHP and WordPress memory limits are too low to perform this check. You might need to contact your host provider and ask the PHP memory limit in particular to be raised.', 'ultimate-multisite')); if ('json' === $this->return_type) { wp_send_json_error( diff --git a/inc/invoices/class-invoice.php b/inc/invoices/class-invoice.php index 0458fa262..33a7dc029 100644 --- a/inc/invoices/class-invoice.php +++ b/inc/invoices/class-invoice.php @@ -103,7 +103,7 @@ private function pdf_setup(): void { $this->printer->SetProtection(['print']); - $this->printer->SetTitle(__('Invoice', 'multisite-ultimate')); + $this->printer->SetTitle(__('Invoice', 'ultimate-multisite')); $this->printer->SetAuthor($this->company_name); @@ -257,7 +257,7 @@ public function set_attributes($attributes): void { 'use_custom_logo' => false, 'custom_logo' => false, 'footer_message' => '', - 'paid_tag_text' => __('Paid', 'multisite-ultimate'), + 'paid_tag_text' => __('Paid', 'ultimate-multisite'), ] ); diff --git a/inc/limits/class-customer-user-role-limits.php b/inc/limits/class-customer-user-role-limits.php index e9f0237b6..e3cb96cd8 100644 --- a/inc/limits/class-customer-user-role-limits.php +++ b/inc/limits/class-customer-user-role-limits.php @@ -62,7 +62,7 @@ public function block_new_user_page(): void { return; } - $message = __('You reached your membership users limit.', 'multisite-ultimate'); + $message = __('You reached your membership users limit.', 'ultimate-multisite'); /** * Allow developers to change the message about the membership users limit @@ -71,7 +71,7 @@ public function block_new_user_page(): void { */ $message = apply_filters('wu_users_membership_limit_message', $message); - wp_die(esc_html($message), esc_html__('Limit Reached', 'multisite-ultimate'), ['back_link' => true]); + wp_die(esc_html($message), esc_html__('Limit Reached', 'ultimate-multisite'), ['back_link' => true]); } /** diff --git a/inc/limits/class-plugin-limits.php b/inc/limits/class-plugin-limits.php index 525afe1fa..b3c95e966 100644 --- a/inc/limits/class-plugin-limits.php +++ b/inc/limits/class-plugin-limits.php @@ -145,7 +145,7 @@ public function clear_actions($actions, $plugin_file) { %s ', - __('Always Loaded', 'multisite-ultimate') + __('Always Loaded', 'ultimate-multisite') ); } @@ -160,8 +160,8 @@ public function clear_actions($actions, $plugin_file) { 'type' => $plugin_file, ] ), - __('Upgrade to unlock', 'multisite-ultimate'), - __('Upgrade to unlock', 'multisite-ultimate') + __('Upgrade to unlock', 'ultimate-multisite'), + __('Upgrade to unlock', 'ultimate-multisite') ); $actions['upgrade'] = $upgrade; @@ -196,7 +196,7 @@ public function clear_plugin_list($plugins) { unset($plugins[ $plugin_slug ]); } - if (str_starts_with($plugin_slug, 'multisite-ultimate')) { + if (str_starts_with($plugin_slug, 'ultimate-multisite')) { unset($plugins[ $plugin_slug ]); } @@ -236,7 +236,7 @@ public function deactivate_network_plugins($plugins) { $plugin_limits = wu_get_current_site()->get_limitations()->plugins; foreach ($plugins as $plugin_slug => $timestamp) { - if (str_contains($plugin_slug, 'multisite-ultimate')) { + if (str_contains($plugin_slug, 'ultimate-multisite')) { continue; } @@ -289,7 +289,7 @@ public function deactivate_plugins($plugins) { $plugin_limits = wu_get_current_site()->get_limitations()->plugins; foreach ($plugins as $plugin_slug) { - if (str_contains((string) $plugin_slug, 'multisite-ultimate')) { + if (str_contains((string) $plugin_slug, 'ultimate-multisite')) { continue; } diff --git a/inc/limits/class-post-type-limits.php b/inc/limits/class-post-type-limits.php index 8c227844e..80550ae8d 100644 --- a/inc/limits/class-post-type-limits.php +++ b/inc/limits/class-post-type-limits.php @@ -133,16 +133,16 @@ public function limit_posts(): void { $screen = get_current_screen(); if ( ! wu_get_current_site()->get_limitations()->post_types->{$screen->post_type}->enabled) { - $upgrade_message = __('Your plan does not support this post type.', 'multisite-ultimate'); + $upgrade_message = __('Your plan does not support this post type.', 'ultimate-multisite'); - wp_die(esc_html($upgrade_message), esc_html(__('Limit Reached', 'multisite-ultimate')), ['back_link' => true]); + wp_die(esc_html($upgrade_message), esc_html(__('Limit Reached', 'ultimate-multisite')), ['back_link' => true]); } // Check if that is more than our limit if (wu_get_current_site()->get_limitations()->post_types->is_post_above_limit($screen->post_type)) { - $upgrade_message = __('You reached your plan\'s post limit.', 'multisite-ultimate'); + $upgrade_message = __('You reached your plan\'s post limit.', 'ultimate-multisite'); - wp_die(esc_html($upgrade_message), esc_html__('Limit Reached', 'multisite-ultimate'), ['back_link' => true]); + wp_die(esc_html($upgrade_message), esc_html__('Limit Reached', 'ultimate-multisite'), ['back_link' => true]); } } @@ -195,7 +195,7 @@ public function limit_draft_publishing($data, $modified_data) { public function limit_media($file) { if ( ! wu_get_current_site()->get_limitations()->post_types->attachment->enabled) { - $file['error'] = __('Your plan does not support media upload.', 'multisite-ultimate'); + $file['error'] = __('Your plan does not support media upload.', 'ultimate-multisite'); return $file; } @@ -222,7 +222,7 @@ public function limit_media($file) { if ($quota > 0 && $post_count >= $quota) { // translators: %d is the number of images allowed. - $file['error'] = sprintf(__('You reached your media upload limit of %d images. Upgrade your account to unlock more media uploads.', 'multisite-ultimate'), $quota, '#'); + $file['error'] = sprintf(__('You reached your media upload limit of %d images. Upgrade your account to unlock more media uploads.', 'ultimate-multisite'), $quota, '#'); } return $file; diff --git a/inc/limits/class-theme-limits.php b/inc/limits/class-theme-limits.php index d875d0c9e..8780ab08d 100644 --- a/inc/limits/class-theme-limits.php +++ b/inc/limits/class-theme-limits.php @@ -57,14 +57,14 @@ public function init(): void { * We need to bail if we're inside the WP CLI context and the * `skip-plugins` flag is present. * - * This is due to the fact that without Multisite Ultimate being loaded, + * This is due to the fact that without Ultimate Multisite being loaded, * the functions and classes we'll need to perform any kind of proper * checks won't be available. To validate if we're being loaded or not, * we check for the function `wu_get_product`. * * @since 2.1.0 */ - if (wu_cli_is_plugin_skipped('multisite-ultimate')) { + if (wu_cli_is_plugin_skipped('ultimate-multisite')) { return; } @@ -124,7 +124,7 @@ public function prevent_theme_activation_on_customizer($data, $context) { if ($theme_limitations->allowed($new_theme, 'not_available')) { $response = [ 'code' => 'not-available', - 'message' => __('This theme is not available on your current plan.', 'multisite-ultimate'), + 'message' => __('This theme is not available on your current plan.', 'ultimate-multisite'), ]; wp_send_json($response, 'not-available'); @@ -166,7 +166,7 @@ public function hacky_remove_activate_button(): void { } $upgrade_button = wu_generate_upgrade_to_unlock_button( - __('Upgrade to unlock', 'multisite-ultimate'), + __('Upgrade to unlock', 'ultimate-multisite'), [ 'module' => 'themes', 'type' => 'EXTENSION', diff --git a/inc/list-tables/class-base-list-table.php b/inc/list-tables/class-base-list-table.php index 126619a92..0665e1890 100644 --- a/inc/list-tables/class-base-list-table.php +++ b/inc/list-tables/class-base-list-table.php @@ -21,7 +21,7 @@ /** * Base List Table class. Extends WP_List_Table. * - * All of Multisite Ultimate's list tables should extend this class. + * All of Ultimate Multisite's list tables should extend this class. * It provides ajax-filtering and pagination out-of-the-box among other cool features. * * @since 2.0.0 @@ -171,7 +171,7 @@ protected function extra_tablenav($which) { if ('grid' === $this->current_mode) { printf( '', - esc_html__('Select All', 'multisite-ultimate') + esc_html__('Select All', 'ultimate-multisite') ); } } @@ -338,7 +338,7 @@ public function get_per_page_option_name(): string { public function get_per_page_option_label(): string { // translators: %s will be replaced by the data type plural name. e.g. Books. - return sprintf(__('%s per page', 'multisite-ultimate'), $this->get_label('plural')); + return sprintf(__('%s per page', 'ultimate-multisite'), $this->get_label('plural')); } /** @@ -360,7 +360,7 @@ protected function has_search() { public function get_search_input_label(): string { // translators: %s will be replaced with the data type plural name. e.g. Books. - return sprintf(__('Search %s', 'multisite-ultimate'), $this->get_label('plural')); + return sprintf(__('Search %s', 'ultimate-multisite'), $this->get_label('plural')); } /** @@ -404,7 +404,7 @@ public function register_scripts(): void { 'base_url' => wu_get_form_url('bulk_actions'), 'model' => strstr($this->get_table_id(), '_', true), 'i18n' => [ - 'confirm' => __('Confirm Action', 'multisite-ultimate'), + 'confirm' => __('Confirm Action', 'ultimate-multisite'), ], ] ); @@ -504,10 +504,10 @@ public function display(): void { wu_render_empty_state( [ // translators: %s name of items in list. - 'message' => sprintf(__("You don't have any %s yet.", 'multisite-ultimate'), $this->labels['plural']), - 'sub_message' => $this->_args['add_new'] ? __('How about we create a new one?', 'multisite-ultimate') : __('...but you will see them here once they get created.', 'multisite-ultimate'), + 'message' => sprintf(__("You don't have any %s yet.", 'ultimate-multisite'), $this->labels['plural']), + 'sub_message' => $this->_args['add_new'] ? __('How about we create a new one?', 'ultimate-multisite') : __('...but you will see them here once they get created.', 'ultimate-multisite'), // translators: %s is the singular value of the model, such as Product, or Payment. - 'link_label' => sprintf(__('Create a new %s', 'multisite-ultimate'), $this->labels['singular']), + 'link_label' => sprintf(__('Create a new %s', 'ultimate-multisite'), $this->labels['singular']), 'link_url' => wu_get_isset($this->_args['add_new'], 'url', ''), 'link_classes' => wu_get_isset($this->_args['add_new'], 'classes', ''), 'link_icon' => 'dashicons-wu-circle-with-plus', @@ -594,7 +594,7 @@ public function no_items(): void { '
%s
', - esc_html__('No items found', 'multisite-ultimate') + esc_html__('No items found', 'ultimate-multisite') ); } @@ -606,7 +606,7 @@ public function no_items(): void { public function get_bulk_actions() { $default_bulk_actions = [ - 'delete' => __('Delete', 'multisite-ultimate'), + 'delete' => __('Delete', 'ultimate-multisite'), ]; $has_active = $this->get_schema_columns( @@ -616,8 +616,8 @@ public function get_bulk_actions() { ); if ($has_active) { - $default_bulk_actions['activate'] = __('Activate', 'multisite-ultimate'); - $default_bulk_actions['deactivate'] = __('Deactivate', 'multisite-ultimate'); + $default_bulk_actions['activate'] = __('Activate', 'ultimate-multisite'); + $default_bulk_actions['deactivate'] = __('Deactivate', 'ultimate-multisite'); } return apply_filters('wu_bulk_actions', $default_bulk_actions, $this->id); @@ -658,7 +658,7 @@ public static function process_bulk_action() { $func_name = $prefix . $model; if ( ! function_exists($func_name)) { - return new \WP_Error('func-not-exists', __('Something went wrong.', 'multisite-ultimate')); + return new \WP_Error('func-not-exists', __('Something went wrong.', 'ultimate-multisite')); } switch ($bulk_action) { @@ -772,7 +772,7 @@ public function ajax_response(): void { if (isset($total_items)) { // translators: %s number of total items. - $response['total_items_i18n'] = sprintf(_n('%s item', '%s items', $total_items, 'multisite-ultimate'), number_format_i18n($total_items)); + $response['total_items_i18n'] = sprintf(_n('%s item', '%s items', $total_items, 'ultimate-multisite'), number_format_i18n($total_items)); } if (isset($total_pages)) { @@ -827,7 +827,7 @@ public function column_default($item, $column_name) { public function _column_datetime($date) { if ( ! wu_validate_date($date)) { - return __('--', 'multisite-ultimate'); + return __('--', 'ultimate-multisite'); } $time = strtotime(get_date_from_gmt((string) $date)); @@ -835,7 +835,7 @@ public function _column_datetime($date) { $formatted_value = date_i18n(get_option('date_format'), $time); // translators: %s is a relative past date. - $placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'multisite-ultimate') : __('In %s', 'multisite-ultimate'); + $placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'ultimate-multisite') : __('In %s', 'ultimate-multisite'); $text = $formatted_value . sprintf('
%s', sprintf($placeholder, human_time_diff($time))); @@ -859,7 +859,7 @@ public function column_membership($item): void {
 
- +
"; get_payment(); if ( ! $payment) { - $not_found = __('No payment found', 'multisite-ultimate'); + $not_found = __('No payment found', 'ultimate-multisite'); printf( "
@@ -932,7 +932,7 @@ public function column_payment($item): void { $reference = $payment->get_hash(); // translators: %s the payment total. - $description = sprintf(__('Total %s', 'multisite-ultimate'), wu_format_currency($payment->get_total(), $payment->get_currency())); + $description = sprintf(__('Total %s', 'ultimate-multisite'), wu_format_currency($payment->get_total(), $payment->get_currency())); $payment_link = wu_network_admin_url('wp-ultimo-edit-payment', $url_atts); @@ -965,7 +965,7 @@ public function column_customer($item) { $customer = $item->get_customer(); if ( ! $customer) { - $not_found = __('No customer found', 'multisite-ultimate'); + $not_found = __('No customer found', 'ultimate-multisite'); return "
  @@ -1022,7 +1022,7 @@ public function column_product($item) { $product = $item->get_plan(); if ( ! $product) { - $not_found = __('No product found', 'multisite-ultimate'); + $not_found = __('No product found', 'ultimate-multisite'); return "
  @@ -1075,7 +1075,7 @@ public function column_blog_id($item) { $site = $item->get_site(); if ( ! $site) { - $not_found = __('No site found', 'multisite-ultimate'); + $not_found = __('No site found', 'ultimate-multisite'); return "
  @@ -1156,7 +1156,7 @@ public function _get_js_var_name(): string { } /** - * Overrides the parent method to include the custom ajax functionality for Multisite Ultimate. + * Overrides the parent method to include the custom ajax functionality for Ultimate Multisite. * * @since 2.0.0 * @return void @@ -1200,47 +1200,47 @@ public function get_default_date_filter_options() { return [ 'all' => [ - 'label' => __('All', 'multisite-ultimate'), + 'label' => __('All', 'ultimate-multisite'), 'after' => null, 'before' => null, ], 'today' => [ - 'label' => __('Today', 'multisite-ultimate'), + 'label' => __('Today', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('today')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'yesterday' => [ - 'label' => __('Yesterday', 'multisite-ultimate'), + 'label' => __('Yesterday', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('yesterday')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('yesterday')), ], 'last_week' => [ - 'label' => __('Last 7 Days', 'multisite-ultimate'), + 'label' => __('Last 7 Days', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('last week')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'last_month' => [ - 'label' => __('Last 30 Days', 'multisite-ultimate'), + 'label' => __('Last 30 Days', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('last month')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'current_month' => [ - 'label' => __('Current Month', 'multisite-ultimate'), + 'label' => __('Current Month', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('first day of this month')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'last_year' => [ - 'label' => __('Last 12 Months', 'multisite-ultimate'), + 'label' => __('Last 12 Months', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('last year')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'year_to_date' => [ - 'label' => __('Year to Date', 'multisite-ultimate'), + 'label' => __('Year to Date', 'ultimate-multisite'), 'after' => date_i18n('Y-m-d 00:00:00', strtotime('first day of january this year')), 'before' => date_i18n('Y-m-d 23:59:59', strtotime('today')), ], 'custom' => [ - 'label' => __('Custom', 'multisite-ultimate'), + 'label' => __('Custom', 'ultimate-multisite'), 'after' => null, 'before' => null, ], @@ -1390,7 +1390,7 @@ public function get_views() { 'field' => 'type', 'url' => '#', // translators: %s will be replaced with a plural label - 'label' => sprintf(__('All %s', 'multisite-ultimate'), $this->get_label('plural')), + 'label' => sprintf(__('All %s', 'ultimate-multisite'), $this->get_label('plural')), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-broadcast-list-table.php b/inc/list-tables/class-broadcast-list-table.php index 71b0f4234..6eff74534 100644 --- a/inc/list-tables/class-broadcast-list-table.php +++ b/inc/list-tables/class-broadcast-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Broadcast', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Broadcasts', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Broadcast', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Broadcasts', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_broadcast_message'), @@ -79,13 +79,13 @@ public function column_type($item) { $class = 'wu-bg-gray-200'; if ('broadcast_email' === $type) { - $label = __('Email', 'multisite-ultimate'); + $label = __('Email', 'ultimate-multisite'); } if ('broadcast_notice' === $type) { $status = $item->get_notice_type(); - $label = __('Notice', 'multisite-ultimate'); + $label = __('Notice', 'ultimate-multisite'); if ('info' === $status) { $class = 'wu-bg-blue-200'; @@ -121,8 +121,8 @@ public function column_the_content($item): string { ]; $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-broadcast', $url_atts), __('Edit', 'multisite-ultimate')), - 'delete' => sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-broadcast', $url_atts), __('Edit', 'ultimate-multisite')), + 'delete' => sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')), ]; return $title . $content . $this->row_actions($actions); @@ -148,7 +148,7 @@ public function column_target_customers($item) { switch ($targets_count) { case 0: - $not_found = __('No customer found', 'multisite-ultimate'); + $not_found = __('No customer found', 'ultimate-multisite'); return "
  @@ -232,9 +232,9 @@ public function column_target_customers($item) { %s %s
', wu_get_form_url('view_broadcast_targets', $modal_atts), - __('Targets', 'multisite-ultimate'), + __('Targets', 'ultimate-multisite'), $targets_count, - __('Targets', 'multisite-ultimate') + __('Targets', 'ultimate-multisite') ); $html .= '
'; @@ -255,9 +255,9 @@ public function column_target_customers($item) { %s %s
', wu_get_form_url('view_broadcast_targets', $modal_atts), - __('Targets', 'multisite-ultimate'), + __('Targets', 'ultimate-multisite'), $targets_count, - __('Targets', 'multisite-ultimate') + __('Targets', 'ultimate-multisite') ); $html .= '
'; @@ -286,7 +286,7 @@ public function column_target_products($item) { switch ($product_count) { case 0: - $not_found = __('No product found', 'multisite-ultimate'); + $not_found = __('No product found', 'ultimate-multisite'); $html = "
  @@ -320,7 +320,7 @@ public function column_target_products($item) { $customer_count = count($plan_customers); } // translators: %s is the number of customers. - $description = sprintf(__('%s customer(s) targeted.', 'multisite-ultimate'), $customer_count); + $description = sprintf(__('%s customer(s) targeted.', 'ultimate-multisite'), $customer_count); $url_atts = [ 'id' => $product->get_id(), @@ -379,9 +379,9 @@ public function column_target_products($item) { '', wu_get_form_url('view_broadcast_targets', $modal_atts), - __('Targets', 'multisite-ultimate'), + __('Targets', 'ultimate-multisite'), $product_count, - __('Targets', 'multisite-ultimate') + __('Targets', 'ultimate-multisite') ); $html .= '
'; @@ -397,7 +397,7 @@ public function column_target_products($item) { 'target_type' => 'products', ]; - $html .= sprintf('', wu_get_form_url('view_broadcast_targets', $modal_atts), __('Targets', 'multisite-ultimate'), $product_count, __('Targets', 'multisite-ultimate')); + $html .= sprintf('', wu_get_form_url('view_broadcast_targets', $modal_atts), __('Targets', 'ultimate-multisite'), $product_count, __('Targets', 'ultimate-multisite')); $html .= '
'; @@ -414,12 +414,12 @@ public function get_columns() { $columns = [ 'cb' => '', - 'type' => __('Type', 'multisite-ultimate'), - 'the_content' => __('Content', 'multisite-ultimate'), - 'target_customers' => __('Target Customers', 'multisite-ultimate'), - 'target_products' => __('Target Products', 'multisite-ultimate'), - 'date_created' => __('Date', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'type' => __('Type', 'ultimate-multisite'), + 'the_content' => __('Content', 'ultimate-multisite'), + 'target_customers' => __('Target Customers', 'ultimate-multisite'), + 'target_products' => __('Target Products', 'ultimate-multisite'), + 'date_created' => __('Date', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -435,25 +435,25 @@ public function get_filters(): array { return [ 'filters' => [ 'type' => [ - 'label' => __('Broadcast Type', 'multisite-ultimate'), + 'label' => __('Broadcast Type', 'ultimate-multisite'), 'options' => [ - 'broadcast_notice' => __('Email', 'multisite-ultimate'), - 'broadcast_email' => __('Notices', 'multisite-ultimate'), + 'broadcast_notice' => __('Email', 'ultimate-multisite'), + 'broadcast_email' => __('Notices', 'ultimate-multisite'), ], ], 'status' => [ - 'label' => __('Notice Type', 'multisite-ultimate'), + 'label' => __('Notice Type', 'ultimate-multisite'), 'options' => [ - 'info' => __('Info - Blue', 'multisite-ultimate'), - 'success' => __('Success - Green', 'multisite-ultimate'), - 'warning' => __('Warning - Yellow', 'multisite-ultimate'), - 'error' => __('Error - Red', 'multisite-ultimate'), + 'info' => __('Info - Blue', 'ultimate-multisite'), + 'success' => __('Success - Green', 'ultimate-multisite'), + 'warning' => __('Warning - Yellow', 'ultimate-multisite'), + 'error' => __('Error - Red', 'ultimate-multisite'), ], ], ], 'date_filters' => [ 'date_created' => [ - 'label' => __('Date', 'multisite-ultimate'), + 'label' => __('Date', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], @@ -472,19 +472,19 @@ public function get_views() { 'all' => [ 'field' => 'status', 'url' => add_query_arg('type', 'all'), - 'label' => __('All Broadcasts', 'multisite-ultimate'), + 'label' => __('All Broadcasts', 'ultimate-multisite'), 'count' => 0, ], 'broadcast_email' => [ 'field' => 'type', 'url' => add_query_arg('type', 'broadcast_email'), - 'label' => __('Emails', 'multisite-ultimate'), + 'label' => __('Emails', 'ultimate-multisite'), 'count' => 0, ], 'broadcast_notice' => [ 'field' => 'type', 'url' => add_query_arg('type', 'broadcast_notice'), - 'label' => __('Notices', 'multisite-ultimate'), + 'label' => __('Notices', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-checkout-form-list-table.php b/inc/list-tables/class-checkout-form-list-table.php index fa82e9179..2311ca563 100644 --- a/inc/list-tables/class-checkout-form-list-table.php +++ b/inc/list-tables/class-checkout-form-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Checkout Form', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Checkout Forms', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Checkout Form', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Checkout Forms', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_checkout_form'), @@ -65,7 +65,7 @@ public function column_name($item): string { $title = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-checkout-form', $url_atts), $item->get_name()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-checkout-form', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-checkout-form', $url_atts), __('Edit', 'ultimate-multisite')), 'duplicate' => sprintf( '%s', wu_network_admin_url( @@ -75,10 +75,10 @@ public function column_name($item): string { 'id' => $item->get_id(), ] ), - __('Duplicate', 'multisite-ultimate') + __('Duplicate', 'ultimate-multisite') ), - 'get_shortcode' => sprintf('%s', __('Shortcode', 'multisite-ultimate'), wu_get_form_url('shortcode_checkout', $url_atts), __('Shortcode', 'multisite-ultimate')), - 'delete' => sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')), + 'get_shortcode' => sprintf('%s', __('Shortcode', 'ultimate-multisite'), wu_get_form_url('shortcode_checkout', $url_atts), __('Shortcode', 'ultimate-multisite')), + 'delete' => sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')), ]; return $title . $this->row_actions($actions); @@ -108,7 +108,7 @@ public function column_slug($item) { */ public function column_steps($item): string { // translators: %1$d: number of steps, %2$d: number of fields - return sprintf(__('%1$d Step(s) and %2$d Field(s)', 'multisite-ultimate'), $item->get_step_count(), $item->get_field_count()); + return sprintf(__('%1$d Step(s) and %2$d Field(s)', 'ultimate-multisite'), $item->get_step_count(), $item->get_field_count()); } /** @@ -125,7 +125,7 @@ public function column_shortcode($item): string { ', - __('Copy to the Clipboard', 'multisite-ultimate') + __('Copy to the Clipboard', 'ultimate-multisite') ); return sprintf('', esc_attr($item->get_shortcode()), ''); @@ -147,7 +147,7 @@ public function process_single_action(): void { $checkout_form = wu_get_checkout_form($checkout_form_id); if ( ! $checkout_form) { - WP_Ultimo()->notices->add(__('Checkout form not found.', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Checkout form not found.', 'ultimate-multisite'), 'error', 'network-admin'); return; } @@ -155,7 +155,7 @@ public function process_single_action(): void { $new_checkout_form = $checkout_form->duplicate(); // translators: the %s is the thing copied. - $new_name = sprintf(__('Copy of %s', 'multisite-ultimate'), $checkout_form->get_name()); + $new_name = sprintf(__('Copy of %s', 'ultimate-multisite'), $checkout_form->get_name()); $new_checkout_form->set_name($new_name); @@ -195,10 +195,10 @@ public function get_columns() { $columns = [ 'cb' => '', - 'name' => __('Form Name', 'multisite-ultimate'), - 'slug' => __('Form Slug', 'multisite-ultimate'), - 'steps' => __('Steps', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'name' => __('Form Name', 'ultimate-multisite'), + 'slug' => __('Form Slug', 'ultimate-multisite'), + 'steps' => __('Steps', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; diff --git a/inc/list-tables/class-customer-list-table.php b/inc/list-tables/class-customer-list-table.php index 39a79b961..7700ae300 100644 --- a/inc/list-tables/class-customer-list-table.php +++ b/inc/list-tables/class-customer-list-table.php @@ -36,15 +36,15 @@ class Customer_List_Table extends Base_List_Table { public function __construct($args = []) { $this->modes = [ - 'grid' => __('Grid View', 'multisite-ultimate'), - 'list' => __('List View', 'multisite-ultimate'), + 'grid' => __('Grid View', 'ultimate-multisite'), + 'list' => __('List View', 'ultimate-multisite'), ]; $args = wp_parse_args( $args, [ - 'singular' => __('Customer', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Customers', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Customer', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Customers', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_customer'), @@ -122,10 +122,10 @@ public function column_name($item): string { // Check if user exists if ( ! $user) { $actions = [ - 'delete' => sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')), + 'delete' => sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')), ]; - return sprintf('#%s - %s', $item->get_user_id(), __('User not found', 'multisite-ultimate')) . $this->row_actions($actions); + return sprintf('#%s - %s', $item->get_user_id(), __('User not found', 'ultimate-multisite')) . $this->row_actions($actions); } $customer_id = sprintf('#%s', $item->get_id(), $item->get_id()); @@ -144,19 +144,19 @@ public function column_name($item): string { // Concatenate the two blocks $title = "$customer_user"; - $desc = sprintf('(%s)', esc_attr__('Send an email to this customer', 'multisite-ultimate'), esc_attr($user->user_email), esc_html($user->user_email)); + $desc = sprintf('(%s)', esc_attr__('Send an email to this customer', 'ultimate-multisite'), esc_attr($user->user_email), esc_html($user->user_email)); // Concatenate switch to url $is_modal_switch_to = \WP_Ultimo\User_Switching::get_instance()->check_user_switching_is_activated() ? '' : 'wubox'; - $url_switch_to = sprintf('%s', __('Switch To', 'multisite-ultimate'), $is_modal_switch_to, \WP_Ultimo\User_Switching::get_instance()->render($item->get_user_id()), __('Switch To', 'multisite-ultimate')); + $url_switch_to = sprintf('%s', __('Switch To', 'ultimate-multisite'), $is_modal_switch_to, \WP_Ultimo\User_Switching::get_instance()->render($item->get_user_id()), __('Switch To', 'ultimate-multisite')); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-customer', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-customer', $url_atts), __('Edit', 'ultimate-multisite')), 'switch-to' => $item->get_user_id() !== get_current_user_id() ? $url_switch_to : false, 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', [ @@ -164,7 +164,7 @@ public function column_name($item): string { 'id' => $item->get_id(), ] ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -186,7 +186,7 @@ public function column_customer_status($item) { $html = '
'; if ($item->is_vip()) { - $html .= sprintf('%s', __('VIP', 'multisite-ultimate')); + $html .= sprintf('%s', __('VIP', 'ultimate-multisite')); } $html .= get_avatar( @@ -221,7 +221,7 @@ public function column_memberships($item): string { ]; $actions = [ - 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-memberships', $url_atts), __('View', 'multisite-ultimate')), + 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-memberships', $url_atts), __('View', 'ultimate-multisite')), ]; return $subscription_count . $this->row_actions($actions); @@ -238,11 +238,11 @@ public function get_columns() { $columns = [ 'cb' => '', 'customer_status' => '', - 'name' => __('Name', 'multisite-ultimate'), - 'last_login' => __('Last Login', 'multisite-ultimate'), - 'date_registered' => __('Customer Since', 'multisite-ultimate'), - 'memberships' => __('Memberships', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'name' => __('Name', 'ultimate-multisite'), + 'last_login' => __('Last Login', 'ultimate-multisite'), + 'date_registered' => __('Customer Since', 'ultimate-multisite'), + 'memberships' => __('Memberships', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -331,19 +331,19 @@ public function get_views() { 'filter' => 'all', ] ), - 'label' => __('All Customers', 'multisite-ultimate'), + 'label' => __('All Customers', 'ultimate-multisite'), 'count' => 0, ], 'vip' => [ 'field' => 'filter', 'url' => add_query_arg('filter', 'vip'), - 'label' => __('VIP Customers', 'multisite-ultimate'), + 'label' => __('VIP Customers', 'ultimate-multisite'), 'count' => 0, ], 'online' => [ 'field' => 'filter', 'url' => add_query_arg('filter', 'online'), - 'label' => __('Online Customers', 'multisite-ultimate'), + 'label' => __('Online Customers', 'ultimate-multisite'), 'count' => 0, ], ]; @@ -360,7 +360,7 @@ public function get_views() { public function column_last_login($item) { if ($item->is_online()) { - return '' . __('Online', 'multisite-ultimate'); + return '' . __('Online', 'ultimate-multisite'); } return $this->_column_datetime($item->get_last_login()); diff --git a/inc/list-tables/class-customers-membership-list-table.php b/inc/list-tables/class-customers-membership-list-table.php index e0052200b..9c60dea1a 100644 --- a/inc/list-tables/class-customers-membership-list-table.php +++ b/inc/list-tables/class-customers-membership-list-table.php @@ -51,7 +51,7 @@ public function column_responsive($item): void { $product_count = 1 + count($item->get_addon_ids()); // translators: %s is the product name, %2$s is the count of other products. - $products_list = $p ? sprintf(_n('Contains %1$s', 'Contains %1$s and %2$s other product(s)', $product_count, 'multisite-ultimate'), $p->get_name(), count($item->get_addon_ids())) : ''; // phpcs:ignore + $products_list = $p ? sprintf(_n('Contains %1$s', 'Contains %1$s and %2$s other product(s)', $product_count, 'ultimate-multisite'), $p->get_name(), count($item->get_addon_ids())) : ''; // phpcs:ignore wu_responsive_table_row( [ @@ -68,32 +68,32 @@ public function column_responsive($item): void { [ 'total' => [ 'icon' => 'dashicons-wu-shopping-bag1 wu-align-middle wu-mr-1', - 'label' => __('Payment Total', 'multisite-ultimate'), + 'label' => __('Payment Total', 'ultimate-multisite'), 'value' => $item->get_price_description(), ], 'products' => [ 'icon' => 'dashicons-wu-package wu-align-middle wu-mr-1', - 'label' => __('Products', 'multisite-ultimate'), + 'label' => __('Products', 'ultimate-multisite'), 'value' => $products_list, ], 'gateway' => [ 'icon' => 'dashicons-wu-credit-card2 wu-align-middle wu-mr-1', - 'label' => __('Gateway', 'multisite-ultimate'), + 'label' => __('Gateway', 'ultimate-multisite'), 'value' => wu_slug_to_name($item->get_gateway()), ], ], [ 'date_expiration' => [ 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', - 'label' => __('Expires', 'multisite-ultimate'), + 'label' => __('Expires', 'ultimate-multisite'), // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf($expired ? __('Expired %s', 'multisite-ultimate') : __('Expiring %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_expiration()))), + 'value' => sprintf($expired ? __('Expired %s', 'ultimate-multisite') : __('Expiring %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_expiration()))), ], 'date_created' => [ 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', - 'label' => __('Created at', 'multisite-ultimate'), + 'label' => __('Created at', 'ultimate-multisite'), // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf(__('Created %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), + 'value' => sprintf(__('Created %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), ], ] ); diff --git a/inc/list-tables/class-customers-payment-list-table.php b/inc/list-tables/class-customers-payment-list-table.php index fd24dab6e..7ae4e1db1 100644 --- a/inc/list-tables/class-customers-payment-list-table.php +++ b/inc/list-tables/class-customers-payment-list-table.php @@ -59,12 +59,12 @@ public function column_responsive($item): void { [ 'total' => [ 'icon' => 'dashicons-wu-shopping-bag1 wu-align-middle wu-mr-1', - 'label' => __('Payment Total', 'multisite-ultimate'), + 'label' => __('Payment Total', 'ultimate-multisite'), 'value' => wu_format_currency($item->get_total()), ], 'gateway' => [ 'icon' => 'dashicons-wu-credit-card2 wu-align-middle wu-mr-1', - 'label' => __('Gateway', 'multisite-ultimate'), + 'label' => __('Gateway', 'ultimate-multisite'), 'value' => wu_slug_to_name($item->get_gateway()), ], ], @@ -73,7 +73,7 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf(__('Created %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), + 'value' => sprintf(__('Created %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), ], ] ); diff --git a/inc/list-tables/class-customers-site-list-table.php b/inc/list-tables/class-customers-site-list-table.php index 1544c096b..a151a11bd 100644 --- a/inc/list-tables/class-customers-site-list-table.php +++ b/inc/list-tables/class-customers-site-list-table.php @@ -76,19 +76,19 @@ public function column_responsive($item): void { [ 'link' => [ 'icon' => 'dashicons-wu-link1 wu-align-middle wu-mr-1', - 'label' => __('Visit Site', 'multisite-ultimate'), + 'label' => __('Visit Site', 'ultimate-multisite'), 'url' => $item->get_active_site_url(), 'value' => $item->get_active_site_url(), ], 'dashboard' => [ 'icon' => 'dashicons-wu-browser wu-align-middle wu-mr-1', - 'label' => __('Go to the Dashboard', 'multisite-ultimate'), - 'value' => __('Dashboard', 'multisite-ultimate'), + 'label' => __('Go to the Dashboard', 'ultimate-multisite'), + 'value' => __('Dashboard', 'ultimate-multisite'), 'url' => get_admin_url($item->get_id()), ], 'membership' => [ 'icon' => 'dashicons-wu-rotate-ccw wu-align-middle wu-mr-1', - 'label' => __('Go to the Membership', 'multisite-ultimate'), + 'label' => __('Go to the Membership', 'ultimate-multisite'), 'value' => $m ? $m->get_hash() : '', 'url' => $m ? wu_network_admin_url( 'wp-ultimo-edit-membership', @@ -103,9 +103,9 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', 'value' => $item->get_type() === 'pending' ? - __('Not Available', 'multisite-ultimate') : + __('Not Available', 'ultimate-multisite') : // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - sprintf(__('Created %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), + sprintf(__('Created %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), ], ] ); diff --git a/inc/list-tables/class-discount-code-list-table.php b/inc/list-tables/class-discount-code-list-table.php index 10896b4f8..a545e8967 100644 --- a/inc/list-tables/class-discount-code-list-table.php +++ b/inc/list-tables/class-discount-code-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Discount Code', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Discount Codes', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Discount Code', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Discount Codes', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_network_admin_url('wp-ultimo-edit-discount-code'), @@ -64,15 +64,15 @@ public function column_name($item): string { $title = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-discount-code', $url_atts), $item->get_name()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-discount-code', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-discount-code', $url_atts), __('Edit', 'ultimate-multisite')), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', $url_atts ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -91,7 +91,7 @@ public function column_name($item): string { public function column_value($item) { if ( ! $item->get_value()) { - return __('No Discount', 'multisite-ultimate'); + return __('No Discount', 'ultimate-multisite'); } $value = wu_format_currency($item->get_value()); @@ -101,7 +101,7 @@ public function column_value($item) { } // translators: placeholder is the amount of discount. e.g. 10% or $5. - return sprintf(__('%s OFF', 'multisite-ultimate'), $value); + return sprintf(__('%s OFF', 'ultimate-multisite'), $value); } /** @@ -116,7 +116,7 @@ public function column_value($item) { public function column_setup_fee_value($item) { if ( ! $item->get_setup_fee_value()) { - return __('No Discount', 'multisite-ultimate'); + return __('No Discount', 'ultimate-multisite'); } $value = wu_format_currency($item->get_setup_fee_value()); @@ -126,7 +126,7 @@ public function column_setup_fee_value($item) { } // translators: placeholder is the amount of discount. e.g. 10% or $5. - return sprintf(__('%s OFF', 'multisite-ultimate'), $value); + return sprintf(__('%s OFF', 'ultimate-multisite'), $value); } /** @@ -140,14 +140,14 @@ public function column_setup_fee_value($item) { public function column_uses($item) { // translators: the placeholder is the number of times this coupon was used. - $html = sprintf(__('Used %d time(s)', 'multisite-ultimate'), $item->get_uses()); + $html = sprintf(__('Used %d time(s)', 'ultimate-multisite'), $item->get_uses()); if ($item->get_max_uses() > 0) { // translators: the placeholder is the number of times this coupon can be used before becoming inactive. - $html .= '' . sprintf(__('Allowed uses: %d', 'multisite-ultimate'), $item->get_max_uses()) . ''; + $html .= '' . sprintf(__('Allowed uses: %d', 'ultimate-multisite'), $item->get_max_uses()) . ''; } else { - $html .= '' . __('No Limits', 'multisite-ultimate') . ''; + $html .= '' . __('No Limits', 'ultimate-multisite') . ''; } return $html; @@ -170,7 +170,7 @@ public function column_coupon_code($item) { $valid = $item->is_valid(); if (is_wp_error($valid)) { - $html .= sprintf('%s', esc_attr($valid->get_error_message()), esc_html__('Inactive', 'multisite-ultimate')); + $html .= sprintf('%s', esc_attr($valid->get_error_message()), esc_html__('Inactive', 'ultimate-multisite')); } return $html; @@ -186,12 +186,12 @@ public function get_columns() { $columns = [ 'cb' => '', - 'name' => __('Name', 'multisite-ultimate'), - 'coupon_code' => __('Code', 'multisite-ultimate'), - 'uses' => __('Uses', 'multisite-ultimate'), - 'value' => __('Value', 'multisite-ultimate'), - 'setup_fee_value' => __('Setup Fee Value', 'multisite-ultimate'), - 'date_expiration' => __('Dates', 'multisite-ultimate'), + 'name' => __('Name', 'ultimate-multisite'), + 'coupon_code' => __('Code', 'ultimate-multisite'), + 'uses' => __('Uses', 'ultimate-multisite'), + 'value' => __('Value', 'ultimate-multisite'), + 'setup_fee_value' => __('Setup Fee Value', 'ultimate-multisite'), + 'date_expiration' => __('Dates', 'ultimate-multisite'), ]; return $columns; diff --git a/inc/list-tables/class-domain-list-table.php b/inc/list-tables/class-domain-list-table.php index 486fbc1a6..f81bc3e73 100644 --- a/inc/list-tables/class-domain-list-table.php +++ b/inc/list-tables/class-domain-list-table.php @@ -39,8 +39,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Domain', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Domains', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Domain', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Domains', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_domain'), @@ -86,8 +86,8 @@ public function column_domain($item): string { $html = "{$domain}"; $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-domain', $url_atts), __('Edit', 'multisite-ultimate')), - 'delete' => sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-domain', $url_atts), __('Edit', 'ultimate-multisite')), + 'delete' => sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')), ]; return $html . $this->row_actions($actions); @@ -103,7 +103,7 @@ public function column_domain($item): string { */ public function column_active($item) { - return $item->is_active() ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'); + return $item->is_active() ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'); } /** @@ -116,7 +116,7 @@ public function column_active($item) { */ public function column_primary_domain($item) { - return $item->is_primary_domain() ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'); + return $item->is_primary_domain() ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'); } /** @@ -129,7 +129,7 @@ public function column_primary_domain($item) { */ public function column_secure($item) { - return $item->is_secure() ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'); + return $item->is_secure() ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'); } /** @@ -159,13 +159,13 @@ public function get_columns() { $columns = [ 'cb' => '', - 'domain' => __('Domain', 'multisite-ultimate'), - 'stage' => __('Stage', 'multisite-ultimate'), - 'blog_id' => __('Site', 'multisite-ultimate'), - 'active' => __('Active', 'multisite-ultimate'), - 'primary_domain' => __('Primary', 'multisite-ultimate'), - 'secure' => __('HTTPS', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'domain' => __('Domain', 'ultimate-multisite'), + 'stage' => __('Stage', 'ultimate-multisite'), + 'blog_id' => __('Site', 'ultimate-multisite'), + 'active' => __('Active', 'ultimate-multisite'), + 'primary_domain' => __('Primary', 'ultimate-multisite'), + 'secure' => __('HTTPS', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -185,10 +185,10 @@ public function get_filters(): array { * Active */ 'active' => [ - 'label' => __('Active', 'multisite-ultimate'), + 'label' => __('Active', 'ultimate-multisite'), 'options' => [ - 0 => __('Inactive', 'multisite-ultimate'), - 1 => __('Active', 'multisite-ultimate'), + 0 => __('Inactive', 'ultimate-multisite'), + 1 => __('Active', 'ultimate-multisite'), ], ], @@ -196,10 +196,10 @@ public function get_filters(): array { * Primay */ 'primary_domain' => [ - 'label' => __('Is Primary', 'multisite-ultimate'), + 'label' => __('Is Primary', 'ultimate-multisite'), 'options' => [ - 0 => __('Not Primary Domain', 'multisite-ultimate'), - 1 => __('Primary Domain', 'multisite-ultimate'), + 0 => __('Not Primary Domain', 'ultimate-multisite'), + 1 => __('Primary Domain', 'ultimate-multisite'), ], ], @@ -207,10 +207,10 @@ public function get_filters(): array { * Secure (HTTPS) */ 'secure' => [ - 'label' => __('HTTPS', 'multisite-ultimate'), + 'label' => __('HTTPS', 'ultimate-multisite'), 'options' => [ - 0 => __('Non-HTTPS', 'multisite-ultimate'), - 1 => __('HTTPS', 'multisite-ultimate'), + 0 => __('Non-HTTPS', 'ultimate-multisite'), + 1 => __('HTTPS', 'ultimate-multisite'), ], ], @@ -218,7 +218,7 @@ public function get_filters(): array { * Stage */ 'stage' => [ - 'label' => __('Verification Stage', 'multisite-ultimate'), + 'label' => __('Verification Stage', 'ultimate-multisite'), 'options' => Domain_Stage::to_array(), ], diff --git a/inc/list-tables/class-email-list-table.php b/inc/list-tables/class-email-list-table.php index e0e821692..8b1b4148e 100644 --- a/inc/list-tables/class-email-list-table.php +++ b/inc/list-tables/class-email-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Email', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Emails', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Email', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Emails', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_network_admin_url('wp-ultimo-edit-email'), @@ -110,9 +110,9 @@ public function column_title($item): string { $content = wp_trim_words(wp_strip_all_tags($item->get_content()), 6); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-email', $url_atts), __('Edit', 'multisite-ultimate')), - 'duplicate' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-email', $url_atts), __('Duplicate', 'multisite-ultimate')), - 'send-test' => sprintf('%s', __('Send Test Email', 'multisite-ultimate'), wu_get_form_url('send_new_test', $url_atts), __('Send Test Email', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-email', $url_atts), __('Edit', 'ultimate-multisite')), + 'duplicate' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-email', $url_atts), __('Duplicate', 'ultimate-multisite')), + 'send-test' => sprintf('%s', __('Send Test Email', 'ultimate-multisite'), wu_get_form_url('send_new_test', $url_atts), __('Send Test Email', 'ultimate-multisite')), ]; $slug = $item->get_slug(); @@ -120,10 +120,10 @@ public function column_title($item): string { $default_system_emails = wu_get_default_system_emails(); if (isset($default_system_emails[ $slug ])) { - $actions['reset'] = sprintf('%s', __('Reset', 'multisite-ultimate'), wu_get_form_url('reset_confirmation', $url_atts), __('Reset', 'multisite-ultimate')); + $actions['reset'] = sprintf('%s', __('Reset', 'ultimate-multisite'), wu_get_form_url('reset_confirmation', $url_atts), __('Reset', 'ultimate-multisite')); } - $actions['delete'] = sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')); + $actions['delete'] = sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')); return $title . $content . $this->row_actions($actions); } @@ -172,13 +172,13 @@ public function column_schedule($item) { if ($item->get_schedule_type() === 'hours') { $time = explode(':', (string) $item->get_send_hours()); // translators: %1$s is the number of hours, %2$s is the number of minutes. - $text = sprintf(__('%1$s hour(s) and %2$s minute(s) after the event.', 'multisite-ultimate'), $time[0], $time[1]); + $text = sprintf(__('%1$s hour(s) and %2$s minute(s) after the event.', 'ultimate-multisite'), $time[0], $time[1]); } elseif ($item->get_schedule_type() === 'days') { // translators: %s is the number of days. - $text = sprintf(__('%s day(s) after the event.', 'multisite-ultimate'), $item->get_send_days()); + $text = sprintf(__('%s day(s) after the event.', 'ultimate-multisite'), $item->get_send_days()); } } else { - $text = __('Sent immediately after the event.', 'multisite-ultimate'); + $text = __('Sent immediately after the event.', 'ultimate-multisite'); } return $text; @@ -194,11 +194,11 @@ public function get_columns() { $columns = [ 'cb' => '', - 'title' => __('Content', 'multisite-ultimate'), - 'slug' => __('Event', 'multisite-ultimate'), - 'event' => __('slug', 'multisite-ultimate'), - 'schedule' => __('When', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'title' => __('Content', 'ultimate-multisite'), + 'slug' => __('Event', 'ultimate-multisite'), + 'event' => __('slug', 'ultimate-multisite'), + 'schedule' => __('When', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -220,14 +220,14 @@ public function process_single_action(): void { $email = wu_get_email($email_id); if ( ! $email) { - WP_Ultimo()->notices->add(__('Email not found.', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Email not found.', 'ultimate-multisite'), 'error', 'network-admin'); return; } $new_email = $email->duplicate(); // translators: the %s is the thing copied. - $new_name = sprintf(__('Copy of %s', 'multisite-ultimate'), $email->get_name()); + $new_name = sprintf(__('Copy of %s', 'ultimate-multisite'), $email->get_name()); $new_email->set_name($new_name); @@ -293,16 +293,16 @@ public function get_filters(): array { return [ 'filters' => [ 'type' => [ - 'label' => __('Email Type', 'multisite-ultimate'), + 'label' => __('Email Type', 'ultimate-multisite'), 'options' => [ - 'email_email' => __('Email', 'multisite-ultimate'), - 'broadcast_email' => __('Notices', 'multisite-ultimate'), + 'email_email' => __('Email', 'ultimate-multisite'), + 'broadcast_email' => __('Notices', 'ultimate-multisite'), ], ], ], 'date_filters' => [ 'date_created' => [ - 'label' => __('Date', 'multisite-ultimate'), + 'label' => __('Date', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], @@ -321,19 +321,19 @@ public function get_views() { 'all' => [ 'field' => 'target', 'url' => add_query_arg('target', 'all'), - 'label' => __('All Emails', 'multisite-ultimate'), + 'label' => __('All Emails', 'ultimate-multisite'), 'count' => 0, ], 'admin' => [ 'field' => 'target', 'url' => add_query_arg('target', 'admin'), - 'label' => __('Admin Emails', 'multisite-ultimate'), + 'label' => __('Admin Emails', 'ultimate-multisite'), 'count' => 0, ], 'customer' => [ 'field' => 'target', 'url' => add_query_arg('target', 'customer'), - 'label' => __('Customer Emails', 'multisite-ultimate'), + 'label' => __('Customer Emails', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-event-list-table.php b/inc/list-tables/class-event-list-table.php index 21ed3a59f..d21413497 100644 --- a/inc/list-tables/class-event-list-table.php +++ b/inc/list-tables/class-event-list-table.php @@ -38,8 +38,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Event', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Events', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Event', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Events', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? ] ); @@ -93,7 +93,7 @@ public function column_initiator($item) {
{$system_text} - " . __('Automatically started', 'multisite-ultimate') . " + " . __('Automatically started', 'ultimate-multisite') . "
"; // phpcs:enable @@ -137,7 +137,7 @@ public function column_initiator($item) { "; } else { - $not_found = __('No initiator found', 'multisite-ultimate'); + $not_found = __('No initiator found', 'ultimate-multisite'); $html = "
  @@ -182,15 +182,15 @@ public function column_message($item): string { ]; $actions = [ - 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-view-event', $url_atts), __('View', 'multisite-ultimate')), + 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-view-event', $url_atts), __('View', 'ultimate-multisite')), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', $url_atts ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -207,12 +207,12 @@ public function get_columns() { $columns = [ 'cb' => '', - 'initiator' => __('Initiator', 'multisite-ultimate'), - 'message' => __('Event Message', 'multisite-ultimate'), - 'slug' => __('SLug', 'multisite-ultimate'), - 'object_type' => __('Type', 'multisite-ultimate'), - 'date_created' => __('Created at', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'initiator' => __('Initiator', 'ultimate-multisite'), + 'message' => __('Event Message', 'ultimate-multisite'), + 'slug' => __('SLug', 'ultimate-multisite'), + 'object_type' => __('Type', 'ultimate-multisite'), + 'date_created' => __('Created at', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return apply_filters('wu_events_list_table_get_columns', $columns, $this); @@ -228,19 +228,19 @@ public function get_filters(): array { return [ 'filters' => [ 'severity' => [ - 'label' => __('Severity', 'multisite-ultimate'), + 'label' => __('Severity', 'ultimate-multisite'), 'options' => [ - Event::SEVERITY_SUCCESS => __('Success', 'multisite-ultimate'), - Event::SEVERITY_NEUTRAL => __('Neutral', 'multisite-ultimate'), - Event::SEVERITY_INFO => __('Info', 'multisite-ultimate'), - Event::SEVERITY_WARNING => __('Warning', 'multisite-ultimate'), - Event::SEVERITY_FATAL => __('Fatal', 'multisite-ultimate'), + Event::SEVERITY_SUCCESS => __('Success', 'ultimate-multisite'), + Event::SEVERITY_NEUTRAL => __('Neutral', 'ultimate-multisite'), + Event::SEVERITY_INFO => __('Info', 'ultimate-multisite'), + Event::SEVERITY_WARNING => __('Warning', 'ultimate-multisite'), + Event::SEVERITY_FATAL => __('Fatal', 'ultimate-multisite'), ], ], ], 'date_filters' => [ 'date_created' => [ - 'label' => __('Created At', 'multisite-ultimate'), + 'label' => __('Created At', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], diff --git a/inc/list-tables/class-inside-events-list-table.php b/inc/list-tables/class-inside-events-list-table.php index 3ed44ecab..6e2e42f63 100644 --- a/inc/list-tables/class-inside-events-list-table.php +++ b/inc/list-tables/class-inside-events-list-table.php @@ -47,12 +47,12 @@ public function column_responsive($item): void { $first_row = [ 'id' => [ 'icon' => 'dashicons-wu-hash wu-align-middle wu-mr-1', - 'label' => __('Event ID', 'multisite-ultimate'), + 'label' => __('Event ID', 'ultimate-multisite'), 'value' => $item->get_id(), ], 'slug' => [ 'icon' => 'dashicons-wu-bookmark1 wu-align-middle wu-mr-1', - 'label' => __('Event Type', 'multisite-ultimate'), + 'label' => __('Event Type', 'ultimate-multisite'), 'value' => wu_slug_to_name($item->get_slug()), ], ]; @@ -60,7 +60,7 @@ public function column_responsive($item): void { $object_initiator = $item->get_initiator(); if ('system' === $object_initiator) { - $value = sprintf('%s', __('Automatically processed by Multisite Ultimate', 'multisite-ultimate')); + $value = sprintf('%s', __('Automatically processed by Ultimate Multisite', 'ultimate-multisite')); } elseif ('manual' === $object_initiator) { $avatar = get_avatar( $item->get_author_id(), @@ -96,7 +96,7 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf(__('Processed %s', 'multisite-ultimate'), wu_human_time_diff($item->get_date_created(), '-1 day')), + 'value' => sprintf(__('Processed %s', 'ultimate-multisite'), wu_human_time_diff($item->get_date_created(), '-1 day')), ], ] ); diff --git a/inc/list-tables/class-line-item-list-table.php b/inc/list-tables/class-line-item-list-table.php index d8b1ba3d9..67ad8bb5c 100644 --- a/inc/list-tables/class-line-item-list-table.php +++ b/inc/list-tables/class-line-item-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Line Item', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Line Items', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Line Item', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Line Items', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? ] ); @@ -99,8 +99,8 @@ public function column_service($item) { ]; $actions = [ - 'edit' => sprintf('%s', __('Edit Item', 'multisite-ultimate'), wu_get_form_url('edit_line_item', $url_atts), __('Edit', 'multisite-ultimate')), - 'delete' => sprintf('%s', __('Delete Item', 'multisite-ultimate'), wu_get_form_url('delete_line_item', $url_atts), __('Delete', 'multisite-ultimate')), + 'edit' => sprintf('%s', __('Edit Item', 'ultimate-multisite'), wu_get_form_url('edit_line_item', $url_atts), __('Edit', 'ultimate-multisite')), + 'delete' => sprintf('%s', __('Delete Item', 'ultimate-multisite'), wu_get_form_url('delete_line_item', $url_atts), __('Delete', 'ultimate-multisite')), ]; $html = sprintf('%s', $item->get_title()); @@ -123,7 +123,7 @@ public function column_unit_price($item) { $html = wu_format_currency($item->get_unit_price()); // translators: %s is the quantity of items in the cart - $quantity = sprintf(__('Quantity: %s', 'multisite-ultimate'), $item->get_quantity()); + $quantity = sprintf(__('Quantity: %s', 'ultimate-multisite'), $item->get_quantity()); return $html . sprintf('%s', $quantity); } @@ -146,7 +146,7 @@ public function column_tax_total($item) { $tax_rate = $item->get_tax_rate() . '%'; } - $tax_label = $item->get_tax_rate() ? ($item->get_tax_label() ?: __('Tax Applied', 'multisite-ultimate')) : __('No Taxes Applied', 'multisite-ultimate'); + $tax_label = $item->get_tax_rate() ? ($item->get_tax_label() ?: __('Tax Applied', 'ultimate-multisite')) : __('No Taxes Applied', 'ultimate-multisite'); return $html . sprintf('%s (%s)', $tax_rate, $tax_label); } @@ -169,7 +169,7 @@ public function column_discounts_total($item) { $tax_rate = $item->get_discount_rate() . '%'; } - $tax_label = $item->get_discount_rate() ? ($item->get_discount_label() ?: __('Discount', 'multisite-ultimate')) : __('No discount', 'multisite-ultimate'); + $tax_label = $item->get_discount_rate() ? ($item->get_discount_label() ?: __('Discount', 'ultimate-multisite')) : __('No discount', 'ultimate-multisite'); return $html . sprintf('%s (%s)', $tax_rate, $tax_label); } @@ -209,12 +209,12 @@ public function column_subtotal($item) { public function get_columns() { $columns = [ - 'service' => __('Service', 'multisite-ultimate'), - 'unit_price' => __('Unit Price', 'multisite-ultimate'), - 'discounts_total' => __('discounts', 'multisite-ultimate'), - 'subtotal' => __('Subtotal', 'multisite-ultimate'), - 'tax_total' => __('Taxes', 'multisite-ultimate'), - 'total' => __('Total', 'multisite-ultimate'), + 'service' => __('Service', 'ultimate-multisite'), + 'unit_price' => __('Unit Price', 'ultimate-multisite'), + 'discounts_total' => __('discounts', 'ultimate-multisite'), + 'subtotal' => __('Subtotal', 'ultimate-multisite'), + 'tax_total' => __('Taxes', 'ultimate-multisite'), + 'total' => __('Total', 'ultimate-multisite'), ]; return $columns; diff --git a/inc/list-tables/class-membership-line-item-list-table.php b/inc/list-tables/class-membership-line-item-list-table.php index f38f279a4..2355dd8b3 100644 --- a/inc/list-tables/class-membership-line-item-list-table.php +++ b/inc/list-tables/class-membership-line-item-list-table.php @@ -78,16 +78,16 @@ public function column_responsive($item): void { [ 'url' => false, 'id' => 'not-found', - 'title' => __('Product not found', 'multisite-ultimate'), + 'title' => __('Product not found', 'ultimate-multisite'), 'status' => '', 'image' => $this->column_featured_image_id(new \WP_Ultimo\Models\Product()), ], [ 'quantity' => [ 'icon' => 'dashicons-wu-package wu-align-middle wu-mr-1', - 'label' => __('Quantity', 'multisite-ultimate'), + 'label' => __('Quantity', 'ultimate-multisite'), // translators: %d is a quantity number - 'value' => sprintf(__('x%d', 'multisite-ultimate'), $quantity), + 'value' => sprintf(__('x%d', 'ultimate-multisite'), $quantity), ], ] ); @@ -98,13 +98,13 @@ public function column_responsive($item): void { $first_row = [ 'quantity' => [ 'icon' => 'dashicons-wu-package wu-align-middle wu-mr-1', - 'label' => __('Quantity', 'multisite-ultimate'), + 'label' => __('Quantity', 'ultimate-multisite'), // translators: %d is a quantity number - 'value' => sprintf(__('x%d', 'multisite-ultimate'), $quantity), + 'value' => sprintf(__('x%d', 'ultimate-multisite'), $quantity), ], 'total' => [ 'icon' => 'dashicons-wu-shopping-bag1 wu-align-middle wu-mr-1', - 'label' => __('Price description', 'multisite-ultimate'), + 'label' => __('Price description', 'ultimate-multisite'), 'value' => $item->get_price_description(), ], ]; @@ -112,7 +112,7 @@ public function column_responsive($item): void { $second_row = [ 'slug' => [ 'icon' => 'dashicons-wu-bookmark1 wu-align-middle wu-mr-1', - 'label' => __('Product Slug', 'multisite-ultimate'), + 'label' => __('Product Slug', 'ultimate-multisite'), 'value' => $item->get_slug(), ], ]; @@ -122,7 +122,7 @@ public function column_responsive($item): void { 'wrapper_classes' => 'wubox', 'icon' => 'dashicons-wu-edit1 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Upgrade or Downgrade', 'multisite-ultimate'), + 'value' => __('Upgrade or Downgrade', 'ultimate-multisite'), 'url' => wu_get_form_url( 'change_membership_plan', [ @@ -136,7 +136,7 @@ public function column_responsive($item): void { 'wrapper_classes' => 'wu-text-red-500 wubox', 'icon' => 'dashicons-wu-trash-2 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Remove', 'multisite-ultimate'), + 'value' => __('Remove', 'ultimate-multisite'), 'url' => wu_get_form_url( 'remove_membership_product', [ diff --git a/inc/list-tables/class-membership-list-table-widget.php b/inc/list-tables/class-membership-list-table-widget.php index 1a15044a5..58fc7421a 100644 --- a/inc/list-tables/class-membership-list-table-widget.php +++ b/inc/list-tables/class-membership-list-table-widget.php @@ -38,8 +38,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Membership', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Memberships', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Membership', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Memberships', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? ] ); @@ -126,8 +126,8 @@ public function column_hash($item): string { $code = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), $item->get_hash()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), __('Edit', 'multisite-ultimate')), - 'delete' => sprintf('%s', '', __('Delete', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), __('Edit', 'ultimate-multisite')), + 'delete' => sprintf('%s', '', __('Delete', 'ultimate-multisite')), ]; $html = "{$code}"; @@ -163,7 +163,7 @@ public function column_status($item) { public function column_amount($item) { if (empty($item->get_amount())) { - return __('Free', 'multisite-ultimate'); + return __('Free', 'ultimate-multisite'); } $amount = wu_format_currency($item->get_amount(), $item->get_currency()); @@ -173,7 +173,7 @@ public function column_amount($item) { $message = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('every %2$s', 'every %1$s %2$s', $duration, 'multisite-ultimate'), // phpcs:ignore + _n('every %2$s', 'every %1$s %2$s', $duration, 'ultimate-multisite'), // phpcs:ignore $duration, $item->get_duration_unit() ); @@ -181,14 +181,14 @@ public function column_amount($item) { if ( ! $item->is_forever_recurring()) { $billing_cycles_message = sprintf( // translators: %s is the number of billing cycles. - _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'multisite-ultimate'), + _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'ultimate-multisite'), $item->get_billing_cycles() ); $message .= ' ' . $billing_cycles_message; } } else { - $message = __('one time payment', 'multisite-ultimate'); + $message = __('one time payment', 'ultimate-multisite'); } return sprintf('%s
%s', $amount, $message); @@ -207,7 +207,7 @@ public function column_customer($item) { $customer = $item->get_customer(); if ( ! $customer) { - $not_found = __('No customer found', 'multisite-ultimate'); + $not_found = __('No customer found', 'ultimate-multisite'); return "
  @@ -259,17 +259,17 @@ public function column_customer($item) { public function get_columns() { $columns = [ - 'hash' => __('Ref.', 'multisite-ultimate'), - 'status' => __('Status', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), - 'amount' => __('Price', 'multisite-ultimate'), + 'hash' => __('Ref.', 'ultimate-multisite'), + 'status' => __('Status', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), + 'amount' => __('Price', 'ultimate-multisite'), ]; return $columns; } /** - * Overrides the parent method to include the custom ajax functionality for Multisite Ultimate. + * Overrides the parent method to include the custom ajax functionality for Ultimate Multisite. * * @since 2.0.0 * @return void diff --git a/inc/list-tables/class-membership-list-table.php b/inc/list-tables/class-membership-list-table.php index 2fafc203a..48f9da4cd 100644 --- a/inc/list-tables/class-membership-list-table.php +++ b/inc/list-tables/class-membership-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Membership', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Memberships', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Membership', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Memberships', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_membership'), @@ -79,15 +79,15 @@ public function column_hash($item) { $code = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), $item->get_hash()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-membership', $url_atts), __('Edit', 'ultimate-multisite')), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', $url_atts ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -126,7 +126,7 @@ public function column_status($item) { public function column_amount($item) { if (empty($item->get_amount()) && empty($item->get_initial_amount())) { - return __('Free', 'multisite-ultimate'); + return __('Free', 'ultimate-multisite'); } if ($item->is_recurring()) { @@ -136,7 +136,7 @@ public function column_amount($item) { $message = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('every %2$s', 'every %1$s %2$s', $duration, 'multisite-ultimate'), // phpcs:ignore + _n('every %2$s', 'every %1$s %2$s', $duration, 'ultimate-multisite'), // phpcs:ignore $duration, $item->get_duration_unit() ); @@ -144,7 +144,7 @@ public function column_amount($item) { if ( ! $item->is_forever_recurring()) { $billing_cycles_message = sprintf( // translators: %s is the number of billing cycles. - _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'multisite-ultimate'), + _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'ultimate-multisite'), $item->get_billing_cycles() ); @@ -153,7 +153,7 @@ public function column_amount($item) { } else { $amount = wu_format_currency($item->get_initial_amount(), $item->get_currency()); - $message = __('one time payment', 'multisite-ultimate'); + $message = __('one time payment', 'ultimate-multisite'); } return sprintf('%s
%s', $amount, $message); @@ -168,19 +168,19 @@ public function column_amount($item) { public function get_columns() { ob_start(); - wu_tooltip(__('Reference Code', 'multisite-ultimate'), 'dashicons-wu-hash wu-text-xs'); + wu_tooltip(__('Reference Code', 'ultimate-multisite'), 'dashicons-wu-hash wu-text-xs'); $realtooltip = ob_end_clean(); $columns = [ 'cb' => '', 'hash' => $realtooltip, - 'status' => __('Status', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), - 'product' => __('Product', 'multisite-ultimate'), - 'amount' => __('Price', 'multisite-ultimate'), - 'date_created' => __('Created at', 'multisite-ultimate'), - 'date_expiration' => __('Expiration', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'status' => __('Status', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), + 'product' => __('Product', 'ultimate-multisite'), + 'amount' => __('Price', 'ultimate-multisite'), + 'date_created' => __('Created at', 'ultimate-multisite'), + 'date_expiration' => __('Expiration', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -199,11 +199,11 @@ public function column_date_expiration($item) { $date = $item->get_date_expiration(); if (empty($date) || '0000-00-00 00:00:00' === $date) { - return sprintf('%s
%s', __('Lifetime', 'multisite-ultimate'), __('It never expires', 'multisite-ultimate')); + return sprintf('%s
%s', __('Lifetime', 'ultimate-multisite'), __('It never expires', 'ultimate-multisite')); } if ( ! wu_validate_date($date)) { - return __('--', 'multisite-ultimate'); + return __('--', 'ultimate-multisite'); } $time = strtotime(get_date_from_gmt($date)); @@ -211,7 +211,7 @@ public function column_date_expiration($item) { $formatted_value = date_i18n(get_option('date_format'), $time); // translators: %s is a relative past date. - $placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'multisite-ultimate') : __('In %s', 'multisite-ultimate'); + $placeholder = wu_get_current_time('timestamp') > $time ? __('%s ago', 'ultimate-multisite') : __('In %s', 'ultimate-multisite'); $text = $formatted_value . sprintf('
%s', sprintf($placeholder, human_time_diff($time))); @@ -234,7 +234,7 @@ public function get_filters(): array { * Status */ 'status' => [ - 'label' => __('Status', 'multisite-ultimate'), + 'label' => __('Status', 'ultimate-multisite'), 'options' => $membership_status::to_array(), ], @@ -245,7 +245,7 @@ public function get_filters(): array { * Created At */ 'date_created' => [ - 'label' => __('Created At', 'multisite-ultimate'), + 'label' => __('Created At', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], @@ -253,7 +253,7 @@ public function get_filters(): array { * Expiration Date */ 'date_expiration' => [ - 'label' => __('Expiration Date', 'multisite-ultimate'), + 'label' => __('Expiration Date', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], @@ -261,7 +261,7 @@ public function get_filters(): array { * Renewal Date */ 'date_renewed' => [ - 'label' => __('Renewal Date', 'multisite-ultimate'), + 'label' => __('Renewal Date', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], @@ -280,43 +280,43 @@ public function get_views() { 'all' => [ 'field' => 'status', 'url' => add_query_arg('status', 'all'), - 'label' => __('All Memberships', 'multisite-ultimate'), + 'label' => __('All Memberships', 'ultimate-multisite'), 'count' => 0, ], 'active' => [ 'field' => 'status', 'url' => add_query_arg('status', 'active'), - 'label' => __('Active', 'multisite-ultimate'), + 'label' => __('Active', 'ultimate-multisite'), 'count' => 0, ], 'trialing' => [ 'field' => 'status', 'url' => add_query_arg('status', 'trialing'), - 'label' => __('Trialing', 'multisite-ultimate'), + 'label' => __('Trialing', 'ultimate-multisite'), 'count' => 0, ], 'pending' => [ 'field' => 'status', 'url' => add_query_arg('status', 'pending'), - 'label' => __('Pending', 'multisite-ultimate'), + 'label' => __('Pending', 'ultimate-multisite'), 'count' => 0, ], 'on-hold' => [ 'field' => 'status', 'url' => add_query_arg('status', 'on-hold'), - 'label' => __('On Hold', 'multisite-ultimate'), + 'label' => __('On Hold', 'ultimate-multisite'), 'count' => 0, ], 'expired' => [ 'field' => 'status', 'url' => add_query_arg('status', 'expired'), - 'label' => __('Expired', 'multisite-ultimate'), + 'label' => __('Expired', 'ultimate-multisite'), 'count' => 0, ], 'cancelled' => [ 'field' => 'status', 'url' => add_query_arg('status', 'cancelled'), - 'label' => __('Cancelled', 'multisite-ultimate'), + 'label' => __('Cancelled', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-memberships-site-list-table.php b/inc/list-tables/class-memberships-site-list-table.php index 16e59524c..4ef1ac132 100644 --- a/inc/list-tables/class-memberships-site-list-table.php +++ b/inc/list-tables/class-memberships-site-list-table.php @@ -62,14 +62,14 @@ public function column_responsive($item): void { [ 'link' => [ 'icon' => 'dashicons-wu-link1 wu-align-middle wu-mr-1', - 'label' => __('Visit Site', 'multisite-ultimate'), - 'value' => __('Homepage', 'multisite-ultimate'), + 'label' => __('Visit Site', 'ultimate-multisite'), + 'value' => __('Homepage', 'ultimate-multisite'), 'url' => $item->get_active_site_url(), ], 'dashboard' => [ 'icon' => 'dashicons-wu-browser wu-align-middle wu-mr-1', - 'label' => __('Go to the Dashboard', 'multisite-ultimate'), - 'value' => __('Dashboard', 'multisite-ultimate'), + 'label' => __('Go to the Dashboard', 'ultimate-multisite'), + 'value' => __('Dashboard', 'ultimate-multisite'), 'url' => get_admin_url($item->get_id()), ], ], @@ -78,9 +78,9 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', 'value' => $item->get_type() === 'pending' ? - __('Not Available', 'multisite-ultimate') : + __('Not Available', 'ultimate-multisite') : // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - sprintf(__('Created %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), + sprintf(__('Created %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), ], ] ); diff --git a/inc/list-tables/class-payment-line-item-list-table.php b/inc/list-tables/class-payment-line-item-list-table.php index 59e2258a4..4bda82f64 100644 --- a/inc/list-tables/class-payment-line-item-list-table.php +++ b/inc/list-tables/class-payment-line-item-list-table.php @@ -49,13 +49,13 @@ public function column_responsive($item): void { $first_row = [ 'quantity' => [ 'icon' => 'dashicons-wu-package wu-align-middle wu-mr-1', - 'label' => __('Quantity', 'multisite-ultimate'), + 'label' => __('Quantity', 'ultimate-multisite'), // translators: %d is a quantity number - 'value' => sprintf(__('x%d', 'multisite-ultimate'), $item->get_quantity()), + 'value' => sprintf(__('x%d', 'ultimate-multisite'), $item->get_quantity()), ], 'unit_price' => [ 'icon' => 'dashicons-wu-info1 wu-align-middle wu-mr-1', - 'label' => __('Unit Price', 'multisite-ultimate'), + 'label' => __('Unit Price', 'ultimate-multisite'), 'value' => wu_format_currency($item->get_unit_price()), ], ]; @@ -71,7 +71,7 @@ public function column_responsive($item): void { 'wrapper_classes' => 'wubox', 'icon' => 'dashicons-wu-edit1 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Edit', 'multisite-ultimate'), + 'value' => __('Edit', 'ultimate-multisite'), 'url' => wu_get_form_url('edit_line_item', $url_atts), ]; @@ -79,7 +79,7 @@ public function column_responsive($item): void { 'wrapper_classes' => 'wu-text-red-500 wubox', 'icon' => 'dashicons-wu-trash-2 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Remove', 'multisite-ultimate'), + 'value' => __('Remove', 'ultimate-multisite'), 'url' => wu_get_form_url('delete_line_item', $url_atts), ]; @@ -91,7 +91,7 @@ public function column_responsive($item): void { $tax_rate = $item->get_discount_rate() . '%'; } - $tax_label = $item->get_discount_rate() ? ($item->get_discount_label() ?: __('Discount', 'multisite-ultimate')) : __('No discount', 'multisite-ultimate'); + $tax_label = $item->get_discount_rate() ? ($item->get_discount_label() ?: __('Discount', 'ultimate-multisite')) : __('No discount', 'ultimate-multisite'); $tooltip = sprintf('%s (%s)', $tax_rate, $tax_label); @@ -99,7 +99,7 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-percent wu-align-middle wu-mr-1', 'label' => $tooltip, // translators: %s is a currency amount - 'value' => sprintf(__('Discounts: %s', 'multisite-ultimate'), wu_format_currency($item->get_discount_total())), + 'value' => sprintf(__('Discounts: %s', 'ultimate-multisite'), wu_format_currency($item->get_discount_total())), ]; } @@ -107,7 +107,7 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-info1 wu-align-middle wu-mr-1', 'label' => '', /* translators: %s is a currency amount */ - 'value' => sprintf(__('Subtotal: %s', 'multisite-ultimate'), wu_format_currency($item->get_subtotal())), + 'value' => sprintf(__('Subtotal: %s', 'ultimate-multisite'), wu_format_currency($item->get_subtotal())), ]; /* @@ -118,7 +118,7 @@ public function column_responsive($item): void { $tax_rate = $item->get_tax_rate() . '%'; } - $tax_label = $item->get_tax_rate() ? ($item->get_tax_label() ?: __('Tax Applied', 'multisite-ultimate')) : __('No Taxes Applied', 'multisite-ultimate'); + $tax_label = $item->get_tax_rate() ? ($item->get_tax_label() ?: __('Tax Applied', 'ultimate-multisite')) : __('No Taxes Applied', 'ultimate-multisite'); $tooltip = sprintf('%s (%s)', $tax_rate, $tax_label); @@ -126,13 +126,13 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-percent wu-align-middle wu-mr-1', 'label' => $tooltip, // translators: %s is a currency amount - 'value' => sprintf(__('Taxes: %s', 'multisite-ultimate'), wu_format_currency($item->get_tax_total())), + 'value' => sprintf(__('Taxes: %s', 'ultimate-multisite'), wu_format_currency($item->get_tax_total())), ]; } $first_row['description'] = [ 'icon' => 'dashicons-wu-file-text wu-align-middle wu-mr-1', - 'label' => __('Item Description', 'multisite-ultimate'), + 'label' => __('Item Description', 'ultimate-multisite'), 'value' => $item->get_description(), ]; diff --git a/inc/list-tables/class-payment-list-table-widget.php b/inc/list-tables/class-payment-list-table-widget.php index d659bc19b..b670fca95 100644 --- a/inc/list-tables/class-payment-list-table-widget.php +++ b/inc/list-tables/class-payment-list-table-widget.php @@ -38,8 +38,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Payment', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Payments', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Payment', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Payments', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? ] ); @@ -112,8 +112,8 @@ public function column_hash($item): string { $code = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), $item->get_hash()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), __('Edit', 'multisite-ultimate')), - 'delete' => sprintf('%s', '', __('Delete', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), __('Edit', 'ultimate-multisite')), + 'delete' => sprintf('%s', '', __('Delete', 'ultimate-multisite')), ]; $html = "{$code}"; @@ -152,7 +152,7 @@ public function column_customer($item) { $customer = $item->get_customer(); if ( ! $customer) { - $not_found = __('No customer found', 'multisite-ultimate'); + $not_found = __('No customer found', 'ultimate-multisite'); return "
  @@ -216,10 +216,10 @@ public function column_total($item): string { public function get_columns() { $columns = [ - 'hash' => __('Ref.', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), - 'total' => __('Total', 'multisite-ultimate'), - 'date_created' => __('Created at', 'multisite-ultimate'), + 'hash' => __('Ref.', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), + 'total' => __('Total', 'ultimate-multisite'), + 'date_created' => __('Created at', 'ultimate-multisite'), ]; return $columns; @@ -234,7 +234,7 @@ public function get_columns() { public function get_filters() {} /** - * Overrides the parent method to include the custom ajax functionality for Multisite Ultimate. + * Overrides the parent method to include the custom ajax functionality for Ultimate Multisite. * * @since 2.0.0 * @return void diff --git a/inc/list-tables/class-payment-list-table.php b/inc/list-tables/class-payment-list-table.php index 18a2042ac..f0ddd7d11 100644 --- a/inc/list-tables/class-payment-list-table.php +++ b/inc/list-tables/class-payment-list-table.php @@ -38,8 +38,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Payment', 'multisite-ultimate'), - 'plural' => __('Payments', 'multisite-ultimate'), + 'singular' => __('Payment', 'ultimate-multisite'), + 'plural' => __('Payments', 'ultimate-multisite'), 'ajax' => true, 'add_new' => [ 'url' => wu_get_form_url('add_new_payment'), @@ -82,10 +82,10 @@ public function column_hash($item) { $code = sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), $item->get_hash()); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-payment', $url_atts), __('Edit', 'ultimate-multisite')), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', [ @@ -93,7 +93,7 @@ public function column_hash($item) { 'id' => $item->get_id(), ] ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -132,7 +132,7 @@ public function column_product($item) { $product = $item->get_product(); if ( ! $product) { - return __('No product found', 'multisite-ultimate'); + return __('No product found', 'ultimate-multisite'); } $url_atts = [ @@ -140,7 +140,7 @@ public function column_product($item) { ]; $actions = [ - 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-product', $url_atts), __('View', 'multisite-ultimate')), + 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-product', $url_atts), __('View', 'ultimate-multisite')), ]; $html = $product->get_name(); @@ -172,18 +172,18 @@ public function column_total($item) { public function get_columns() { ob_start(); - wu_tooltip(__('Reference Code', 'multisite-ultimate'), 'dashicons-wu-hash wu-text-xs'); + wu_tooltip(__('Reference Code', 'ultimate-multisite'), 'dashicons-wu-hash wu-text-xs'); $realtooltip = ob_end_clean(); $columns = [ 'cb' => '', 'hash' => $realtooltip, - 'status' => __('Status', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), - 'membership' => __('Membership', 'multisite-ultimate'), - 'total' => __('Total', 'multisite-ultimate'), - 'date_created' => __('Created at', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'status' => __('Status', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), + 'membership' => __('Membership', 'ultimate-multisite'), + 'total' => __('Total', 'ultimate-multisite'), + 'date_created' => __('Created at', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -203,13 +203,13 @@ public function get_filters(): array { * Status */ 'status' => [ - 'label' => __('Status', 'multisite-ultimate'), + 'label' => __('Status', 'ultimate-multisite'), 'options' => [ - 'pending' => __('Pending', 'multisite-ultimate'), - 'completed' => __('Completed', 'multisite-ultimate'), - 'refund' => __('Refund', 'multisite-ultimate'), - 'partial' => __('Partial', 'multisite-ultimate'), - 'failed' => __('Failed', 'multisite-ultimate'), + 'pending' => __('Pending', 'ultimate-multisite'), + 'completed' => __('Completed', 'ultimate-multisite'), + 'refund' => __('Refund', 'ultimate-multisite'), + 'partial' => __('Partial', 'ultimate-multisite'), + 'failed' => __('Failed', 'ultimate-multisite'), ], ], @@ -217,12 +217,12 @@ public function get_filters(): array { * Gateway */ 'gateway' => [ - 'label' => __('Gateway', 'multisite-ultimate'), + 'label' => __('Gateway', 'ultimate-multisite'), 'options' => [ - 'free' => __('Free', 'multisite-ultimate'), - 'manual' => __('Manual', 'multisite-ultimate'), - 'paypal' => __('Paypal', 'multisite-ultimate'), - 'stripe' => __('Stripe', 'multisite-ultimate'), + 'free' => __('Free', 'ultimate-multisite'), + 'manual' => __('Manual', 'ultimate-multisite'), + 'paypal' => __('Paypal', 'ultimate-multisite'), + 'stripe' => __('Stripe', 'ultimate-multisite'), ], ], ], @@ -232,7 +232,7 @@ public function get_filters(): array { * Created At */ 'date_created' => [ - 'label' => __('Created At', 'multisite-ultimate'), + 'label' => __('Created At', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], @@ -251,37 +251,37 @@ public function get_views() { 'all' => [ 'field' => 'status', 'url' => add_query_arg('status', 'all'), - 'label' => __('All Payments', 'multisite-ultimate'), + 'label' => __('All Payments', 'ultimate-multisite'), 'count' => 0, ], Payment_Status::COMPLETED => [ 'field' => 'status', 'url' => add_query_arg('status', Payment_Status::COMPLETED), - 'label' => __('Completed', 'multisite-ultimate'), + 'label' => __('Completed', 'ultimate-multisite'), 'count' => 0, ], Payment_Status::PENDING => [ 'field' => 'status', 'url' => add_query_arg('status', Payment_Status::PENDING), - 'label' => __('Pending', 'multisite-ultimate'), + 'label' => __('Pending', 'ultimate-multisite'), 'count' => 0, ], Payment_Status::PARTIAL_REFUND => [ 'field' => 'status', 'url' => add_query_arg('status', Payment_Status::PARTIAL_REFUND), - 'label' => __('Partially Refunded', 'multisite-ultimate'), + 'label' => __('Partially Refunded', 'ultimate-multisite'), 'count' => 0, ], Payment_Status::REFUND => [ 'field' => 'status', 'url' => add_query_arg('status', Payment_Status::REFUND), - 'label' => __('Refunded', 'multisite-ultimate'), + 'label' => __('Refunded', 'ultimate-multisite'), 'count' => 0, ], Payment_Status::FAILED => [ 'field' => 'status', 'url' => add_query_arg('status', Payment_Status::FAILED), - 'label' => __('Failed', 'multisite-ultimate'), + 'label' => __('Failed', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-product-list-table.php b/inc/list-tables/class-product-list-table.php index b14388678..a29fa8c91 100644 --- a/inc/list-tables/class-product-list-table.php +++ b/inc/list-tables/class-product-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Product', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Products', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Product', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Products', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_network_admin_url('wp-ultimo-edit-product'), @@ -68,7 +68,7 @@ public function column_name($item) { $title = "$title"; $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-product', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-product', $url_atts), __('Edit', 'ultimate-multisite')), 'duplicate' => sprintf( '%s', wu_network_admin_url( @@ -78,9 +78,9 @@ public function column_name($item) { 'id' => $item->get_id(), ] ), - __('Duplicate', 'multisite-ultimate') + __('Duplicate', 'ultimate-multisite') ), - 'delete' => sprintf('%s', __('Delete', 'multisite-ultimate'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'multisite-ultimate')), + 'delete' => sprintf('%s', __('Delete', 'ultimate-multisite'), wu_get_form_url('delete_modal', $url_atts), __('Delete', 'ultimate-multisite')), ]; return $title . $this->row_actions($actions); @@ -129,11 +129,11 @@ public function column_slug($item) { public function column_amount($item) { if ($item->get_pricing_type() === 'contact_us') { - return __('None', 'multisite-ultimate') . sprintf('
%s', __('Requires contact', 'multisite-ultimate')); + return __('None', 'ultimate-multisite') . sprintf('
%s', __('Requires contact', 'ultimate-multisite')); } if (empty($item->get_amount())) { - return __('Free', 'multisite-ultimate'); + return __('Free', 'ultimate-multisite'); } $amount = wu_format_currency($item->get_amount(), $item->get_currency()); @@ -143,7 +143,7 @@ public function column_amount($item) { $message = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('every %2$s', 'every %1$s %2$s', $duration, 'multisite-ultimate'), // phpcs:ignore + _n('every %2$s', 'every %1$s %2$s', $duration, 'ultimate-multisite'), // phpcs:ignore $duration, $item->get_duration_unit() ); @@ -151,14 +151,14 @@ public function column_amount($item) { if ( ! $item->is_forever_recurring()) { $billing_cycles_message = sprintf( // translators: %s is the number of billing cycles. - _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'multisite-ultimate'), + _n('for %s cycle', 'for %s cycles', $item->get_billing_cycles(), 'ultimate-multisite'), $item->get_billing_cycles() ); $message .= ' ' . $billing_cycles_message; } } else { - $message = __('one time payment', 'multisite-ultimate'); + $message = __('one time payment', 'ultimate-multisite'); } return sprintf('%s
%s', $amount, $message); @@ -175,11 +175,11 @@ public function column_amount($item) { public function column_setup_fee($item) { if ($item->get_pricing_type() === 'contact_us') { - return __('None', 'multisite-ultimate') . sprintf('
%s', __('Requires contact', 'multisite-ultimate')); + return __('None', 'ultimate-multisite') . sprintf('
%s', __('Requires contact', 'ultimate-multisite')); } if ( ! $item->has_setup_fee()) { - return __('No Setup Fee', 'multisite-ultimate'); + return __('No Setup Fee', 'ultimate-multisite'); } return wu_format_currency($item->get_setup_fee(), $item->get_currency()); @@ -201,7 +201,7 @@ public function process_single_action(): void { $product = wu_get_product($product); if ( ! $product) { - WP_Ultimo()->notices->add(__('Product not found.', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Product not found.', 'ultimate-multisite'), 'error', 'network-admin'); return; } @@ -209,7 +209,7 @@ public function process_single_action(): void { $new_product = $product->duplicate(); // translators: the %s is the thing copied. - $new_name = sprintf(__('Copy of %s', 'multisite-ultimate'), $product->get_name()); + $new_name = sprintf(__('Copy of %s', 'ultimate-multisite'), $product->get_name()); $new_product->set_name($new_name); @@ -250,12 +250,12 @@ public function get_columns() { $columns = [ 'cb' => '', 'featured_image_id' => '', - 'name' => __('Name', 'multisite-ultimate'), - 'type' => __('Type', 'multisite-ultimate'), - 'slug' => __('Slug', 'multisite-ultimate'), - 'amount' => __('Price', 'multisite-ultimate'), - 'setup_fee' => __('Setup Fee', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'name' => __('Name', 'ultimate-multisite'), + 'type' => __('Type', 'ultimate-multisite'), + 'slug' => __('Slug', 'ultimate-multisite'), + 'amount' => __('Price', 'ultimate-multisite'), + 'setup_fee' => __('Setup Fee', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -304,25 +304,25 @@ public function get_views() { 'all' => [ 'field' => 'type', 'url' => add_query_arg('type', 'all'), - 'label' => __('All Products', 'multisite-ultimate'), + 'label' => __('All Products', 'ultimate-multisite'), 'count' => 0, ], 'plan' => [ 'field' => 'type', 'url' => add_query_arg('type', 'plan'), - 'label' => __('Plans', 'multisite-ultimate'), + 'label' => __('Plans', 'ultimate-multisite'), 'count' => 0, ], 'package' => [ 'field' => 'type', 'url' => add_query_arg('type', 'package'), - 'label' => __('Packages', 'multisite-ultimate'), + 'label' => __('Packages', 'ultimate-multisite'), 'count' => 0, ], 'service' => [ 'field' => 'type', 'url' => add_query_arg('type', 'service'), - 'label' => __('Services', 'multisite-ultimate'), + 'label' => __('Services', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/list-tables/class-site-customer-list-table.php b/inc/list-tables/class-site-customer-list-table.php index f8844389a..33b6e13c7 100644 --- a/inc/list-tables/class-site-customer-list-table.php +++ b/inc/list-tables/class-site-customer-list-table.php @@ -57,10 +57,10 @@ public function get_columns() { public function column_responsive($item): void { // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - $last_login = sprintf(__('Last login %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_last_login()))); + $last_login = sprintf(__('Last login %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_last_login()))); if ($item->is_online()) { - $last_login = '' . __('Online', 'multisite-ultimate'); + $last_login = '' . __('Online', 'ultimate-multisite'); } wu_responsive_table_row( @@ -88,21 +88,21 @@ public function column_responsive($item): void { [ 'total' => [ 'icon' => 'dashicons-wu-at-sign wu-align-middle wu-mr-1', - 'label' => __('Email Address', 'multisite-ultimate'), + 'label' => __('Email Address', 'ultimate-multisite'), 'value' => $item->get_email_address(), ], ], [ 'date_expiration' => [ 'icon' => $item->is_online() === false ? 'dashicons-wu-calendar1 wu-align-middle wu-mr-1' : '', - 'label' => __('Last Login', 'multisite-ultimate'), + 'label' => __('Last Login', 'ultimate-multisite'), 'value' => $last_login, ], 'date_created' => [ 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf(__('Registered %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), + 'value' => sprintf(__('Registered %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_registered()))), ], ] ); diff --git a/inc/list-tables/class-site-list-table.php b/inc/list-tables/class-site-list-table.php index cfabe3968..55cb7ffb3 100644 --- a/inc/list-tables/class-site-list-table.php +++ b/inc/list-tables/class-site-list-table.php @@ -35,14 +35,14 @@ class Site_List_Table extends Base_List_Table { public function __construct() { $this->modes = [ - 'grid' => __('Grid View', 'multisite-ultimate'), - 'list' => __('List View', 'multisite-ultimate'), + 'grid' => __('Grid View', 'ultimate-multisite'), + 'list' => __('List View', 'ultimate-multisite'), ]; parent::__construct( [ - 'singular' => __('Site', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Sites', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Site', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Sites', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_site'), @@ -129,24 +129,24 @@ public function column_path($item): string { $title = "$title"; $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-site', $url_atts), __('Edit', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-site', $url_atts), __('Edit', 'ultimate-multisite')), 'duplicate' => sprintf( '%s', - __('Duplicate Site', 'multisite-ultimate'), + __('Duplicate Site', 'ultimate-multisite'), wu_get_form_url( 'add_new_site', $url_atts ), - __('Duplicate', 'multisite-ultimate') + __('Duplicate', 'ultimate-multisite') ), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', $url_atts ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -154,16 +154,16 @@ public function column_path($item): string { $actions = [ 'duplicate' => sprintf( '%s', - __('Publish Site', 'multisite-ultimate'), + __('Publish Site', 'ultimate-multisite'), wu_get_form_url( 'publish_pending_site', ['membership_id' => $item->get_membership_id()] ), - __('Publish', 'multisite-ultimate') + __('Publish', 'ultimate-multisite') ), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', [ @@ -180,7 +180,7 @@ public function column_path($item): string { ), ] ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; } @@ -253,7 +253,7 @@ public function column_domains($item): string { ]; $actions = [ - 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-domains', $url_atts), __('View', 'multisite-ultimate')), + 'view' => sprintf('%s', wu_network_admin_url('wp-ultimo-domains', $url_atts), __('View', 'ultimate-multisite')), ]; return $domain . $this->row_actions($actions); @@ -270,12 +270,12 @@ public function get_columns() { $columns = [ 'cb' => '', 'featured_image_id' => '', - 'path' => __('URL', 'multisite-ultimate'), - 'type' => __('Type', 'multisite-ultimate'), - 'customer' => __('Customer', 'multisite-ultimate'), - 'membership' => __('Membership', 'multisite-ultimate'), - 'domains' => __('Domains', 'multisite-ultimate'), - 'blog_id' => __('ID', 'multisite-ultimate'), + 'path' => __('URL', 'ultimate-multisite'), + 'type' => __('Type', 'ultimate-multisite'), + 'customer' => __('Customer', 'ultimate-multisite'), + 'membership' => __('Membership', 'ultimate-multisite'), + 'domains' => __('Domains', 'ultimate-multisite'), + 'blog_id' => __('ID', 'ultimate-multisite'), ]; return $columns; @@ -310,20 +310,20 @@ public function get_filters(): array { return [ 'filters' => [ 'vip' => [ - 'label' => __('VIP Status', 'multisite-ultimate'), + 'label' => __('VIP Status', 'ultimate-multisite'), 'options' => [ - '0' => __('Regular Sites', 'multisite-ultimate'), - '1' => __('VIP Sites', 'multisite-ultimate'), + '0' => __('Regular Sites', 'ultimate-multisite'), + '1' => __('VIP Sites', 'ultimate-multisite'), ], ], ], 'date_filters' => [ 'last_login' => [ - 'label' => __('Last Login', 'multisite-ultimate'), + 'label' => __('Last Login', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], 'date_registered' => [ - 'label' => __('Site Since', 'multisite-ultimate'), + 'label' => __('Site Since', 'ultimate-multisite'), 'options' => $this->get_default_date_filter_options(), ], ], @@ -342,25 +342,25 @@ public function get_views() { 'all' => [ 'field' => 'type', 'url' => add_query_arg('type', 'all'), - 'label' => __('All Sites', 'multisite-ultimate'), + 'label' => __('All Sites', 'ultimate-multisite'), 'count' => 0, ], 'customer_owned' => [ 'field' => 'type', 'url' => add_query_arg('type', 'customer_owned'), - 'label' => __('Customer-Owned', 'multisite-ultimate'), + 'label' => __('Customer-Owned', 'ultimate-multisite'), 'count' => 0, ], 'site_template' => [ 'field' => 'type', 'url' => add_query_arg('type', 'site_template'), - 'label' => __('Templates', 'multisite-ultimate'), + 'label' => __('Templates', 'ultimate-multisite'), 'count' => 0, ], 'pending' => [ 'field' => 'type', 'url' => add_query_arg('type', 'pending'), - 'label' => __('Pending', 'multisite-ultimate'), + 'label' => __('Pending', 'ultimate-multisite'), 'count' => 0, ], ]; @@ -374,10 +374,10 @@ public function get_views() { public function get_bulk_actions() { $actions = [ - 'screenshot' => __('Take Screenshot', 'multisite-ultimate'), + 'screenshot' => __('Take Screenshot', 'ultimate-multisite'), ]; - $actions[ wu_request('type', 'all') === 'pending' ? 'delete-pending' : 'delete' ] = __('Delete', 'multisite-ultimate'); + $actions[ wu_request('type', 'all') === 'pending' ? 'delete-pending' : 'delete' ] = __('Delete', 'ultimate-multisite'); return $actions; } @@ -398,7 +398,7 @@ public function process_single_action(): void { $site = wu_get_site($site_id); if ( ! $site) { - WP_Ultimo()->notices->add(__('Site not found.', 'multisite-ultimate'), 'error', 'network-admin'); + WP_Ultimo()->notices->add(__('Site not found.', 'ultimate-multisite'), 'error', 'network-admin'); return; } diff --git a/inc/list-tables/class-sites-domain-list-table.php b/inc/list-tables/class-sites-domain-list-table.php index 6cc290cb5..43758e645 100644 --- a/inc/list-tables/class-sites-domain-list-table.php +++ b/inc/list-tables/class-sites-domain-list-table.php @@ -60,13 +60,13 @@ public function column_responsive($item): void { 'primary' => [ 'icon' => $item->is_primary_domain() ? 'dashicons-wu-filter_1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-plus-square wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_primary_domain() ? __('Primary', 'multisite-ultimate') : __('Alias', 'multisite-ultimate'), + 'value' => $item->is_primary_domain() ? __('Primary', 'ultimate-multisite') : __('Alias', 'ultimate-multisite'), ], 'secure' => [ 'wrapper_classes' => $item->is_secure() ? 'wu-text-green-500' : '', 'icon' => $item->is_secure() ? 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'multisite-ultimate') : __('Not Secure (HTTP)', 'multisite-ultimate'), + 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'ultimate-multisite') : __('Not Secure (HTTP)', 'ultimate-multisite'), ], ], [ @@ -74,7 +74,7 @@ public function column_responsive($item): void { 'icon' => 'dashicons-wu-calendar1 wu-align-middle wu-mr-1', 'label' => '', // translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" - 'value' => sprintf(__('Created %s', 'multisite-ultimate'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), + 'value' => sprintf(__('Created %s', 'ultimate-multisite'), wu_human_time_diff(strtotime((string) $item->get_date_created()))), ], ] ); diff --git a/inc/list-tables/class-webhook-list-table.php b/inc/list-tables/class-webhook-list-table.php index 7200024bb..adb841520 100644 --- a/inc/list-tables/class-webhook-list-table.php +++ b/inc/list-tables/class-webhook-list-table.php @@ -36,8 +36,8 @@ public function __construct() { parent::__construct( [ - 'singular' => __('Webhook', 'multisite-ultimate'), // singular name of the listed records - 'plural' => __('Webhooks', 'multisite-ultimate'), // plural name of the listed records + 'singular' => __('Webhook', 'ultimate-multisite'), // singular name of the listed records + 'plural' => __('Webhooks', 'ultimate-multisite'), // plural name of the listed records 'ajax' => true, // does this table support ajax? 'add_new' => [ 'url' => wu_get_form_url('add_new_webhook_modal'), @@ -67,20 +67,20 @@ public function column_name($item): string { wu_network_admin_url('wp-ultimo-edit-webhook', $url_atts), $item->get_name(), $item->get_id(), - __('Sending Test..', 'multisite-ultimate') + __('Sending Test..', 'ultimate-multisite') ); $actions = [ - 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-webhook', $url_atts), __('Edit', 'multisite-ultimate')), - 'test' => sprintf('%s', $item->get_webhook_url(), __('Send Test', 'multisite-ultimate')), + 'edit' => sprintf('%s', wu_network_admin_url('wp-ultimo-edit-webhook', $url_atts), __('Edit', 'ultimate-multisite')), + 'test' => sprintf('%s', $item->get_webhook_url(), __('Send Test', 'ultimate-multisite')), 'delete' => sprintf( '%s', - __('Delete', 'multisite-ultimate'), + __('Delete', 'ultimate-multisite'), wu_get_form_url( 'delete_modal', $url_atts ), - __('Delete', 'multisite-ultimate') + __('Delete', 'ultimate-multisite') ), ]; @@ -129,7 +129,7 @@ public function column_count($item): string { $count = $item->get_count(); $actions = [ - 'edit' => sprintf('%s', '', __('See Events', 'multisite-ultimate')), + 'edit' => sprintf('%s', '', __('See Events', 'ultimate-multisite')), ]; return $count . $this->row_actions($actions); @@ -157,7 +157,7 @@ public function column_integration($item): string { */ public function column_active($item) { - return $item->is_active() ? __('Yes', 'multisite-ultimate') : __('No', 'multisite-ultimate'); + return $item->is_active() ? __('Yes', 'ultimate-multisite') : __('No', 'ultimate-multisite'); } /** @@ -170,13 +170,13 @@ public function get_columns() { $columns = [ 'cb' => '', - 'name' => __('Name', 'multisite-ultimate'), - 'webhook_url' => __('Target URL', 'multisite-ultimate'), - 'event' => __('Trigger Event', 'multisite-ultimate'), - 'event_count' => __('Count', 'multisite-ultimate'), - 'integration' => __('Integration', 'multisite-ultimate'), - 'active' => __('Active', 'multisite-ultimate'), - 'id' => __('ID', 'multisite-ultimate'), + 'name' => __('Name', 'ultimate-multisite'), + 'webhook_url' => __('Target URL', 'ultimate-multisite'), + 'event' => __('Trigger Event', 'ultimate-multisite'), + 'event_count' => __('Count', 'ultimate-multisite'), + 'integration' => __('Integration', 'ultimate-multisite'), + 'active' => __('Active', 'ultimate-multisite'), + 'id' => __('ID', 'ultimate-multisite'), ]; return $columns; diff --git a/inc/list-tables/customer-panel/class-invoice-list-table.php b/inc/list-tables/customer-panel/class-invoice-list-table.php index 3ec3cde91..dfc5de99c 100644 --- a/inc/list-tables/customer-panel/class-invoice-list-table.php +++ b/inc/list-tables/customer-panel/class-invoice-list-table.php @@ -30,10 +30,10 @@ class Invoice_List_Table extends Parent_Payment_List_Table { public function get_columns() { $columns = [ - 'hash' => __('Code', 'multisite-ultimate'), - 'status' => __('Status', 'multisite-ultimate'), - 'total' => __('Total', 'multisite-ultimate'), - 'date_created' => __('Created at', 'multisite-ultimate'), + 'hash' => __('Code', 'ultimate-multisite'), + 'status' => __('Status', 'ultimate-multisite'), + 'total' => __('Total', 'ultimate-multisite'), + 'date_created' => __('Created at', 'ultimate-multisite'), ]; return $columns; diff --git a/inc/list-tables/customer-panel/class-product-list-table.php b/inc/list-tables/customer-panel/class-product-list-table.php index 4ba79c798..ad2eb73ef 100644 --- a/inc/list-tables/customer-panel/class-product-list-table.php +++ b/inc/list-tables/customer-panel/class-product-list-table.php @@ -31,7 +31,7 @@ public function __construct() { parent::__construct(); $this->modes = [ - 'grid' => __('Grid View', 'multisite-ultimate'), + 'grid' => __('Grid View', 'ultimate-multisite'), ]; $this->current_mode = 'grid'; diff --git a/inc/list-tables/customer-panel/class-site-list-table.php b/inc/list-tables/customer-panel/class-site-list-table.php index 524114b82..2b88113d2 100644 --- a/inc/list-tables/customer-panel/class-site-list-table.php +++ b/inc/list-tables/customer-panel/class-site-list-table.php @@ -31,7 +31,7 @@ public function __construct() { parent::__construct(); $this->modes = [ - 'grid' => __('Grid View', 'multisite-ultimate'), + 'grid' => __('Grid View', 'ultimate-multisite'), ]; $this->current_mode = 'grid'; @@ -73,7 +73,7 @@ public function get_views() { 'all' => [ 'field' => 'type', 'url' => add_query_arg('type', 'all'), - 'label' => __('Your Sites', 'multisite-ultimate'), + 'label' => __('Your Sites', 'ultimate-multisite'), 'count' => 0, ], ]; diff --git a/inc/managers/class-base-manager.php b/inc/managers/class-base-manager.php index 7b7322b86..ccd608fbc 100644 --- a/inc/managers/class-base-manager.php +++ b/inc/managers/class-base-manager.php @@ -15,7 +15,7 @@ defined('ABSPATH') || exit; /** - * Adds a lighter ajax option to Multisite Ultimate. + * Adds a lighter ajax option to Ultimate Multisite. * * @since 1.9.14 */ diff --git a/inc/managers/class-block-manager.php b/inc/managers/class-block-manager.php index b2f900e0e..c7a3cdc3e 100644 --- a/inc/managers/class-block-manager.php +++ b/inc/managers/class-block-manager.php @@ -56,7 +56,7 @@ public function add_wp_ultimo_block_category($categories, $post) { [ [ 'slug' => 'wp-ultimo', - 'title' => __('Multisite WaaS', 'multisite-ultimate'), + 'title' => __('Ultimate Multisite', 'ultimate-multisite'), ], ] ); diff --git a/inc/managers/class-broadcast-manager.php b/inc/managers/class-broadcast-manager.php index fdbb6584d..9fb4e1d3c 100644 --- a/inc/managers/class-broadcast-manager.php +++ b/inc/managers/class-broadcast-manager.php @@ -128,7 +128,7 @@ public function handle_broadcast(): void { $target_products = wu_request('target_products', ''); if ( ! $target_customers && ! $target_products) { - wp_send_json_error(new \WP_Error('error', __('No product or customer target was selected.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('error', __('No product or customer target was selected.', 'ultimate-multisite'))); } $broadcast_type = wu_request('type', 'broadcast_notice'); @@ -249,7 +249,7 @@ public function handle_broadcast(): void { } } - $error = new \WP_Error('mail-error', __('Something wrong happened.', 'multisite-ultimate')); + $error = new \WP_Error('mail-error', __('Something wrong happened.', 'ultimate-multisite')); wp_send_json_error($error); } diff --git a/inc/managers/class-customer-manager.php b/inc/managers/class-customer-manager.php index b07fc252b..7cfe793ac 100644 --- a/inc/managers/class-customer-manager.php +++ b/inc/managers/class-customer-manager.php @@ -62,7 +62,7 @@ public function init(): void { function () { Event_Manager::register_model_events( 'customer', - __('Customer', 'multisite-ultimate'), + __('Customer', 'ultimate-multisite'), ['created', 'updated'] ); } @@ -89,7 +89,7 @@ function () { public function handle_resend_verification_email(): void { if ( ! check_ajax_referer('wu_resend_verification_email_nonce', false, false)) { - wp_send_json_error(new \WP_Error('not-allowed', __('Error: you are not allowed to perform this action.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-allowed', __('Error: you are not allowed to perform this action.', 'ultimate-multisite'))); exit; } @@ -97,7 +97,7 @@ public function handle_resend_verification_email(): void { $customer = wu_get_current_customer(); if ( ! $customer) { - wp_send_json_error(new \WP_Error('customer-not-found', __('Error: customer not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('customer-not-found', __('Error: customer not found.', 'ultimate-multisite'))); exit; } @@ -200,7 +200,7 @@ public function maybe_verify_email_address(): void { wp_die( sprintf( /* translators: the placeholder is the login URL */ - wp_kses_post(__('You must be authenticated in order to verify your email address. Click here to access your account.', 'multisite-ultimate')), + wp_kses_post(__('You must be authenticated in order to verify your email address. Click here to access your account.', 'ultimate-multisite')), esc_attr( wp_login_url( add_query_arg( @@ -216,31 +216,31 @@ public function maybe_verify_email_address(): void { } if ( ! $customer_to_verify) { - wp_die(wp_kses_post(__('ERROR: Invalid verification key.', 'multisite-ultimate'))); + wp_die(wp_kses_post(__('ERROR: Invalid verification key.', 'ultimate-multisite'))); } $current_customer = wu_get_current_customer(); if ( ! $current_customer) { - wp_die(wp_kses_post(__('Error: Invalid verification key.', 'multisite-ultimate'))); + wp_die(wp_kses_post(__('Error: Invalid verification key.', 'ultimate-multisite'))); } if ($current_customer->get_id() !== $customer_to_verify->get_id()) { - wp_die(esc_html__('Invalid verification key.', 'multisite-ultimate')); + wp_die(esc_html__('Invalid verification key.', 'ultimate-multisite')); } if ($customer_to_verify->get_email_verification() !== 'pending') { - wp_die(esc_html__('Invalid verification key.', 'multisite-ultimate')); + wp_die(esc_html__('Invalid verification key.', 'ultimate-multisite')); } $key = $customer_to_verify->get_verification_key(); if ( ! $key) { - wp_die(wp_kses_post(__('Error: Invalid verification key.', 'multisite-ultimate'))); + wp_die(wp_kses_post(__('Error: Invalid verification key.', 'ultimate-multisite'))); } if ($key !== $email_verify_key) { - wp_die(esc_html__('Invalid verification key.', 'multisite-ultimate')); + wp_die(esc_html__('Invalid verification key.', 'ultimate-multisite')); } /* diff --git a/inc/managers/class-domain-manager.php b/inc/managers/class-domain-manager.php index 5fa99498d..3f6996600 100644 --- a/inc/managers/class-domain-manager.php +++ b/inc/managers/class-domain-manager.php @@ -308,8 +308,8 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'domain_mapping_header', [ - 'title' => __('Domain Mapping Settings', 'multisite-ultimate'), - 'desc' => __('Define the domain mapping settings for your network.', 'multisite-ultimate'), + 'title' => __('Domain Mapping Settings', 'ultimate-multisite'), + 'desc' => __('Define the domain mapping settings for your network.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -318,8 +318,8 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'enable_domain_mapping', [ - 'title' => __('Enable Domain Mapping?', 'multisite-ultimate'), - 'desc' => __('Do you want to enable domain mapping?', 'multisite-ultimate'), + 'title' => __('Enable Domain Mapping?', 'ultimate-multisite'), + 'desc' => __('Do you want to enable domain mapping?', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -329,16 +329,16 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'force_admin_redirect', [ - 'title' => __('Force Admin Redirect', 'multisite-ultimate'), - 'desc' => __('Select how you want your users to access the admin panel if they have mapped domains.', 'multisite-ultimate') . '

' . __('Force Redirect to Mapped Domain: your users with mapped domains will be redirected to theirdomain.com/wp-admin, even if they access using yournetworkdomain.com/wp-admin.', 'multisite-ultimate') . '

' . __('Force Redirect to Network Domain: your users with mapped domains will be redirect to yournetworkdomain.com/wp-admin, even if they access using theirdomain.com/wp-admin.', 'multisite-ultimate'), + 'title' => __('Force Admin Redirect', 'ultimate-multisite'), + 'desc' => __('Select how you want your users to access the admin panel if they have mapped domains.', 'ultimate-multisite') . '

' . __('Force Redirect to Mapped Domain: your users with mapped domains will be redirected to theirdomain.com/wp-admin, even if they access using yournetworkdomain.com/wp-admin.', 'ultimate-multisite') . '

' . __('Force Redirect to Network Domain: your users with mapped domains will be redirect to yournetworkdomain.com/wp-admin, even if they access using theirdomain.com/wp-admin.', 'ultimate-multisite'), 'tooltip' => '', 'type' => 'select', 'default' => 'both', 'require' => ['enable_domain_mapping' => 1], 'options' => [ - 'both' => __('Allow access to the admin by both mapped domain and network domain', 'multisite-ultimate'), - 'force_map' => __('Force Redirect to Mapped Domain', 'multisite-ultimate'), - 'force_network' => __('Force Redirect to Network Domain', 'multisite-ultimate'), + 'both' => __('Allow access to the admin by both mapped domain and network domain', 'ultimate-multisite'), + 'force_map' => __('Force Redirect to Mapped Domain', 'ultimate-multisite'), + 'force_network' => __('Force Redirect to Network Domain', 'ultimate-multisite'), ], ] ); @@ -347,8 +347,8 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'custom_domains', [ - 'title' => __('Enable Custom Domains?', 'multisite-ultimate'), - 'desc' => __('Toggle this option if you wish to allow end-customers to add their own domains. This can be controlled on a plan per plan basis.', 'multisite-ultimate'), + 'title' => __('Enable Custom Domains?', 'ultimate-multisite'), + 'desc' => __('Toggle this option if you wish to allow end-customers to add their own domains. This can be controlled on a plan per plan basis.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, 'require' => [ @@ -361,9 +361,9 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'domain_mapping_instructions', [ - 'title' => __('Add New Domain Instructions', 'multisite-ultimate'), - 'tooltip' => __('Display a customized message with instructions for the mapping and alerting the end-user of the risks of mapping a misconfigured domain.', 'multisite-ultimate'), - 'desc' => __('You can use the placeholder %NETWORK_DOMAIN% and %NETWORK_IP%.', 'multisite-ultimate'), + 'title' => __('Add New Domain Instructions', 'ultimate-multisite'), + 'tooltip' => __('Display a customized message with instructions for the mapping and alerting the end-user of the risks of mapping a misconfigured domain.', 'ultimate-multisite'), + 'desc' => __('You can use the placeholder %NETWORK_DOMAIN% and %NETWORK_IP%.', 'ultimate-multisite'), 'type' => 'textarea', 'default' => [$this, 'default_domain_mapping_instructions'], 'html_attr' => [ @@ -380,9 +380,9 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'dns_check_interval', [ - 'title' => __('DNS Check Interval', 'multisite-ultimate'), - 'tooltip' => __('Set the interval in seconds between DNS and SSL certificate checks for domains.', 'multisite-ultimate'), - 'desc' => __('Minimum: 10 seconds, Maximum: 300 seconds (5 minutes). Default: 300 seconds.', 'multisite-ultimate'), + 'title' => __('DNS Check Interval', 'ultimate-multisite'), + 'tooltip' => __('Set the interval in seconds between DNS and SSL certificate checks for domains.', 'ultimate-multisite'), + 'desc' => __('Minimum: 10 seconds, Maximum: 300 seconds (5 minutes). Default: 300 seconds.', 'ultimate-multisite'), 'type' => 'number', 'default' => 300, 'min' => 10, @@ -400,15 +400,15 @@ public function add_domain_mapping_settings(): void { 'domain-mapping', 'auto_create_www_subdomain', [ - 'title' => __('Create www Subdomain Automatically?', 'multisite-ultimate'), - 'desc' => __('Control when www subdomains should be automatically created for mapped domains.', 'multisite-ultimate'), - 'tooltip' => __('This setting applies to all hosting integrations and determines when a www version of the domain should be automatically created.', 'multisite-ultimate'), + 'title' => __('Create www Subdomain Automatically?', 'ultimate-multisite'), + 'desc' => __('Control when www subdomains should be automatically created for mapped domains.', 'ultimate-multisite'), + 'tooltip' => __('This setting applies to all hosting integrations and determines when a www version of the domain should be automatically created.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'always', 'options' => [ - 'always' => __('Always - Create www subdomain for all domains', 'multisite-ultimate'), - 'main_only' => __('Only for main domains (e.g., example.com but not subdomain.example.com)', 'multisite-ultimate'), - 'never' => __('Never - Do not automatically create www subdomains', 'multisite-ultimate'), + 'always' => __('Always - Create www subdomain for all domains', 'ultimate-multisite'), + 'main_only' => __('Only for main domains (e.g., example.com but not subdomain.example.com)', 'ultimate-multisite'), + 'never' => __('Never - Do not automatically create www subdomains', 'ultimate-multisite'), ], 'require' => [ 'enable_domain_mapping' => true, @@ -481,8 +481,8 @@ public function add_sso_settings(): void { 'sso', 'sso_header', [ - 'title' => __('Single Sign-On Settings', 'multisite-ultimate'), - 'desc' => __('Settings to configure the Single Sign-On functionality of Multisite Ultimate, responsible for keeping customers and admins logged in across all network domains.', 'multisite-ultimate'), + 'title' => __('Single Sign-On Settings', 'ultimate-multisite'), + 'desc' => __('Settings to configure the Single Sign-On functionality of Ultimate Multisite, responsible for keeping customers and admins logged in across all network domains.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -491,8 +491,8 @@ public function add_sso_settings(): void { 'sso', 'enable_sso', [ - 'title' => __('Enable Single Sign-On', 'multisite-ultimate'), - 'desc' => __('Enables the Single Sign-on functionality.', 'multisite-ultimate'), + 'title' => __('Enable Single Sign-On', 'ultimate-multisite'), + 'desc' => __('Enables the Single Sign-on functionality.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -502,8 +502,8 @@ public function add_sso_settings(): void { 'sso', 'restrict_sso_to_login_pages', [ - 'title' => __('Restrict SSO Checks to Login Pages', 'multisite-ultimate'), - 'desc' => __('The Single Sign-on feature adds one extra ajax calls to every page load on sites with custom domains active to check if it should perform an auth loopback. You can restrict these extra calls to the login pages of sub-sites using this option. If enabled, SSO will only work on login pages.', 'multisite-ultimate'), + 'title' => __('Restrict SSO Checks to Login Pages', 'ultimate-multisite'), + 'desc' => __('The Single Sign-on feature adds one extra ajax calls to every page load on sites with custom domains active to check if it should perform an auth loopback. You can restrict these extra calls to the login pages of sub-sites using this option. If enabled, SSO will only work on login pages.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -516,8 +516,8 @@ public function add_sso_settings(): void { 'sso', 'enable_sso_loading_overlay', [ - 'title' => __('Enable SSO Loading Overlay', 'multisite-ultimate'), - 'desc' => __('When active, a loading overlay will be added on-top of the site currently being viewed while the SSO auth loopback is performed on the background.', 'multisite-ultimate'), + 'title' => __('Enable SSO Loading Overlay', 'ultimate-multisite'), + 'desc' => __('When active, a loading overlay will be added on-top of the site currently being viewed while the SSO auth loopback is performed on the background.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, 'require' => [ @@ -536,11 +536,11 @@ public function default_domain_mapping_instructions(): string { $instructions = []; - $instructions[] = __("Cool! You're about to make this site accessible using your own domain name!", 'multisite-ultimate'); + $instructions[] = __("Cool! You're about to make this site accessible using your own domain name!", 'ultimate-multisite'); - $instructions[] = __("For that to work, you'll need to create a new CNAME record pointing to %NETWORK_DOMAIN% on your DNS manager.", 'multisite-ultimate'); + $instructions[] = __("For that to work, you'll need to create a new CNAME record pointing to %NETWORK_DOMAIN% on your DNS manager.", 'ultimate-multisite'); - $instructions[] = __('After you finish that step, come back to this screen and click the button below.', 'multisite-ultimate'); + $instructions[] = __('After you finish that step, come back to this screen and click the button below.', 'ultimate-multisite'); return implode(PHP_EOL . PHP_EOL, $instructions); } @@ -637,7 +637,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { $domain_url = $domain->get_domain(); // translators: %s is the domain name - wu_log_add("domain-{$domain_url}", sprintf(__('Starting Check for %s', 'multisite-ultimate'), $domain_url)); + wu_log_add("domain-{$domain_url}", sprintf(__('Starting Check for %s', 'ultimate-multisite'), $domain_url)); if ('checking-dns' === $stage) { if ($domain->has_correct_dns()) { @@ -647,7 +647,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", - __('- DNS propagation finished, advancing domain to next step...', 'multisite-ultimate') + __('- DNS propagation finished, advancing domain to next step...', 'ultimate-multisite') ); wu_enqueue_async_action( @@ -674,7 +674,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", // translators: %d is the number of minutes to try again. - sprintf(__('- DNS propagation checks tried for the max amount of times (5 times, one every %d minutes). Marking as failed.', 'multisite-ultimate'), $try_again_time) + sprintf(__('- DNS propagation checks tried for the max amount of times (5 times, one every %d minutes). Marking as failed.', 'ultimate-multisite'), $try_again_time) ); return; @@ -683,7 +683,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", // translators: %d is the number of minutes before trying again. - sprintf(__('- DNS propagation not finished, retrying in %d minutes...', 'multisite-ultimate'), $try_again_time) + sprintf(__('- DNS propagation not finished, retrying in %d minutes...', 'ultimate-multisite'), $try_again_time) ); wu_schedule_single_action( @@ -708,7 +708,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", - __('- Valid SSL cert found. Marking domain as done.', 'multisite-ultimate') + __('- Valid SSL cert found. Marking domain as done.', 'ultimate-multisite') ); return; @@ -724,7 +724,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", // translators: %d is the number of minutes to try again. - sprintf(__('- SSL checks tried for the max amount of times (5 times, one every %d minutes). Marking as ready without SSL.', 'multisite-ultimate'), $try_again_time) + sprintf(__('- SSL checks tried for the max amount of times (5 times, one every %d minutes). Marking as ready without SSL.', 'ultimate-multisite'), $try_again_time) ); return; @@ -733,7 +733,7 @@ public function async_process_domain_stage($domain_id, $tries = 0): void { wu_log_add( "domain-{$domain_url}", // translators: %d is the number of minutes before trying again. - sprintf(__('- SSL Cert not found, retrying in %d minute(s)...', 'multisite-ultimate'), $try_again_time) + sprintf(__('- SSL Cert not found, retrying in %d minute(s)...', 'ultimate-multisite'), $try_again_time) ); wu_schedule_single_action( @@ -822,7 +822,7 @@ public function get_dns_records(): void { $domain = wu_request('domain'); if ( ! $domain) { - wp_send_json_error(new \WP_Error('domain-missing', __('A valid domain was not passed.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('domain-missing', __('A valid domain was not passed.', 'ultimate-multisite'))); } $auth_ns = []; @@ -835,7 +835,7 @@ public function get_dns_records(): void { wp_send_json_error( new \WP_Error( 'error', - __('Not able to fetch DNS entries.', 'multisite-ultimate'), + __('Not able to fetch DNS entries.', 'ultimate-multisite'), [ 'exception' => $e->getMessage(), ] @@ -844,7 +844,7 @@ public function get_dns_records(): void { } if (false === $result) { - wp_send_json_error(new \WP_Error('error', __('Not able to fetch DNS entries.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('error', __('Not able to fetch DNS entries.', 'ultimate-multisite'))); } wp_send_json_success( @@ -895,7 +895,7 @@ public function test_integration() { if ( ! $integration) { wp_send_json_error( [ - 'message' => __('Invalid Integration ID', 'multisite-ultimate'), + 'message' => __('Invalid Integration ID', 'ultimate-multisite'), ] ); } @@ -908,7 +908,7 @@ public function test_integration() { [ 'message' => sprintf( // translators: %s is the name of the missing constant - __('The necessary constants were not found on your wp-config.php file: %s', 'multisite-ultimate'), + __('The necessary constants were not found on your wp-config.php file: %s', 'ultimate-multisite'), implode(', ', $integration->get_missing_constants()) ), ] @@ -1015,7 +1015,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: URL being tested */ - __('Testing domain verification via Loopback using %1$s: %2$s', 'multisite-ultimate'), + __('Testing domain verification via Loopback using %1$s: %2$s', 'ultimate-multisite'), $protocol_config['label'], $protocol_config['url'] ) @@ -1038,7 +1038,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: Error Message */ - __('Failed to connect via %1$s: %2$s', 'multisite-ultimate'), + __('Failed to connect via %1$s: %2$s', 'ultimate-multisite'), $protocol_config['label'], $response->get_error_message() ), @@ -1056,7 +1056,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: HTTP Response Code */ - __('Loopback request via %1$s returned HTTP %2$d', 'multisite-ultimate'), + __('Loopback request via %1$s returned HTTP %2$d', 'ultimate-multisite'), $protocol_config['label'], $response_code ), @@ -1073,7 +1073,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: Json error, %3$s part of the response */ - __('Loopback response via %1$s is not valid JSON: %2$s : %3$s', 'multisite-ultimate'), + __('Loopback response via %1$s is not valid JSON: %2$s : %3$s', 'ultimate-multisite'), $protocol_config['label'], json_last_error_msg(), substr($body, 0, 100) @@ -1089,7 +1089,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: Domain ID number */ - __('Domain verification successful via Loopback using %1$s. Domain ID %2$d confirmed.', 'multisite-ultimate'), + __('Domain verification successful via Loopback using %1$s. Domain ID %2$d confirmed.', 'ultimate-multisite'), $protocol_config['label'], $domain_id ) @@ -1102,7 +1102,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { "domain-{$domain_url}", sprintf( /* translators: %1$s: Protocol label (HTTPS with SSL verification, HTTPS without SSL verification, HTTP), %2$s: Domain ID number, %3$s Domain ID number */ - __('Loopback response via %1$s did not contain expected domain ID. Expected: %2$d, Got: %3$s', 'multisite-ultimate'), + __('Loopback response via %1$s did not contain expected domain ID. Expected: %2$d, Got: %3$s', 'ultimate-multisite'), $protocol_config['label'], $domain_id, isset($data['id']) ? $data['id'] : 'null' @@ -1113,7 +1113,7 @@ public function verify_domain_with_loopback_request(Domain $domain): bool { wu_log_add( "domain-{$domain_url}", - __('Domain verification failed via loopback on all protocols (HTTPS with SSL, HTTPS without SSL, HTTP).', 'multisite-ultimate'), + __('Domain verification failed via loopback on all protocols (HTTPS with SSL, HTTPS without SSL, HTTP).', 'ultimate-multisite'), LogLevel::ERROR ); diff --git a/inc/managers/class-email-manager.php b/inc/managers/class-email-manager.php index 9102fd4e5..2507c0952 100644 --- a/inc/managers/class-email-manager.php +++ b/inc/managers/class-email-manager.php @@ -133,7 +133,7 @@ public function send_system_email($slug, $payload): void { $to = $email->get_target_list($payload); if (empty($to)) { - wu_log_add('mailer', __('No targets found.', 'multisite-ultimate')); + wu_log_add('mailer', __('No targets found.', 'ultimate-multisite')); return; } @@ -218,8 +218,8 @@ public function add_email_fields(): void { 'emails', 'sender_header', [ - 'title' => __('Sender Settings', 'multisite-ultimate'), - 'desc' => __('Change the settings of the email headers, like from and name.', 'multisite-ultimate'), + 'title' => __('Sender Settings', 'ultimate-multisite'), + 'desc' => __('Change the settings of the email headers, like from and name.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -228,8 +228,8 @@ public function add_email_fields(): void { 'emails', 'from_name', [ - 'title' => __('"From" Name', 'multisite-ultimate'), - 'desc' => __('How the sender name will appear in emails sent by Multisite Ultimate.', 'multisite-ultimate'), + 'title' => __('"From" Name', 'ultimate-multisite'), + 'desc' => __('How the sender name will appear in emails sent by Ultimate Multisite.', 'ultimate-multisite'), 'type' => 'text', 'placeholder' => get_network_option(null, 'site_name'), 'default' => get_network_option(null, 'site_name'), @@ -243,8 +243,8 @@ public function add_email_fields(): void { 'emails', 'from_email', [ - 'title' => __('"From" E-mail', 'multisite-ultimate'), - 'desc' => __('How the sender email will appear in emails sent by Multisite Ultimate.', 'multisite-ultimate'), + 'title' => __('"From" E-mail', 'ultimate-multisite'), + 'desc' => __('How the sender email will appear in emails sent by Ultimate Multisite.', 'ultimate-multisite'), 'type' => 'email', 'placeholder' => get_network_option(null, 'admin_email'), 'default' => get_network_option(null, 'admin_email'), @@ -258,8 +258,8 @@ public function add_email_fields(): void { 'emails', 'template_header', [ - 'title' => __('Template Settings', 'multisite-ultimate'), - 'desc' => __('Change the settings of the email templates.', 'multisite-ultimate'), + 'title' => __('Template Settings', 'ultimate-multisite'), + 'desc' => __('Change the settings of the email templates.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -268,13 +268,13 @@ public function add_email_fields(): void { 'emails', 'email_template_type', [ - 'title' => __('Email Templates Style', 'multisite-ultimate'), - 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'multisite-ultimate'), + 'title' => __('Email Templates Style', 'ultimate-multisite'), + 'desc' => __('Choose if email body will be sent using the HTML template or in plain text.', 'ultimate-multisite'), 'type' => 'select', 'default' => 'html', 'options' => [ - 'html' => __('HTML Emails', 'multisite-ultimate'), - 'plain' => __('Plain Emails', 'multisite-ultimate'), + 'html' => __('HTML Emails', 'ultimate-multisite'), + 'plain' => __('Plain Emails', 'ultimate-multisite'), ], 'html_attr' => [ 'v-model' => 'emails_template', @@ -286,8 +286,8 @@ public function add_email_fields(): void { 'emails', 'expiring_header', [ - 'title' => __('Expiring Notification Settings', 'multisite-ultimate'), - 'desc' => __('Change the settings for the expiring notification (trials and subscriptions) emails.', 'multisite-ultimate'), + 'title' => __('Expiring Notification Settings', 'ultimate-multisite'), + 'desc' => __('Change the settings for the expiring notification (trials and subscriptions) emails.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -296,10 +296,10 @@ public function add_email_fields(): void { 'emails', 'expiring_days', [ - 'title' => __('Days to Expire', 'multisite-ultimate'), - 'desc' => __('Select when we should send the notification email. If you select 3 days, for example, a notification email will be sent to every membership (or trial period) expiring in the next 3 days. Memberships are checked hourly.', 'multisite-ultimate'), + 'title' => __('Days to Expire', 'ultimate-multisite'), + 'desc' => __('Select when we should send the notification email. If you select 3 days, for example, a notification email will be sent to every membership (or trial period) expiring in the next 3 days. Memberships are checked hourly.', 'ultimate-multisite'), 'type' => 'number', - 'placeholder' => __('e.g. 3', 'multisite-ultimate'), + 'placeholder' => __('e.g. 3', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'expiring_days', ], @@ -394,7 +394,7 @@ public function register_all_default_system_emails(): void { 'event' => 'payment_received', 'slug' => 'payment_received_admin', 'target' => 'admin', - 'title' => __('You got a new payment!', 'multisite-ultimate'), + 'title' => __('You got a new payment!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/admin/payment-received'), ] ); @@ -407,7 +407,7 @@ public function register_all_default_system_emails(): void { 'event' => 'payment_received', 'slug' => 'payment_received_customer', 'target' => 'customer', - 'title' => __('We got your payment!', 'multisite-ultimate'), + 'title' => __('We got your payment!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/customer/payment-received'), ] ); @@ -420,7 +420,7 @@ public function register_all_default_system_emails(): void { 'event' => 'site_published', 'target' => 'admin', 'slug' => 'site_published_admin', - 'title' => __('A new site was created on your Network!', 'multisite-ultimate'), + 'title' => __('A new site was created on your Network!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/admin/site-published'), ] ); @@ -433,7 +433,7 @@ public function register_all_default_system_emails(): void { 'event' => 'site_published', 'target' => 'customer', 'slug' => 'site_published_customer', - 'title' => __('Your site is ready!', 'multisite-ultimate'), + 'title' => __('Your site is ready!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/customer/site-published'), ] ); @@ -446,7 +446,7 @@ public function register_all_default_system_emails(): void { 'event' => 'confirm_email_address', 'target' => 'customer', 'slug' => 'confirm_email_address', - 'title' => __('Confirm your email address!', 'multisite-ultimate'), + 'title' => __('Confirm your email address!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/customer/confirm-email-address'), ] ); @@ -459,7 +459,7 @@ public function register_all_default_system_emails(): void { 'event' => 'domain_created', 'target' => 'admin', 'slug' => 'domain_created_admin', - 'title' => __('A new domain was added to your Network!', 'multisite-ultimate'), + 'title' => __('A new domain was added to your Network!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/admin/domain-created'), ] ); @@ -472,7 +472,7 @@ public function register_all_default_system_emails(): void { 'event' => 'renewal_payment_created', 'target' => 'customer', 'slug' => 'renewal_payment_created', - 'title' => __('You have a new pending payment!', 'multisite-ultimate'), + 'title' => __('You have a new pending payment!', 'ultimate-multisite'), 'content' => wu_get_template_contents('emails/customer/renewal-payment-created'), ] ); diff --git a/inc/managers/class-event-manager.php b/inc/managers/class-event-manager.php index 14fce6c0b..050d555ef 100644 --- a/inc/managers/class-event-manager.php +++ b/inc/managers/class-event-manager.php @@ -191,19 +191,19 @@ public function log_transitions($model, $data, $data_unserialized, $obj) { public function event_payload_preview(): void { if ( ! wu_request('event')) { - wp_send_json_error(new \WP_Error('error', __('No event was selected.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('error', __('No event was selected.', 'ultimate-multisite'))); } $slug = wu_request('event'); if ( ! $slug) { - wp_send_json_error(new \WP_Error('not-found', __('Event was not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Event was not found.', 'ultimate-multisite'))); } $event = wu_get_event_type($slug); if ( ! $event) { - wp_send_json_error(new \WP_Error('not-found', __('Data not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Data not found.', 'ultimate-multisite'))); } else { $payload = isset($event['payload']) ? wu_maybe_lazy_load_payload($event['payload']) : '{}'; @@ -366,8 +366,8 @@ public function register_all_events(): void { wu_register_event_type( 'payment_received', [ - 'name' => __('Payment Received', 'multisite-ultimate'), - 'desc' => __('This event is fired every time a new payment is received, regardless of the payment status.', 'multisite-ultimate'), + 'name' => __('Payment Received', 'ultimate-multisite'), + 'desc' => __('This event is fired every time a new payment is received, regardless of the payment status.', 'ultimate-multisite'), 'payload' => fn() => array_merge( wu_generate_event_payload('payment'), wu_generate_event_payload('membership'), @@ -389,8 +389,8 @@ public function register_all_events(): void { wu_register_event_type( 'site_published', [ - 'name' => __('Site Published', 'multisite-ultimate'), - 'desc' => __('This event is fired every time a new site is created tied to a membership, or transitions from a pending state to a published state.', 'multisite-ultimate'), + 'name' => __('Site Published', 'ultimate-multisite'), + 'desc' => __('This event is fired every time a new site is created tied to a membership, or transitions from a pending state to a published state.', 'ultimate-multisite'), 'payload' => fn() => array_merge( wu_generate_event_payload('site'), wu_generate_event_payload('customer'), @@ -406,8 +406,8 @@ public function register_all_events(): void { wu_register_event_type( 'confirm_email_address', [ - 'name' => __('Email Verification Needed', 'multisite-ultimate'), - 'desc' => __('This event is fired every time a new customer is added with an email verification status of pending.', 'multisite-ultimate'), + 'name' => __('Email Verification Needed', 'ultimate-multisite'), + 'desc' => __('This event is fired every time a new customer is added with an email verification status of pending.', 'ultimate-multisite'), 'payload' => fn() => array_merge( [ 'verification_link' => 'https://linktoverifyemail.com', @@ -424,8 +424,8 @@ public function register_all_events(): void { wu_register_event_type( 'domain_created', [ - 'name' => __('New Domain Mapping Added', 'multisite-ultimate'), - 'desc' => __('This event is fired every time a new domain mapping is added by a customer.', 'multisite-ultimate'), + 'name' => __('New Domain Mapping Added', 'ultimate-multisite'), + 'desc' => __('This event is fired every time a new domain mapping is added by a customer.', 'ultimate-multisite'), 'payload' => fn() => array_merge( wu_generate_event_payload('domain'), wu_generate_event_payload('site'), @@ -448,8 +448,8 @@ public function register_all_events(): void { wu_register_event_type( 'renewal_payment_created', [ - 'name' => __('New Renewal Payment Created', 'multisite-ultimate'), - 'desc' => __('This event is fired every time a new renewal payment is created by Multisite Ultimate.', 'multisite-ultimate'), + 'name' => __('New Renewal Payment Created', 'ultimate-multisite'), + 'desc' => __('This event is fired every time a new renewal payment is created by Ultimate Multisite.', 'ultimate-multisite'), 'payload' => fn() => array_merge( [ 'default_payment_url' => 'https://linktopayment.com', @@ -470,9 +470,9 @@ public function register_all_events(): void { $model . '_' . $type, [ // translators: %1$s is the model name, %2$s is the event type. - 'name' => sprintf(__('%1$s %2$s', 'multisite-ultimate'), $params['label'], ucfirst($type)), + 'name' => sprintf(__('%1$s %2$s', 'ultimate-multisite'), $params['label'], ucfirst($type)), // translators: %1$s is the model name, %2$s is the event type. - 'desc' => sprintf(__('This event is fired every time a %1$s is %2$s by Multisite Ultimate.', 'multisite-ultimate'), $params['label'], $type), + 'desc' => sprintf(__('This event is fired every time a %1$s is %2$s by Ultimate Multisite.', 'ultimate-multisite'), $params['label'], $type), 'deprecated_args' => [], 'payload' => fn() => $this->get_model_payload($model), ] @@ -623,7 +623,7 @@ public function clean_old_events(): bool { } // Translators: 1: Number of successfully removed events. 2: Number of failed events to remove. - wu_log_add('wu-cron', sprintf(__('Removed %1$d events successfully. Failed to remove %2$d events.', 'multisite-ultimate'), $success_count, count($events_to_remove) - $success_count)); + wu_log_add('wu-cron', sprintf(__('Removed %1$d events successfully. Failed to remove %2$d events.', 'ultimate-multisite'), $success_count, count($events_to_remove) - $success_count)); return true; } diff --git a/inc/managers/class-field-templates-manager.php b/inc/managers/class-field-templates-manager.php index 41adf3983..cb7fcb1d1 100644 --- a/inc/managers/class-field-templates-manager.php +++ b/inc/managers/class-field-templates-manager.php @@ -11,6 +11,7 @@ namespace WP_Ultimo\Managers; +use WP_Ultimo\Checkout\Signup_Fields\Field_Templates\Base_Field_Template; use WP_Ultimo\Managers\Base_Manager; // Exit if accessed directly @@ -61,7 +62,7 @@ public function serve_field_template(): void { $template_class = $this->get_template_class($template_parts[0], $template_parts[1]); if ( ! $template_class) { - wp_send_json_error(new \WP_Error('template', __('Template not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('template', __('Template not found.', 'ultimate-multisite'))); } $key = $template_parts[0]; @@ -177,7 +178,7 @@ public function get_templates($field_type) { * * @param string $field_type The field type id. * @param string $field_template_id The field template id. - * @return object + * @return Base_Field_Template */ public function get_template_class($field_type, $field_template_id) { diff --git a/inc/managers/class-form-manager.php b/inc/managers/class-form-manager.php index 5b728802d..70b689891 100644 --- a/inc/managers/class-form-manager.php +++ b/inc/managers/class-form-manager.php @@ -64,7 +64,7 @@ public function init(): void { */ public function display_form_unavailable($error = false): void { - $message = __('Form not available', 'multisite-ultimate'); + $message = __('Form not available', 'ultimate-multisite'); if (is_wp_error($error)) { $message = $error->get_error_message(); @@ -352,7 +352,7 @@ public function render_model_delete_form(): void { $object = apply_filters("wu_delete_form_get_object_{$model}", $object, $id, $model); if ( ! $object) { - $this->display_form_unavailable(new \WP_Error('not-found', __('Object not found.', 'multisite-ultimate'))); + $this->display_form_unavailable(new \WP_Error('not-found', __('Object not found.', 'ultimate-multisite'))); return; } @@ -362,16 +362,16 @@ public function render_model_delete_form(): void { [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Deletion', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'multisite-ultimate'), - 'placeholder' => __('Delete', 'multisite-ultimate'), + 'title' => __('Delete', 'ultimate-multisite'), + 'placeholder' => __('Delete', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -471,7 +471,7 @@ public function handle_model_delete_form(): void { $object = apply_filters("wu_delete_form_get_object_{$model}", $object, $id, $model); if ( ! $object) { - wp_send_json_error(new \WP_Error('not-found', __('Object not found.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Object not found.', 'ultimate-multisite'))); } /* @@ -496,7 +496,7 @@ public function handle_model_delete_form(): void { wp_send_json_success($data_json_success); } else { - wp_send_json_error(new \WP_Error('model-not-found', __('Something went wrong.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('model-not-found', __('Something went wrong.', 'ultimate-multisite'))); } } @@ -517,8 +517,8 @@ public function render_bulk_action_form(): void { [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Action', 'multisite-ultimate'), - 'desc' => __('Review this action carefully.', 'multisite-ultimate'), + 'title' => __('Confirm Action', 'ultimate-multisite'), + 'desc' => __('Review this action carefully.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], diff --git a/inc/managers/class-gateway-manager.php b/inc/managers/class-gateway-manager.php index 94b4611ed..ab199a5d0 100644 --- a/inc/managers/class-gateway-manager.php +++ b/inc/managers/class-gateway-manager.php @@ -279,8 +279,8 @@ public function process_gateway_confirmations(): void { if ( ! $gateway) { wp_die( - esc_html__('Missing gateway parameter.', 'multisite-ultimate'), - esc_html__('Error', 'multisite-ultimate'), + esc_html__('Missing gateway parameter.', 'ultimate-multisite'), + esc_html__('Error', 'ultimate-multisite'), [ 'back_link' => true, 'response' => '200', @@ -309,7 +309,7 @@ public function process_gateway_confirmations(): void { if (is_wp_error($results)) { wp_die( esc_html($results->get_error_message()), - esc_html__('Error', 'multisite-ultimate'), + esc_html__('Error', 'ultimate-multisite'), [ 'back_link' => true, 'response' => '200', @@ -319,7 +319,7 @@ public function process_gateway_confirmations(): void { } catch (\Throwable $e) { wp_die( esc_html($e->getMessage()), - esc_html__('Error', 'multisite-ultimate'), + esc_html__('Error', 'ultimate-multisite'), [ 'back_link' => true, 'response' => '200', @@ -358,8 +358,8 @@ public function add_gateway_selector_field(): void { 'payment-gateways', 'active_gateways', [ - 'title' => __('Active Payment Gateways', 'multisite-ultimate'), - 'desc' => __('Payment gateways are what your customers will use to pay.', 'multisite-ultimate'), + 'title' => __('Active Payment Gateways', 'ultimate-multisite'), + 'desc' => __('Payment gateways are what your customers will use to pay.', 'ultimate-multisite'), 'type' => 'multiselect', 'columns' => 2, 'options' => [$this, 'get_gateways_as_options'], @@ -397,31 +397,31 @@ public function add_default_gateways(): void { /* * Free Payments */ - wu_register_gateway('free', __('Free', 'multisite-ultimate'), '', Free_Gateway::class, true); + wu_register_gateway('free', __('Free', 'ultimate-multisite'), '', Free_Gateway::class, true); /* * Stripe Payments */ - $stripe_desc = __('Stripe is a suite of payment APIs that powers commerce for businesses of all sizes, including subscription management.', 'multisite-ultimate'); - wu_register_gateway('stripe', __('Stripe', 'multisite-ultimate'), $stripe_desc, Stripe_Gateway::class); + $stripe_desc = __('Stripe is a suite of payment APIs that powers commerce for businesses of all sizes, including subscription management.', 'ultimate-multisite'); + wu_register_gateway('stripe', __('Stripe', 'ultimate-multisite'), $stripe_desc, Stripe_Gateway::class); /* * Stripe Checkout Payments */ - $stripe_checkout_desc = __('Stripe Checkout is the hosted solution for checkouts using Stripe.', 'multisite-ultimate'); - wu_register_gateway('stripe-checkout', __('Stripe Checkout', 'multisite-ultimate'), $stripe_checkout_desc, Stripe_Checkout_Gateway::class); + $stripe_checkout_desc = __('Stripe Checkout is the hosted solution for checkouts using Stripe.', 'ultimate-multisite'); + wu_register_gateway('stripe-checkout', __('Stripe Checkout', 'ultimate-multisite'), $stripe_checkout_desc, Stripe_Checkout_Gateway::class); /* * PayPal Payments */ - $paypal_desc = __('PayPal is the leading provider in checkout solutions and it is the easier way to get your network subscriptions going.', 'multisite-ultimate'); - wu_register_gateway('paypal', __('PayPal', 'multisite-ultimate'), $paypal_desc, PayPal_Gateway::class); + $paypal_desc = __('PayPal is the leading provider in checkout solutions and it is the easier way to get your network subscriptions going.', 'ultimate-multisite'); + wu_register_gateway('paypal', __('PayPal', 'ultimate-multisite'), $paypal_desc, PayPal_Gateway::class); /* * Manual Payments */ - $manual_desc = __('Use the Manual Gateway to allow users to pay you directly via bank transfers, checks, or other channels.', 'multisite-ultimate'); - wu_register_gateway('manual', __('Manual', 'multisite-ultimate'), $manual_desc, Manual_Gateway::class); + $manual_desc = __('Use the Manual Gateway to allow users to pay you directly via bank transfers, checks, or other channels.', 'ultimate-multisite'); + wu_register_gateway('manual', __('Manual', 'ultimate-multisite'), $manual_desc, Manual_Gateway::class); } /** diff --git a/inc/managers/class-limitation-manager.php b/inc/managers/class-limitation-manager.php index a410e97e6..762a1de4d 100644 --- a/inc/managers/class-limitation-manager.php +++ b/inc/managers/class-limitation-manager.php @@ -138,15 +138,15 @@ public function render_confirm_limitations_reset(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Reset', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Reset', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Reset Limitations', 'multisite-ultimate'), + 'title' => __('Reset Limitations', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -165,7 +165,7 @@ public function render_confirm_limitations_reset(): void { ]; $form_attributes = [ - 'title' => __('Reset', 'multisite-ultimate'), + 'title' => __('Reset', 'ultimate-multisite'), 'views' => 'admin-pages/fields', 'classes' => 'wu-modal-form wu-widget-list wu-striped wu-m-0 wu-mt-0', 'field_wrapper_classes' => 'wu-w-full wu-box-border wu-items-center wu-flex wu-justify-between wu-p-4 wu-m-0 wu-border-t wu-border-l-0 wu-border-r-0 wu-border-b-0 wu-border-gray-300 wu-border-solid', @@ -200,7 +200,7 @@ public function handle_confirm_limitations_reset(): void { wp_send_json_error( new \WP_Error( 'parameters-not-found', - __('Required parameters are missing.', 'multisite-ultimate') + __('Required parameters are missing.', 'ultimate-multisite') ) ); } @@ -258,11 +258,11 @@ public function get_object_type($object_model) { public function add_limitation_sections($sections, $object_model) { if ( $this->get_object_type($object_model) === 'site' && $object_model->get_type() !== Site_Type::CUSTOMER_OWNED) { - $html = sprintf('%s', __('Limitations are only available for customer-owned sites. You need to change the type to Customer-owned and save this site before the options are shown.', 'multisite-ultimate')); + $html = sprintf('%s', __('Limitations are only available for customer-owned sites. You need to change the type to Customer-owned and save this site before the options are shown.', 'ultimate-multisite')); $sections['sites'] = [ - 'title' => __('Limits', 'multisite-ultimate'), - 'desc' => __('Only customer-owned sites have limitations.', 'multisite-ultimate'), + 'title' => __('Limits', 'ultimate-multisite'), + 'desc' => __('Only customer-owned sites have limitations.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-browser', 'fields' => [ 'note' => [ @@ -277,8 +277,8 @@ public function add_limitation_sections($sections, $object_model) { if ( $this->get_object_type($object_model) !== 'site') { $sections['sites'] = [ - 'title' => __('Sites', 'multisite-ultimate'), - 'desc' => __('Control limitations imposed to the number of sites allowed for memberships attached to this product.', 'multisite-ultimate'), + 'title' => __('Sites', 'ultimate-multisite'), + 'desc' => __('Control limitations imposed to the number of sites allowed for memberships attached to this product.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-browser', 'fields' => $this->get_sites_fields($object_model), 'v-show' => "get_state_value('product_type', 'none') !== 'service'", @@ -293,8 +293,8 @@ public function add_limitation_sections($sections, $object_model) { */ if ((bool) wu_get_setting('enable_visits_limiting', true)) { $sections['visits'] = [ - 'title' => __('Visits', 'multisite-ultimate'), - 'desc' => __('Control limitations imposed to the number of unique visitors allowed for memberships attached to this product.', 'multisite-ultimate'), + 'title' => __('Visits', 'ultimate-multisite'), + 'desc' => __('Control limitations imposed to the number of unique visitors allowed for memberships attached to this product.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-man', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -303,8 +303,8 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'modules[visits][enabled]' => [ 'type' => 'toggle', - 'title' => __('Limit Unique Visits', 'multisite-ultimate'), - 'desc' => __('Toggle this option to enable unique visits limitation.', 'multisite-ultimate'), + 'title' => __('Limit Unique Visits', 'ultimate-multisite'), + 'desc' => __('Toggle this option to enable unique visits limitation.', 'ultimate-multisite'), 'value' => 10, 'html_attr' => [ 'v-model' => 'limit_visits', @@ -319,9 +319,9 @@ public function add_limitation_sections($sections, $object_model) { $sections['visits']['fields']['modules[visits][limit]'] = [ 'type' => 'number', - 'title' => __('Unique Visits Quota', 'multisite-ultimate'), - 'desc' => __('Set a top limit for the number of monthly unique visits. Leave empty or 0 to allow for unlimited visits.', 'multisite-ultimate'), - 'placeholder' => __('e.g. 10000', 'multisite-ultimate'), + 'title' => __('Unique Visits Quota', 'ultimate-multisite'), + 'desc' => __('Set a top limit for the number of monthly unique visits. Leave empty or 0 to allow for unlimited visits.', 'ultimate-multisite'), + 'placeholder' => __('e.g. 10000', 'ultimate-multisite'), 'value' => $object_model->get_limitations()->visits->get_limit(), 'wrapper_html_attr' => [ 'v-show' => 'limit_visits', @@ -343,8 +343,8 @@ public function add_limitation_sections($sections, $object_model) { if ( $this->get_object_type($object_model) === 'site') { $sections['visits']['fields']['visits_count'] = [ 'type' => 'text-display', - 'title' => __('Current Unique Visits Count this Month', 'multisite-ultimate'), - 'desc' => __('Current visits count for this particular site.', 'multisite-ultimate'), + 'title' => __('Current Unique Visits Count this Month', 'ultimate-multisite'), + 'desc' => __('Current visits count for this particular site.', 'ultimate-multisite'), 'display_value' => sprintf('%s visit(s)', $object_model->get_visits_count()), 'wrapper_html_attr' => [ 'v-show' => 'limit_visits', @@ -355,8 +355,8 @@ public function add_limitation_sections($sections, $object_model) { } $sections['users'] = [ - 'title' => __('Users', 'multisite-ultimate'), - 'desc' => __('Control limitations imposed to the number of user allowed for memberships attached to this product.', 'multisite-ultimate'), + 'title' => __('Users', 'ultimate-multisite'), + 'desc' => __('Control limitations imposed to the number of user allowed for memberships attached to this product.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-users', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -365,8 +365,8 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'modules[users][enabled]' => [ 'type' => 'toggle', - 'title' => __('Limit User', 'multisite-ultimate'), - 'desc' => __('Enable user limitations for this product.', 'multisite-ultimate'), + 'title' => __('Limit User', 'ultimate-multisite'), + 'desc' => __('Enable user limitations for this product.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'limit_users', ], @@ -381,8 +381,8 @@ public function add_limitation_sections($sections, $object_model) { $this->register_user_fields($sections, $object_model); $sections['post_types'] = [ - 'title' => __('Post Types', 'multisite-ultimate'), - 'desc' => __('Control limitations imposed to the number of posts allowed for memberships attached to this product.', 'multisite-ultimate'), + 'title' => __('Post Types', 'ultimate-multisite'), + 'desc' => __('Control limitations imposed to the number of posts allowed for memberships attached to this product.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-book', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -391,8 +391,8 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'modules[post_types][enabled]' => [ 'type' => 'toggle', - 'title' => __('Limit Post Types', 'multisite-ultimate'), - 'desc' => __('Toggle this option to set limits to each post type.', 'multisite-ultimate'), + 'title' => __('Limit Post Types', 'ultimate-multisite'), + 'desc' => __('Toggle this option to set limits to each post type.', 'ultimate-multisite'), 'value' => false, 'html_attr' => [ 'v-model' => 'limit_post_types', @@ -407,7 +407,7 @@ public function add_limitation_sections($sections, $object_model) { $sections['post_types']['post_quota_note'] = [ 'type' => 'note', - 'desc' => __('Note: Using the fields below you can set a post limit for each of the post types activated.
Toggle the switch to deactivate the post type altogether. Leave 0 or blank for unlimited posts.', 'multisite-ultimate'), + 'desc' => __('Note: Using the fields below you can set a post limit for each of the post types activated.
Toggle the switch to deactivate the post type altogether. Leave 0 or blank for unlimited posts.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'limit_post_types', 'v-cloak' => '1', @@ -417,8 +417,8 @@ public function add_limitation_sections($sections, $object_model) { $this->register_post_type_fields($sections, $object_model); $sections['limit_disk_space'] = [ - 'title' => __('Disk Space', 'multisite-ultimate'), - 'desc' => __('Control limitations imposed to the disk space allowed for memberships attached to this entity.', 'multisite-ultimate'), + 'title' => __('Disk Space', 'ultimate-multisite'), + 'desc' => __('Control limitations imposed to the disk space allowed for memberships attached to this entity.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-drive', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -427,8 +427,8 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'modules[disk_space][enabled]' => [ 'type' => 'toggle', - 'title' => __('Limit Disk Space per Site', 'multisite-ultimate'), - 'desc' => __('Enable disk space limitations for this entity.', 'multisite-ultimate'), + 'title' => __('Limit Disk Space per Site', 'ultimate-multisite'), + 'desc' => __('Enable disk space limitations for this entity.', 'ultimate-multisite'), 'value' => true, 'html_attr' => [ 'v-model' => 'limit_disk_space', @@ -443,8 +443,8 @@ public function add_limitation_sections($sections, $object_model) { $sections['limit_disk_space']['fields']['modules[disk_space][limit]'] = [ 'type' => 'number', - 'title' => __('Disk Space Allowance', 'multisite-ultimate'), - 'desc' => __('Set a limit in MBs for the disk space for each individual site.', 'multisite-ultimate'), + 'title' => __('Disk Space Allowance', 'ultimate-multisite'), + 'desc' => __('Set a limit in MBs for the disk space for each individual site.', 'ultimate-multisite'), 'min' => 0, 'placeholder' => 100, 'value' => $object_model->get_limitations()->disk_space->get_limit(), @@ -459,8 +459,8 @@ public function add_limitation_sections($sections, $object_model) { } $sections['custom_domain'] = [ - 'title' => __('Custom Domains', 'multisite-ultimate'), - 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'multisite-ultimate'), + 'title' => __('Custom Domains', 'ultimate-multisite'), + 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-link1', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -469,8 +469,8 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'modules[domain_mapping][enabled]' => [ 'type' => 'toggle', - 'title' => __('Allow Custom Domains', 'multisite-ultimate'), - 'desc' => __('Toggle this option on to allow this plan to enable custom domains for sign-ups on this plan.', 'multisite-ultimate'), + 'title' => __('Allow Custom Domains', 'ultimate-multisite'), + 'desc' => __('Toggle this option on to allow this plan to enable custom domains for sign-ups on this plan.', 'ultimate-multisite'), 'value' => $object_model->get_limitations()->domain_mapping->is_enabled(), 'wrapper_html_attr' => [ 'v-cloak' => '1', @@ -487,8 +487,8 @@ public function add_limitation_sections($sections, $object_model) { } $sections['allowed_themes'] = [ - 'title' => __('Themes', 'multisite-ultimate'), - 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'multisite-ultimate'), + 'title' => __('Themes', 'ultimate-multisite'), + 'desc' => __('Limit the number of users on each role, posts, pages, and more.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-palette', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'state' => [ @@ -497,23 +497,23 @@ public function add_limitation_sections($sections, $object_model) { 'fields' => [ 'themes' => [ 'type' => 'html', - 'title' => __('Themes', 'multisite-ultimate'), - 'desc' => __('Select how the themes installed on the network should behave.', 'multisite-ultimate'), + 'title' => __('Themes', 'ultimate-multisite'), + 'desc' => __('Select how the themes installed on the network should behave.', 'ultimate-multisite'), 'content' => fn() => $this->get_theme_selection_list($object_model, $sections['allowed_themes']), ], ], ]; $sections['allowed_plugins'] = [ - 'title' => __('Plugins', 'multisite-ultimate'), - 'desc' => __('You can choose the behavior of each plugin installed on the platform.', 'multisite-ultimate'), + 'title' => __('Plugins', 'ultimate-multisite'), + 'desc' => __('You can choose the behavior of each plugin installed on the platform.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-power-plug', 'v-show' => "get_state_value('product_type', 'none') !== 'service'", 'fields' => [ 'plugins' => [ 'type' => 'html', - 'title' => __('Plugins', 'multisite-ultimate'), - 'desc' => __('Select how the plugins installed on the network should behave.', 'multisite-ultimate'), + 'title' => __('Plugins', 'ultimate-multisite'), + 'desc' => __('Select how the plugins installed on the network should behave.', 'ultimate-multisite'), 'content' => fn() => $this->get_plugin_selection_list($object_model), ], ], @@ -528,14 +528,14 @@ public function add_limitation_sections($sections, $object_model) { ); $sections['reset_limitations'] = [ - 'title' => __('Reset Limitations', 'multisite-ultimate'), - 'desc' => __('Reset the limitations applied to this element.', 'multisite-ultimate'), + 'title' => __('Reset Limitations', 'ultimate-multisite'), + 'desc' => __('Reset the limitations applied to this element.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-back-in-time', 'fields' => [ 'reset_permissions' => [ 'type' => 'note', - 'title' => sprintf("%s%s", __('Reset Limitations', 'multisite-ultimate'), __('Use this option to reset the custom limitations applied to this object.', 'multisite-ultimate')), - 'desc' => sprintf('%s', $reset_url, __('Reset Limitations', 'multisite-ultimate'), __('Reset Limitations', 'multisite-ultimate')), + 'title' => sprintf("%s%s", __('Reset Limitations', 'ultimate-multisite'), __('Use this option to reset the custom limitations applied to this object.', 'ultimate-multisite')), + 'desc' => sprintf('%s', $reset_url, __('Reset Limitations', 'ultimate-multisite'), __('Reset Limitations', 'ultimate-multisite')), ], ], ]; @@ -554,7 +554,7 @@ public function add_limitation_sections($sections, $object_model) { */ protected function override_notice($show = false, $additional_checks = []) { - $text = sprintf('

%s

', __('This value is being applied only to this entity. Changes made to the membership or product permissions will not affect this particular value.', 'multisite-ultimate')); + $text = sprintf('

%s

', __('This value is being applied only to this entity. Changes made to the membership or product permissions will not affect this particular value.', 'ultimate-multisite')); return [ 'desc' => $text, @@ -589,12 +589,12 @@ public function register_user_fields(&$sections, $object_model): void { $sections['users']['fields'][ "control_{$user_role_slug}" ] = [ 'type' => 'group', // translators: %s is the user role name. - 'title' => sprintf(__('Limit %s Role', 'multisite-ultimate'), $user_role['name']), + 'title' => sprintf(__('Limit %s Role', 'ultimate-multisite'), $user_role['name']), // translators: %s is the user role name. 'desc' => sprintf( // translators: %s is the user role name. - __('The customer will be able to create %s users(s) of this user role.', 'multisite-ultimate'), - "{{ roles['{$user_role_slug}'].enabled ? ( parseInt(roles['{$user_role_slug}'].number, 10) ? roles['{$user_role_slug}'].number : '" . __('unlimited', 'multisite-ultimate') . "' ) : '" . __('no', 'multisite-ultimate') . "' }}" + __('The customer will be able to create %s users(s) of this user role.', 'ultimate-multisite'), + "{{ roles['{$user_role_slug}'].enabled ? ( parseInt(roles['{$user_role_slug}'].number, 10) ? roles['{$user_role_slug}'].number : '" . __('unlimited', 'ultimate-multisite') . "' ) : '" . __('no', 'ultimate-multisite') . "' }}" ), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -606,7 +606,7 @@ public function register_user_fields(&$sections, $object_model): void { "modules[users][limit][{$user_role_slug}][number]" => [ 'type' => 'number', // translators: %s is the user role name. - 'placeholder' => sprintf(__('%s Role Quota. e.g. 10', 'multisite-ultimate'), $user_role['name']), + 'placeholder' => sprintf(__('%s Role Quota. e.g. 10', 'ultimate-multisite'), $user_role['name']), 'min' => 0, 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -658,11 +658,11 @@ public function register_post_type_fields(&$sections, $object_model): void { $sections['post_types']['fields'][ "control_{$post_type_slug}" ] = [ 'type' => 'group', // translators: %s is the post type name. - 'title' => sprintf(__('Limit %s', 'multisite-ultimate'), $post_type->label), + 'title' => sprintf(__('Limit %s', 'ultimate-multisite'), $post_type->label), 'desc' => sprintf( // translators: %s is the post type name. - __('The customer will be able to create %s post(s) of this post type.', 'multisite-ultimate'), - "{{ types['{$post_type_slug}'].enabled ? ( parseInt(types['{$post_type_slug}'].number, 10) ? types['{$post_type_slug}'].number : '" . __('unlimited', 'multisite-ultimate') . "' ) : '" . __('no', 'multisite-ultimate') . "' }}" + __('The customer will be able to create %s post(s) of this post type.', 'ultimate-multisite'), + "{{ types['{$post_type_slug}'].enabled ? ( parseInt(types['{$post_type_slug}'].number, 10) ? types['{$post_type_slug}'].number : '" . __('unlimited', 'ultimate-multisite') . "' ) : '" . __('no', 'ultimate-multisite') . "' }}" ), 'tooltip' => '', 'wrapper_html_attr' => [ @@ -674,7 +674,7 @@ public function register_post_type_fields(&$sections, $object_model): void { "modules[post_types][limit][{$post_type_slug}][number]" => [ 'type' => 'number', // translators: %s is the post type name. - 'placeholder' => sprintf(__('%s Quota. e.g. 200', 'multisite-ultimate'), $post_type->label), + 'placeholder' => sprintf(__('%s Quota. e.g. 200', 'ultimate-multisite'), $post_type->label), 'min' => 0, 'wrapper_classes' => 'wu-w-full', 'html_attr' => [ @@ -720,8 +720,8 @@ protected function get_sites_fields($object_model) { $fields = [ 'modules[sites][enabled]' => [ 'type' => 'toggle', - 'title' => __('Limit Sites', 'multisite-ultimate'), - 'desc' => __('Enable site limitations for this product.', 'multisite-ultimate'), + 'title' => __('Limit Sites', 'ultimate-multisite'), + 'desc' => __('Enable site limitations for this product.', 'ultimate-multisite'), 'value' => $object_model->get_limitations()->sites->is_enabled(), 'html_attr' => [ 'v-model' => 'limit_sites', @@ -738,7 +738,7 @@ protected function get_sites_fields($object_model) { */ $fields['site_not_allowed_note'] = [ 'type' => 'note', - 'desc' => __('The product type selection does not support allowing for the creating of extra sites.', 'multisite-ultimate'), + 'desc' => __('The product type selection does not support allowing for the creating of extra sites.', 'ultimate-multisite'), 'tooltip' => '', 'wrapper_html_attr' => [ 'v-show' => "get_state_value('product_type', 'none') === 'service' && limit_sites", @@ -749,8 +749,8 @@ protected function get_sites_fields($object_model) { $fields['modules[sites][limit]'] = [ 'type' => 'number', 'min' => 1, - 'title' => __('Site Allowance', 'multisite-ultimate'), - 'desc' => __('This is the number of sites the customer will be able to create under this membership.', 'multisite-ultimate'), + 'title' => __('Site Allowance', 'ultimate-multisite'), + 'desc' => __('This is the number of sites the customer will be able to create under this membership.', 'ultimate-multisite'), 'placeholder' => 1, 'value' => $object_model->get_limitations()->sites->get_limit(), 'wrapper_html_attr' => [ @@ -811,7 +811,7 @@ public function get_theme_selection_list($obj, &$section) { } /** - * Returns a list of all plugins available as options, excluding Multisite Ultimate. + * Returns a list of all plugins available as options, excluding Ultimate Multisite. * * We also exclude a couple more. * @@ -854,7 +854,7 @@ public function get_all_themes(): array { /** * Returns the exclusion list for plugins. * - * We don't want people forcing Multisite Ultimate to be deactivated, do we? + * We don't want people forcing Ultimate Multisite to be deactivated, do we? * * @since 2.0.0 * @return array diff --git a/inc/managers/class-membership-manager.php b/inc/managers/class-membership-manager.php index e318621ec..ea4c4d922 100644 --- a/inc/managers/class-membership-manager.php +++ b/inc/managers/class-membership-manager.php @@ -59,7 +59,7 @@ public function init(): void { add_action( 'init', function () { - Event_Manager::register_model_events('membership', __('Membership', 'multisite-ultimate'), ['created', 'updated']); + Event_Manager::register_model_events('membership', __('Membership', 'ultimate-multisite'), ['created', 'updated']); } ); @@ -127,7 +127,7 @@ public function async_publish_pending_site($membership_id) { $membership = wu_get_membership($membership_id); if ( ! $membership) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $status = $membership->publish_pending_site(); @@ -151,7 +151,7 @@ public function check_pending_site_created() { $membership = wu_get_membership_by_hash($membership_id); if ( ! $membership) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $pending_site = $membership->get_pending_site(); @@ -185,13 +185,13 @@ public function async_membership_swap($membership_id) { $membership = wu_get_membership($membership_id); if ( ! $membership) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $scheduled_swap = $membership->get_scheduled_swap(); if (empty($scheduled_swap)) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $order = $scheduled_swap->order; @@ -206,12 +206,12 @@ public function async_membership_swap($membership_id) { if (is_wp_error($status)) { $wpdb->query('ROLLBACK'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } } catch (\Throwable $exception) { $wpdb->query('ROLLBACK'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } /* @@ -303,7 +303,7 @@ public function async_transfer_membership($membership_id, $target_customer_id) { $target_customer = wu_get_customer($target_customer_id); if ( ! $membership || ! $target_customer || absint($membership->get_customer_id()) === absint($target_customer->get_id())) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $wpdb->query('START TRANSACTION'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery @@ -375,7 +375,7 @@ public function async_delete_membership($membership_id) { $membership = wu_get_membership($membership_id); if ( ! $membership) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $wpdb->query('START TRANSACTION'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery diff --git a/inc/managers/class-notes-manager.php b/inc/managers/class-notes-manager.php index 5fd450f40..d7f5f219a 100644 --- a/inc/managers/class-notes-manager.php +++ b/inc/managers/class-notes-manager.php @@ -142,7 +142,7 @@ public function add_notes_options_section($sections, $obj) { if (current_user_can('delete_notes')) { $fields_buttons['button_clear_notes'] = [ 'type' => 'link', - 'display_value' => __('Clear Notes', 'multisite-ultimate'), + 'display_value' => __('Clear Notes', 'ultimate-multisite'), 'wrapper_classes' => 'wu-mb-0', 'classes' => 'button wubox', 'html_attr' => [ @@ -153,7 +153,7 @@ public function add_notes_options_section($sections, $obj) { 'model' => $obj->model, ] ), - 'title' => __('Clear Notes', 'multisite-ultimate'), + 'title' => __('Clear Notes', 'ultimate-multisite'), ], ]; } @@ -161,7 +161,7 @@ public function add_notes_options_section($sections, $obj) { if (current_user_can('edit_notes')) { $fields_buttons['button_add_note'] = [ 'type' => 'link', - 'display_value' => __('Add new Note', 'multisite-ultimate'), + 'display_value' => __('Add new Note', 'ultimate-multisite'), 'wrapper_classes' => 'wu-mb-0', 'classes' => 'button button-primary wubox wu-absolute wu-right-5', 'html_attr' => [ @@ -173,7 +173,7 @@ public function add_notes_options_section($sections, $obj) { 'height' => 306, ] ), - 'title' => __('Add new Note', 'multisite-ultimate'), + 'title' => __('Add new Note', 'ultimate-multisite'), ], ]; } @@ -185,8 +185,8 @@ public function add_notes_options_section($sections, $obj) { ]; $sections['notes'] = [ - 'title' => __('Notes', 'multisite-ultimate'), - 'desc' => __('Add notes to this model.', 'multisite-ultimate'), + 'title' => __('Notes', 'ultimate-multisite'), + 'desc' => __('Add notes to this model.', 'ultimate-multisite'), 'icon' => 'dashicons-wu-text-document', 'order' => 1001, 'fields' => $fields, @@ -207,8 +207,8 @@ public function render_add_note_modal(): void { 'content' => [ 'id' => 'content', 'type' => 'wp-editor', - 'title' => __('Note Content', 'multisite-ultimate'), - 'desc' => __('Basic formatting is supported.', 'multisite-ultimate'), + 'title' => __('Note Content', 'ultimate-multisite'), + 'desc' => __('Basic formatting is supported.', 'ultimate-multisite'), 'settings' => [ 'tinymce' => [ 'toolbar1' => 'bold,italic,strikethrough,link,unlink,undo,redo,pastetext', @@ -220,8 +220,8 @@ public function render_add_note_modal(): void { ], 'submit_add_note' => [ 'type' => 'submit', - 'title' => __('Add Note', 'multisite-ultimate'), - 'placeholder' => __('Add Note', 'multisite-ultimate'), + 'title' => __('Add Note', 'ultimate-multisite'), + 'placeholder' => __('Add Note', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -308,16 +308,16 @@ public function render_clear_notes_modal(): void { $fields = [ 'confirm_clear_notes' => [ 'type' => 'toggle', - 'title' => __('Confirm clear all notes?', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm clear all notes?', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_clear_notes' => [ 'type' => 'submit', - 'title' => __('Clear Notes', 'multisite-ultimate'), - 'placeholder' => __('Clear Notes', 'multisite-ultimate'), + 'title' => __('Clear Notes', 'ultimate-multisite'), + 'placeholder' => __('Clear Notes', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -403,16 +403,16 @@ public function render_delete_note_modal(): void { $fields = [ 'confirm_delete_note' => [ 'type' => 'toggle', - 'title' => __('Confirm clear the note?', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm clear the note?', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_delete_note' => [ 'type' => 'submit', - 'title' => __('Clear Note', 'multisite-ultimate'), - 'placeholder' => __('Clear Note', 'multisite-ultimate'), + 'title' => __('Clear Note', 'ultimate-multisite'), + 'placeholder' => __('Clear Note', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -475,7 +475,7 @@ public function handle_delete_note_modal(): void { $status = $object->delete_note($note_id); if (is_wp_error($status) || false === $status) { - wp_send_json_error(new \WP_Error('not-found', __('Note not found', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('not-found', __('Note not found', 'ultimate-multisite'))); } wp_send_json_success( diff --git a/inc/managers/class-notification-manager.php b/inc/managers/class-notification-manager.php index b2df24906..561ee2073 100644 --- a/inc/managers/class-notification-manager.php +++ b/inc/managers/class-notification-manager.php @@ -109,7 +109,7 @@ public function clear_callback_list($callbacks): bool { } /** - * Filter the Multisite Ultimate settings to add Notifications Options + * Filter the Ultimate Multisite settings to add Notifications Options * * @since 2.0.0 * @@ -121,8 +121,8 @@ public function add_settings(): void { 'sites', 'hide_notifications_subsites', [ - 'title' => __('Hide Admin Notices on Sites', 'multisite-ultimate'), - 'desc' => __('Hide all admin notices on network sites, except for Multisite Ultimate broadcasts.', 'multisite-ultimate'), + 'title' => __('Hide Admin Notices on Sites', 'ultimate-multisite'), + 'desc' => __('Hide all admin notices on network sites, except for Ultimate Multisite broadcasts.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'order' => 25, diff --git a/inc/managers/class-payment-manager.php b/inc/managers/class-payment-manager.php index a669a55fe..b2c30077a 100644 --- a/inc/managers/class-payment-manager.php +++ b/inc/managers/class-payment-manager.php @@ -66,7 +66,7 @@ public function init(): void { function () { Event_Manager::register_model_events( 'payment', - __('Payment', 'multisite-ultimate'), + __('Payment', 'ultimate-multisite'), ['created', 'updated'] ); } @@ -169,7 +169,7 @@ public function show_pending_payments(): void { wp_enqueue_style('wu-admin'); add_wubox(); - $form_title = __('Pending Payments', 'multisite-ultimate'); + $form_title = __('Pending Payments', 'ultimate-multisite'); $form_url = wu_get_form_url('pending_payments'); wp_add_inline_script('wubox', sprintf("document.addEventListener('DOMContentLoaded', function(){wubox.show('%s', '%s');});", esc_js($form_title), $form_url)); @@ -225,7 +225,7 @@ public function render_pending_payments(): void { } } - $message = ! empty($pending_payments) ? __('You have pending payments on your account!', 'multisite-ultimate') : __('You do not have pending payments on your account!', 'multisite-ultimate'); + $message = ! empty($pending_payments) ? __('You have pending payments on your account!', 'ultimate-multisite') : __('You do not have pending payments on your account!', 'ultimate-multisite'); /** * Allow user to change the message about the pending payments. @@ -252,7 +252,7 @@ public function render_pending_payments(): void { $url = $payment->get_payment_url(); - $html = sprintf('%s', $url, __('Pay Now', 'multisite-ultimate')); + $html = sprintf('%s', $url, __('Pay Now', 'ultimate-multisite')); $title = $slug; @@ -290,13 +290,13 @@ public function invoice_viewer(): void { * Validates nonce. */ if ( ! wp_verify_nonce(wu_request('key'), 'see_invoice')) { - wp_die(esc_html__('You do not have permissions to access this file.', 'multisite-ultimate')); + wp_die(esc_html__('You do not have permissions to access this file.', 'ultimate-multisite')); } $payment = wu_get_payment_by_hash(wu_request('reference')); if ( ! $payment) { - wp_die(esc_html__('This invoice does not exist.', 'multisite-ultimate')); + wp_die(esc_html__('This invoice does not exist.', 'ultimate-multisite')); } $invoice = new Invoice($payment); @@ -328,7 +328,7 @@ public function async_transfer_payment($payment_id, $target_customer_id) { $target_customer = wu_get_customer($target_customer_id); if ( ! $payment || ! $target_customer || $payment->get_customer_id() === $target_customer->get_id()) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $wpdb->query('START TRANSACTION'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery @@ -373,7 +373,7 @@ public function async_delete_payment($payment_id) { $payment = wu_get_payment($payment_id); if ( ! $payment) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $wpdb->query('START TRANSACTION'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery diff --git a/inc/managers/class-signup-fields-manager.php b/inc/managers/class-signup-fields-manager.php index aeccdd98c..f6a5f4c5b 100644 --- a/inc/managers/class-signup-fields-manager.php +++ b/inc/managers/class-signup-fields-manager.php @@ -54,7 +54,6 @@ public function get_field_types() { 'template_selection' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Template_Selection::class, 'username' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Username::class, 'email' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Email::class, - 'email_confirmation' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Email_Confirmation::class, 'password' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Password::class, 'site_title' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Site_Title::class, 'site_url' => \WP_Ultimo\Checkout\Signup_Fields\Signup_Field_Site_Url::class, diff --git a/inc/managers/class-site-manager.php b/inc/managers/class-site-manager.php index ffa6eda08..5daf07baf 100644 --- a/inc/managers/class-site-manager.php +++ b/inc/managers/class-site-manager.php @@ -114,7 +114,7 @@ public function allow_hyphens_in_site_name($result) { $blogname_errors = $errors->get_error_messages('blogname'); - $message_to_ignore = __('Site names can only contain lowercase letters (a-z) and numbers.', 'multisite-ultimate'); + $message_to_ignore = __('Site names can only contain lowercase letters (a-z) and numbers.', 'ultimate-multisite'); $error_key = array_search($message_to_ignore, $blogname_errors, true); @@ -131,7 +131,7 @@ public function allow_hyphens_in_site_name($result) { } if (preg_match('/[^a-z0-9-]+/', (string) $result['blogname'])) { - $result['errors']->add('blogname', __('Site names can only contain lowercase letters (a-z), numbers, and hyphens.', 'multisite-ultimate')); + $result['errors']->add('blogname', __('Site names can only contain lowercase letters (a-z), numbers, and hyphens.', 'ultimate-multisite')); } } @@ -164,7 +164,7 @@ public function maybe_validate_add_new_site($checkout): void { $customer = wu_get_current_customer(); if ( ! $customer || ! $membership || $customer->get_id() !== $membership->get_customer_id()) { - $errors->add('not-owner', __('You do not have the necessary permissions to create a site to this membership', 'multisite-ultimate')); + $errors->add('not-owner', __('You do not have the necessary permissions to create a site to this membership', 'ultimate-multisite')); } if ($errors->has_errors() === false) { @@ -313,8 +313,8 @@ public function lock_site(): void { wp_die( // translators: %s: link to the login page - sprintf(wp_kses_post(__('This site is not available at the moment.
If you are the site admin, click here to login.', 'multisite-ultimate')), esc_attr(wp_login_url())), - esc_html__('Site not available', 'multisite-ultimate'), + sprintf(wp_kses_post(__('This site is not available at the moment.
If you are the site admin, click here to login.', 'ultimate-multisite')), esc_attr(wp_login_url())), + esc_html__('Site not available', 'ultimate-multisite'), ); } } @@ -362,7 +362,7 @@ public function get_site_screenshot(): void { if ( ! $site) { wp_send_json_error( - new \WP_Error('missing-site', __('Site not found.', 'multisite-ultimate')) + new \WP_Error('missing-site', __('Site not found.', 'ultimate-multisite')) ); } @@ -372,7 +372,7 @@ public function get_site_screenshot(): void { if ( ! $attachment_id) { wp_send_json_error( - new \WP_Error('error', __('We were not able to fetch the screenshot.', 'multisite-ultimate')) + new \WP_Error('error', __('We were not able to fetch the screenshot.', 'ultimate-multisite')) ); } @@ -387,7 +387,7 @@ public function get_site_screenshot(): void { } /** - * Add the additional sizes required by Multisite Ultimate. + * Add the additional sizes required by Ultimate Multisite. * * Add for the main site only. * @@ -411,7 +411,7 @@ public function additional_thumbnail_sizes(): void { public function add_no_index_warning(): void { if (wu_get_setting('stop_template_indexing', false)) { - add_meta_box('wu-warnings', __('Multisite Ultimate - Search Engines', 'multisite-ultimate'), [$this, 'render_no_index_warning'], 'dashboard-network', 'normal', 'high'); + add_meta_box('wu-warnings', __('Ultimate Multisite - Search Engines', 'ultimate-multisite'), [$this, 'render_no_index_warning'], 'dashboard-network', 'normal', 'high'); } } @@ -428,10 +428,10 @@ public function render_no_index_warning(): void {
-

prevent search engines such as Google from indexing your template sites.', 'multisite-ultimate')); ?>

+

prevent search engines such as Google from indexing your template sites.', 'ultimate-multisite')); ?>

-

here.', 'multisite-ultimate'), wu_network_admin_url('wp-ultimo-settings', ['tab' => 'sites']))); ?>

+

here.', 'ultimate-multisite'), wu_network_admin_url('wp-ultimo-settings', ['tab' => 'sites']))); ?>

@@ -521,14 +521,14 @@ public function login_header_text() { } /** - * Add notices to default site page, recommending the Multisite Ultimate option. + * Add notices to default site page, recommending the Ultimate Multisite option. * * @since 2.0.0 * @return void */ public function add_notices_to_default_site_page(): void { - $notice = __('Hey there! We highly recommend managing your network sites using the Multisite Ultimate → Sites page.
If you want to avoid confusion, you can also hide this page from the admin panel completely on the Multisite Ultimate → Settings → Whitelabel options.', 'multisite-ultimate'); + $notice = __('Hey there! We highly recommend managing your network sites using the Ultimate Multisite → Sites page.
If you want to avoid confusion, you can also hide this page from the admin panel completely on the Ultimate Multisite → Settings → Whitelabel options.', 'ultimate-multisite'); WP_Ultimo()->notices->add( $notice, @@ -537,11 +537,11 @@ public function add_notices_to_default_site_page(): void { 'wu-sites-use-wp-ultimo', [ [ - 'title' => __('Go to the Multisite Ultimate Sites page →', 'multisite-ultimate'), + 'title' => __('Go to the Ultimate Multisite Sites page →', 'ultimate-multisite'), 'url' => wu_network_admin_url('wp-ultimo-sites'), ], [ - 'title' => __('Go to the Whitelabel Settings →', 'multisite-ultimate'), + 'title' => __('Go to the Whitelabel Settings →', 'ultimate-multisite'), 'url' => wu_network_admin_url( 'wp-ultimo-settings', [ diff --git a/inc/managers/class-visits-manager.php b/inc/managers/class-visits-manager.php index 601b9e4f8..e75876f4f 100644 --- a/inc/managers/class-visits-manager.php +++ b/inc/managers/class-visits-manager.php @@ -69,7 +69,7 @@ public function maybe_lock_site(): void { } if ($site->has_limitations() && $site->get_visits_count() > $site->get_limitations()->visits->get_limit()) { - wp_die(esc_html__('This site is not available at this time.', 'multisite-ultimate'), esc_html__('Not available', 'multisite-ultimate'), 404); + wp_die(esc_html__('This site is not available at this time.', 'ultimate-multisite'), esc_html__('Not available', 'ultimate-multisite'), 404); } } diff --git a/inc/managers/class-webhook-manager.php b/inc/managers/class-webhook-manager.php index fa0c47e47..eff77f94d 100644 --- a/inc/managers/class-webhook-manager.php +++ b/inc/managers/class-webhook-manager.php @@ -195,7 +195,7 @@ public function send_test_event(): void { if ( ! current_user_can('manage_network')) { wp_send_json( [ - 'response' => __('You do not have enough permissions to send a test event.', 'multisite-ultimate'), + 'response' => __('You do not have enough permissions to send a test event.', 'ultimate-multisite'), 'webhooks' => Webhook::get_items_as_array(), ] ); @@ -240,7 +240,7 @@ protected function create_event($event_name, $id, $url, $data, $response, $is_er $message = sprintf('Sent a %s event to the URL %s with data: %s ', $event_name, $url, wp_json_encode($data)); if ( ! $is_error) { - $message .= empty($response) ? sprintf('Got response: %s', $response) : 'To debug the remote server response, turn the "Wait for Response" option on the Multisite Ultimate Settings > API & Webhooks Tab'; + $message .= empty($response) ? sprintf('Got response: %s', $response) : 'To debug the remote server response, turn the "Wait for Response" option on the Ultimate Multisite Settings > API & Webhooks Tab'; } else { $message .= sprintf('Got error: %s', $response); } diff --git a/inc/models/class-base-model.php b/inc/models/class-base-model.php index 4ca7beecc..761eff498 100644 --- a/inc/models/class-base-model.php +++ b/inc/models/class-base-model.php @@ -183,7 +183,7 @@ public function get_hash($field = 'id') { $value = call_user_func([$this, "get_{$field}"]); if ( ! is_numeric($value)) { - _doing_it_wrong(__METHOD__, esc_html__('You can only use numeric fields to generate hashes.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(__METHOD__, esc_html__('You can only use numeric fields to generate hashes.', 'ultimate-multisite'), '2.0.0'); return false; } @@ -643,7 +643,7 @@ function ($_data) { public function delete() { if ( ! $this->get_id()) { - return new \WP_Error("wu_{$this->model}_delete_unsaved_item", __('Item not found.', 'multisite-ultimate')); + return new \WP_Error("wu_{$this->model}_delete_unsaved_item", __('Item not found.', 'ultimate-multisite')); } /** @@ -717,12 +717,12 @@ protected function is_meta_available() { if ( ! $this->get_meta_table_name()) { - // _doing_it_wrong(__METHOD__, __('This model does not support metadata.', 'multisite-ultimate'), '2.0.0'); + // _doing_it_wrong(__METHOD__, __('This model does not support metadata.', 'ultimate-multisite'), '2.0.0'); return false; } - // _doing_it_wrong(__METHOD__, __('Model metadata only works for already saved models.', 'multisite-ultimate'), '2.0.0'); + // _doing_it_wrong(__METHOD__, __('Model metadata only works for already saved models.', 'ultimate-multisite'), '2.0.0'); return ! (! $this->get_id() && ! $this->_mocked); } @@ -766,7 +766,7 @@ public function update_meta_batch($meta) { } if ( ! is_array($meta)) { - _doing_it_wrong(__METHOD__, esc_html__('This method expects an array as argument.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(__METHOD__, esc_html__('This method expects an array as argument.', 'ultimate-multisite'), '2.0.0'); return false; } diff --git a/inc/models/class-checkout-form.php b/inc/models/class-checkout-form.php index e27d48d9f..75317f177 100644 --- a/inc/models/class-checkout-form.php +++ b/inc/models/class-checkout-form.php @@ -52,10 +52,10 @@ class Checkout_Form extends Base_Model { protected $active = true; /** - * Payload of the event. + * Settings which hold the fields of the checkout form * * @since 2.0.0 - * @var object + * @var array */ protected $settings; @@ -239,7 +239,7 @@ public function set_custom_css($custom_css): void { * Get settings of the event. * * @since 2.0.0 - * @return mixed + * @return array */ public function get_settings() { @@ -258,7 +258,7 @@ public function get_settings() { * Set settings of the checkout form. * * @since 2.0.0 - * @param object $settings The checkout form settings and configurations. + * @param array|string $settings The checkout form settings and configurations. * @return void */ public function set_settings($settings): void { @@ -421,8 +421,6 @@ public function get_all_fields() { /** * Get all fields of a given type. * - * @since 2.0.11 - * * @param string|array $type The field type or types to search for. * @return array */ @@ -537,12 +535,12 @@ private function get_single_step_template() { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => [ [ 'step' => 'checkout', - 'name' => __('Plans', 'multisite-ultimate'), + 'name' => __('Plans', 'ultimate-multisite'), 'type' => 'pricing_table', 'id' => 'pricing_table', 'required' => true, @@ -551,7 +549,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Email', 'multisite-ultimate'), + 'name' => __('Email', 'ultimate-multisite'), 'type' => 'email', 'id' => 'email_address', 'required' => true, @@ -560,7 +558,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Username', 'multisite-ultimate'), + 'name' => __('Username', 'ultimate-multisite'), 'type' => 'username', 'id' => 'username', 'required' => true, @@ -570,7 +568,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Password', 'multisite-ultimate'), + 'name' => __('Password', 'ultimate-multisite'), 'type' => 'password', 'id' => 'password', 'required' => true, @@ -581,7 +579,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Site Title', 'multisite-ultimate'), + 'name' => __('Site Title', 'ultimate-multisite'), 'type' => 'site_title', 'id' => 'site_title', 'required' => true, @@ -591,7 +589,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Site URL', 'multisite-ultimate'), + 'name' => __('Site URL', 'ultimate-multisite'), 'type' => 'site_url', 'id' => 'site_url', 'placeholder' => '', @@ -602,7 +600,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Your Order', 'multisite-ultimate'), + 'name' => __('Your Order', 'ultimate-multisite'), 'type' => 'order_summary', 'id' => 'order_summary', 'order_summary_template' => 'clean', @@ -610,13 +608,13 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Payment Method', 'multisite-ultimate'), + 'name' => __('Payment Method', 'ultimate-multisite'), 'type' => 'payment', 'id' => 'payment', ], [ 'step' => 'checkout', - 'name' => __('Billing Address', 'multisite-ultimate'), + 'name' => __('Billing Address', 'ultimate-multisite'), 'type' => 'billing_address', 'id' => 'billing_address', 'required' => true, @@ -624,7 +622,7 @@ private function get_single_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', ], @@ -646,7 +644,7 @@ private function get_multi_step_template() { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => [ [ @@ -660,7 +658,7 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Next Step', 'multisite-ultimate'), + 'name' => __('Next Step', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'next_step', ], @@ -668,12 +666,12 @@ private function get_multi_step_template() { ], [ 'id' => 'site', - 'name' => __('Site Info', 'multisite-ultimate'), + 'name' => __('Site Info', 'ultimate-multisite'), 'desc' => '', 'fields' => [ [ 'step' => 'checkout', - 'name' => __('Site Title', 'multisite-ultimate'), + 'name' => __('Site Title', 'ultimate-multisite'), 'type' => 'site_title', 'id' => 'site_title', 'required' => true, @@ -683,7 +681,7 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Site URL', 'multisite-ultimate'), + 'name' => __('Site URL', 'ultimate-multisite'), 'type' => 'site_url', 'id' => 'site_url', 'required' => true, @@ -694,7 +692,7 @@ private function get_multi_step_template() { ], [ 'step' => 'site', - 'name' => __('Next Step', 'multisite-ultimate'), + 'name' => __('Next Step', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'next_step_site', ], @@ -702,13 +700,13 @@ private function get_multi_step_template() { ], [ 'id' => 'user', - 'name' => __('User Info', 'multisite-ultimate'), + 'name' => __('User Info', 'ultimate-multisite'), 'logged' => 'guests_only', 'desc' => '', 'fields' => [ [ 'step' => 'checkout', - 'name' => __('Email', 'multisite-ultimate'), + 'name' => __('Email', 'ultimate-multisite'), 'type' => 'email', 'id' => 'email_address', 'required' => true, @@ -717,7 +715,7 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Username', 'multisite-ultimate'), + 'name' => __('Username', 'ultimate-multisite'), 'type' => 'username', 'id' => 'username', 'required' => true, @@ -727,7 +725,7 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Password', 'multisite-ultimate'), + 'name' => __('Password', 'ultimate-multisite'), 'type' => 'password', 'id' => 'password', 'required' => true, @@ -738,7 +736,7 @@ private function get_multi_step_template() { ], [ 'step' => 'user', - 'name' => __('Next Step', 'multisite-ultimate'), + 'name' => __('Next Step', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'next_step_user', ], @@ -746,12 +744,12 @@ private function get_multi_step_template() { ], [ 'id' => 'payment', - 'name' => __('Payment', 'multisite-ultimate'), + 'name' => __('Payment', 'ultimate-multisite'), 'desc' => '', 'fields' => [ [ 'step' => 'checkout', - 'name' => __('Your Order', 'multisite-ultimate'), + 'name' => __('Your Order', 'ultimate-multisite'), 'type' => 'order_summary', 'id' => 'order_summary', 'order_summary_template' => 'clean', @@ -759,13 +757,13 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Payment Method', 'multisite-ultimate'), + 'name' => __('Payment Method', 'ultimate-multisite'), 'type' => 'payment', 'id' => 'payment', ], [ 'step' => 'checkout', - 'name' => __('Billing Address', 'multisite-ultimate'), + 'name' => __('Billing Address', 'ultimate-multisite'), 'type' => 'billing_address', 'id' => 'billing_address', 'required' => true, @@ -773,7 +771,7 @@ private function get_multi_step_template() { ], [ 'step' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', ], @@ -785,7 +783,7 @@ private function get_multi_step_template() { } /** - * Converts the steps from classic Multisite Ultimate 1.X to the 2.0 format. + * Converts the steps from classic Ultimate Multisite 1.X to the 2.0 format. * * @since 2.0.0 * @@ -832,17 +830,17 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { 'enable_price_1' => [ 'duration' => '1', 'duration_unit' => 'month', - 'label' => __('Monthly', 'multisite-ultimate'), + 'label' => __('Monthly', 'ultimate-multisite'), ], 'enable_price_3' => [ 'duration' => '3', 'duration_unit' => 'month', - 'label' => __('Quarterly', 'multisite-ultimate'), + 'label' => __('Quarterly', 'ultimate-multisite'), ], 'enable_price_12' => [ 'duration' => '1', 'duration_unit' => 'year', - 'label' => __('Yearly', 'multisite-ultimate'), + 'label' => __('Yearly', 'ultimate-multisite'), ], ]; @@ -867,7 +865,7 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { } $step['fields']['pricing_table'] = [ - 'name' => __('Pricing Tables', 'multisite-ultimate'), + 'name' => __('Pricing Tables', 'ultimate-multisite'), 'id' => 'pricing_table', 'type' => 'pricing_table', 'pricing_table_template' => 'legacy', @@ -893,7 +891,7 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { $step['fields'] = [ 'template_selection' => [ - 'name' => __('Template Selection', 'multisite-ultimate'), + 'name' => __('Template Selection', 'ultimate-multisite'), 'id' => 'template_selection', 'type' => 'template_selection', 'template_selection_template' => 'legacy', @@ -940,7 +938,7 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { $field['id'] = 'password'; $field['password_strength_meter'] = false; $field['password_confirm_field'] = true; - $field['password_confirm_label'] = wu_get_isset($step['fields']['user_pass_conf'], 'name', __('Confirm Password', 'multisite-ultimate')); + $field['password_confirm_label'] = wu_get_isset($step['fields']['user_pass_conf'], 'name', __('Confirm Password', 'ultimate-multisite')); break; case 'user_email': @@ -971,7 +969,7 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { $field['id'] = 'submit_button'; if ('account' === $step_id) { - $field['name'] = __('Continue to the Next Step', 'multisite-ultimate'); + $field['name'] = __('Continue to the Next Step', 'ultimate-multisite'); } break; @@ -992,17 +990,17 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { */ $new_format[] = [ 'id' => 'payment', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'fields' => [ [ - 'name' => __('Order Summary', 'multisite-ultimate'), + 'name' => __('Order Summary', 'ultimate-multisite'), 'type' => 'order_summary', 'id' => 'order_summary', 'order_summary_template' => 'clean', 'table_columns' => 'simple', ], [ - 'name' => __('Billing Address', 'multisite-ultimate'), + 'name' => __('Billing Address', 'ultimate-multisite'), 'type' => 'billing_address', 'id' => 'billing_address', 'zip_and_country' => true, @@ -1010,19 +1008,19 @@ public static function convert_steps_to_v2($steps, $old_settings = []) { [ 'type' => 'discount_code', 'id' => 'discount_code', - 'name' => __('Coupon Code', 'multisite-ultimate'), - 'tooltip' => __('Coupon Code', 'multisite-ultimate'), + 'name' => __('Coupon Code', 'ultimate-multisite'), + 'tooltip' => __('Coupon Code', 'ultimate-multisite'), 'display_checkbox' => true, ], [ - 'name' => __('Payment Methods', 'multisite-ultimate'), + 'name' => __('Payment Methods', 'ultimate-multisite'), 'type' => 'payment', 'id' => 'payment', ], [ 'type' => 'submit_button', 'id' => 'submit_button', - 'name' => __('Pay & Create Account', 'multisite-ultimate'), + 'name' => __('Pay & Create Account', 'ultimate-multisite'), ], ], ]; @@ -1147,7 +1145,7 @@ public function set_conversion_snippets($conversion_snippets): void { * * @since 2.0.0 * - * @return bool + * @return bool|\WP_Error */ public function save() { @@ -1212,7 +1210,7 @@ public static function finish_checkout_form_fields() { $fields = [ [ 'step' => 'checkout', - 'name' => __('Your Order', 'multisite-ultimate'), + 'name' => __('Your Order', 'ultimate-multisite'), 'type' => 'order_summary', 'id' => 'order_summary', 'order_summary_template' => 'clean', @@ -1220,13 +1218,13 @@ public static function finish_checkout_form_fields() { ], [ 'step' => 'checkout', - 'name' => __('Payment Method', 'multisite-ultimate'), + 'name' => __('Payment Method', 'ultimate-multisite'), 'type' => 'payment', 'id' => 'payment', ], [ 'step' => 'checkout', - 'name' => __('Finish Payment', 'multisite-ultimate'), + 'name' => __('Finish Payment', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', 'order' => 0, @@ -1236,7 +1234,7 @@ public static function finish_checkout_form_fields() { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => $fields, ], @@ -1312,7 +1310,7 @@ public static function membership_change_form_fields() { $label = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('%2$s', '%1$s %2$s', $product->get_duration(), 'multisite-ultimate'), // phpcs:ignore + _n('%2$s', '%1$s %2$s', $product->get_duration(), 'ultimate-multisite'), // phpcs:ignore $product->get_duration(), wu_get_translatable_string($product->get_duration() <= 1 ? $product->get_duration_unit() : $product->get_duration_unit() . 's') ); @@ -1343,7 +1341,7 @@ public static function membership_change_form_fields() { $label = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('%2$s', '%1$s %2$s', $variation['duration'], 'multisite-ultimate'), // phpcs:ignore + _n('%2$s', '%1$s %2$s', $variation['duration'], 'ultimate-multisite'), // phpcs:ignore $variation['duration'], wu_get_translatable_string($variation['duration'] <= 1 ? $variation['duration_unit'] : $variation['duration_unit'] . 's') ); @@ -1371,7 +1369,7 @@ public static function membership_change_form_fields() { $fields[] = [ 'step' => 'checkout', - 'name' => __('Plans', 'multisite-ultimate'), + 'name' => __('Plans', 'ultimate-multisite'), 'type' => 'pricing_table', 'id' => 'pricing_table', 'required' => true, @@ -1406,7 +1404,7 @@ public static function membership_change_form_fields() { $end_fields = [ [ 'step' => 'checkout', - 'name' => __('Your Order', 'multisite-ultimate'), + 'name' => __('Your Order', 'ultimate-multisite'), 'type' => 'order_summary', 'id' => 'order_summary', 'order_summary_template' => 'clean', @@ -1414,13 +1412,13 @@ public static function membership_change_form_fields() { ], [ 'step' => 'checkout', - 'name' => __('Payment Method', 'multisite-ultimate'), + 'name' => __('Payment Method', 'ultimate-multisite'), 'type' => 'payment', 'id' => 'payment', ], [ 'step' => 'checkout', - 'name' => __('Complete Checkout', 'multisite-ultimate'), + 'name' => __('Complete Checkout', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', 'order' => 0, @@ -1432,7 +1430,7 @@ public static function membership_change_form_fields() { $steps = [ [ 'id' => 'checkout', - 'name' => __('Checkout', 'multisite-ultimate'), + 'name' => __('Checkout', 'ultimate-multisite'), 'desc' => '', 'fields' => $fields, ], @@ -1468,7 +1466,7 @@ public static function add_new_site_form_fields() { $template_selection_fields = [ [ 'step' => 'template', - 'name' => __('Template Selection', 'multisite-ultimate'), + 'name' => __('Template Selection', 'ultimate-multisite'), 'type' => 'template_selection', 'id' => 'template_selection', 'cols' => 4, @@ -1485,7 +1483,7 @@ public static function add_new_site_form_fields() { $steps[] = [ 'id' => 'template', - 'name' => __('Template Selection', 'multisite-ultimate'), + 'name' => __('Template Selection', 'ultimate-multisite'), 'desc' => '', 'fields' => $template_selection_fields, ]; @@ -1521,7 +1519,7 @@ public static function add_new_site_form_fields() { $final_fields[] = [ 'step' => 'create', 'id' => 'site_title', - 'name' => __('Site Title', 'multisite-ultimate'), + 'name' => __('Site Title', 'ultimate-multisite'), 'tooltip' => '', 'placeholder' => '', 'type' => 'site_title', @@ -1532,7 +1530,7 @@ public static function add_new_site_form_fields() { $final_fields[] = [ 'step' => 'create', 'id' => 'site_url', - 'name' => __('Site URL', 'multisite-ultimate'), + 'name' => __('Site URL', 'ultimate-multisite'), 'tooltip' => '', 'placeholder' => '', 'display_field_attachments' => false, @@ -1543,7 +1541,7 @@ public static function add_new_site_form_fields() { $final_fields[] = [ 'step' => 'create', - 'name' => __('Create Site', 'multisite-ultimate'), + 'name' => __('Create Site', 'ultimate-multisite'), 'type' => 'submit_button', 'id' => 'checkout', 'order' => 0, @@ -1551,7 +1549,7 @@ public static function add_new_site_form_fields() { $steps[] = [ 'id' => 'create', - 'name' => __('Create Site', 'multisite-ultimate'), + 'name' => __('Create Site', 'ultimate-multisite'), 'desc' => '', 'classes' => 'wu-max-w-sm', 'fields' => $final_fields, diff --git a/inc/models/class-customer.php b/inc/models/class-customer.php index f19a8804c..7a377d15d 100644 --- a/inc/models/class-customer.php +++ b/inc/models/class-customer.php @@ -203,7 +203,7 @@ public function get_display_name() { $user = $this->get_user(); if (empty($user)) { - return __('User Deleted', 'multisite-ultimate'); + return __('User Deleted', 'ultimate-multisite'); } return $user->display_name; @@ -259,7 +259,7 @@ public function get_username() { $user = $this->get_user(); if (empty($user)) { - return __('none', 'multisite-ultimate'); + return __('none', 'ultimate-multisite'); } return $user->user_login; @@ -276,7 +276,7 @@ public function get_email_address() { $user = $this->get_user(); if (empty($user)) { - return __('none', 'multisite-ultimate'); + return __('none', 'ultimate-multisite'); } return $user->user_email; diff --git a/inc/models/class-discount-code.php b/inc/models/class-discount-code.php index e5c8875bc..637739f36 100644 --- a/inc/models/class-discount-code.php +++ b/inc/models/class-discount-code.php @@ -465,14 +465,14 @@ public function is_active() { public function is_valid($product = false) { if ($this->is_active() === false) { - return new \WP_Error('discount_code', __('This coupon code is not valid.', 'multisite-ultimate')); + return new \WP_Error('discount_code', __('This coupon code is not valid.', 'ultimate-multisite')); } /* * Check for uses */ if ($this->has_max_uses() && $this->get_uses() >= $this->get_max_uses()) { - return new \WP_Error('discount_code', __('This discount code was already redeemed the maximum amount of times allowed.', 'multisite-ultimate')); + return new \WP_Error('discount_code', __('This discount code was already redeemed the maximum amount of times allowed.', 'ultimate-multisite')); } /* @@ -487,7 +487,7 @@ public function is_valid($product = false) { $start_date_instance = wu_date($start_date); if ($now < $start_date_instance) { - return new \WP_Error('discount_code', __('This coupon code is not valid.', 'multisite-ultimate')); + return new \WP_Error('discount_code', __('This coupon code is not valid.', 'ultimate-multisite')); } } @@ -495,7 +495,7 @@ public function is_valid($product = false) { $expiration_date_instance = wu_date($expiration_date); if ($now > $expiration_date_instance) { - return new \WP_Error('discount_code', __('This coupon code is not valid.', 'multisite-ultimate')); + return new \WP_Error('discount_code', __('This coupon code is not valid.', 'ultimate-multisite')); } } @@ -513,7 +513,7 @@ public function is_valid($product = false) { $allowed = $this->get_limit_products() && in_array($product_id, $this->get_allowed_products()); // phpcs:ignore if (false === $allowed) { - return new \WP_Error('discount_code', __('This coupon code is not valid.', 'multisite-ultimate')); + return new \WP_Error('discount_code', __('This coupon code is not valid.', 'ultimate-multisite')); } } @@ -638,7 +638,7 @@ public function get_discount_description(): string { $description[] = sprintf( // translators: placeholder is the value off. Can be wither $X.XX or X% - __('%1$s OFF on Subscriptions', 'multisite-ultimate'), + __('%1$s OFF on Subscriptions', 'ultimate-multisite'), $value ); } @@ -652,12 +652,12 @@ public function get_discount_description(): string { $description[] = sprintf( // translators: placeholder is the value off. Can be wither $X.XX or X% - __('%1$s OFF on Setup Fees', 'multisite-ultimate'), + __('%1$s OFF on Setup Fees', 'ultimate-multisite'), $setup_fee_value ); } - return implode(' ' . __('and', 'multisite-ultimate') . ' ', $description); + return implode(' ' . __('and', 'ultimate-multisite') . ' ', $description); } /** diff --git a/inc/models/class-domain.php b/inc/models/class-domain.php index b5dfaff71..1bde5da85 100644 --- a/inc/models/class-domain.php +++ b/inc/models/class-domain.php @@ -538,7 +538,7 @@ public function delete() { */ wu_log_clear("domain-{$this->get_domain()}"); - wu_log_add("domain-{$this->get_domain()}", __('Domain deleted and logs cleared...', 'multisite-ultimate')); + wu_log_add("domain-{$this->get_domain()}", __('Domain deleted and logs cleared...', 'ultimate-multisite')); return $results; } diff --git a/inc/models/class-event.php b/inc/models/class-event.php index 41a6e3dec..3ef5ac302 100644 --- a/inc/models/class-event.php +++ b/inc/models/class-event.php @@ -50,7 +50,7 @@ class Event extends Base_Model { /** * Initiator of this event. * - * Events can be run by Multisite Ultimate, saved as 'system', or + * Events can be run by Ultimate Multisite, saved as 'system', or * by people (admins, customers), saved as 'manual'. * * @since 2.0.0 @@ -156,14 +156,14 @@ public function get_severity() { public function get_severity_label() { $labels = [ - self::SEVERITY_SUCCESS => __('Success', 'multisite-ultimate'), - self::SEVERITY_NEUTRAL => __('Neutral', 'multisite-ultimate'), - self::SEVERITY_INFO => __('Info', 'multisite-ultimate'), - self::SEVERITY_WARNING => __('Warning', 'multisite-ultimate'), - self::SEVERITY_FATAL => __('Fatal', 'multisite-ultimate'), + self::SEVERITY_SUCCESS => __('Success', 'ultimate-multisite'), + self::SEVERITY_NEUTRAL => __('Neutral', 'ultimate-multisite'), + self::SEVERITY_INFO => __('Info', 'ultimate-multisite'), + self::SEVERITY_WARNING => __('Warning', 'ultimate-multisite'), + self::SEVERITY_FATAL => __('Fatal', 'ultimate-multisite'), ]; - return $labels[ $this->get_severity() ] ?? __('Note', 'multisite-ultimate'); + return $labels[ $this->get_severity() ] ?? __('Note', 'ultimate-multisite'); } /** @@ -303,12 +303,12 @@ public static function get_default_system_messages($slug) { $default_messages = []; - $default_messages['changed'] = __('The {{model}} #{{object_id}} was changed: {{payload}}', 'multisite-ultimate'); - $default_messages['created'] = __('The {{model}} #{{object_id}} was created.', 'multisite-ultimate'); + $default_messages['changed'] = __('The {{model}} #{{object_id}} was changed: {{payload}}', 'ultimate-multisite'); + $default_messages['created'] = __('The {{model}} #{{object_id}} was created.', 'ultimate-multisite'); $default_messages = apply_filters('wu_get_default_system_messages', $default_messages); - return wu_get_isset($default_messages, $slug, __('No Message', 'multisite-ultimate')); + return wu_get_isset($default_messages, $slug, __('No Message', 'ultimate-multisite')); } diff --git a/inc/models/class-membership.php b/inc/models/class-membership.php index 5a96c1611..282e13a06 100644 --- a/inc/models/class-membership.php +++ b/inc/models/class-membership.php @@ -670,7 +670,7 @@ public function set_addon_products($addon_products): void { public function swap($order) { if ( ! is_a($order, Cart::class)) { - return new \WP_Error('invalid-date', __('Swap Cart is invalid.', 'multisite-ultimate')); + return new \WP_Error('invalid-date', __('Swap Cart is invalid.', 'ultimate-multisite')); } // clear the current addons. @@ -743,11 +743,11 @@ public function schedule_swap($order, $schedule_date = false) { } if ( ! wu_validate_date($schedule_date)) { - return new \WP_Error('invalid-date', __('Schedule date is invalid.', 'multisite-ultimate')); + return new \WP_Error('invalid-date', __('Schedule date is invalid.', 'ultimate-multisite')); } if ( ! is_a($order, Cart::class)) { - return new \WP_Error('invalid-date', __('Swap Cart is invalid.', 'multisite-ultimate')); + return new \WP_Error('invalid-date', __('Swap Cart is invalid.', 'ultimate-multisite')); } $date_instance = wu_date($schedule_date); @@ -831,7 +831,7 @@ public function get_recurring_description() { $description = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('every %2$s', 'every %1$s %2$s', $this->get_duration(), 'multisite-ultimate'), // phpcs:ignore + _n('every %2$s', 'every %1$s %2$s', $this->get_duration(), 'ultimate-multisite'), // phpcs:ignore $this->get_duration(), wu_get_translatable_string(($this->get_duration() <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's')) ); @@ -847,12 +847,12 @@ public function get_recurring_description() { public function get_times_billed_description(): string { // translators: times billed / subscription duration in cycles. e.g. 1/12 cycles - $description = __('%1$s / %2$s cycles', 'multisite-ultimate'); + $description = __('%1$s / %2$s cycles', 'ultimate-multisite'); if ($this->is_forever_recurring()) { // translators: the place holder is the number of times the membership was billed. - $description = __('%1$s / until cancelled', 'multisite-ultimate'); + $description = __('%1$s / until cancelled', 'ultimate-multisite'); } return sprintf($description, $this->get_times_billed(), $this->get_billing_cycles()); @@ -872,7 +872,7 @@ public function get_price_description(): string { $message = sprintf( // translators: %1$s is the formatted price, %2$s the duration, and %3$s the duration unit (day, week, month, etc) - _n('%1$s every %3$s', '%1$s every %2$s %3$s', $duration, 'multisite-ultimate'), // phpcs:ignore + _n('%1$s every %3$s', '%1$s every %2$s %3$s', $duration, 'ultimate-multisite'), // phpcs:ignore wu_format_currency($this->get_amount(), $this->get_currency()), $duration, wu_get_translatable_string($duration <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's') @@ -883,7 +883,7 @@ public function get_price_description(): string { if ( ! $this->is_forever_recurring()) { $billing_cycles_message = sprintf( // translators: %s is the number of billing cycles. - _n('for %s cycle', 'for %s cycles', $this->get_billing_cycles(), 'multisite-ultimate'), + _n('for %s cycle', 'for %s cycles', $this->get_billing_cycles(), 'ultimate-multisite'), $this->get_billing_cycles() ); @@ -892,13 +892,13 @@ public function get_price_description(): string { } else { $pricing['subscription'] = sprintf( // translators: %1$s is the formatted price of the product - __('%1$s one time payment', 'multisite-ultimate'), + __('%1$s one time payment', 'ultimate-multisite'), wu_format_currency($this->get_initial_amount(), $this->get_currency()) ); } if ($this->is_free()) { - $pricing['subscription'] = __('Free!', 'multisite-ultimate'); + $pricing['subscription'] = __('Free!', 'ultimate-multisite'); } return implode(' + ', $pricing); diff --git a/inc/models/class-payment.php b/inc/models/class-payment.php index 7536c2c00..77a696a25 100644 --- a/inc/models/class-payment.php +++ b/inc/models/class-payment.php @@ -549,13 +549,13 @@ public function get_payment_method() { $gateway = $this->get_gateway(); if ( ! $gateway) { - return __('None', 'multisite-ultimate'); + return __('None', 'ultimate-multisite'); } $gateway_class = wu_get_gateway($gateway); if ( ! $gateway_class) { - return __('None', 'multisite-ultimate'); + return __('None', 'ultimate-multisite'); } $title = $gateway_class->get_public_title(); @@ -938,7 +938,7 @@ public function get_invoice_number() { $prefix = str_replace($search, $replace, (string) $prefix); - return sprintf('%s%s %s', $prefix, $this->invoice_number, $provisional ? __('(provisional)', 'multisite-ultimate') : ''); + return sprintf('%s%s %s', $prefix, $this->invoice_number, $provisional ? __('(provisional)', 'ultimate-multisite') : ''); } /** @@ -1020,7 +1020,7 @@ public function set_cancel_membership_on_refund($cancel_membership_on_refund): v * An example of how that would work: * 1. Admin issues a refund on the admin panel; * 2. PayPal (for example), process the refund request - * and sends back a IPN (webhook call) telling Multisite Ultimate + * and sends back a IPN (webhook call) telling Ultimate Multisite * that the refund was issued successfully; * 3. The IPN handler listens for that event and calls this * to reflect the refund in the original WU payment. @@ -1058,11 +1058,11 @@ public function refund($amount = false, $should_cancel_membership_on_refund = nu * it is a partial refund. */ if ($amount >= $this->get_total()) { - $title = __('Full Refund', 'multisite-ultimate'); + $title = __('Full Refund', 'ultimate-multisite'); $new_status = Payment_Status::REFUND; } else { - $title = __('Partial Refund', 'multisite-ultimate'); + $title = __('Partial Refund', 'ultimate-multisite'); $new_status = Payment_Status::PARTIAL_REFUND; } @@ -1072,7 +1072,7 @@ public function refund($amount = false, $should_cancel_membership_on_refund = nu $formatted_value = date_i18n(get_option('date_format'), $time); // translators: %s is the date of processing. - $description = sprintf(__('Processed on %s', 'multisite-ultimate'), $formatted_value); + $description = sprintf(__('Processed on %s', 'ultimate-multisite'), $formatted_value); $line_item_data = [ 'type' => 'refund', diff --git a/inc/models/class-product.php b/inc/models/class-product.php index c5ce2fea5..534025b89 100644 --- a/inc/models/class-product.php +++ b/inc/models/class-product.php @@ -633,11 +633,11 @@ public function get_amount() { public function get_formatted_amount($key = 'amount') { if ($this->is_free()) { - return __('Free!', 'multisite-ultimate'); + return __('Free!', 'ultimate-multisite'); } if ($this->get_pricing_type() === 'contact_us') { - return $this->get_contact_us_label() ?: __('Contact Us', 'multisite-ultimate'); + return $this->get_contact_us_label() ?: __('Contact Us', 'ultimate-multisite'); } return wu_format_currency($this->get_amount(), $this->get_currency()); @@ -710,11 +710,11 @@ public function get_price_description($include_fees = true) { $pricing = []; if ($this->get_pricing_type() === 'contact_us') { - return __('Contact us', 'multisite-ultimate'); + return __('Contact us', 'ultimate-multisite'); } if ($this->is_free()) { - return __('Free!', 'multisite-ultimate'); + return __('Free!', 'ultimate-multisite'); } if ($this->is_recurring()) { @@ -722,7 +722,7 @@ public function get_price_description($include_fees = true) { $message = sprintf( // translators: %1$s is the formatted price, %2$s the duration, and %3$s the duration unit (day, week, month, etc) - _n('%1$s every %3$s', '%1$s every %2$s %3$s', $duration, 'multisite-ultimate'), // phpcs:ignore + _n('%1$s every %3$s', '%1$s every %2$s %3$s', $duration, 'ultimate-multisite'), // phpcs:ignore wu_format_currency($this->get_amount(), $this->get_currency()), $duration, wu_get_translatable_string($duration <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's') @@ -733,7 +733,7 @@ public function get_price_description($include_fees = true) { if ( ! $this->is_forever_recurring()) { $billing_cycles_message = sprintf( // translators: %s is the number of billing cycles. - _n('for %s cycle', 'for %s cycles', $this->get_billing_cycles(), 'multisite-ultimate'), + _n('for %s cycle', 'for %s cycles', $this->get_billing_cycles(), 'ultimate-multisite'), $this->get_billing_cycles() ); @@ -742,7 +742,7 @@ public function get_price_description($include_fees = true) { } else { $pricing['subscription'] = sprintf( // translators: %1$s is the formatted price of the product - __('%1$s one time payment', 'multisite-ultimate'), + __('%1$s one time payment', 'ultimate-multisite'), wu_format_currency($this->get_amount(), $this->get_currency()) ); } @@ -750,7 +750,7 @@ public function get_price_description($include_fees = true) { if ($this->has_setup_fee() && $include_fees) { $pricing['fee'] = sprintf( // translators: %1$s is the formatted price of the setup fee - __('Setup Fee of %1$s', 'multisite-ultimate'), + __('Setup Fee of %1$s', 'ultimate-multisite'), wu_format_currency($this->get_setup_fee(), $this->get_currency()) ); } @@ -771,12 +771,12 @@ public function get_recurring_description() { } if ( ! $this->is_recurring()) { - return __('one-time payment', 'multisite-ultimate'); + return __('one-time payment', 'ultimate-multisite'); } $description = sprintf( // translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) - _n('every %2$s', 'every %1$s %2$s', $this->get_duration(), 'multisite-ultimate'), // phpcs:ignore + _n('every %2$s', 'every %1$s %2$s', $this->get_duration(), 'ultimate-multisite'), // phpcs:ignore $this->get_duration(), wu_get_translatable_string($this->get_duration() <= 1 ? $this->get_duration_unit() : $this->get_duration_unit() . 's') ); diff --git a/inc/models/class-site.php b/inc/models/class-site.php index 2efc7ee6d..3f35d19c1 100644 --- a/inc/models/class-site.php +++ b/inc/models/class-site.php @@ -1432,7 +1432,7 @@ public function is_customer_primary_site() { public function delete() { if ( ! $this->get_id()) { - return new \WP_Error("wu_{$this->model}_delete_unsaved_item", __('Item not found.', 'multisite-ultimate')); + return new \WP_Error("wu_{$this->model}_delete_unsaved_item", __('Item not found.', 'ultimate-multisite')); } /** diff --git a/inc/objects/class-billing-address.php b/inc/objects/class-billing-address.php index 328f2d8f9..d66cd8e5b 100644 --- a/inc/objects/class-billing-address.php +++ b/inc/objects/class-billing-address.php @@ -258,38 +258,38 @@ public static function fields($zip_only = false, $checkout_form = false) { $fields['company_name'] = [ 'type' => 'text', - 'title' => __('Company Name', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. Google (optional)', 'multisite-ultimate'), + 'title' => __('Company Name', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. Google (optional)', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', ]; $fields['billing_email'] = [ 'type' => 'text', - 'title' => __('Billing Email', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. john@company.com', 'multisite-ultimate'), + 'title' => __('Billing Email', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. john@company.com', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', 'required' => true, ]; $fields['billing_address_line_1'] = [ 'type' => 'text', - 'title' => __('Address Line 1', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. 555 1st Avenue', 'multisite-ultimate'), + 'title' => __('Address Line 1', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. 555 1st Avenue', 'ultimate-multisite'), 'wrapper_classes' => 'wu-col-span-2', 'required' => true, ]; $fields['billing_address_line_2'] = [ 'type' => 'text', - 'title' => __('Address Line 2', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. Apartment 10a', 'multisite-ultimate'), + 'title' => __('Address Line 2', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. Apartment 10a', 'ultimate-multisite'), 'wrapper_classes' => 'wu-col-span-2', ]; $fields['billing_country'] = [ 'type' => 'select', - 'title' => __('Country', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. US', 'multisite-ultimate'), + 'title' => __('Country', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. US', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', 'value' => ' ', 'options' => $countries, @@ -298,22 +298,22 @@ public static function fields($zip_only = false, $checkout_form = false) { $fields['billing_state'] = [ 'type' => 'text', - 'title' => __('State / Province', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. NY', 'multisite-ultimate'), + 'title' => __('State / Province', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. NY', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', ]; $fields['billing_city'] = [ 'type' => 'text', - 'title' => __('City / Town', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. New York City', 'multisite-ultimate'), + 'title' => __('City / Town', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. New York City', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', ]; $fields['billing_zip_code'] = [ 'type' => 'text', - 'title' => __('ZIP / Postal Code', 'multisite-ultimate'), - 'default_placeholder' => __('E.g. 10009', 'multisite-ultimate'), + 'title' => __('ZIP / Postal Code', 'ultimate-multisite'), + 'default_placeholder' => __('E.g. 10009', 'ultimate-multisite'), 'wrapper_classes' => 'sm:wu-col-span-1', 'required' => true, ]; diff --git a/inc/objects/class-note.php b/inc/objects/class-note.php index 95658aefd..1a0a66f69 100644 --- a/inc/objects/class-note.php +++ b/inc/objects/class-note.php @@ -195,17 +195,17 @@ public static function fields() { $fields['text'] = [ 'type' => 'text', - 'title' => __('Text', 'multisite-ultimate'), + 'title' => __('Text', 'ultimate-multisite'), ]; $fields['author_id'] = [ 'type' => 'number', - 'title' => __('Author ID', 'multisite-ultimate'), + 'title' => __('Author ID', 'ultimate-multisite'), ]; $fields['note_id'] = [ 'type' => 'text', - 'title' => __('Note ID', 'multisite-ultimate'), + 'title' => __('Note ID', 'ultimate-multisite'), ]; uasort($fields, 'wu_sort_by_order'); diff --git a/inc/site-templates/class-template-placeholders.php b/inc/site-templates/class-template-placeholders.php index fc05ba01b..58ef28377 100644 --- a/inc/site-templates/class-template-placeholders.php +++ b/inc/site-templates/class-template-placeholders.php @@ -161,7 +161,7 @@ public function save_placeholders(): void { wp_send_json( [ 'code' => 'not-enough-permissions', - 'message' => __('You don\'t have permission to alter placeholders.', 'multisite-ultimate'), + 'message' => __('You don\'t have permission to alter placeholders.', 'ultimate-multisite'), ] ); } @@ -177,7 +177,7 @@ public function save_placeholders(): void { wp_send_json( [ 'code' => 'invalid-input', - 'message' => __('The JSON provided is invalid', 'multisite-ultimate'), + 'message' => __('The JSON provided is invalid', 'ultimate-multisite'), ] ); } @@ -195,7 +195,7 @@ public function save_placeholders(): void { wp_send_json( [ 'code' => 'success', - 'message' => __('Placeholders successfully updated!', 'multisite-ultimate'), + 'message' => __('Placeholders successfully updated!', 'ultimate-multisite'), ] ); } diff --git a/inc/sso/class-sso.php b/inc/sso/class-sso.php index 54edf1606..cb3ddecd3 100644 --- a/inc/sso/class-sso.php +++ b/inc/sso/class-sso.php @@ -949,7 +949,7 @@ public function calculate_secret_from_date($date) { try { $int_version = (int) \DateTime::createFromFormat('Y-m-d H:i:s', $date, $tz)->format('mdisY'); } catch (\Throwable $exception) { - throw new SSO_Exception(esc_html__('SSO secret creation failed.', 'multisite-ultimate'), 500); + throw new SSO_Exception(esc_html__('SSO secret creation failed.', 'ultimate-multisite'), 500); } return wp_hash($int_version); diff --git a/inc/stuff.php b/inc/stuff.php index eab359fcc..de7f965c6 100644 --- a/inc/stuff.php +++ b/inc/stuff.php @@ -1,5 +1,5 @@ 'A3mbUD7luXjl6AuqHEQwdThkR0JsTjdQSTdWeGxUenpzRGExVDFoT0lSZlNadERUU0sxSUtjRlU3OHhnZmVVY2hJNTR5amlBaThXUytOTmE=', - 1 => 'DYz6uNb8q+kH+xXPS0A0VzJTb2g1UWd1QUVIZlBFOXRuVHVyNEhrclBVL0tFcG8vaUM3Q2RCNlAxQVdtZkpuWVdOdnBUTWdTQkVsVk5ZU1U=', + 0 => 'ZGbiJ3FBm0xe7rkIo8IkEGxuakV6dncrRXVBRWlUY3BzZ1JMbXRuWStZcklxR0FHVTFTRGIvQ2NNU3ViSlpXUHM1L29SbEQ1V1FJWjBOSjc=', + 1 => 'dOStiyLlVC5Q0/pwA3vfym5jTjRqREpFQVVBakJsNXJLVGFnRjVEU0VkTk04R1MvdjgvVnE0YjkydVhHdnU3YzhzQ3Nhb010N3Ryb05rcEE=', ); \ No newline at end of file diff --git a/inc/tax/class-dashboard-taxes-tab.php b/inc/tax/class-dashboard-taxes-tab.php index c190a10da..727bab61f 100644 --- a/inc/tax/class-dashboard-taxes-tab.php +++ b/inc/tax/class-dashboard-taxes-tab.php @@ -1,6 +1,6 @@ 'type', - 'label' => __('Taxes', 'multisite-ultimate'), + 'label' => __('Taxes', 'ultimate-multisite'), 'url' => add_query_arg('tab', 'taxes'), 'count' => 0, ]; @@ -78,9 +78,9 @@ public function disabled_message(): void { wu_render_empty_state( [ - 'message' => __('You do not have tax support enabled yet...', 'multisite-ultimate'), - 'sub_message' => __('If you need to collect taxes, you\'ll be glad to hear that Multisite Ultimate offers tax support!', 'multisite-ultimate'), - 'link_label' => __('Enable Tax Support', 'multisite-ultimate'), + 'message' => __('You do not have tax support enabled yet...', 'ultimate-multisite'), + 'sub_message' => __('If you need to collect taxes, you\'ll be glad to hear that Ultimate Multisite offers tax support!', 'ultimate-multisite'), + 'link_label' => __('Enable Tax Support', 'ultimate-multisite'), 'link_url' => wu_network_admin_url( 'wp-ultimo-settings', [ @@ -104,7 +104,7 @@ public function add_back_link($links) { $back_link = [ [ 'url' => wu_network_admin_url('wp-ultimo'), - 'label' => __('Go Back', 'multisite-ultimate'), + 'label' => __('Go Back', 'ultimate-multisite'), 'icon' => 'wu-reply', ], ]; @@ -148,11 +148,11 @@ public function register_widgets($tab, $screen, $dashboard_page): void { $this->dashboard_page = $dashboard_page; - add_meta_box('wp-ultimo-taxes', __('Taxes', 'multisite-ultimate'), [$this, 'output_widget_taxes'], $screen->id, 'full', 'high'); + add_meta_box('wp-ultimo-taxes', __('Taxes', 'ultimate-multisite'), [$this, 'output_widget_taxes'], $screen->id, 'full', 'high'); - add_meta_box('wp-ultimo-taxes-by-rate', __('Taxes by Code', 'multisite-ultimate'), [$this, 'output_widget_taxes_by_rate'], $screen->id, 'normal', 'high'); + add_meta_box('wp-ultimo-taxes-by-rate', __('Taxes by Code', 'ultimate-multisite'), [$this, 'output_widget_taxes_by_rate'], $screen->id, 'normal', 'high'); - add_meta_box('wp-ultimo-taxes-by-day', __('Taxes by Day', 'multisite-ultimate'), [$this, 'output_widget_taxes_by_day'], $screen->id, 'side', 'high'); + add_meta_box('wp-ultimo-taxes-by-day', __('Taxes by Day', 'ultimate-multisite'), [$this, 'output_widget_taxes_by_day'], $screen->id, 'side', 'high'); $this->register_scripts(); } @@ -211,8 +211,8 @@ public function register_scripts(): void { 'today' => date_i18n('Y-m-d', strtotime('tomorrow')), 'month_list' => $month_list, 'i18n' => [ - 'net_profit_label' => __('Net Profit', 'multisite-ultimate'), - 'taxes_label' => __('Taxes Collected', 'multisite-ultimate'), + 'net_profit_label' => __('Net Profit', 'ultimate-multisite'), + 'taxes_label' => __('Taxes Collected', 'ultimate-multisite'), ], ] ); diff --git a/inc/tax/class-tax.php b/inc/tax/class-tax.php index ed8851e19..90eaf4ab4 100644 --- a/inc/tax/class-tax.php +++ b/inc/tax/class-tax.php @@ -1,6 +1,6 @@ __('Taxes', 'multisite-ultimate'), - 'desc' => __('Taxes', 'multisite-ultimate'), + 'title' => __('Taxes', 'ultimate-multisite'), + 'desc' => __('Taxes', 'ultimate-multisite'), 'icon' => 'dashicons-wu-percent', 'order' => 55, ] @@ -112,8 +112,8 @@ public function add_settings(): void { 'taxes', 'enable_taxes', [ - 'title' => __('Enable Taxes', 'multisite-ultimate'), - 'desc' => __('Enable this option to be able to collect sales taxes on your network payments.', 'multisite-ultimate'), + 'title' => __('Enable Taxes', 'ultimate-multisite'), + 'desc' => __('Enable this option to be able to collect sales taxes on your network payments.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, ] @@ -123,8 +123,8 @@ public function add_settings(): void { 'taxes', 'inclusive_tax', [ - 'title' => __('Inclusive Tax', 'multisite-ultimate'), - 'desc' => __('Enable this option if your prices include taxes. In that case, Multisite Ultimate will calculate the included tax instead of adding taxes to the price.', 'multisite-ultimate'), + 'title' => __('Inclusive Tax', 'ultimate-multisite'), + 'desc' => __('Enable this option if your prices include taxes. In that case, Ultimate Multisite will calculate the included tax instead of adding taxes to the price.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 0, 'require' => [ @@ -145,7 +145,7 @@ public function add_sidebar_widget(): void { wu_register_settings_side_panel( 'taxes', [ - 'title' => __('Tax Rates', 'multisite-ultimate'), + 'title' => __('Tax Rates', 'ultimate-multisite'), 'render' => [$this, 'render_taxes_side_panel'], ] ); @@ -186,7 +186,7 @@ public function get_tax_rate_types() { return apply_filters( 'wu_get_tax_rate_types', [ - 'regular' => __('Regular', 'multisite-ultimate'), + 'regular' => __('Regular', 'ultimate-multisite'), ] ); } @@ -201,7 +201,7 @@ public function get_tax_rate_defaults() { $defaults = [ 'id' => uniqid(), - 'title' => __('Tax Rate', 'multisite-ultimate'), + 'title' => __('Tax Rate', 'ultimate-multisite'), 'country' => '', 'state' => '', 'city' => '', @@ -229,7 +229,7 @@ public function get_tax_rates($fetch_state_options = false) { 'tax_rates', [ 'default' => [ - 'name' => __('Default', 'multisite-ultimate'), + 'name' => __('Default', 'ultimate-multisite'), 'rates' => [], ], ] @@ -292,7 +292,7 @@ public function save_taxes_rates(): void { wp_send_json( [ 'code' => 'not-enough-permissions', - 'message' => __('You don\'t have permission to alter tax rates', 'multisite-ultimate'), + 'message' => __('You don\'t have permission to alter tax rates', 'ultimate-multisite'), ] ); } @@ -311,7 +311,7 @@ public function save_taxes_rates(): void { wp_send_json( [ 'code' => 'tax-rates-not-found', - 'message' => __('No tax rates present in the request', 'multisite-ultimate'), + 'message' => __('No tax rates present in the request', 'ultimate-multisite'), ] ); } @@ -343,7 +343,7 @@ function ($item) { wp_send_json( [ 'code' => 'success', - 'message' => __('Tax Rates successfully updated!', 'multisite-ultimate'), + 'message' => __('Tax Rates successfully updated!', 'ultimate-multisite'), 'tax_category' => strtolower(sanitize_title(wu_get_isset($data, 'tax_category', 'default'))), ] ); @@ -383,21 +383,21 @@ public function render_taxes_side_panel(): void {
- +
- <?php esc_attr_e('Manage Tax Rates', 'multisite-ultimate'); ?> + <?php esc_attr_e('Manage Tax Rates', 'ultimate-multisite'); ?>

- +

- +
@@ -405,17 +405,17 @@ public function render_taxes_side_panel(): void {
- +
- +
diff --git a/inc/traits/trait-wp-ultimo-coupon-deprecated.php b/inc/traits/trait-wp-ultimo-coupon-deprecated.php index 9475223f7..160966b0c 100644 --- a/inc/traits/trait-wp-ultimo-coupon-deprecated.php +++ b/inc/traits/trait-wp-ultimo-coupon-deprecated.php @@ -31,7 +31,7 @@ public function __set($key, $value) { * * @since 2.0.0 */ - _doing_it_wrong(esc_html($key), esc_html__('Discount Code keys should not be set directly.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($key), esc_html__('Discount Code keys should not be set directly.', 'ultimate-multisite'), '2.0.0'); $this->meta[ "wpu_{$key}" ] = $value; } @@ -57,7 +57,7 @@ public function __get($key) { if (null === $value) { // translators: the placeholder is the key. - $message = sprintf(__('Discount Codes do not have a %s parameter', 'multisite-ultimate'), $key); + $message = sprintf(__('Discount Codes do not have a %s parameter', 'ultimate-multisite'), $key); // throw new \Exception($message); @@ -69,7 +69,7 @@ public function __get($key) { * * @since 2.0.0 */ - _doing_it_wrong(esc_html($key), esc_html__('Discount Code keys should not be accessed directly', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($key), esc_html__('Discount Code keys should not be accessed directly', 'ultimate-multisite'), '2.0.0'); return $value; } diff --git a/inc/traits/trait-wp-ultimo-plan-deprecated.php b/inc/traits/trait-wp-ultimo-plan-deprecated.php index ff3593de7..e76941d00 100644 --- a/inc/traits/trait-wp-ultimo-plan-deprecated.php +++ b/inc/traits/trait-wp-ultimo-plan-deprecated.php @@ -82,7 +82,7 @@ public function __get($key) { * * @since 2.0.0 */ - _doing_it_wrong(esc_html($key), esc_html__('Product keys should not be accessed directly', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($key), esc_html__('Product keys should not be accessed directly', 'ultimate-multisite'), '2.0.0'); return $value; } @@ -144,12 +144,12 @@ public function get_pricing_table_lines() { */ if ($this->should_display_quota_on_pricing_tables('setup_fee', true)) { if ($this->get_pricing_type() === 'contact_us') { - $pricing_table_lines['wu_product_contact_us'] = __('Contact Us to know more', 'multisite-ultimate'); + $pricing_table_lines['wu_product_contact_us'] = __('Contact Us to know more', 'ultimate-multisite'); } else { $pricing_table_lines['wu_product_setup_fee'] = $this->has_setup_fee() // translators: %s is the setup fee wrapped in strong tag. - ? sprintf(__('Setup Fee: %s', 'multisite-ultimate'), "" . wu_format_currency($this->get_setup_fee()) . '') - : __('No Setup Fee', 'multisite-ultimate'); + ? sprintf(__('Setup Fee: %s', 'ultimate-multisite'), "" . wu_format_currency($this->get_setup_fee()) . '') + : __('No Setup Fee', 'ultimate-multisite'); } } @@ -172,7 +172,7 @@ public function get_pricing_table_lines() { if ($this->is_post_type_disabled($pt_slug)) { // Translators: used as "No Posts" where a post type is disabled - $pricing_table_lines[ 'wu_product_limit_post_type_' . $pt_slug ] = sprintf(__('No %s', 'multisite-ultimate'), $post_type->labels->name); + $pricing_table_lines[ 'wu_product_limit_post_type_' . $pt_slug ] = sprintf(__('No %s', 'ultimate-multisite'), $post_type->labels->name); continue; } @@ -183,7 +183,7 @@ public function get_pricing_table_lines() { * @var integer|string */ $is_unlimited = 0 === (int) $this->get_limitations()->post_types->{$pt_slug}->number || ! $this->get_limitations()->post_types->is_enabled(); - $value = $is_unlimited ? __('Unlimited', 'multisite-ultimate') : $this->get_limitations()->post_types->{$pt_slug}->number; + $value = $is_unlimited ? __('Unlimited', 'ultimate-multisite') : $this->get_limitations()->post_types->{$pt_slug}->number; // Add Line $label = 1 === (int) $value ? $post_type->labels->singular_name : $post_type->labels->name; @@ -199,10 +199,10 @@ public function get_pricing_table_lines() { */ if (wu_get_setting('enable_multiple_sites') && $this->should_display_quota_on_pricing_tables('sites')) { $is_unlimited = (int) $this->get_limitations()->sites->get_limit() === 0 || ! $this->get_limitations()->sites->is_enabled(); - $value = $is_unlimited ? __('Unlimited', 'multisite-ultimate') : $this->get_limitations()->sites->get_limit(); + $value = $is_unlimited ? __('Unlimited', 'ultimate-multisite') : $this->get_limitations()->sites->get_limit(); // Add Line - $pricing_table_lines['wu_product_limit_sites'] = sprintf('%s %s', $value, _n('Site', 'Sites', $this->get_limitations()->sites->get_limit(), 'multisite-ultimate')); + $pricing_table_lines['wu_product_limit_sites'] = sprintf('%s %s', $value, _n('Site', 'Sites', $this->get_limitations()->sites->get_limit(), 'ultimate-multisite')); } /** @@ -210,11 +210,11 @@ public function get_pricing_table_lines() { */ if ($this->should_display_quota_on_pricing_tables('upload')) { $is_unlimited = (int) $this->get_limitations()->disk_space->get_limit() === 0 || ! $this->get_limitations()->disk_space->is_enabled(); - $disk_space = $is_unlimited ? __('Unlimited', 'multisite-ultimate') : size_format(absint($this->get_limitations()->disk_space->get_limit()) * 1024 * 1024); + $disk_space = $is_unlimited ? __('Unlimited', 'ultimate-multisite') : size_format(absint($this->get_limitations()->disk_space->get_limit()) * 1024 * 1024); // Add Line // translators: %s is the disk space with appropriate suffix, MB, GB KB etc. - $pricing_table_lines['wu_product_limit_disk_space'] = ! empty($disk_space) ? sprintf(__('%s Disk Space', 'multisite-ultimate'), $disk_space) : false; + $pricing_table_lines['wu_product_limit_disk_space'] = ! empty($disk_space) ? sprintf(__('%s Disk Space', 'ultimate-multisite'), $disk_space) : false; } /** @@ -224,10 +224,10 @@ public function get_pricing_table_lines() { */ if ($this->should_display_quota_on_pricing_tables('visits')) { $is_unlimited = (int) $this->get_limitations()->visits->get_limit() === 0 || ! $this->get_limitations()->visits->is_enabled(); - $value = $is_unlimited ? __('Unlimited', 'multisite-ultimate') : number_format($this->get_limitations()->visits->get_limit()); + $value = $is_unlimited ? __('Unlimited', 'ultimate-multisite') : number_format($this->get_limitations()->visits->get_limit()); // Add Line - $pricing_table_lines['wu_product_limit_visits'] = sprintf('%s %s', $value, _n('Visit per month', 'Visits per month', $this->get_limitations()->visits->get_limit(), 'multisite-ultimate')); + $pricing_table_lines['wu_product_limit_visits'] = sprintf('%s %s', $value, _n('Visit per month', 'Visits per month', $this->get_limitations()->visits->get_limit(), 'ultimate-multisite')); } /** @@ -239,7 +239,7 @@ public function get_pricing_table_lines() { if ($trial_days > 0 || $trial_days_plan) { $trial_days = $trial_days_plan ?: $trial_days; // translators: %s is the number of days for the trial - $pricing_table_lines['wu_product_trial'] = ! $this->is_free() ? sprintf(__('%s day Free Trial', 'multisite-ultimate'), $trial_days) : '-'; + $pricing_table_lines['wu_product_trial'] = ! $this->is_free() ? sprintf(__('%s day Free Trial', 'ultimate-multisite'), $trial_days) : '-'; } /** diff --git a/inc/traits/trait-wp-ultimo-settings-deprecated.php b/inc/traits/trait-wp-ultimo-settings-deprecated.php index d637fc648..cceb0236a 100644 --- a/inc/traits/trait-wp-ultimo-settings-deprecated.php +++ b/inc/traits/trait-wp-ultimo-settings-deprecated.php @@ -67,7 +67,7 @@ public function handle_legacy_filters(): void { ]; foreach ($filters as $filter) { - $message = __('Adding setting sections directly via filters is no longer supported.', 'multisite-ultimate'); + $message = __('Adding setting sections directly via filters is no longer supported.', 'ultimate-multisite'); $legacy_settings = apply_filters_deprecated($filter, [$legacy_settings], '2.0.0', 'wu_register_settings_field()', $message); } @@ -76,8 +76,8 @@ public function handle_legacy_filters(): void { $this->add_section( 'other', [ - 'title' => __('Other', 'multisite-ultimate'), - 'desc' => __('Other', 'multisite-ultimate'), + 'title' => __('Other', 'ultimate-multisite'), + 'desc' => __('Other', 'ultimate-multisite'), ] ); diff --git a/inc/traits/trait-wp-ultimo-site-deprecated.php b/inc/traits/trait-wp-ultimo-site-deprecated.php index bc23fb0de..554430f4c 100644 --- a/inc/traits/trait-wp-ultimo-site-deprecated.php +++ b/inc/traits/trait-wp-ultimo-site-deprecated.php @@ -41,7 +41,7 @@ public function __get($key) { * * @since 2.0.0 */ - _doing_it_wrong(esc_html($key), esc_html__('Product keys should not be accessed directly', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($key), esc_html__('Product keys should not be accessed directly', 'ultimate-multisite'), '2.0.0'); return $value; } diff --git a/inc/traits/trait-wp-ultimo-subscription-deprecated.php b/inc/traits/trait-wp-ultimo-subscription-deprecated.php index c59a44d66..7edc2c5f9 100644 --- a/inc/traits/trait-wp-ultimo-subscription-deprecated.php +++ b/inc/traits/trait-wp-ultimo-subscription-deprecated.php @@ -40,7 +40,7 @@ public function __get($key) { * * @since 2.0.0 */ - _doing_it_wrong(esc_html($key), esc_html__('Membership keys should not be accessed directly', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(esc_html($key), esc_html__('Membership keys should not be accessed directly', 'ultimate-multisite'), '2.0.0'); return $value; } diff --git a/inc/ui/class-account-summary-element.php b/inc/ui/class-account-summary-element.php index 12b137976..68e111f17 100644 --- a/inc/ui/class-account-summary-element.php +++ b/inc/ui/class-account-summary-element.php @@ -98,14 +98,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Account Summary', 'multisite-ultimate'); + return __('Account Summary', 'ultimate-multisite'); } /** @@ -114,14 +114,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a account summary block to the page.', 'multisite-ultimate'); + return __('Adds a account summary block to the page.', 'ultimate-multisite'); } /** @@ -146,16 +146,16 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('About this Site', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('About this Site', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -170,7 +170,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Checkout', * 'Form', * 'Cart', @@ -185,7 +185,7 @@ public function keywords() { 'WP Ultimo', 'Account', 'Summary', - 'Multisite Ultimate', + 'Ultimate Multisite', ]; } @@ -206,7 +206,7 @@ public function keywords() { public function defaults() { return [ - 'title' => __('About this Site', 'multisite-ultimate'), + 'title' => __('About this Site', 'ultimate-multisite'), ]; } diff --git a/inc/ui/class-base-element.php b/inc/ui/class-base-element.php index a04f5da83..6e4e7fe88 100644 --- a/inc/ui/class-base-element.php +++ b/inc/ui/class-base-element.php @@ -120,7 +120,7 @@ abstract public function get_icon($context = 'block'); * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string @@ -133,7 +133,7 @@ abstract public function get_title(); * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string @@ -167,7 +167,7 @@ abstract public function fields(); * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Checkout', * 'Form', * 'Cart', @@ -649,7 +649,7 @@ public function register_shortcode(): void { return; } - add_shortcode($this->get_shortcode_id(), [$this, 'display']); + add_shortcode($this->get_shortcode_id(), [$this, 'get_content']); } /** @@ -757,12 +757,12 @@ public function render_generator_modal(): void { $fields['shortcode_result'] = [ 'type' => 'note', 'wrapper_classes' => 'sm:wu-block', - 'desc' => '
' . __('Result', 'multisite-ultimate') . '
', + 'desc' => '
' . __('Result', 'ultimate-multisite') . '
', ]; $fields['submit_copy'] = [ 'type' => 'submit', - 'title' => __('Copy Shortcode', 'multisite-ultimate'), + 'title' => __('Copy Shortcode', 'ultimate-multisite'), 'value' => 'edit', 'classes' => 'button button-primary wu-w-full wu-copy', 'wrapper_classes' => 'wu-items-end', @@ -811,8 +811,8 @@ public function render_customize_modal(): void { $fields['hide'] = [ 'type' => 'toggle', - 'title' => __('Hide Element', 'multisite-ultimate'), - 'desc' => __('Be careful. Hiding an element from the account page might remove important functionality from your customers\' reach.', 'multisite-ultimate'), + 'title' => __('Hide Element', 'ultimate-multisite'), + 'desc' => __('Be careful. Hiding an element from the account page might remove important functionality from your customers\' reach.', 'ultimate-multisite'), 'value' => $this->hidden_by_default, 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -847,14 +847,14 @@ public function render_customize_modal(): void { 'fields' => [ 'restore' => [ 'type' => 'submit', - 'title' => __('Reset Settings', 'multisite-ultimate'), + 'title' => __('Reset Settings', 'ultimate-multisite'), 'value' => 'edit', 'classes' => 'button', 'wrapper_classes' => 'wu-mb-0', ], 'submit' => [ 'type' => 'submit', - 'title' => __('Save Changes', 'multisite-ultimate'), + 'title' => __('Save Changes', 'ultimate-multisite'), 'value' => 'edit', 'classes' => 'button button-primary', 'wrapper_classes' => 'wu-mb-0', @@ -1004,6 +1004,17 @@ public function display($atts) { call_user_func([$this, 'output'], $atts); } + /** + * @param $atts + * + * @return string + */ + public function get_content($atts): string { + ob_start(); + $this->display($atts); + return ob_get_clean(); + } + /** * Retrieves a cleaned up version of the content. * @@ -1016,7 +1027,7 @@ public function display($atts) { */ public function display_template($atts) { - $content = $this->display($atts); + $content = $this->get_content($atts); $content = str_replace( [ @@ -1065,7 +1076,7 @@ public function should_display_customize_controls() { public function as_inline_content($screen_id, $hook = 'admin_notices', $atts = []): void { if ( ! function_exists('get_current_screen')) { - _doing_it_wrong(__METHOD__, esc_html__('An element can not be loaded as inline content unless the get_current_screen() function is already available.', 'multisite-ultimate'), '2.0.0'); + _doing_it_wrong(__METHOD__, esc_html__('An element can not be loaded as inline content unless the get_current_screen() function is already available.', 'ultimate-multisite'), '2.0.0'); return; } @@ -1222,14 +1233,14 @@ public function super_admin_notice(): void {
diff --git a/inc/ui/class-billing-info-element.php b/inc/ui/class-billing-info-element.php index 8a17af5e1..b94497670 100644 --- a/inc/ui/class-billing-info-element.php +++ b/inc/ui/class-billing-info-element.php @@ -112,14 +112,14 @@ public function register_scripts(): void { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Billing Information', 'multisite-ultimate'); + return __('Billing Information', 'ultimate-multisite'); } /** @@ -128,14 +128,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -160,16 +160,16 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Billing Address', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Billing Address', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -184,7 +184,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Billing Information', * 'Form', * 'Cart', @@ -197,7 +197,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Billing Information', 'Form', 'Cart', @@ -221,7 +221,7 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Billing Address', 'multisite-ultimate'), + 'title' => __('Billing Address', 'ultimate-multisite'), ]; } @@ -330,8 +330,8 @@ public function render_update_billing_address() { $fields['billing-title'] = [ 'type' => 'header', 'order' => 1, - 'title' => __('Your Address', 'multisite-ultimate'), - 'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'multisite-ultimate'), + 'title' => __('Your Address', 'ultimate-multisite'), + 'desc' => __('Enter your billing address here. This info will be used on your invoices.', 'ultimate-multisite'), 'wrapper_classes' => 'wu-col-span-2', ]; @@ -341,7 +341,7 @@ public function render_update_billing_address() { $fields['submit'] = [ 'type' => 'submit', - 'title' => __('Save Changes', 'multisite-ultimate'), + 'title' => __('Save Changes', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-col-span-2', @@ -380,7 +380,7 @@ public function handle_update_billing_address(): void { $membership = wu_get_membership_by_hash(wu_request('membership')); if ( ! $membership) { - $error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'multisite-ultimate')); + $error = new \WP_Error('membership-dont-exist', __('Something went wrong.', 'ultimate-multisite')); wp_send_json_error($error); } diff --git a/inc/ui/class-checkout-element.php b/inc/ui/class-checkout-element.php index 3ed1f7593..65f452f3b 100644 --- a/inc/ui/class-checkout-element.php +++ b/inc/ui/class-checkout-element.php @@ -102,14 +102,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Checkout', 'multisite-ultimate'); + return __('Checkout', 'ultimate-multisite'); } /** @@ -118,14 +118,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -150,14 +150,14 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['slug'] = [ - 'title' => __('Slug', 'multisite-ultimate'), - 'desc' => __('The checkout form slug.', 'multisite-ultimate'), + 'title' => __('Slug', 'ultimate-multisite'), + 'desc' => __('The checkout form slug.', 'ultimate-multisite'), 'type' => 'text', ]; @@ -172,7 +172,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Checkout', * 'Form', * 'Cart', @@ -185,7 +185,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Checkout', 'Form', 'Cart', @@ -271,7 +271,7 @@ public function register_scripts() { wp_add_inline_style('wu-checkout', $custom_css); } catch (SassException $e) { // translators: %s the error message. - wu_log_add('checkout', sprintf(__('An error occurred while compiling scss: %s', 'multisite-ultimate'), $e->getMessage()), LogLevel::ERROR); + wu_log_add('checkout', sprintf(__('An error occurred while compiling scss: %s', 'ultimate-multisite'), $e->getMessage()), LogLevel::ERROR); } } @@ -344,7 +344,7 @@ public function output_form($atts, $content = null) { */ echo '

'; // Translators: Placeholder receives the customer display name - printf(esc_html__('Hi %s. You have a pending payment for your membership!', 'multisite-ultimate'), esc_html($customer->get_display_name())); + printf(esc_html__('Hi %s. You have a pending payment for your membership!', 'ultimate-multisite'), esc_html($customer->get_display_name())); $payment_url = add_query_arg( [ @@ -354,7 +354,7 @@ public function output_form($atts, $content = null) { ); // Translators: The link to registration url with payment hash - echo '
' . sprintf(esc_html__('Click here to pay.', 'multisite-ultimate'), esc_attr($payment_url)); + echo '
' . sprintf(esc_html__('Click here to pay.', 'ultimate-multisite'), esc_attr($payment_url)); echo '

'; return; @@ -367,7 +367,7 @@ public function output_form($atts, $content = null) { if ( ! $membership->is_active() && $membership->get_status() !== Membership_Status::TRIALING && in_array($atts['slug'], $membership_blocked_forms, true)) { // Translators: Placeholder receives the customer display name - printf(esc_html__('Hi %s. You cannot take action on your membership while it is not active!', 'multisite-ultimate'), esc_html($customer->get_display_name())); + printf(esc_html__('Hi %s. You cannot take action on your membership while it is not active!', 'ultimate-multisite'), esc_html($customer->get_display_name())); if ($membership->get_status() === Membership_Status::PENDING && $customer->get_email_verification() === 'pending') { /** @@ -383,17 +383,17 @@ public function output_form($atts, $content = null) { 'resend_verification_email_nonce' => wp_create_nonce('wu_resend_verification_email_nonce'), 'membership_hash' => $membership->get_hash(), 'i18n' => [ - 'resending_verification_email' => __('Resending verification email...', 'multisite-ultimate'), - 'email_sent' => __('Verification email sent!', 'multisite-ultimate'), + 'resending_verification_email' => __('Resending verification email...', 'ultimate-multisite'), + 'email_sent' => __('Verification email sent!', 'ultimate-multisite'), ], ] ); wp_enqueue_script('wu-thank-you'); - echo '

' . esc_html__('Check your inbox and verify your email address.', 'multisite-ultimate') . '

'; + echo '

' . esc_html__('Check your inbox and verify your email address.', 'ultimate-multisite') . '

'; echo ''; - printf('%s', esc_html__('Resend verification email', 'multisite-ultimate')); + printf('%s', esc_html__('Resend verification email', 'ultimate-multisite')); echo ''; } @@ -416,13 +416,13 @@ public function output_form($atts, $content = null) { ); if ( ! in_array($slug, $allowed_forms, true) && ! wu_request('payment')) { - printf('

%s

', esc_html__('You already have a membership!', 'multisite-ultimate')); + printf('

%s

', esc_html__('You already have a membership!', 'ultimate-multisite')); if (isset($published_sites[0])) { printf( '

%s

', esc_attr(get_admin_url($published_sites[0]->get_id(), 'admin.php?page=account')), - esc_html__('Go to my account', 'multisite-ultimate') + esc_html__('Go to my account', 'ultimate-multisite') ); } @@ -431,7 +431,7 @@ public function output_form($atts, $content = null) { } if ($membership && $membership->get_customer_id() !== $customer->get_id()) { - printf('

%s

', esc_html__('You are not allowed to change this membership!', 'multisite-ultimate')); + printf('

%s

', esc_html__('You are not allowed to change this membership!', 'ultimate-multisite')); return; } @@ -463,7 +463,7 @@ public function output_form($atts, $content = null) { if ($used_limit >= $limit_max) { // Translators: Placeholder receives the limit name - echo '

' . sprintf(esc_html__('You reached your membership %s limit!', 'multisite-ultimate'), esc_html($limitation)) . '

'; + echo '

' . sprintf(esc_html__('You reached your membership %s limit!', 'ultimate-multisite'), esc_html($limitation)) . '

'; echo ''; @@ -471,7 +471,7 @@ public function output_form($atts, $content = null) { printf( '%s', esc_url(wu_get_registration_url()), - esc_html(__('Buy a new membership', 'multisite-ultimate')) + esc_html(__('Buy a new membership', 'ultimate-multisite')) ); } @@ -496,7 +496,7 @@ public function output_form($atts, $content = null) { } if ( ! empty($update_link)) { - $button_text = __('Upgrade your account', 'multisite-ultimate'); + $button_text = __('Upgrade your account', 'ultimate-multisite'); printf('%s', esc_attr($update_link), esc_html($button_text)); } @@ -511,12 +511,12 @@ public function output_form($atts, $content = null) { } elseif ( ! $customer && 'wu-finish-checkout' === $slug) { echo '

'; if (is_user_logged_in()) { - esc_html_e('You need to be the account owner to complete this payment.', 'multisite-ultimate'); + esc_html_e('You need to be the account owner to complete this payment.', 'ultimate-multisite'); } else { - esc_html_e('You need to be logged in to complete a payment', 'multisite-ultimate'); + esc_html_e('You need to be logged in to complete a payment', 'ultimate-multisite'); // Translators: The link to login url with redirect_to url - echo '
' . sprintf(esc_html__('Click here sign in.', 'multisite-ultimate'), esc_attr(wp_login_url(wu_get_current_url()))); + echo '
' . sprintf(esc_html__('Click here sign in.', 'ultimate-multisite'), esc_attr(wp_login_url(wu_get_current_url()))); } echo '

'; @@ -529,19 +529,19 @@ public function output_form($atts, $content = null) { if ( ! $checkout_form) { // translators: %s is the id of the form. e.g. main-form - printf(esc_html__('Checkout form %s not found.', 'multisite-ultimate'), esc_html($slug)); + printf(esc_html__('Checkout form %s not found.', 'ultimate-multisite'), esc_html($slug)); return; } if ($checkout_form->get_field_count() === 0) { // translators: %s is the id of the form. e.g. main-form - printf(esc_html__('Checkout form %s contains no fields.', 'multisite-ultimate'), esc_html($slug)); + printf(esc_html__('Checkout form %s contains no fields.', 'ultimate-multisite'), esc_html($slug)); return; } if ( ! $checkout_form->is_active() || ! wu_get_setting('enable_registration', true)) { - printf('

%s

', esc_html__('Registration is not available at this time.', 'multisite-ultimate')); + printf('

%s

', esc_html__('Registration is not available at this time.', 'ultimate-multisite')); return; } @@ -549,7 +549,7 @@ public function output_form($atts, $content = null) { $geolocation = \WP_Ultimo\Geolocation::geolocate_ip('', true); if ( ! in_array($geolocation['country'], $checkout_form->get_allowed_countries(), true)) { - printf('

%s

', esc_html__('Registration is closed for your location.', 'multisite-ultimate')); + printf('

%s

', esc_html__('Registration is closed for your location.', 'ultimate-multisite')); return; } } diff --git a/inc/ui/class-current-membership-element.php b/inc/ui/class-current-membership-element.php index 49fefaab4..822f7d383 100644 --- a/inc/ui/class-current-membership-element.php +++ b/inc/ui/class-current-membership-element.php @@ -120,14 +120,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Membership', 'multisite-ultimate'); + return __('Membership', 'ultimate-multisite'); } /** @@ -136,14 +136,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -168,31 +168,31 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Your Membership', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Your Membership', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['display_images'] = [ 'type' => 'toggle', - 'title' => __('Display Product Images?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the product images on the element.', 'multisite-ultimate'), + 'title' => __('Display Product Images?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the product images on the element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['columns'] = [ 'type' => 'number', - 'title' => __('Columns', 'multisite-ultimate'), - 'desc' => __('How many columns to use.', 'multisite-ultimate'), + 'title' => __('Columns', 'ultimate-multisite'), + 'desc' => __('How many columns to use.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 2, 'min' => 1, @@ -210,7 +210,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Membership', * 'Form', * 'Cart', @@ -223,7 +223,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Membership', 'Form', 'Cart', @@ -247,7 +247,7 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Your Membership', 'multisite-ultimate'), + 'title' => __('Your Membership', 'ultimate-multisite'), 'display_images' => 1, 'columns' => 2, ]; @@ -365,19 +365,19 @@ public function render_edit_membership_product_modal(): void { $error = ''; if ( ! $membership) { - $error = __('Membership not selected.', 'multisite-ultimate'); + $error = __('Membership not selected.', 'ultimate-multisite'); } $product = wu_get_product_by_slug(wu_request('product')); if ( ! $product) { - $error = __('Product not selected.', 'multisite-ultimate'); + $error = __('Product not selected.', 'ultimate-multisite'); } $customer = wu_get_current_customer(); if (empty($error) && ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = __('You are not allowed to do this.', 'multisite-ultimate'); + $error = __('You are not allowed to do this.', 'ultimate-multisite'); } if ( ! empty($error)) { @@ -434,7 +434,7 @@ public function render_edit_membership_product_modal(): void { ], 'quantity' => [ 'type' => 'number', - 'title' => __('Quantity to Cancel', 'multisite-ultimate'), + 'title' => __('Quantity to Cancel', 'ultimate-multisite'), 'value' => 1, 'placeholder' => 1, 'wrapper_classes' => 'wu-w-1/2', @@ -450,8 +450,8 @@ public function render_edit_membership_product_modal(): void { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Product Cancellation', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Product Cancellation', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], @@ -463,8 +463,8 @@ public function render_edit_membership_product_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Cancel Product Subscription', 'multisite-ultimate'), - 'placeholder' => __('Cancel Product Subscription', 'multisite-ultimate'), + 'title' => __('Cancel Product Subscription', 'ultimate-multisite'), + 'placeholder' => __('Cancel Product Subscription', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'wu-w-full button button-primary', 'wrapper_classes' => 'wu-items-end', @@ -508,7 +508,7 @@ public function render_edit_membership_product_modal(): void { public function handle_edit_membership_product_modal(): void { if ( ! wu_request('confirm')) { - $error = new \WP_Error('not-confirmed', __('Please confirm the cancellation.', 'multisite-ultimate')); + $error = new \WP_Error('not-confirmed', __('Please confirm the cancellation.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -516,7 +516,7 @@ public function handle_edit_membership_product_modal(): void { $membership = wu_get_membership_by_hash(wu_request('membership')); if ( ! $membership) { - $error = new \WP_Error('membership-not-found', __('Membership not found.', 'multisite-ultimate')); + $error = new \WP_Error('membership-not-found', __('Membership not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -524,7 +524,7 @@ public function handle_edit_membership_product_modal(): void { $product = wu_get_product_by_slug(wu_request('product')); if ( ! $product) { - $error = new \WP_Error('product-not-found', __('Product not found.', 'multisite-ultimate')); + $error = new \WP_Error('product-not-found', __('Product not found.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -532,7 +532,7 @@ public function handle_edit_membership_product_modal(): void { $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = __('You are not allowed to do this.', 'multisite-ultimate'); + $error = __('You are not allowed to do this.', 'ultimate-multisite'); wp_send_json_error($error); } @@ -582,7 +582,7 @@ public function handle_edit_membership_product_modal(): void { $removed_quantity = $quantity + $existing_difference; // translators: %1$s is the quantity removed, %2$s is the product name. - $description = sprintf(__('remove %1$s %2$s from membership', 'multisite-ultimate'), $removed_quantity, $product->get_name()); + $description = sprintf(__('remove %1$s %2$s from membership', 'ultimate-multisite'), $removed_quantity, $product->get_name()); $cart->set_cart_descriptor($description); diff --git a/inc/ui/class-current-site-element.php b/inc/ui/class-current-site-element.php index 25689a895..097a93984 100644 --- a/inc/ui/class-current-site-element.php +++ b/inc/ui/class-current-site-element.php @@ -101,14 +101,14 @@ public function init(): void { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Site', 'multisite-ultimate'); + return __('Site', 'ultimate-multisite'); } /** @@ -117,14 +117,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a block to display the current site being managed.', 'multisite-ultimate'); + return __('Adds a block to display the current site being managed.', 'ultimate-multisite'); } /** @@ -149,15 +149,15 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['display_breadcrumbs'] = [ 'type' => 'toggle', - 'title' => __('Display Breadcrumbs?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the breadcrumbs block.', 'multisite-ultimate'), + 'title' => __('Display Breadcrumbs?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the breadcrumbs block.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; @@ -170,7 +170,7 @@ public function fields() { $pages = $pages ?: []; - $pages_list = [0 => __('Current Page', 'multisite-ultimate')]; + $pages_list = [0 => __('Current Page', 'ultimate-multisite')]; foreach ($pages as $page) { $pages_list[ $page->ID ] = $page->post_title; @@ -178,31 +178,31 @@ public function fields() { $fields['breadcrumbs_my_sites_page'] = [ 'type' => 'select', - 'title' => __('My Sites Page', 'multisite-ultimate'), + 'title' => __('My Sites Page', 'ultimate-multisite'), 'value' => 0, - 'desc' => __('The page with the customer sites list.', 'multisite-ultimate'), + 'desc' => __('The page with the customer sites list.', 'ultimate-multisite'), 'options' => $pages_list, ]; $fields['display_description'] = [ 'type' => 'toggle', - 'title' => __('Display Site Description?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the site description on the element.', 'multisite-ultimate'), + 'title' => __('Display Site Description?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the site description on the element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 0, ]; $fields['display_image'] = [ 'type' => 'toggle', - 'title' => __('Display Site Screenshot?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'multisite-ultimate'), + 'title' => __('Display Site Screenshot?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['screenshot_size'] = [ 'type' => 'number', - 'title' => __('Screenshot Size', 'multisite-ultimate'), + 'title' => __('Screenshot Size', 'ultimate-multisite'), 'desc' => '', 'tooltip' => '', 'value' => 200, @@ -215,10 +215,10 @@ public function fields() { $fields['screenshot_position'] = [ 'type' => 'select', - 'title' => __('Screenshot Position', 'multisite-ultimate'), + 'title' => __('Screenshot Position', 'ultimate-multisite'), 'options' => [ - 'right' => __('Right', 'multisite-ultimate'), - 'left' => __('Left', 'multisite-ultimate'), + 'right' => __('Right', 'ultimate-multisite'), + 'left' => __('Left', 'ultimate-multisite'), ], 'desc' => '', 'tooltip' => '', @@ -230,8 +230,8 @@ public function fields() { $fields['show_admin_link'] = [ 'type' => 'toggle', - 'title' => __('Show Admin Link?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the WP admin link on the element.', 'multisite-ultimate'), + 'title' => __('Show Admin Link?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the WP admin link on the element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; @@ -247,7 +247,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Site', * 'Form', * 'Cart', @@ -260,7 +260,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Site', 'Form', 'Cart', @@ -361,13 +361,13 @@ public function output($atts, $content = null): void { $actions = [ 'visit_site' => [ - 'label' => __('Visit Site', 'multisite-ultimate'), + 'label' => __('Visit Site', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-browser wu-align-text-bottom', 'classes' => '', 'href' => $this->site ? $this->site->get_active_site_url() : '', ], 'edit_site' => [ - 'label' => __('Edit Site', 'multisite-ultimate'), + 'label' => __('Edit Site', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-text-bottom', 'classes' => 'wubox', 'href' => $this->site ? wu_get_form_url( @@ -381,7 +381,7 @@ public function output($atts, $content = null): void { if ($atts['show_admin_link'] && $this->site) { $actions['site_admin'] = [ - 'label' => __('Admin Panel', 'multisite-ultimate'), + 'label' => __('Admin Panel', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-grid wu-align-text-bottom', 'classes' => '', 'href' => get_admin_url($this->site->get_id()), @@ -418,8 +418,8 @@ public function render_edit_site() { $fields = [ 'site_title' => [ 'type' => 'text', - 'title' => __('Site Title', 'multisite-ultimate'), - 'placeholder' => __('e.g. My Awesome Site', 'multisite-ultimate'), + 'title' => __('Site Title', 'ultimate-multisite'), + 'placeholder' => __('e.g. My Awesome Site', 'ultimate-multisite'), 'value' => $site->get_title(), 'html_attr' => [ 'v-model' => 'site_title', @@ -427,8 +427,8 @@ public function render_edit_site() { ], 'site_description' => [ 'type' => 'textarea', - 'title' => __('Site Description', 'multisite-ultimate'), - 'placeholder' => __('e.g. My Awesome Site description.', 'multisite-ultimate'), + 'title' => __('Site Description', 'ultimate-multisite'), + 'placeholder' => __('e.g. My Awesome Site description.', 'ultimate-multisite'), 'value' => $site->get_description(), 'html_attr' => [ 'rows' => 5, @@ -440,7 +440,7 @@ public function render_edit_site() { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Save Changes', 'multisite-ultimate'), + 'title' => __('Save Changes', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -484,7 +484,7 @@ public function handle_edit_site(): void { $site = wu_get_site_by_hash(wu_request('site')); if ( ! $site) { - $error = new \WP_Error('site-dont-exist', __('Something went wrong.', 'multisite-ultimate')); + $error = new \WP_Error('site-dont-exist', __('Something went wrong.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -492,7 +492,7 @@ public function handle_edit_site(): void { $new_title = wu_request('site_title'); if ( ! $new_title) { - $error = new \WP_Error('title_empty', __('Site title can not be empty.', 'multisite-ultimate')); + $error = new \WP_Error('title_empty', __('Site title can not be empty.', 'ultimate-multisite')); wp_send_json_error($error); } diff --git a/inc/ui/class-domain-mapping-element.php b/inc/ui/class-domain-mapping-element.php index dcf69eb3a..6ed0a8634 100644 --- a/inc/ui/class-domain-mapping-element.php +++ b/inc/ui/class-domain-mapping-element.php @@ -86,14 +86,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Domains', 'multisite-ultimate'); + return __('Domains', 'ultimate-multisite'); } /** @@ -102,14 +102,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds the site\'s domains block.', 'multisite-ultimate'); + return __('Adds the site\'s domains block.', 'ultimate-multisite'); } /** @@ -134,16 +134,16 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Domains', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Domains', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -158,7 +158,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Checkout', * 'Form', * 'Cart', @@ -171,7 +171,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Domain', ]; } @@ -193,7 +193,7 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Domains', 'multisite-ultimate'), + 'title' => __('Domains', 'ultimate-multisite'), ]; } @@ -290,7 +290,7 @@ public function render_user_add_new_domain_modal(): void { $fields = [ 'instructions_note' => [ 'type' => 'note', - 'desc' => sprintf('%s', __('← Back to the Instructions', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('← Back to the Instructions', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-if' => 'ready', 'v-cloak' => '1', @@ -299,7 +299,7 @@ public function render_user_add_new_domain_modal(): void { 'instructions' => [ 'type' => 'text-display', 'copy' => false, - 'title' => __('Instructions', 'multisite-ultimate'), + 'title' => __('Instructions', 'ultimate-multisite'), 'tooltip' => '', 'display_value' => sprintf('
%s
', wpautop($instructions)), 'wrapper_html_attr' => [ @@ -309,7 +309,7 @@ public function render_user_add_new_domain_modal(): void { ], 'ready' => [ 'type' => 'submit', - 'title' => __('Next Step →', 'multisite-ultimate'), + 'title' => __('Next Step →', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -327,8 +327,8 @@ public function render_user_add_new_domain_modal(): void { ], 'domain' => [ 'type' => 'text', - 'title' => __('Domain', 'multisite-ultimate'), - 'placeholder' => __('mydomain.com', 'multisite-ultimate'), + 'title' => __('Domain', 'ultimate-multisite'), + 'placeholder' => __('mydomain.com', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'ready', 'v-cloak' => 1, @@ -336,8 +336,8 @@ public function render_user_add_new_domain_modal(): void { ], 'primary_domain' => [ 'type' => 'toggle', - 'title' => __('Primary Domain', 'multisite-ultimate'), - 'desc' => __('Check to set this domain as the primary', 'multisite-ultimate'), + 'title' => __('Primary Domain', 'ultimate-multisite'), + 'desc' => __('Check to set this domain as the primary', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'primary_domain', ], @@ -348,7 +348,7 @@ public function render_user_add_new_domain_modal(): void { ], 'primary_note' => [ 'type' => 'note', - 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'multisite-ultimate'), + 'desc' => __('By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-if' => "require('primary_domain', true) && ready", 'v-cloak' => 1, @@ -356,7 +356,7 @@ public function render_user_add_new_domain_modal(): void { ], 'submit_button_new' => [ 'type' => 'submit', - 'title' => __('Add Domain', 'multisite-ultimate'), + 'title' => __('Add Domain', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -405,7 +405,7 @@ public function handle_user_add_new_domain_modal(): void { if ( ! is_super_admin() && (! $current_site || $current_site->get_customer()->get_user_id() !== $current_user_id)) { wp_send_json_error( - new \WP_Error('no-permissions', __('You do not have permissions to perform this action.', 'multisite-ultimate')) + new \WP_Error('no-permissions', __('You do not have permissions to perform this action.', 'ultimate-multisite')) ); exit; @@ -469,8 +469,8 @@ public function render_user_delete_domain_modal(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Deletion', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Deletion', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], @@ -481,8 +481,8 @@ public function render_user_delete_domain_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete', 'multisite-ultimate'), - 'placeholder' => __('Delete', 'multisite-ultimate'), + 'title' => __('Delete', 'ultimate-multisite'), + 'placeholder' => __('Delete', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -553,8 +553,8 @@ public function render_user_make_domain_primary_modal(): void { $fields = [ 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Action', 'multisite-ultimate'), - 'desc' => __('This action will also convert the previous primary domain (if any) to an alias to prevent unexpected behavior.', 'multisite-ultimate'), + 'title' => __('Confirm Action', 'ultimate-multisite'), + 'desc' => __('This action will also convert the previous primary domain (if any) to an alias to prevent unexpected behavior.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], @@ -565,8 +565,8 @@ public function render_user_make_domain_primary_modal(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Make it Primary', 'multisite-ultimate'), - 'placeholder' => __('Make it Primary', 'multisite-ultimate'), + 'title' => __('Make it Primary', 'ultimate-multisite'), + 'placeholder' => __('Make it Primary', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -641,7 +641,7 @@ public function handle_user_make_domain_primary_modal(): void { ); } - wp_send_json_error(new \WP_Error('error', __('Something wrong happenned.', 'multisite-ultimate'))); + wp_send_json_error(new \WP_Error('error', __('Something wrong happenned.', 'ultimate-multisite'))); } /** @@ -711,12 +711,12 @@ public function output($atts, $content = null): void { $secure = 'dashicons-wu-lock-open'; - $secure_message = __('Domain not secured with HTTPS', 'multisite-ultimate'); + $secure_message = __('Domain not secured with HTTPS', 'ultimate-multisite'); if ($domain->is_secure()) { $secure = 'dashicons-wu-lock wu-text-green-500'; - $secure_message = __('Domain secured with HTTPS', 'multisite-ultimate'); + $secure_message = __('Domain secured with HTTPS', 'ultimate-multisite'); } $url_atts = [ @@ -748,7 +748,7 @@ public function output($atts, $content = null): void { $other_atts = [ 'domains' => $domains, 'modal' => [ - 'label' => __('Add Domain', 'multisite-ultimate'), + 'label' => __('Add Domain', 'ultimate-multisite'), 'icon' => 'wu-circle-with-plus', 'classes' => 'wubox', 'url' => wu_get_form_url('user_add_new_domain', $url_atts), diff --git a/inc/ui/class-field.php b/inc/ui/class-field.php index 62d8325cf..04e72f6de 100644 --- a/inc/ui/class-field.php +++ b/inc/ui/class-field.php @@ -219,7 +219,7 @@ public function get_compat_template_name() { if (array_key_exists($this->type, $deprecated)) { // translators: The %1$s placeholder is the old type name, the second, the new type name. - _doing_it_wrong(esc_html('wu_add_field'), esc_html(sprintf(__('The field type "%1$s" is no longer supported, use "%2$s" instead.', 'multisite-ultimate'), $this->type, $new_type_name)), '2.0.0'); + _doing_it_wrong(esc_html('wu_add_field'), esc_html(sprintf(__('The field type "%1$s" is no longer supported, use "%2$s" instead.', 'ultimate-multisite'), $this->type, $new_type_name)), '2.0.0'); } /* diff --git a/inc/ui/class-form.php b/inc/ui/class-form.php index 5471bf2c2..7dd614615 100644 --- a/inc/ui/class-form.php +++ b/inc/ui/class-form.php @@ -171,8 +171,13 @@ public function render(): void { ] ); - ob_start(); + wu_get_template("{$this->views}/form", $variables); + } + /** + * @return void + */ + public function render_fields(): void { foreach ($this->get_fields() as $field_slug => $field) { $template_name = $field->get_template_name(); @@ -193,12 +198,6 @@ public function render(): void { "{$this->views}/field-text" ); } - - $rendered_fields = ob_get_clean(); - - $variables['rendered_fields'] = $rendered_fields; - - wu_get_template("{$this->views}/form", $variables); } /** diff --git a/inc/ui/class-invoices-element.php b/inc/ui/class-invoices-element.php index a4d53698f..a5224fd47 100644 --- a/inc/ui/class-invoices-element.php +++ b/inc/ui/class-invoices-element.php @@ -74,14 +74,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Invoices', 'multisite-ultimate'); + return __('Invoices', 'ultimate-multisite'); } /** @@ -90,14 +90,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -122,24 +122,24 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Invoices', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Invoices', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['limit'] = [ 'type' => 'int', - 'title' => __('Limit', 'multisite-ultimate'), + 'title' => __('Limit', 'ultimate-multisite'), 'value' => 10, - 'desc' => __('Limit the number of invoices to show.', 'multisite-ultimate'), + 'desc' => __('Limit the number of invoices to show.', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -154,7 +154,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Invoices', * 'Form', * 'Cart', @@ -167,7 +167,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Invoices', 'Form', 'Cart', @@ -191,7 +191,7 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Invoices', 'multisite-ultimate'), + 'title' => __('Invoices', 'ultimate-multisite'), 'limit' => 0, ]; } diff --git a/inc/ui/class-jumper.php b/inc/ui/class-jumper.php index 287cb2632..82375d2ee 100644 --- a/inc/ui/class-jumper.php +++ b/inc/ui/class-jumper.php @@ -185,45 +185,45 @@ public function add_user_custom_links($links) { $custom_links = $this->get_user_custom_links(); if ( ! empty($custom_links)) { - $links[ __('Custom Links', 'multisite-ultimate') ] = $custom_links; + $links[ __('Custom Links', 'ultimate-multisite') ] = $custom_links; } return $links; } /** - * Add Multisite Ultimate settings links to the Jumper menu. + * Add Ultimate Multisite settings links to the Jumper menu. * * @since 2.0.0 * - * @param array $links Multisite Ultimate settings array. + * @param array $links Ultimate Multisite settings array. * @return array */ public function add_wp_ultimo_extra_links($links) { if (isset($links['WP Ultimo'])) { $settings_tabs = [ - 'general' => __('General', 'multisite-ultimate'), - 'network' => __('Network Settings', 'multisite-ultimate'), - 'gateways' => __('Payment Gateways', 'multisite-ultimate'), - 'domain_mapping' => __('Domain Mapping & SSL', 'multisite-ultimate'), - 'emails' => __('Emails', 'multisite-ultimate'), - 'styling' => __('Styling', 'multisite-ultimate'), - 'tools' => __('Tools', 'multisite-ultimate'), - 'advanced' => __('Advanced', 'multisite-ultimate'), - 'activation' => __('Activation & Support', 'multisite-ultimate'), + 'general' => __('General', 'ultimate-multisite'), + 'network' => __('Network Settings', 'ultimate-multisite'), + 'gateways' => __('Payment Gateways', 'ultimate-multisite'), + 'domain_mapping' => __('Domain Mapping & SSL', 'ultimate-multisite'), + 'emails' => __('Emails', 'ultimate-multisite'), + 'styling' => __('Styling', 'ultimate-multisite'), + 'tools' => __('Tools', 'ultimate-multisite'), + 'advanced' => __('Advanced', 'ultimate-multisite'), + 'activation' => __('Activation & Support', 'ultimate-multisite'), ]; foreach ($settings_tabs as $tab => $tab_label) { $url = network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=' . $tab); // translators: The placeholder represents the title of the Settings tab. - $links['WP Ultimo'][ $url ] = sprintf(__('Settings: %s', 'multisite-ultimate'), $tab_label); + $links['WP Ultimo'][ $url ] = sprintf(__('Settings: %s', 'ultimate-multisite'), $tab_label); } - $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=tools') ] = __('Settings: Webhooks', 'multisite-ultimate'); + $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-settings&wu-tab=tools') ] = __('Settings: Webhooks', 'ultimate-multisite'); - $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-system-info&wu-tab=logs') ] = __('System Info: Logs', 'multisite-ultimate'); + $links['WP Ultimo'][ network_admin_url('admin.php?page=wp-ultimo-system-info&wu-tab=logs') ] = __('System Info: Logs', 'ultimate-multisite'); /** * Adds Main Site Dashboard @@ -231,7 +231,7 @@ public function add_wp_ultimo_extra_links($links) { if (isset($links[ __('Sites') ])) { // phpcs:ignore WordPress.WP.I18n.MissingArgDomain $main_site_url = get_admin_url(get_current_site()->site_id); - $links[ __('Sites') ][ $main_site_url ] = __('Main Site Dashboard', 'multisite-ultimate'); // phpcs:ignore WordPress.WP.I18n.MissingArgDomain + $links[ __('Sites') ][ $main_site_url ] = __('Main Site Dashboard', 'ultimate-multisite'); // phpcs:ignore WordPress.WP.I18n.MissingArgDomain } } @@ -298,7 +298,7 @@ public function add_jumper_footer_message($text) { $html = trim($html, '+'); // translators: the %s placeholder is the key combination to trigger the Jumper. - return '' . sprintf(__('Quick Tip: Use %s to jump between pages.', 'multisite-ultimate'), $html) . '' . $text; + return '' . sprintf(__('Quick Tip: Use %s to jump between pages.', 'ultimate-multisite'), $html) . '' . $text; } /** @@ -317,7 +317,7 @@ public function enqueue_scripts(): void { 'wu-jumper', 'wu_jumper_vars', [ - 'not_found_message' => __('Nothing found for', 'multisite-ultimate'), + 'not_found_message' => __('Nothing found for', 'ultimate-multisite'), 'trigger_key' => $this->get_defined_trigger_key(), 'network_base_url' => network_admin_url(), 'ajaxurl' => wu_ajax_url(), @@ -406,7 +406,7 @@ public function build_link_list() { return Logger::track_time( 'jumper', - __('Regenerating Jumper menu items', 'multisite-ultimate'), + __('Regenerating Jumper menu items', 'ultimate-multisite'), function () { global $menu, $submenu; @@ -475,7 +475,7 @@ public function get_link_list() { } /** - * Filter the Multisite Ultimate settings to add Jumper options + * Filter the Ultimate Multisite settings to add Jumper options * * @since 2.0.0 * @@ -486,8 +486,8 @@ public function add_settings(): void { wu_register_settings_section( 'tools', [ - 'title' => __('Tools', 'multisite-ultimate'), - 'desc' => __('Tools', 'multisite-ultimate'), + 'title' => __('Tools', 'ultimate-multisite'), + 'desc' => __('Tools', 'ultimate-multisite'), 'icon' => 'dashicons-wu-tools', ] ); @@ -496,8 +496,8 @@ public function add_settings(): void { 'tools', 'tools_header', [ - 'title' => __('Jumper', 'multisite-ultimate'), - 'desc' => __('Spotlight-like search bar that allows you to easily access everything on your network.', 'multisite-ultimate'), + 'title' => __('Jumper', 'ultimate-multisite'), + 'desc' => __('Spotlight-like search bar that allows you to easily access everything on your network.', 'ultimate-multisite'), 'type' => 'header', ] ); @@ -506,8 +506,8 @@ public function add_settings(): void { 'tools', 'enable_jumper', [ - 'title' => __('Enable Jumper', 'multisite-ultimate'), - 'desc' => __('Turn this option on to make the Jumper available on your network.', 'multisite-ultimate'), + 'title' => __('Enable Jumper', 'ultimate-multisite'), + 'desc' => __('Turn this option on to make the Jumper available on your network.', 'ultimate-multisite'), 'type' => 'toggle', 'default' => 1, ] @@ -517,8 +517,8 @@ public function add_settings(): void { 'tools', 'jumper_key', [ - 'title' => __('Trigger Key', 'multisite-ultimate'), - 'desc' => __('Change the keyboard key used in conjunction with ctrl + alt (or cmd + option), to trigger the Jumper box.', 'multisite-ultimate'), + 'title' => __('Trigger Key', 'ultimate-multisite'), + 'desc' => __('Change the keyboard key used in conjunction with ctrl + alt (or cmd + option), to trigger the Jumper box.', 'ultimate-multisite'), 'type' => 'text', 'default' => 'g', 'require' => [ @@ -531,9 +531,9 @@ public function add_settings(): void { 'tools', 'jumper_custom_links', [ - 'title' => __('Custom Links', 'multisite-ultimate'), - 'desc' => __('Use this textarea to add custom links to the Jumper. Add one per line, with the format "Title : url".', 'multisite-ultimate'), - 'placeholder' => __('Tile of Custom Link : http://link.com', 'multisite-ultimate'), + 'title' => __('Custom Links', 'ultimate-multisite'), + 'desc' => __('Use this textarea to add custom links to the Jumper. Add one per line, with the format "Title : url".', 'ultimate-multisite'), + 'placeholder' => __('Tile of Custom Link : http://link.com', 'ultimate-multisite'), 'type' => 'textarea', 'html_attr' => [ 'rows' => 4, diff --git a/inc/ui/class-limits-element.php b/inc/ui/class-limits-element.php index 52fc351a6..fe9d4d509 100644 --- a/inc/ui/class-limits-element.php +++ b/inc/ui/class-limits-element.php @@ -73,14 +73,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Limits & Quotas', 'multisite-ultimate'); + return __('Limits & Quotas', 'ultimate-multisite'); } /** @@ -89,14 +89,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -121,23 +121,23 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Site Limits', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Site Limits', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['columns'] = [ 'type' => 'number', - 'title' => __('Columns', 'multisite-ultimate'), - 'desc' => __('How many columns to use.', 'multisite-ultimate'), + 'title' => __('Columns', 'ultimate-multisite'), + 'desc' => __('How many columns to use.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, 'min' => 1, @@ -155,7 +155,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Checkout', * 'Form', * 'Cart', @@ -168,7 +168,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Account', 'Limits', 'Quotas', @@ -193,7 +193,7 @@ public function defaults() { return [ 'columns' => 1, - 'title' => __('Site Limits', 'multisite-ultimate'), + 'title' => __('Site Limits', 'ultimate-multisite'), ]; } diff --git a/inc/ui/class-login-form-element.php b/inc/ui/class-login-form-element.php index cee213e0b..dd9bf18fc 100644 --- a/inc/ui/class-login-form-element.php +++ b/inc/ui/class-login-form-element.php @@ -89,14 +89,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Login Form', 'multisite-ultimate'); + return __('Login Form', 'ultimate-multisite'); } /** @@ -105,14 +105,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a login form to the page.', 'multisite-ultimate'); + return __('Adds a login form to the page.', 'ultimate-multisite'); } /** @@ -137,23 +137,23 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['display_title'] = [ 'type' => 'toggle', - 'title' => __('Display Title?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the title element.', 'multisite-ultimate'), + 'title' => __('Display Title?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the title element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Login', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Login', 'ultimate-multisite'), 'desc' => '', 'tooltip' => '', 'required' => [ @@ -163,22 +163,22 @@ public function fields() { $fields['redirect_type'] = [ 'type' => 'select', - 'title' => __('Redirect Type', 'multisite-ultimate'), - 'desc' => __('The behavior after login', 'multisite-ultimate'), + 'title' => __('Redirect Type', 'ultimate-multisite'), + 'desc' => __('The behavior after login', 'ultimate-multisite'), 'tooltip' => '', 'default' => 'default', 'options' => [ - 'default' => __('Wordpress Default', 'multisite-ultimate'), - 'customer_site' => __('Send To Customer Site', 'multisite-ultimate'), - 'main_site' => __('Send To Main Site', 'multisite-ultimate'), + 'default' => __('Wordpress Default', 'ultimate-multisite'), + 'customer_site' => __('Send To Customer Site', 'ultimate-multisite'), + 'main_site' => __('Send To Main Site', 'ultimate-multisite'), ], ]; $fields['customer_redirect_path'] = [ 'type' => 'text', - 'title' => __('Customer Redirect Path', 'multisite-ultimate'), - 'value' => __('/wp-admin', 'multisite-ultimate'), - 'desc' => __('e.g. /wp-admin', 'multisite-ultimate'), + 'title' => __('Customer Redirect Path', 'ultimate-multisite'), + 'value' => __('/wp-admin', 'ultimate-multisite'), + 'desc' => __('e.g. /wp-admin', 'ultimate-multisite'), 'tooltip' => '', 'required' => [ 'redirect_type' => 'customer_site', @@ -187,9 +187,9 @@ public function fields() { $fields['main_redirect_path'] = [ 'type' => 'text', - 'title' => __('Main Site Redirect Path', 'multisite-ultimate'), - 'value' => __('/wp-admin', 'multisite-ultimate'), - 'desc' => __('e.g. /wp-admin', 'multisite-ultimate'), + 'title' => __('Main Site Redirect Path', 'ultimate-multisite'), + 'value' => __('/wp-admin', 'ultimate-multisite'), + 'desc' => __('e.g. /wp-admin', 'ultimate-multisite'), 'tooltip' => '', 'required' => [ 'redirect_type' => 'main_site', @@ -197,67 +197,67 @@ public function fields() { ]; $fields['header_username'] = [ - 'title' => __('Username Field', 'multisite-ultimate'), - 'desc' => __('Username Field', 'multisite-ultimate'), + 'title' => __('Username Field', 'ultimate-multisite'), + 'desc' => __('Username Field', 'ultimate-multisite'), 'type' => 'header', ]; $fields['label_username'] = [ 'type' => 'text', - 'title' => __('Username Field Label', 'multisite-ultimate'), - 'value' => __('Username or Email Address', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide.', 'multisite-ultimate'), + 'title' => __('Username Field Label', 'ultimate-multisite'), + 'value' => __('Username or Email Address', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['placeholder_username'] = [ 'type' => 'text', - 'title' => __('Username Field Placeholder', 'multisite-ultimate'), - 'desc' => __('e.g. Username Here', 'multisite-ultimate'), + 'title' => __('Username Field Placeholder', 'ultimate-multisite'), + 'desc' => __('e.g. Username Here', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', ]; $fields['header_password'] = [ - 'title' => __('Password Field', 'multisite-ultimate'), - 'desc' => __('Password Field', 'multisite-ultimate'), + 'title' => __('Password Field', 'ultimate-multisite'), + 'desc' => __('Password Field', 'ultimate-multisite'), 'type' => 'header', ]; $fields['label_password'] = [ 'type' => 'text', - 'title' => __('Password Field Label', 'multisite-ultimate'), - 'value' => __('Password', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide.', 'multisite-ultimate'), + 'title' => __('Password Field Label', 'ultimate-multisite'), + 'value' => __('Password', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['placeholder_password'] = [ 'type' => 'text', - 'title' => __('Password Field Placeholder', 'multisite-ultimate'), - 'desc' => __('e.g. Your Password', 'multisite-ultimate'), + 'title' => __('Password Field Placeholder', 'ultimate-multisite'), + 'desc' => __('e.g. Your Password', 'ultimate-multisite'), 'value' => '', 'tooltip' => '', ]; $fields['header_remember'] = [ - 'title' => __('Remember Me', 'multisite-ultimate'), - 'desc' => __('Remember Me', 'multisite-ultimate'), + 'title' => __('Remember Me', 'ultimate-multisite'), + 'desc' => __('Remember Me', 'ultimate-multisite'), 'type' => 'header', ]; $fields['remember'] = [ 'type' => 'toggle', - 'title' => __('Display Remember Toggle?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the remember me checkbox.', 'multisite-ultimate'), + 'title' => __('Display Remember Toggle?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the remember me checkbox.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['label_remember'] = [ 'type' => 'text', - 'title' => __('Remember Me Label', 'multisite-ultimate'), - 'value' => __('Remember Me', 'multisite-ultimate'), + 'title' => __('Remember Me Label', 'ultimate-multisite'), + 'value' => __('Remember Me', 'ultimate-multisite'), 'desc' => '', 'tooltip' => '', 'required' => [ @@ -267,8 +267,8 @@ public function fields() { $fields['desc_remember'] = [ 'type' => 'text', - 'title' => __('Remember Me Description', 'multisite-ultimate'), - 'value' => __('Keep me logged in for two weeks.', 'multisite-ultimate'), + 'title' => __('Remember Me Description', 'ultimate-multisite'), + 'value' => __('Keep me logged in for two weeks.', 'ultimate-multisite'), 'desc' => '', 'tooltip' => '', 'required' => [ @@ -277,15 +277,15 @@ public function fields() { ]; $fields['header_submit'] = [ - 'title' => __('Submit Button', 'multisite-ultimate'), - 'desc' => __('Submit Button', 'multisite-ultimate'), + 'title' => __('Submit Button', 'ultimate-multisite'), + 'desc' => __('Submit Button', 'ultimate-multisite'), 'type' => 'header', ]; $fields['label_log_in'] = [ 'type' => 'text', - 'title' => __('Submit Button Label', 'multisite-ultimate'), - 'value' => __('Log In', 'multisite-ultimate'), + 'title' => __('Submit Button Label', 'ultimate-multisite'), + 'value' => __('Log In', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -311,7 +311,7 @@ public function register_scripts(): void { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Billing_Address', * 'Form', * 'Cart', @@ -324,7 +324,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Login', 'Reset Password', ]; @@ -351,7 +351,7 @@ public function defaults() { return [ 'display_title' => 1, - 'title' => __('Login', 'multisite-ultimate'), + 'title' => __('Login', 'ultimate-multisite'), 'redirect_type' => 'default', 'customer_redirect_path' => '/wp-admin', @@ -367,7 +367,7 @@ public function defaults() { 'placeholder_password' => '', 'label_remember' => __('Remember Me'), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain - 'desc_remember' => __('Keep me logged in for two weeks.', 'multisite-ultimate'), + 'desc_remember' => __('Keep me logged in for two weeks.', 'ultimate-multisite'), 'label_log_in' => __('Log In'), // phpcs:ignore WordPress.WP.I18n.MissingArgDomain diff --git a/inc/ui/class-my-sites-element.php b/inc/ui/class-my-sites-element.php index 8d6254009..29f6d8bf1 100644 --- a/inc/ui/class-my-sites-element.php +++ b/inc/ui/class-my-sites-element.php @@ -84,14 +84,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('My Sites', 'multisite-ultimate'); + return __('My Sites', 'ultimate-multisite'); } /** @@ -100,14 +100,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a block to display the sites owned by the current customer.', 'multisite-ultimate'); + return __('Adds a block to display the sites owned by the current customer.', 'ultimate-multisite'); } /** @@ -132,33 +132,33 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['site_manage_type'] = [ 'type' => 'select', - 'title' => __('Site Manage Type', 'multisite-ultimate'), - 'desc' => __('The page to manage a site.', 'multisite-ultimate'), + 'title' => __('Site Manage Type', 'ultimate-multisite'), + 'desc' => __('The page to manage a site.', 'ultimate-multisite'), 'tooltip' => '', 'default' => 'default', 'options' => [ - 'default' => __('Same Page', 'multisite-ultimate'), - 'wp_admin' => __('WP Admin', 'multisite-ultimate'), - 'custom_page' => __('Custom Page', 'multisite-ultimate'), + 'default' => __('Same Page', 'ultimate-multisite'), + 'wp_admin' => __('WP Admin', 'ultimate-multisite'), + 'custom_page' => __('Custom Page', 'ultimate-multisite'), ], ]; $fields['site_show'] = [ 'type' => 'select', - 'title' => __('Which sites to show?', 'multisite-ultimate'), - 'desc' => __('Select which sites should be listed for user.', 'multisite-ultimate'), + 'title' => __('Which sites to show?', 'ultimate-multisite'), + 'desc' => __('Select which sites should be listed for user.', 'ultimate-multisite'), 'tooltip' => '', 'default' => 'all', 'options' => [ - 'all' => __('All', 'multisite-ultimate'), - 'owned' => __('Owned', 'multisite-ultimate'), + 'all' => __('All', 'ultimate-multisite'), + 'owned' => __('Owned', 'ultimate-multisite'), ], ]; @@ -170,7 +170,7 @@ public function fields() { $pages = $pages ?: []; - $pages_list = [0 => __('Current Page', 'multisite-ultimate')]; + $pages_list = [0 => __('Current Page', 'ultimate-multisite')]; foreach ($pages as $page) { $pages_list[ $page->ID ] = $page->post_title; @@ -178,9 +178,9 @@ public function fields() { $fields['custom_manage_page'] = [ 'type' => 'select', - 'title' => __('Manage Redirect Page', 'multisite-ultimate'), + 'title' => __('Manage Redirect Page', 'ultimate-multisite'), 'value' => 0, - 'desc' => __('The page to redirect user after select a site.', 'multisite-ultimate'), + 'desc' => __('The page to redirect user after select a site.', 'ultimate-multisite'), 'tooltip' => '', 'required' => [ 'site_manage_type' => 'custom_page', @@ -190,8 +190,8 @@ public function fields() { $fields['columns'] = [ 'type' => 'number', - 'title' => __('Columns', 'multisite-ultimate'), - 'desc' => __('How many columns to use.', 'multisite-ultimate'), + 'title' => __('Columns', 'ultimate-multisite'), + 'desc' => __('How many columns to use.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 4, 'min' => 1, @@ -200,8 +200,8 @@ public function fields() { $fields['display_images'] = [ 'type' => 'toggle', - 'title' => __('Display Site Screenshot?', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'multisite-ultimate'), + 'title' => __('Display Site Screenshot?', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the site screenshots on the element.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; @@ -217,7 +217,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Site', * 'Form', * 'Cart', @@ -230,7 +230,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Site', 'Form', 'Cart', diff --git a/inc/ui/class-payment-methods-element.php b/inc/ui/class-payment-methods-element.php index 6d249008e..f0fe469ec 100644 --- a/inc/ui/class-payment-methods-element.php +++ b/inc/ui/class-payment-methods-element.php @@ -58,14 +58,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Payment Methods', 'multisite-ultimate'); + return __('Payment Methods', 'ultimate-multisite'); } /** @@ -74,14 +74,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -106,23 +106,23 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['password_strength'] = [ 'type' => 'toggle', - 'title' => __('Password Strength Meter', 'multisite-ultimate'), - 'desc' => __('Set this customer as a VIP.', 'multisite-ultimate'), + 'title' => __('Password Strength Meter', 'ultimate-multisite'), + 'desc' => __('Set this customer as a VIP.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['apply_styles'] = [ 'type' => 'toggle', - 'title' => __('Apply Styles', 'multisite-ultimate'), - 'desc' => __('Set this customer as a VIP.', 'multisite-ultimate'), + 'title' => __('Apply Styles', 'ultimate-multisite'), + 'desc' => __('Set this customer as a VIP.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; @@ -138,7 +138,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Payment Methods', * 'Form', * 'Cart', @@ -151,7 +151,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Payment Methods', 'Form', 'Cart', diff --git a/inc/ui/class-simple-text-element.php b/inc/ui/class-simple-text-element.php index 9a62996e4..779778eed 100644 --- a/inc/ui/class-simple-text-element.php +++ b/inc/ui/class-simple-text-element.php @@ -74,14 +74,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Simple Text', 'multisite-ultimate'); + return __('Simple Text', 'ultimate-multisite'); } /** @@ -90,14 +90,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a simple text block to the page.', 'multisite-ultimate'); + return __('Adds a simple text block to the page.', 'ultimate-multisite'); } /** @@ -122,16 +122,16 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['simple_text'] = [ 'type' => 'textarea', - 'title' => __('Content', 'multisite-ultimate'), - 'placeholder' => __('E.g. Text, HTML or shortcode.', 'multisite-ultimate'), - 'desc' => __('You can insert plain text, HTML or a shortcode in this block.', 'multisite-ultimate'), + 'title' => __('Content', 'ultimate-multisite'), + 'placeholder' => __('E.g. Text, HTML or shortcode.', 'ultimate-multisite'), + 'desc' => __('You can insert plain text, HTML or a shortcode in this block.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'rows' => 6, @@ -160,7 +160,7 @@ public function register_scripts(): void { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Billing_Address', * 'Form', * 'Cart', @@ -173,7 +173,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'text', 'simple text', 'shortcode', @@ -198,7 +198,7 @@ public function keywords() { public function defaults() { return [ - 'simple_text' => __('Text, HTML or shortcode.', 'multisite-ultimate'), + 'simple_text' => __('Text, HTML or shortcode.', 'ultimate-multisite'), ]; } diff --git a/inc/ui/class-site-actions-element.php b/inc/ui/class-site-actions-element.php index 0215b6c37..c3bf3750a 100644 --- a/inc/ui/class-site-actions-element.php +++ b/inc/ui/class-site-actions-element.php @@ -96,14 +96,14 @@ public function get_icon($context = 'block'): string { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Actions', 'multisite-ultimate'); + return __('Actions', 'ultimate-multisite'); } /** @@ -112,14 +112,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -144,31 +144,31 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['show_change_password'] = [ 'type' => 'toggle', - 'title' => __('Show Change Password', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the password link.', 'multisite-ultimate'), + 'title' => __('Show Change Password', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the password link.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['show_change_default_site'] = [ 'type' => 'toggle', - 'title' => __('Show Change Default Site', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the change default site link.', 'multisite-ultimate'), + 'title' => __('Show Change Default Site', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the change default site link.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; $fields['show_change_payment_method'] = [ 'type' => 'toggle', - 'title' => __('Show Change Payment Method', 'multisite-ultimate'), - 'desc' => __('Toggle to show/hide the option to cancel the current payment method.', 'multisite-ultimate'), + 'title' => __('Show Change Payment Method', 'ultimate-multisite'), + 'desc' => __('Toggle to show/hide the option to cancel the current payment method.', 'ultimate-multisite'), 'tooltip' => '', 'value' => 1, ]; @@ -181,7 +181,7 @@ public function fields() { $pages = $pages ?: []; - $pages_list = [0 => __('Default', 'multisite-ultimate')]; + $pages_list = [0 => __('Default', 'ultimate-multisite')]; foreach ($pages as $page) { $pages_list[ $page->ID ] = $page->post_title; @@ -189,9 +189,9 @@ public function fields() { $fields['redirect_after_delete'] = [ 'type' => 'select', - 'title' => __('Redirect After Delete', 'multisite-ultimate'), + 'title' => __('Redirect After Delete', 'ultimate-multisite'), 'value' => 0, - 'desc' => __('The page to redirect user after delete current site.', 'multisite-ultimate'), + 'desc' => __('The page to redirect user after delete current site.', 'ultimate-multisite'), 'tooltip' => '', 'options' => $pages_list, ]; @@ -207,7 +207,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Actions', * 'Form', * 'Cart', @@ -220,7 +220,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Actions', 'Form', 'Cart', @@ -371,7 +371,7 @@ public function get_actions($atts) { if ($is_template_switching_enabled && $this->site) { $actions['template_switching'] = [ - 'label' => __('Change Site Template', 'multisite-ultimate'), + 'label' => __('Change Site Template', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'href' => add_query_arg( [ @@ -384,7 +384,7 @@ public function get_actions($atts) { if (count($all_blogs) > 1 && wu_get_isset($atts, 'show_change_default_site')) { $actions['default_site'] = [ - 'label' => __('Change Default Site', 'multisite-ultimate'), + 'label' => __('Change Default Site', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'classes' => 'wubox', 'href' => wu_get_form_url('change_default_site'), @@ -393,7 +393,7 @@ public function get_actions($atts) { if (wu_get_isset($atts, 'show_change_password')) { $actions['change_password'] = [ - 'label' => __('Change Password', 'multisite-ultimate'), + 'label' => __('Change Password', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'classes' => 'wubox', 'href' => wu_get_form_url('change_password'), @@ -404,7 +404,7 @@ public function get_actions($atts) { if (wu_get_isset($atts, 'show_change_payment_method') && $payment_gateway) { $actions['cancel_payment_method'] = [ - 'label' => __('Cancel Current Payment Method', 'multisite-ultimate'), + 'label' => __('Cancel Current Payment Method', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'classes' => 'wubox', 'href' => wu_get_form_url( @@ -435,7 +435,7 @@ public function get_danger_zone_actions($atts) { $actions = array_merge( [ 'delete_site' => [ - 'label' => __('Delete Site', 'multisite-ultimate'), + 'label' => __('Delete Site', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'classes' => 'wubox wu-text-red-500', 'href' => wu_get_form_url( @@ -455,7 +455,7 @@ public function get_danger_zone_actions($atts) { $actions = array_merge( [ 'cancel_membership' => [ - 'label' => __('Cancel Membership', 'multisite-ultimate'), + 'label' => __('Cancel Membership', 'ultimate-multisite'), 'icon_classes' => 'dashicons-wu-edit wu-align-middle', 'classes' => 'wubox wu-text-red-500', 'href' => wu_get_form_url( @@ -487,13 +487,13 @@ public function render_delete_site(): void { $error = ''; if ( ! $site) { - $error = __('Site not selected.', 'multisite-ultimate'); + $error = __('Site not selected.', 'ultimate-multisite'); } $customer = wu_get_current_customer(); if ( ! $customer || $customer->get_id() !== $site->get_customer_id()) { - $error = __('You are not allowed to do this.', 'multisite-ultimate'); + $error = __('You are not allowed to do this.', 'ultimate-multisite'); } if ( ! empty($error)) { @@ -530,16 +530,16 @@ public function render_delete_site(): void { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Site Deletion', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Site Deletion', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Delete Site', 'multisite-ultimate'), - 'placeholder' => __('Delete Site', 'multisite-ultimate'), + 'title' => __('Delete Site', 'ultimate-multisite'), + 'placeholder' => __('Delete Site', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -584,13 +584,13 @@ public function handle_delete_site() { $site = wu_get_site_by_hash(wu_request('site')); if ( ! $site || ! $site->is_customer_allowed()) { - return new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + return new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); } $customer = wu_get_current_customer(); if ( ! $customer || $customer->get_id() !== $site->get_customer_id()) { - return new \WP_Error('error', __('You are not allowed to do this.', 'multisite-ultimate')); + return new \WP_Error('error', __('You are not allowed to do this.', 'ultimate-multisite')); } $wpdb->query('START TRANSACTION'); // phpcs:ignore WordPress.DB.DirectDatabaseQuery @@ -636,23 +636,23 @@ public function render_change_password(): void { $fields = [ 'password' => [ 'type' => 'password', - 'title' => __('Current Password', 'multisite-ultimate'), - 'placeholder' => __('******', 'multisite-ultimate'), + 'title' => __('Current Password', 'ultimate-multisite'), + 'placeholder' => __('******', 'ultimate-multisite'), ], 'new_password' => [ 'type' => 'password', - 'title' => __('New Password', 'multisite-ultimate'), - 'placeholder' => __('******', 'multisite-ultimate'), + 'title' => __('New Password', 'ultimate-multisite'), + 'placeholder' => __('******', 'ultimate-multisite'), 'meter' => true, ], 'new_password_conf' => [ 'type' => 'password', - 'placeholder' => __('******', 'multisite-ultimate'), - 'title' => __('Confirm New Password', 'multisite-ultimate'), + 'placeholder' => __('******', 'ultimate-multisite'), + 'title' => __('Confirm New Password', 'ultimate-multisite'), ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Reset Password', 'multisite-ultimate'), + 'title' => __('Reset Password', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -688,7 +688,7 @@ public function handle_change_password(): void { $user = wp_get_current_user(); if ( ! $user) { - $error = new \WP_Error('user-dont-exist', __('Something went wrong.', 'multisite-ultimate')); + $error = new \WP_Error('user-dont-exist', __('Something went wrong.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -696,7 +696,7 @@ public function handle_change_password(): void { $current_password = wu_request('password'); if ( ! wp_check_password($current_password, $user->user_pass, $user->ID)) { - $error = new \WP_Error('wrong-password', __('Your current password is wrong.', 'multisite-ultimate')); + $error = new \WP_Error('wrong-password', __('Your current password is wrong.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -705,13 +705,13 @@ public function handle_change_password(): void { $new_password_conf = wu_request('new_password_conf'); if ( ! $new_password || strlen((string) $new_password) < 6) { - $error = new \WP_Error('password-min-length', __('The new password must be at least 6 characters long.', 'multisite-ultimate')); + $error = new \WP_Error('password-min-length', __('The new password must be at least 6 characters long.', 'ultimate-multisite')); wp_send_json_error($error); } if ($new_password !== $new_password_conf) { - $error = new \WP_Error('passwords-dont-match', __('New passwords do not match.', 'multisite-ultimate')); + $error = new \WP_Error('passwords-dont-match', __('New passwords do not match.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -752,8 +752,8 @@ public function render_change_default_site(): void { $fields = [ 'new_primary_site' => [ 'type' => 'select', - 'title' => __('Primary Site', 'multisite-ultimate'), - 'desc' => __('Change the primary site of your network.', 'multisite-ultimate'), + 'title' => __('Primary Site', 'ultimate-multisite'), + 'desc' => __('Change the primary site of your network.', 'ultimate-multisite'), 'options' => $option_blogs, 'value' => $primary_blog, 'html_attr' => [ @@ -762,7 +762,7 @@ public function render_change_default_site(): void { ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Change Default Site', 'multisite-ultimate'), + 'title' => __('Change Default Site', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -814,7 +814,7 @@ public function handle_change_default_site(): void { ); } - $error = new \WP_Error('no-site-selected', __('You need to select a new primary site.', 'multisite-ultimate')); + $error = new \WP_Error('no-site-selected', __('You need to select a new primary site.', 'ultimate-multisite')); wp_send_json_error($error); } @@ -832,13 +832,13 @@ public function render_cancel_payment_method(): void { $error = ''; if ( ! $membership) { - $error = __('Membership not selected.', 'multisite-ultimate'); + $error = __('Membership not selected.', 'ultimate-multisite'); } $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = __('You are not allowed to do this.', 'multisite-ultimate'); + $error = __('You are not allowed to do this.', 'ultimate-multisite'); } if ( ! empty($error)) { @@ -875,16 +875,16 @@ public function render_cancel_payment_method(): void { ], 'confirm' => [ 'type' => 'toggle', - 'title' => __('Confirm Payment Method Cancellation', 'multisite-ultimate'), - 'desc' => __('This action can not be undone.', 'multisite-ultimate'), + 'title' => __('Confirm Payment Method Cancellation', 'ultimate-multisite'), + 'desc' => __('This action can not be undone.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmed', ], ], 'submit_button' => [ 'type' => 'submit', - 'title' => __('Cancel Payment Method', 'multisite-ultimate'), - 'placeholder' => __('Cancel Payment Method', 'multisite-ultimate'), + 'title' => __('Cancel Payment Method', 'ultimate-multisite'), + 'placeholder' => __('Cancel Payment Method', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', @@ -926,7 +926,7 @@ public function handle_cancel_payment_method(): void { $membership = wu_get_membership_by_hash(wu_request('membership')); if ( ! $membership) { - $error = new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); wp_send_json_error($error); @@ -936,7 +936,7 @@ public function handle_cancel_payment_method(): void { $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = new \WP_Error('error', __('You are not allowed to do this.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('You are not allowed to do this.', 'ultimate-multisite')); wp_send_json_error($error); @@ -979,13 +979,13 @@ public function render_cancel_membership(): void { $error = ''; if ( ! $membership) { - $error = __('Membership not selected.', 'multisite-ultimate'); + $error = __('Membership not selected.', 'ultimate-multisite'); } $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = __('You are not allowed to do this.', 'multisite-ultimate'); + $error = __('You are not allowed to do this.', 'ultimate-multisite'); } if ( ! empty($error)) { @@ -1022,33 +1022,33 @@ public function render_cancel_membership(): void { ], 'cancellation_reason' => [ 'type' => 'select', - 'title' => __('Please tell us why you are cancelling.', 'multisite-ultimate'), - 'desc' => __('We would love your feedback.', 'multisite-ultimate'), + 'title' => __('Please tell us why you are cancelling.', 'ultimate-multisite'), + 'desc' => __('We would love your feedback.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'cancellation_reason', ], 'default' => '', 'options' => [ - '' => __('Select a reason', 'multisite-ultimate'), - 'unused' => __('I no longer need it', 'multisite-ultimate'), - 'too_expensive' => __('It\'s too expensive', 'multisite-ultimate'), - 'missing_features' => __('I need more features', 'multisite-ultimate'), - 'switched_service' => __('Switched to another service', 'multisite-ultimate'), - 'customer_service' => __('Customer support is less than expected', 'multisite-ultimate'), - 'too_complex' => __('Too complex', 'multisite-ultimate'), - 'other' => __('Other', 'multisite-ultimate'), + '' => __('Select a reason', 'ultimate-multisite'), + 'unused' => __('I no longer need it', 'ultimate-multisite'), + 'too_expensive' => __('It\'s too expensive', 'ultimate-multisite'), + 'missing_features' => __('I need more features', 'ultimate-multisite'), + 'switched_service' => __('Switched to another service', 'ultimate-multisite'), + 'customer_service' => __('Customer support is less than expected', 'ultimate-multisite'), + 'too_complex' => __('Too complex', 'ultimate-multisite'), + 'other' => __('Other', 'ultimate-multisite'), ], ], 'cancellation_explanation' => [ 'type' => 'textarea', - 'title' => __('Please provide additional details.', 'multisite-ultimate'), + 'title' => __('Please provide additional details.', 'ultimate-multisite'), 'wrapper_html_attr' => [ 'v-show' => 'cancellation_reason === "other"', ], ], 'confirm' => [ 'type' => 'text', - 'title' => __('Type CANCEL to confirm this membership cancellation.', 'multisite-ultimate'), + 'title' => __('Type CANCEL to confirm this membership cancellation.', 'ultimate-multisite'), 'html_attr' => [ 'v-model' => 'confirmation', ], @@ -1065,19 +1065,19 @@ public function render_cancel_membership(): void { $fields['next_charge'] = [ 'type' => 'note', // translators: %s: Next charge date. - 'desc' => sprintf(__('Your sites will stay working until %s.', 'multisite-ultimate'), date_i18n(get_option('date_format'), $next_charge)), + 'desc' => sprintf(__('Your sites will stay working until %s.', 'ultimate-multisite'), date_i18n(get_option('date_format'), $next_charge)), ]; } $fields['submit_button'] = [ 'type' => 'submit', - 'title' => __('Cancel Membership', 'multisite-ultimate'), - 'placeholder' => __('Cancel Membership', 'multisite-ultimate'), + 'title' => __('Cancel Membership', 'ultimate-multisite'), + 'placeholder' => __('Cancel Membership', 'ultimate-multisite'), 'value' => 'save', 'classes' => 'button button-primary wu-w-full', 'wrapper_classes' => 'wu-items-end', 'html_attr' => [ - 'v-bind:disabled' => 'confirmation !== "' . __('CANCEL', 'multisite-ultimate') . '" || cancellation_reason === ""', + 'v-bind:disabled' => 'confirmation !== "' . __('CANCEL', 'ultimate-multisite') . '" || cancellation_reason === ""', ], ]; @@ -1114,7 +1114,7 @@ public function handle_cancel_membership(): void { $membership = wu_get_membership_by_hash(wu_request('membership')); if ( ! $membership) { - $error = new \WP_Error('error', __('An unexpected error happened.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('An unexpected error happened.', 'ultimate-multisite')); wp_send_json_error($error); @@ -1124,7 +1124,7 @@ public function handle_cancel_membership(): void { $customer = wu_get_current_customer(); if ( ! is_super_admin() && (! $customer || $customer->get_id() !== $membership->get_customer_id())) { - $error = new \WP_Error('error', __('You are not allowed to do this.', 'multisite-ultimate')); + $error = new \WP_Error('error', __('You are not allowed to do this.', 'ultimate-multisite')); wp_send_json_error($error); @@ -1132,12 +1132,12 @@ public function handle_cancel_membership(): void { } $cancellation_options = [ - 'unused' => __('I no longer need it', 'multisite-ultimate'), - 'too_expensive' => __('It\'s too expensive', 'multisite-ultimate'), - 'missing_features' => __('I need more features', 'multisite-ultimate'), - 'switched_service' => __('Switched to another service', 'multisite-ultimate'), - 'customer_service' => __('Customer support is less than expected', 'multisite-ultimate'), - 'too_complex' => __('Too complex', 'multisite-ultimate'), + 'unused' => __('I no longer need it', 'ultimate-multisite'), + 'too_expensive' => __('It\'s too expensive', 'ultimate-multisite'), + 'missing_features' => __('I need more features', 'ultimate-multisite'), + 'switched_service' => __('Switched to another service', 'ultimate-multisite'), + 'customer_service' => __('Customer support is less than expected', 'ultimate-multisite'), + 'too_complex' => __('Too complex', 'ultimate-multisite'), 'other' => wu_request('cancellation_explanation'), ]; diff --git a/inc/ui/class-site-maintenance-element.php b/inc/ui/class-site-maintenance-element.php index de4ef33b5..165c0f630 100644 --- a/inc/ui/class-site-maintenance-element.php +++ b/inc/ui/class-site-maintenance-element.php @@ -81,14 +81,14 @@ public function get_icon($context = 'block') { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Site Maintenance', 'multisite-ultimate'); + return __('Site Maintenance', 'ultimate-multisite'); } /** @@ -97,14 +97,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds the toggle control to turn maintenance mode on.', 'multisite-ultimate'); + return __('Adds the toggle control to turn maintenance mode on.', 'ultimate-multisite'); } /** @@ -129,23 +129,23 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Label', 'multisite-ultimate'), - 'value' => __('Toggle Maintenance Mode', 'multisite-ultimate'), - 'placeholder' => __('e.g. Toggle Maintenance Mode', 'multisite-ultimate'), + 'title' => __('Label', 'ultimate-multisite'), + 'value' => __('Toggle Maintenance Mode', 'ultimate-multisite'), + 'placeholder' => __('e.g. Toggle Maintenance Mode', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['desc'] = [ 'type' => 'textarea', - 'title' => __('Description', 'multisite-ultimate'), - 'value' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'multisite-ultimate'), + 'title' => __('Description', 'ultimate-multisite'), + 'value' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'ultimate-multisite'), 'tooltip' => '', ]; @@ -160,7 +160,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Billing_Address', * 'Form', * 'Cart', @@ -173,7 +173,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Login', 'Reset Password', ]; @@ -196,8 +196,8 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Toggle Maintenance Mode', 'multisite-ultimate'), - 'desc' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'multisite-ultimate'), + 'title' => __('Toggle Maintenance Mode', 'ultimate-multisite'), + 'desc' => __('Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users.', 'ultimate-multisite'), ]; } diff --git a/inc/ui/class-template-previewer.php b/inc/ui/class-template-previewer.php index 0c494e605..bd9bd772b 100644 --- a/inc/ui/class-template-previewer.php +++ b/inc/ui/class-template-previewer.php @@ -256,7 +256,7 @@ public function template_previewer(): void { * Check if this is a site template */ if ( ! $selected_template || ($selected_template->get_type() !== Site_Type::SITE_TEMPLATE && ! wu_request('customizer'))) { - wp_die(esc_html__('This template is not available', 'multisite-ultimate')); + wp_die(esc_html__('This template is not available', 'ultimate-multisite')); } $categories = []; @@ -376,7 +376,7 @@ public function get_settings() { 'bg_color' => '#f9f9f9', 'button_bg_color' => '#00a1ff', 'logo_url' => wu_get_network_logo(), - 'button_text' => __('Use this Template', 'multisite-ultimate'), + 'button_text' => __('Use this Template', 'ultimate-multisite'), 'preview_url_parameter' => 'template-preview', 'display_responsive_controls' => true, 'use_custom_logo' => false, diff --git a/inc/ui/class-template-switching-element.php b/inc/ui/class-template-switching-element.php index 2e68fe4dc..e319c0daa 100644 --- a/inc/ui/class-template-switching-element.php +++ b/inc/ui/class-template-switching-element.php @@ -81,7 +81,7 @@ public function get_icon($context = 'block'): string { */ public function get_title() { - return __('Template Switching', 'multisite-ultimate'); + return __('Template Switching', 'ultimate-multisite'); } /** @@ -92,7 +92,7 @@ public function get_title() { */ public function get_description() { - return __('Adds the template switching form to this page.', 'multisite-ultimate'); + return __('Adds the template switching form to this page.', 'ultimate-multisite'); } /** @@ -141,8 +141,8 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('Layout', 'multisite-ultimate'), - 'desc' => __('Layout', 'multisite-ultimate'), + 'title' => __('Layout', 'ultimate-multisite'), + 'desc' => __('Layout', 'ultimate-multisite'), 'type' => 'header', ]; @@ -152,8 +152,8 @@ public function fields() { 'fields' => [ 'template_selection_template' => [ 'type' => 'select', - 'title' => __('Template Selector Layout', 'multisite-ultimate'), - 'placeholder' => __('Select your Layout', 'multisite-ultimate'), + 'title' => __('Template Selector Layout', 'ultimate-multisite'), + 'placeholder' => __('Select your Layout', 'ultimate-multisite'), 'default' => 'clean', 'options' => [$this, 'get_template_selection_templates'], 'wrapper_classes' => 'wu-flex-grow', @@ -169,7 +169,7 @@ public function fields() { 'order' => 99, 'wrapper_classes' => 'sm:wu-p-0 sm:wu-block', 'classes' => '', - 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'multisite-ultimate')), + 'desc' => sprintf('
%s
', __('Want to add customized template selection templates?
See how you can do that here.', 'ultimate-multisite')), ]; return $fields; @@ -186,7 +186,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Template', 'Template Switching', ]; @@ -274,7 +274,7 @@ public function switch_template() { $template_id = wu_request('template_id', ''); if ( ! $template_id) { - return new \WP_Error('template_id_required', __('You need to provide a valid template to duplicate.', 'multisite-ultimate')); + return new \WP_Error('template_id_required', __('You need to provide a valid template to duplicate.', 'ultimate-multisite')); } $switch = \WP_Ultimo\Helpers\Site_Duplicator::override_site($template_id, $this->site->get_id()); @@ -349,12 +349,18 @@ public function output($atts, $content = null): void { $template_class = Field_Templates_Manager::get_instance()->get_template_class('template_selection', $atts['template_selection_template']); - $content = $template_class ? $template_class->render_container($template_attributes, $reducer_class) : __('Template does not exist.', 'multisite-ultimate'); + $desc = function () use ($template_attributes, $template_class, $reducer_class) { + if ($template_class) { + $template_class->render_container($template_attributes, $reducer_class); + } else { + esc_html_e('Template does not exist.', 'ultimate-multisite'); + } + }; $checkout_fields['back_to_template_selection'] = [ 'type' => 'note', 'order' => 0, - 'desc' => sprintf('%s', __('← Back to Template Selection', 'multisite-ultimate')), + 'desc' => sprintf('%s', __('← Back to Template Selection', 'ultimate-multisite')), 'wrapper_html_attr' => [ 'v-init:original_template_id' => $this->site->get_template_id(), 'v-show' => 'template_id != original_template_id', @@ -366,7 +372,7 @@ public function output($atts, $content = null): void { 'type' => 'note', 'wrapper_classes' => 'wu-w-full', 'classes' => 'wu-w-full', - 'desc' => $content, + 'desc' => $desc, 'wrapper_html_attr' => [ 'v-show' => 'template_id == original_template_id', 'v-cloak' => '1', @@ -375,8 +381,8 @@ public function output($atts, $content = null): void { $checkout_fields['confirm_switch'] = [ 'type' => 'toggle', - 'title' => __('Confirm template switch?', 'multisite-ultimate'), - 'desc' => __('Switching your current template completely overwrites the content of your site with the contents of the newly chosen template. All customizations will be lost. This action cannot be undone.', 'multisite-ultimate'), + 'title' => __('Confirm template switch?', 'ultimate-multisite'), + 'desc' => __('Switching your current template completely overwrites the content of your site with the contents of the newly chosen template. All customizations will be lost. This action cannot be undone.', 'ultimate-multisite'), 'tooltip' => '', 'wrapper_classes' => '', 'value' => 0, @@ -391,7 +397,7 @@ public function output($atts, $content = null): void { $checkout_fields['submit_switch'] = [ 'type' => 'link', - 'display_value' => __('Process Switch', 'multisite-ultimate'), + 'display_value' => __('Process Switch', 'ultimate-multisite'), 'wrapper_classes' => 'wu-text-right wu-bg-gray-100', 'classes' => 'button button-primary', 'wrapper_html_attr' => [ diff --git a/inc/ui/class-thank-you-element.php b/inc/ui/class-thank-you-element.php index a6787d01c..8954d4d8b 100644 --- a/inc/ui/class-thank-you-element.php +++ b/inc/ui/class-thank-you-element.php @@ -135,8 +135,8 @@ public function register_scripts(): void { 'resend_verification_email_nonce' => wp_create_nonce('wu_resend_verification_email_nonce'), 'membership_hash' => $this->membership ? $this->membership->get_hash() : false, 'i18n' => [ - 'resending_verification_email' => __('Resending verification email...', 'multisite-ultimate'), - 'email_sent' => __('Verification email sent!', 'multisite-ultimate'), + 'resending_verification_email' => __('Resending verification email...', 'ultimate-multisite'), + 'email_sent' => __('Verification email sent!', 'ultimate-multisite'), ], ] ); @@ -149,14 +149,14 @@ public function register_scripts(): void { * * This is used on the Blocks list of Gutenberg. * You should return a string with the localized title. - * e.g. return __('My Element', 'multisite-ultimate'). + * e.g. return __('My Element', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_title() { - return __('Thank You', 'multisite-ultimate'); + return __('Thank You', 'ultimate-multisite'); } /** @@ -165,14 +165,14 @@ public function get_title() { * 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', 'multisite-ultimate'). + * e.g. return __('Adds a checkout form to the page', 'ultimate-multisite'). * * @since 2.0.0 * @return string */ public function get_description() { - return __('Adds a checkout form block to the page.', 'multisite-ultimate'); + return __('Adds a checkout form block to the page.', 'ultimate-multisite'); } /** @@ -197,24 +197,24 @@ public function fields() { $fields = []; $fields['header'] = [ - 'title' => __('General', 'multisite-ultimate'), - 'desc' => __('General', 'multisite-ultimate'), + 'title' => __('General', 'ultimate-multisite'), + 'desc' => __('General', 'ultimate-multisite'), 'type' => 'header', ]; $fields['title'] = [ 'type' => 'text', - 'title' => __('Title', 'multisite-ultimate'), - 'value' => __('Thank You', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely.', 'multisite-ultimate'), + 'title' => __('Title', 'ultimate-multisite'), + 'value' => __('Thank You', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['thank_you_message'] = [ 'type' => 'textarea', - 'title' => __('Thank You Message', 'multisite-ultimate'), - 'desc' => __('Shortcodes are supported.', 'multisite-ultimate'), - 'value' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'multisite-ultimate'), + 'title' => __('Thank You Message', 'ultimate-multisite'), + 'desc' => __('Shortcodes are supported.', 'ultimate-multisite'), + 'value' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'rows' => 4, @@ -223,17 +223,17 @@ public function fields() { $fields['title_pending'] = [ 'type' => 'text', - 'title' => __('Title (Pending)', 'multisite-ultimate'), - 'value' => __('Thank You', 'multisite-ultimate'), - 'desc' => __('Leave blank to hide the title completely. This title is used when the payment was not yet confirmed.', 'multisite-ultimate'), + 'title' => __('Title (Pending)', 'ultimate-multisite'), + 'value' => __('Thank You', 'ultimate-multisite'), + 'desc' => __('Leave blank to hide the title completely. This title is used when the payment was not yet confirmed.', 'ultimate-multisite'), 'tooltip' => '', ]; $fields['thank_you_message_pending'] = [ 'type' => 'textarea', - 'title' => __('Thank You Message (Pending)', 'multisite-ultimate'), - 'desc' => __('This content is used when the payment was not yet confirmed. Shortcodes are supported.', 'multisite-ultimate'), - 'value' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'multisite-ultimate'), + 'title' => __('Thank You Message (Pending)', 'ultimate-multisite'), + 'desc' => __('This content is used when the payment was not yet confirmed. Shortcodes are supported.', 'ultimate-multisite'), + 'value' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'rows' => 4, @@ -242,9 +242,9 @@ public function fields() { $fields['no_sites_message'] = [ 'type' => 'textarea', - 'title' => __('No Sites Message', 'multisite-ultimate'), - 'desc' => __('A message to show if membership has no sites. Shortcodes are supported.', 'multisite-ultimate'), - 'value' => __('No sites found', 'multisite-ultimate'), + 'title' => __('No Sites Message', 'ultimate-multisite'), + 'desc' => __('A message to show if membership has no sites. Shortcodes are supported.', 'ultimate-multisite'), + 'value' => __('No sites found', 'ultimate-multisite'), 'tooltip' => '', 'html_attr' => [ 'rows' => 4, @@ -262,7 +262,7 @@ public function fields() { * * e.g.: * return array( - * 'Multisite Ultimate', + * 'Ultimate Multisite', * 'Billing Information', * 'Form', * 'Cart', @@ -275,7 +275,7 @@ public function keywords() { return [ 'WP Ultimo', - 'Multisite Ultimate', + 'Ultimate Multisite', 'Thank You', 'Form', 'Cart', @@ -299,11 +299,11 @@ public function keywords() { public function defaults() { return [ - 'title' => __('Thank You', 'multisite-ultimate'), - 'thank_you_message' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'multisite-ultimate'), - 'title_pending' => __('Thank You', 'multisite-ultimate'), - 'thank_you_message_pending' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'multisite-ultimate'), - 'no_sites_message' => __('No sites found', 'multisite-ultimate'), + 'title' => __('Thank You', 'ultimate-multisite'), + 'thank_you_message' => __('Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you.', 'ultimate-multisite'), + 'title_pending' => __('Thank You', 'ultimate-multisite'), + 'thank_you_message_pending' => __('Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready.', 'ultimate-multisite'), + 'no_sites_message' => __('No sites found', 'ultimate-multisite'), ]; } diff --git a/inc/ui/class-tours.php b/inc/ui/class-tours.php index a4b9f64f2..f68b3e010 100644 --- a/inc/ui/class-tours.php +++ b/inc/ui/class-tours.php @@ -97,8 +97,8 @@ public function enqueue_scripts(): void { 'ajaxurl' => wu_ajax_url(), 'nonce' => wp_create_nonce('wu_tour_finished'), 'i18n' => [ - 'next' => __('Next', 'multisite-ultimate'), - 'finish' => __('Close', 'multisite-ultimate'), + 'next' => __('Next', 'ultimate-multisite'), + 'finish' => __('Close', 'ultimate-multisite'), ], ] ); diff --git a/lang/multisite-ultimate.pot b/lang/multisite-ultimate.pot deleted file mode 100644 index d5f151f2b..000000000 --- a/lang/multisite-ultimate.pot +++ /dev/null @@ -1,20773 +0,0 @@ -# Copyright (C) 2025 Multisite Ultimate Community -# This file is distributed under the GPL2. -msgid "" -msgstr "" -"Project-Id-Version: Multisite Ultimate 2.4.3\n" -"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/multisite-ultimate\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2025-08-23T22:55:27+00:00\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.12.0\n" -"X-Domain: multisite-ultimate\n" - -#. Plugin Name of the plugin -#: multisite-ultimate.php -#: inc/admin-pages/class-migration-alert-admin-page.php:103 -#: inc/admin-pages/class-setup-wizard-admin-page.php:305 -#: inc/admin-pages/class-setup-wizard-admin-page.php:650 -#: inc/development/query-monitor/panel/class-overview.php:46 -#: inc/development/query-monitor/panel/class-overview.php:108 -msgid "Multisite Ultimate" -msgstr "" - -#. Plugin URI of the plugin -#: multisite-ultimate.php -msgid "https://multisiteultimate.com" -msgstr "" - -#. Description of the plugin -#: multisite-ultimate.php -msgid "The WordPress Multisite Website as a Service (WaaS) plugin." -msgstr "" - -#. Author of the plugin -#: multisite-ultimate.php -msgid "Multisite Ultimate Community" -msgstr "" - -#. Author URI of the plugin -#: multisite-ultimate.php -msgid "https://github.com/superdav42/wp-multisite-waas" -msgstr "" - -#: data/translatable-strings.php:13 -msgid "day" -msgstr "" - -#: data/translatable-strings.php:14 -msgid "days" -msgstr "" - -#: data/translatable-strings.php:15 -msgid "week" -msgstr "" - -#: data/translatable-strings.php:16 -msgid "weeks" -msgstr "" - -#: data/translatable-strings.php:17 -msgid "month" -msgstr "" - -#: data/translatable-strings.php:18 -msgid "months" -msgstr "" - -#: data/translatable-strings.php:19 -msgid "year" -msgstr "" - -#: data/translatable-strings.php:20 -msgid "years" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:187 -msgid "You do not have enough permissions to perform this task." -msgstr "" - -#. translators: %s slug of the addon. -#: inc/admin-pages/class-addons-admin-page.php:200 -#, php-format -msgid "Unable to download update addon. User does not have permission to install %s" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:209 -msgid "You are trying to download an add-on from an insecure URL" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:270 -#: inc/admin-pages/class-addons-admin-page.php:450 -msgid "All Add-ons" -msgstr "" - -#. translators: %s error message. -#: inc/admin-pages/class-addons-admin-page.php:314 -#, php-format -msgid "Failed to fetch addons from API: %s" -msgstr "" - -#. translators: %s error message. -#: inc/admin-pages/class-addons-admin-page.php:314 -msgid "no addons returned" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:352 -#: inc/admin-pages/class-addons-admin-page.php:363 -#: views/base/settings.php:188 -msgid "Add-ons" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:454 -#: inc/installers/class-default-content-installer.php:279 -msgid "Premium" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:458 -#: inc/admin-pages/class-product-edit-admin-page.php:297 -#: inc/installers/class-default-content-installer.php:259 -#: inc/list-tables/class-membership-list-table-widget.php:166 -#: inc/list-tables/class-membership-list-table.php:129 -#: inc/list-tables/class-payment-list-table.php:218 -#: inc/list-tables/class-product-list-table.php:136 -#: inc/managers/class-gateway-manager.php:404 -#: views/base/addons.php:203 -msgid "Free" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:462 -msgid "Gateways" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:466 -msgid "Growth & Scaling" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:470 -#: inc/class-settings.php:1460 -#: inc/class-settings.php:1461 -msgid "Integrations" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:474 -msgid "Customization" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:478 -msgid "Admin Themes" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:482 -msgid "Monetization" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:486 -msgid "Migrators" -msgstr "" - -#: inc/admin-pages/class-addons-admin-page.php:490 -msgid "Marketplace" -msgstr "" - -#: inc/admin-pages/class-base-admin-page.php:629 -msgid "Documentation" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:125 -msgid "Page & Menu Title" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:133 -#: views/base/settings.php:93 -#: views/ui/jumper.php:38 -msgid "Menu" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:140 -msgid "Menu Icon" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:153 -#: inc/ui/class-base-element.php:837 -msgid "Reset Settings" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:160 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:290 -#: inc/ui/class-base-element.php:844 -#: inc/ui/class-billing-info-element.php:345 -#: inc/ui/class-current-site-element.php:442 -msgid "Save Changes" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:379 -msgid "Customize Page" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:380 -msgid "Customize Elements" -msgstr "" - -#: inc/admin-pages/class-base-customer-facing-admin-page.php:381 -msgid "Exit Customize Mode" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:96 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1320 -#: inc/admin-pages/class-customer-edit-admin-page.php:757 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:244 -#: inc/admin-pages/class-domain-edit-admin-page.php:315 -#: inc/admin-pages/class-event-list-admin-page.php:176 -#: inc/admin-pages/class-event-list-admin-page.php:187 -#: inc/admin-pages/class-event-list-admin-page.php:198 -#: inc/admin-pages/class-membership-edit-admin-page.php:462 -#: inc/admin-pages/class-payment-edit-admin-page.php:1016 -#: inc/admin-pages/class-product-edit-admin-page.php:262 -#: inc/admin-pages/class-site-edit-admin-page.php:406 -#: inc/admin-pages/class-webhook-edit-admin-page.php:177 -#: inc/list-tables/class-event-list-table.php:42 -msgid "Events" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:116 -#: inc/admin-pages/class-broadcast-list-admin-page.php:270 -#: inc/list-tables/class-broadcast-list-table.php:438 -msgid "Broadcast Type" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:117 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1153 -#: inc/admin-pages/class-customer-edit-admin-page.php:564 -#: inc/admin-pages/class-payment-edit-admin-page.php:653 -#: inc/list-tables/class-broadcast-list-table.php:417 -#: inc/list-tables/class-event-list-table.php:213 -#: inc/list-tables/class-product-list-table.php:254 -#: inc/list-tables/class-site-list-table.php:274 -#: views/base/checkout-forms/js-templates.php:131 -#: views/domain/dns-table.php:16 -#: views/emails/admin/payment-received.php:72 -#: views/emails/customer/payment-received.php:57 -msgid "Type" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:118 -msgid "Broadcast type cannot be edited." -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:120 -#: inc/admin-pages/class-broadcast-list-admin-page.php:289 -#: inc/checkout/class-legacy-checkout.php:509 -#: inc/checkout/signup-fields/class-signup-field-email.php:67 -#: inc/list-tables/class-broadcast-list-table.php:82 -#: inc/list-tables/class-broadcast-list-table.php:440 -#: inc/list-tables/class-email-list-table.php:39 -#: inc/list-tables/class-email-list-table.php:298 -#: inc/models/class-checkout-form.php:554 -#: inc/models/class-checkout-form.php:711 -#: views/dashboard-widgets/thank-you.php:73 -#: views/dashboard-widgets/thank-you.php:181 -msgid "Email" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:121 -msgid "Admin Notice" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:132 -msgid "Broadcast Status" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:133 -#: inc/admin-pages/class-membership-edit-admin-page.php:472 -#: inc/admin-pages/class-membership-list-admin-page.php:118 -#: inc/admin-pages/class-membership-list-admin-page.php:119 -#: inc/admin-pages/class-payment-edit-admin-page.php:1042 -#: inc/admin-pages/class-payment-edit-admin-page.php:1043 -#: inc/admin-pages/class-payment-list-admin-page.php:105 -#: inc/admin-pages/class-payment-list-admin-page.php:106 -#: inc/list-tables/class-membership-list-table-widget.php:263 -#: inc/list-tables/class-membership-list-table.php:173 -#: inc/list-tables/class-membership-list-table.php:233 -#: inc/list-tables/class-payment-list-table.php:177 -#: inc/list-tables/class-payment-list-table.php:202 -#: inc/list-tables/customer-panel/class-invoice-list-table.php:34 -#: views/dashboard-widgets/current-membership.php:121 -#: views/wizards/setup/installation_steps.php:17 -msgid "Status" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:134 -msgid "This option determines the color of the admin notice." -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:136 -#: inc/admin-pages/class-broadcast-list-admin-page.php:344 -msgid "Info (blue)" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:137 -#: inc/admin-pages/class-broadcast-list-admin-page.php:343 -msgid "Success (green)" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:138 -msgid "Warning (yellow)" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:139 -#: inc/admin-pages/class-broadcast-list-admin-page.php:346 -msgid "Error (red)" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:152 -msgid "Customer Targets" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:154 -msgid "Product Targets" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:195 -#: inc/list-tables/class-base-list-table.php:950 -#: inc/list-tables/class-broadcast-list-table.php:151 -#: inc/list-tables/class-membership-list-table-widget.php:210 -#: inc/list-tables/class-payment-list-table-widget.php:155 -msgid "No customer found" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:286 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:288 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:306 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:308 -#: inc/list-tables/class-broadcast-list-table.php:235 -#: inc/list-tables/class-broadcast-list-table.php:237 -#: inc/list-tables/class-broadcast-list-table.php:258 -#: inc/list-tables/class-broadcast-list-table.php:260 -#: inc/list-tables/class-broadcast-list-table.php:382 -#: inc/list-tables/class-broadcast-list-table.php:384 -#: inc/list-tables/class-broadcast-list-table.php:400 -msgid "Targets" -msgstr "" - -#. translators: %s is the number of customers. -#: inc/admin-pages/class-broadcast-edit-admin-page.php:359 -#: inc/admin-pages/class-broadcast-list-admin-page.php:179 -#: inc/list-tables/class-broadcast-list-table.php:323 -#, php-format -msgid "%s customer(s) targeted." -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:374 -#: inc/admin-pages/class-edit-admin-page.php:489 -#: inc/admin-pages/class-tax-rates-admin-page.php:193 -#: inc/checkout/class-checkout.php:1559 -#: views/base/edit/widget-tabs.php:106 -#: views/dashboard-statistics/filter.php:28 -#: views/dashboard-statistics/widget-mrr-growth.php:16 -#: views/dashboard-statistics/widget-tax-graph.php:16 -#: views/dashboard-statistics/widget-taxes.php:16 -#: views/dashboard-widgets/activity-stream.php:16 -msgid "Loading..." -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:390 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:401 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:424 -msgid "Edit Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:390 -#: inc/admin-pages/class-broadcast-edit-admin-page.php:425 -msgid "Add new Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:426 -msgid "Broadcast updated with success!" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:427 -msgid "Enter Broadcast Title" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:428 -msgid "This title is used on the message itself, and in the case of a broadcast email, it will be used as the subject." -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:429 -msgid "Save Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:431 -msgid "Delete Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-edit-admin-page.php:432 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1459 -#: inc/admin-pages/class-customer-edit-admin-page.php:1011 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:590 -#: inc/admin-pages/class-domain-edit-admin-page.php:497 -#: inc/admin-pages/class-edit-admin-page.php:277 -#: inc/admin-pages/class-email-edit-admin-page.php:452 -#: inc/admin-pages/class-email-template-customize-admin-page.php:556 -#: inc/admin-pages/class-event-view-admin-page.php:253 -#: inc/admin-pages/class-membership-edit-admin-page.php:997 -#: inc/admin-pages/class-payment-edit-admin-page.php:1225 -#: inc/admin-pages/class-product-edit-admin-page.php:999 -#: inc/admin-pages/class-site-edit-admin-page.php:678 -#: inc/admin-pages/class-view-logs-admin-page.php:281 -#: inc/admin-pages/class-webhook-edit-admin-page.php:343 -msgid "Be careful. This action is irreversible." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:271 -msgid "Select the type of message you want to send." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:284 -#: views/events/widget-message.php:13 -msgid "Message" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:285 -msgid "Display a message on your customers' dashboard." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:290 -msgid "Send an email to your customers." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:297 -msgid "← Back to Type Selection" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:304 -#: inc/list-tables/class-broadcast-list-table.php:419 -msgid "Target Customers" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:305 -msgid "This broadcast will be sent to the user or users that are selected here. You can select more than one." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:306 -msgid "Search a customer..." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:322 -msgid "Target Product" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:323 -msgid "This broadcast will be sent to the users that have this product. You can select more than one." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:324 -msgid "Search for a product.." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:338 -msgid "Message Type" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:339 -msgid "The color of the notice is based on the type." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:345 -msgid "Warning (orange)" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:355 -msgid "← Back to Target Selection" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:362 -msgid "Message Subject" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:363 -msgid "The title will appear above the main content in the notice or used as subject of the email." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:364 -msgid "Enter a title for your broadcast." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:374 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:858 -#: inc/admin-pages/class-email-template-customize-admin-page.php:247 -#: inc/admin-pages/class-placeholders-admin-page.php:112 -#: inc/checkout/signup-fields/class-base-signup-field.php:506 -#: inc/list-tables/class-broadcast-list-table.php:418 -#: inc/list-tables/class-email-list-table.php:197 -#: inc/ui/class-simple-text-element.php:134 -msgid "Content" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:375 -msgid "The main content of your broadcast." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:389 -#: inc/admin-pages/class-broadcast-list-admin-page.php:403 -#: inc/ui/class-domain-mapping-element.php:313 -msgid "Next Step →" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:417 -msgid "Send →" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:487 -msgid "Broadcast removed successfully." -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:488 -msgid "Search Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:500 -#: inc/list-tables/class-broadcast-list-table.php:39 -msgid "Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:511 -#: inc/admin-pages/class-broadcast-list-admin-page.php:522 -#: inc/list-tables/class-broadcast-list-table.php:40 -#: views/ui/jumper.php:74 -msgid "Broadcasts" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:535 -msgid "Add Broadcast" -msgstr "" - -#: inc/admin-pages/class-broadcast-list-admin-page.php:542 -#: inc/admin-pages/class-email-list-admin-page.php:105 -#: inc/admin-pages/class-email-list-admin-page.php:116 -#: inc/admin-pages/class-email-list-admin-page.php:127 -#: inc/admin-pages/class-settings-admin-page.php:173 -msgid "System Emails" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:131 -msgid "Generate Shortcode" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:215 -msgid "Step Separator" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:383 -msgid "Field" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:384 -msgid "Additional Settings" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:385 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:860 -#: inc/admin-pages/class-email-edit-admin-page.php:309 -msgid "Style" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:395 -msgid "Field Type" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:396 -msgid "Select the type of field you want to add to the checkout form." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:413 -msgid "← Back to Field Type Selection" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:431 -msgid "Pre-fill from Request" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:432 -msgid "The key is the field slug. If your field has the slug \"my-color\" for example, adding ?my-color=blue will pre-fill this field with the value \"blue\"." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:433 -msgid "Enable this to allow this field to be pre-filled based on the request parameters." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:449 -msgid "Field Visibility" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:450 -msgid "Select the visibility of this field." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:452 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:928 -msgid "Always show" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:453 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:929 -msgid "Only show for logged in users" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:454 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:930 -msgid "Only show for guests" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:476 -msgid "Wrapper Width" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:477 -msgid "100" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:478 -msgid "Set the width of this field wrapper (in %)." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:493 -msgid "Wrapper CSS Classes" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:494 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:509 -msgid "e.g. custom-field example-class" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:495 -msgid "You can enter multiple CSS classes separated by spaces. These will be applied to the field wrapper element." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:508 -msgid "Field CSS Classes" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:510 -msgid "You can enter multiple CSS classes separated by spaces. These will be applied to the field element itself, when possible." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:570 -msgid "Add Field" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:570 -msgid "Save Field" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:724 -#: inc/compat/class-legacy-shortcodes.php:352 -#: inc/models/class-checkout-form.php:835 -#: views/legacy/signup/pricing-table/frequency-selector.php:31 -msgid "Monthly" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:780 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1036 -msgid "The checkout form could not be found." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:859 -#: views/limitations/plugin-selector.php:64 -#: views/limitations/theme-selector.php:65 -msgid "Visibility" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:867 -msgid "Step ID" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:868 -msgid "e.g. step-name" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:869 -msgid "This will be used on the URL. Only alpha-numeric and hyphens allowed." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:890 -msgid "Step Title" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:891 -msgid "e.g. My Extra Step" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:892 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:908 -msgid "Mostly used internally, but made available for templates." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:906 -msgid "Step Description" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:907 -msgid "e.g. This is the last step!" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:925 -msgid "Logged Status" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:926 -msgid "Select the visibility of this step." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:944 -msgid "Element ID" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:945 -msgid "myfield" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:946 -msgid "A custom ID to be added to the form element. Do not add the # symbol." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:959 -msgid "Extra CSS Classes" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:960 -msgid "custom-field example-class" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:961 -msgid "You can enter multiple CSS classes separated by spaces." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:975 -msgid "Add Step" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:975 -msgid "Save Step" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1151 -#: views/base/checkout-forms/js-templates.php:45 -msgid "Order" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1152 -#: inc/admin-pages/class-tax-rates-admin-page.php:113 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:248 -#: inc/checkout/signup-fields/class-signup-field-select.php:204 -#: inc/ui/class-site-maintenance-element.php:139 -msgid "Label" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1154 -#: inc/admin-pages/class-customer-edit-admin-page.php:544 -#: inc/admin-pages/class-email-edit-admin-page.php:158 -#: inc/list-tables/class-product-list-table.php:255 -#: inc/ui/class-checkout-element.php:159 -#: views/base/checkout-forms/js-templates.php:135 -msgid "Slug" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1207 -msgid "Conversion Snippets" -msgstr "" - -#. translators: %s is a list of placeholders. -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1209 -#, php-format -msgid "Add custom snippets in HTML (with javascript support) to add conversion tracking pixels and such. This code is only run on the successful Thank You step.
Available placeholders are: %s" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1245 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:230 -#: inc/admin-pages/class-email-edit-admin-page.php:294 -#: inc/class-settings.php:1572 -msgid "Advanced Options" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1252 -#: inc/ui/class-thank-you-element.php:161 -#: inc/ui/class-thank-you-element.php:210 -#: inc/ui/class-thank-you-element.php:229 -#: inc/ui/class-thank-you-element.php:304 -#: inc/ui/class-thank-you-element.php:306 -msgid "Thank You" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1253 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1263 -msgid "Configure the Thank You page for this Checkout Form." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1262 -msgid "Scripts" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1272 -msgid "Custom CSS" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1273 -msgid "Add custom CSS code to your checkout form. SCSS syntax is supported." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1280 -msgid "Restrictions" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1281 -msgid "Control the access to this checkout form." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1289 -msgid "Restrict by Country" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1290 -msgid "Restrict this checkout form to specific countries." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1297 -msgid "Allowed Countries" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1298 -msgid "Select the allowed countries." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1299 -msgid "Type to search countries..." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1342 -msgid "Checkout Form Slug" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1343 -msgid "This is used to create shortcodes and more." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1356 -msgid "You are changing the form slug. If you save this change, all the shortcodes and blocks referencing this slug will stop working until you update them with the new slug." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1370 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1374 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:378 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:382 -#: inc/admin-pages/class-domain-edit-admin-page.php:376 -#: inc/admin-pages/class-domain-edit-admin-page.php:388 -#: inc/admin-pages/class-email-edit-admin-page.php:279 -#: inc/admin-pages/class-email-edit-admin-page.php:283 -#: inc/admin-pages/class-product-edit-admin-page.php:513 -#: inc/admin-pages/class-product-edit-admin-page.php:517 -#: inc/admin-pages/class-site-edit-admin-page.php:543 -#: inc/admin-pages/class-site-edit-admin-page.php:547 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:106 -#: inc/admin-pages/class-webhook-edit-admin-page.php:208 -#: inc/admin-pages/class-webhook-edit-admin-page.php:212 -#: inc/database/memberships/class-membership-status.php:69 -#: inc/list-tables/class-domain-list-table.php:165 -#: inc/list-tables/class-domain-list-table.php:188 -#: inc/list-tables/class-domain-list-table.php:191 -#: inc/list-tables/class-membership-list-table.php:285 -#: inc/list-tables/class-webhook-list-table.php:178 -#: views/emails/admin/domain-created.php:36 -msgid "Active" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1375 -msgid "Use this option to manually enable or disable this checkout form." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1387 -msgid "Welcome to the Checkout Form builder!" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1389 -msgid "You should be able to create registration forms in any way, shape, and form you desire. This editor allows you to do just that 😃" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1390 -msgid "Want a registration form with multiple steps? Check! A single step? Check! Control the visibility of certain steps and fields based on the context of the customer? Check!" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1395 -msgid "Adding new Steps" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1397 -msgid "To add a new step to the registration form, use this button here." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1406 -msgid "Adding new Fields" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1408 -msgid "To add a new field to a step, use this button here. You can add fields to capture additional data from your customers and use that data to populate site templates." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1409 -msgid "You can learn more about that here →" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1428 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1451 -msgid "Edit Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1428 -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1452 -msgid "Add new Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1439 -msgid "Edit Checkout_Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1453 -msgid "Checkout Form updated with success!" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1454 -msgid "Enter Checkout Form Name" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1455 -#: inc/admin-pages/class-email-template-customize-admin-page.php:552 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:365 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:289 -msgid "This name is used for internal reference only." -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1456 -msgid "Save Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-edit-admin-page.php:1458 -msgid "Delete Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:72 -#: inc/admin-pages/class-checkout-form-list-admin-page.php:238 -#: inc/admin-pages/class-checkout-form-list-admin-page.php:249 -#: inc/admin-pages/class-checkout-form-list-admin-page.php:260 -#: inc/admin-pages/class-settings-admin-page.php:141 -#: inc/admin-pages/class-settings-admin-page.php:201 -#: inc/admin-pages/class-settings-admin-page.php:205 -#: inc/installers/class-migrator.php:352 -#: inc/list-tables/class-checkout-form-list-table.php:40 -#: views/ui/jumper.php:76 -msgid "Checkout Forms" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:74 -msgid "Checkout Forms are an easy and flexible way to experiment with different approaches when trying to convert new customers." -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:79 -msgid "Experiment!" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:81 -msgid "You can create as many checkout forms as you want, with different fields, products on offer, etc." -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:82 -msgid "Planning on running some sort of promotion? Why not create a custom landing page with a tailor-maid checkout form to go with? The possibilities are endless." -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:124 -msgid "Checkout Form Template" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:125 -msgid "Select a starting point for a new Checkout Form." -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:135 -msgid "Single Step" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:139 -msgid "Multi-Step" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:143 -msgid "Blank" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:150 -msgid "Go to the Editor →" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:192 -msgid "Draft Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:225 -msgid "Checkout Form removed successfully." -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:226 -msgid "Search Checkout Form" -msgstr "" - -#: inc/admin-pages/class-checkout-form-list-admin-page.php:273 -msgid "Add Checkout Form" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:164 -#: inc/admin-pages/class-membership-edit-admin-page.php:227 -#: inc/admin-pages/class-site-edit-admin-page.php:195 -msgid "Confirm Transfer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:165 -msgid "This will start the transfer of assets from one user to another." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:172 -#: inc/admin-pages/class-customer-edit-admin-page.php:173 -#: inc/admin-pages/class-membership-edit-admin-page.php:235 -#: inc/admin-pages/class-membership-edit-admin-page.php:236 -#: inc/admin-pages/class-site-edit-admin-page.php:203 -#: inc/admin-pages/class-site-edit-admin-page.php:204 -msgid "Start Transfer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:226 -msgid "Customer not found." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:230 -msgid "User not found." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:266 -msgid "Delete everything" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:267 -msgid "Sites, payments and memberships." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:275 -msgid "Re-assignment to customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:276 -msgid "Select Customer..." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:414 -msgid "orphan field - the original form no longer exists" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:432 -msgid "Location:" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:480 -msgid "Display unset fields" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:481 -msgid "If fields were added after the customer creation or onto a different form, they will not have a set value for this customer. You can manually set those here." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:498 -msgid "No custom meta data collected and no custom fields found." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:504 -msgid "Manually add custom meta fields" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:505 -msgid "Add new custom meta fields to this customer." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:514 -#: inc/list-tables/class-discount-code-list-table.php:192 -#: views/base/filter.php:183 -msgid "Value" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:539 -#: inc/admin-pages/class-product-edit-admin-page.php:753 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:215 -#: inc/checkout/signup-fields/class-signup-field-select.php:188 -#: inc/class-settings.php:1072 -#: inc/list-tables/class-membership-line-item-list-table.php:139 -#: inc/list-tables/class-payment-line-item-list-table.php:82 -#: views/checkout/templates/order-bump/simple.php:49 -#: views/checkout/templates/order-summary/simple.php:82 -#: views/checkout/templates/order-summary/simple.php:98 -#: views/checkout/templates/order-summary/simple.php:264 -msgid "Remove" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:555 -#: inc/ui/class-account-summary-element.php:158 -#: inc/ui/class-billing-info-element.php:172 -#: inc/ui/class-current-membership-element.php:181 -#: inc/ui/class-domain-mapping-element.php:145 -#: inc/ui/class-invoices-element.php:134 -#: inc/ui/class-limits-element.php:133 -#: inc/ui/class-login-form-element.php:155 -#: inc/ui/class-thank-you-element.php:209 -#: views/emails/admin/domain-created.php:67 -#: views/emails/admin/site-published.php:18 -#: views/emails/customer/site-published.php:19 -msgid "Title" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:567 -#: inc/checkout/signup-fields/class-signup-field-text.php:58 -#: inc/objects/class-note.php:198 -msgid "Text" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:568 -msgid "Textarea" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:569 -#: inc/checkout/signup-fields/class-signup-field-checkbox.php:72 -msgid "Checkbox" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:570 -#: inc/checkout/signup-fields/class-signup-field-color.php:58 -msgid "Color" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:571 -msgid "Image" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:594 -msgid "+ Add meta field" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:633 -#: inc/admin-pages/class-membership-edit-admin-page.php:358 -#: inc/admin-pages/class-payment-edit-admin-page.php:957 -#: inc/admin-pages/class-site-edit-admin-page.php:311 -msgid "At a Glance" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:644 -msgid "Customer ID" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:650 -#: inc/admin-pages/class-customer-edit-admin-page.php:905 -#: inc/list-tables/class-customer-list-table.php:242 -#: inc/list-tables/class-site-customer-list-table.php:98 -#: inc/list-tables/class-site-list-table.php:322 -msgid "Last Login" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:652 -#: inc/admin-pages/class-customer-edit-admin-page.php:908 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:161 -#: inc/admin-pages/class-edit-admin-page.php:375 -#: views/admin-pages/fields/field-text-edit.php:36 -msgid "No date" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:660 -#: inc/admin-pages/class-membership-edit-admin-page.php:377 -msgid "Total Grossed" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:671 -#: inc/admin-pages/class-membership-list-admin-page.php:279 -#: inc/admin-pages/class-membership-list-admin-page.php:290 -#: inc/admin-pages/class-membership-list-admin-page.php:301 -#: inc/class-settings.php:886 -#: inc/class-settings.php:887 -#: inc/debug/class-debug.php:195 -#: inc/list-tables/class-customer-list-table.php:244 -#: inc/list-tables/class-membership-list-table-widget.php:42 -#: inc/list-tables/class-membership-list-table.php:40 -#: views/ui/jumper.php:66 -msgid "Memberships" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:680 -msgid "Customer Options" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:686 -#: inc/admin-pages/class-dashboard-admin-page.php:183 -#: inc/admin-pages/class-domain-edit-admin-page.php:265 -#: inc/admin-pages/class-email-edit-admin-page.php:298 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:193 -#: inc/admin-pages/class-membership-edit-admin-page.php:431 -#: inc/admin-pages/class-product-edit-admin-page.php:621 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:132 -#: inc/class-settings.php:527 -#: inc/class-settings.php:528 -#: inc/ui/class-account-summary-element.php:151 -#: inc/ui/class-account-summary-element.php:152 -#: inc/ui/class-billing-info-element.php:165 -#: inc/ui/class-billing-info-element.php:166 -#: inc/ui/class-checkout-element.php:153 -#: inc/ui/class-checkout-element.php:154 -#: inc/ui/class-current-membership-element.php:174 -#: inc/ui/class-current-membership-element.php:175 -#: inc/ui/class-current-site-element.php:152 -#: inc/ui/class-current-site-element.php:153 -#: inc/ui/class-domain-mapping-element.php:138 -#: inc/ui/class-domain-mapping-element.php:139 -#: inc/ui/class-invoices-element.php:127 -#: inc/ui/class-invoices-element.php:128 -#: inc/ui/class-jumper.php:206 -#: inc/ui/class-limits-element.php:126 -#: inc/ui/class-limits-element.php:127 -#: inc/ui/class-login-form-element.php:140 -#: inc/ui/class-login-form-element.php:141 -#: inc/ui/class-my-sites-element.php:136 -#: inc/ui/class-my-sites-element.php:137 -#: inc/ui/class-payment-methods-element.php:111 -#: inc/ui/class-payment-methods-element.php:112 -#: inc/ui/class-simple-text-element.php:127 -#: inc/ui/class-simple-text-element.php:128 -#: inc/ui/class-site-actions-element.php:147 -#: inc/ui/class-site-actions-element.php:148 -#: inc/ui/class-site-maintenance-element.php:132 -#: inc/ui/class-site-maintenance-element.php:133 -#: inc/ui/class-thank-you-element.php:202 -#: inc/ui/class-thank-you-element.php:203 -msgid "General" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:687 -msgid "General options for the customer." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:692 -#: inc/list-tables/class-customer-list-table.php:189 -msgid "VIP" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:693 -#: inc/ui/class-payment-methods-element.php:119 -#: inc/ui/class-payment-methods-element.php:127 -msgid "Set this customer as a VIP." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:700 -#: inc/admin-pages/class-membership-edit-admin-page.php:444 -msgid "Billing Info" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:701 -msgid "Billing information for this particular customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:706 -msgid "Custom Meta" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:707 -msgid "Custom data collected via Multisite Ultimate forms." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:739 -#: inc/admin-pages/class-membership-edit-admin-page.php:398 -#: inc/admin-pages/class-payment-list-admin-page.php:244 -#: inc/admin-pages/class-payment-list-admin-page.php:255 -#: inc/admin-pages/class-payment-list-admin-page.php:266 -#: inc/admin-pages/class-top-admin-nav-menu.php:115 -#: inc/class-settings.php:1291 -#: inc/class-settings.php:1292 -#: inc/debug/class-debug.php:263 -#: inc/list-tables/class-payment-list-table-widget.php:42 -#: inc/list-tables/class-payment-list-table.php:42 -#: views/ui/jumper.php:68 -msgid "Payments" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:748 -#: inc/admin-pages/class-membership-edit-admin-page.php:407 -#: inc/admin-pages/class-site-list-admin-page.php:519 -#: inc/admin-pages/class-site-list-admin-page.php:530 -#: inc/admin-pages/class-site-list-admin-page.php:541 -#: inc/class-settings.php:1131 -#: inc/class-settings.php:1132 -#: inc/debug/class-debug.php:212 -#: inc/list-tables/class-site-list-table.php:45 -#: inc/managers/class-limitation-manager.php:280 -#: views/ui/jumper.php:64 -#: views/wizards/host-integrations/gridpane-instructions.php:14 -msgid "Sites" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:787 -msgid "User" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:788 -#: inc/admin-pages/class-customer-list-admin-page.php:193 -msgid "Search WordPress user..." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:789 -msgid "The WordPress user associated to this customer." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:808 -msgid "Changing the user will transfer the customer and all its assets to the new user." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:820 -msgid "Email Verification" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:821 -msgid "Select Status" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:822 -msgid "The email verification status. This gets automatically switched to Verified when the customer verifies their email address." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:827 -#: inc/list-tables/class-product-list-table.php:132 -#: inc/list-tables/class-product-list-table.php:178 -#: inc/models/class-payment.php:552 -#: inc/models/class-payment.php:558 -#: views/admin-pages/fields/field-text-display.php:46 -#: views/admin-pages/fields/field-text-edit.php:49 -#: views/base/customers/grid-item.php:129 -msgid "None" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:828 -#: inc/database/memberships/class-membership-status.php:68 -#: inc/database/payments/class-payment-status.php:90 -#: inc/database/sites/class-site-type.php:71 -#: inc/installers/class-core-installer.php:71 -#: inc/installers/class-core-installer.php:81 -#: inc/installers/class-default-content-installer.php:152 -#: inc/installers/class-default-content-installer.php:162 -#: inc/installers/class-default-content-installer.php:172 -#: inc/installers/class-default-content-installer.php:182 -#: inc/installers/class-default-content-installer.php:192 -#: inc/installers/class-migrator.php:265 -#: inc/installers/class-migrator.php:278 -#: inc/installers/class-migrator.php:383 -#: inc/list-tables/class-membership-list-table.php:297 -#: inc/list-tables/class-payment-list-table.php:204 -#: inc/list-tables/class-payment-list-table.php:262 -#: inc/list-tables/class-site-list-table.php:363 -#: views/dashboard-widgets/my-sites.php:56 -msgid "Pending" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:829 -msgid "Verified" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:842 -msgid "Activate Memberships" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:843 -msgid "If you toggle this option, this change in status will also activate the related pending memberships. If any sites are pending, they are also going to be published automatically." -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:855 -msgid "Re-send Verification Email →" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:876 -#: inc/admin-pages/class-customer-edit-admin-page.php:891 -msgid "Transfer Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:901 -msgid "Last Login & IPs" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:921 -msgid "IP Address" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:926 -msgid "IP Address Country" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:969 -#: inc/admin-pages/class-customer-edit-admin-page.php:980 -#: inc/admin-pages/class-customer-edit-admin-page.php:1003 -msgid "Edit Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:969 -#: inc/admin-pages/class-customer-edit-admin-page.php:1004 -msgid "Add new Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:1005 -msgid "Customer updated with success!" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:1006 -#: inc/admin-pages/class-view-logs-admin-page.php:278 -msgid "Enter Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:1008 -msgid "Save Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:1010 -msgid "Delete Customer" -msgstr "" - -#: inc/admin-pages/class-customer-edit-admin-page.php:1230 -#: inc/ui/class-checkout-element.php:392 -#: inc/ui/class-thank-you-element.php:141 -msgid "Verification email sent!" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:69 -#: inc/managers/class-payment-manager.php:293 -msgid "You do not have permissions to access this file." -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:186 -#: inc/admin-pages/class-customer-list-admin-page.php:192 -msgid "Existing User" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:187 -msgid "Invite New" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:209 -#: inc/checkout/class-legacy-checkout.php:498 -#: inc/checkout/signup-fields/class-signup-field-username.php:72 -#: inc/models/class-checkout-form.php:563 -#: inc/models/class-checkout-form.php:720 -msgid "Username" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:210 -msgid "E.g. johnsmith" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:217 -#: inc/list-tables/class-site-customer-list-table.php:91 -#: views/emails/admin/payment-received.php:137 -#: views/emails/admin/site-published.php:103 -msgid "Email Address" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:218 -msgid "E.g. customer@wpultimo.dev" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:225 -msgid "Set Password" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:226 -msgid "If not set, the user will be asked to set a password after accepting the invite." -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:236 -#: inc/checkout/class-legacy-checkout.php:520 -#: inc/checkout/signup-fields/class-signup-field-password.php:72 -#: inc/models/class-checkout-form.php:573 -#: inc/models/class-checkout-form.php:730 -#: inc/ui/class-login-form-element.php:230 -msgid "Password" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:237 -msgid "E.g. p@$$w0rd" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:244 -msgid "Create Customer" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:335 -msgid "Customer removed successfully." -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:336 -msgid "Search Customer" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:348 -#: inc/admin-pages/class-customer-list-admin-page.php:359 -#: inc/admin-pages/class-customer-list-admin-page.php:370 -#: inc/admin-pages/class-top-admin-nav-menu.php:91 -#: inc/debug/class-debug.php:161 -#: inc/list-tables/class-customer-list-table.php:47 -#: views/ui/jumper.php:58 -msgid "Customers" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:383 -msgid "Add Customer" -msgstr "" - -#: inc/admin-pages/class-customer-list-admin-page.php:389 -msgid "Export as CSV" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:140 -msgid "Last 7 days" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:145 -msgid "Last 30 days" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:150 -msgid "Year to date" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:233 -msgid "Our dashboard" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:235 -msgid "This is the Multisite Ultimate Dashboard, where you will find most of the important information you will need regarding your business' performance." -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:240 -msgid "Learning more" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:242 -msgid "Most of the Multisite Ultimate admin pages will contain a link like this one at the top. These will link directly to the relevant knowledge base page on the Multisite Ultimate site." -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:251 -msgid "It's all about growth!" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:253 -msgid "This graph allows you to follow how your monthly recurring revenue is growing this year." -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:262 -msgid "Date-range support" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:264 -msgid "Checking statistics and comparing data for different periods is key in maintaining a good grasp on your business." -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:265 -msgid "You can use the date-range selectors to have access to just the data you need and nothing more." -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:289 -msgid "Monthly Recurring Revenue Growth" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:291 -#: views/dashboard-statistics/widget-revenue.php:71 -msgid "Revenue" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:294 -msgid "Signups by Countries" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:296 -msgid "Signups by Form" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:298 -msgid "Most Visited Sites" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:300 -#: views/dashboard-statistics/widget-new-accounts.php:19 -#: views/dashboard-statistics/widget-new-accounts.php:28 -msgid "New Memberships" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:452 -msgid "No Product" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:517 -msgid "New MRR" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:518 -msgid "Cancellations" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:540 -#: inc/admin-pages/class-dashboard-admin-page.php:562 -#: inc/admin-pages/class-shortcodes-admin-page.php:105 -#: inc/admin-pages/class-site-edit-admin-page.php:655 -#: inc/admin-pages/class-system-info-admin-page.php:177 -#: inc/list-tables/class-customers-site-list-table.php:86 -#: inc/list-tables/class-memberships-site-list-table.php:72 -#: views/dashboard-statistics/widget-most-visited-sites.php:81 -#: views/dashboard-statistics/widget-most-visited-sites.php:84 -msgid "Dashboard" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:551 -#: inc/managers/class-block-manager.php:59 -msgid "Multisite WaaS" -msgstr "" - -#: inc/admin-pages/class-dashboard-admin-page.php:624 -msgid "CSV" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:97 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:102 -#: inc/admin-pages/class-product-edit-admin-page.php:228 -#: inc/admin-pages/class-site-edit-admin-page.php:339 -#: inc/checkout/signup-fields/field-templates/class-base-field-template.php:94 -#: inc/ui/class-site-maintenance-element.php:147 -#: views/base/addons/details.php:43 -#: views/checkout/templates/order-summary/simple.php:27 -#: views/shortcodes/shortcodes.php:50 -msgid "Description" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:103 -#: inc/admin-pages/class-product-edit-admin-page.php:234 -msgid "Tell your customers what this product is about." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:117 -msgid "Limit Uses" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:119 -#: inc/admin-pages/class-email-edit-admin-page.php:300 -msgid "Rules and limitations to the applicability of this discount code." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:122 -#: inc/list-tables/class-discount-code-list-table.php:191 -msgid "Uses" -msgstr "" - -#. translators: %d is the number of times the coupon was used. -#: inc/admin-pages/class-discount-code-edit-admin-page.php:125 -#, php-format -msgid "This discount code was used %d times." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:126 -msgid "The number of times that this discount code was used so far." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:129 -msgid "Max Uses" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:130 -msgid "Use this option to set a limit on how many times this discount code can be used. Leave blank or 0 for unlimited uses." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:134 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:186 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:202 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:213 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:227 -#: views/dashboard-widgets/limits-and-quotas.php:79 -#: views/dashboard-widgets/limits-and-quotas.php:134 -msgid "Unlimited" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:139 -msgid "Start & Expiration Dates" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:140 -msgid "Define a start and end date for this discount code. Useful when running campaigns for a pre-determined period." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:149 -msgid "Enable Start Date" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:150 -msgid "Allows you to set a start date for this coupon code." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:157 -msgid "Start Date" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:158 -msgid "The discount code will only be good to be used after this date." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:176 -msgid "Enable Expiration Date" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:177 -msgid "Allows you to set an expiration date for this coupon code." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:184 -#: inc/admin-pages/class-membership-list-admin-page.php:135 -#: inc/list-tables/class-membership-list-table.php:252 -msgid "Expiration Date" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:185 -msgid "The discount code will expire after this date." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:188 -msgid "Never Expires" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:204 -msgid "Limit Products" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:205 -msgid "Determine if you want this discount code to apply to all discountable products or not." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:214 -msgid "Select Products" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:215 -msgid "Manually select to which products this discount code should be applicable." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:268 -#: inc/checkout/signup-fields/class-signup-field-discount-code.php:58 -#: inc/models/class-checkout-form.php:1013 -#: inc/models/class-checkout-form.php:1014 -msgid "Coupon Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:270 -msgid "E.g. XMAS10OFF" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:271 -msgid "The actual code your customers will enter during checkout." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:284 -#: inc/list-tables/class-line-item-list-table.php:172 -#: inc/list-tables/class-payment-line-item-list-table.php:94 -#: views/invoice/template.php:111 -msgid "Discount" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:295 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:351 -#: inc/admin-pages/class-payment-edit-admin-page.php:824 -msgid "Percentage (%)" -msgstr "" - -#. translators: %s is the currency symbol. e.g. $ -#: inc/admin-pages/class-discount-code-edit-admin-page.php:297 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:353 -#, php-format -msgid "Absolute (%s)" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:318 -msgid "Apply to Renewals" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:319 -msgid "By default, discounts are only applied to the first payment." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:327 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:339 -msgid "Setup Fee Discount" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:328 -msgid "Also set a discount for setup fee?" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:383 -msgid "Use this option to manually enable or disable this discount code for new sign-ups." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:407 -msgid "Make applicable to this product." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:435 -msgid "You do not have any products at this moment." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:456 -msgid "Legacy Add-ons" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:469 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:491 -#: inc/admin-pages/class-product-edit-admin-page.php:573 -#: inc/admin-pages/class-product-edit-admin-page.php:595 -msgid "Legacy Options" -msgstr "" - -#. translators: %s is the comma-separated list of legacy add-ons. -#: inc/admin-pages/class-discount-code-edit-admin-page.php:471 -#: inc/admin-pages/class-product-edit-admin-page.php:575 -#, php-format -msgid "Options for %s, and others." -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:548 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:559 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:582 -msgid "Edit Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:548 -#: inc/admin-pages/class-discount-code-edit-admin-page.php:583 -msgid "Add new Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:584 -msgid "Discount Code updated successfully!" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:585 -msgid "Enter Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:587 -msgid "Save Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-edit-admin-page.php:589 -msgid "Delete Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-list-admin-page.php:74 -msgid "Discount Code removed successfully." -msgstr "" - -#: inc/admin-pages/class-discount-code-list-admin-page.php:75 -msgid "Search Discount Code" -msgstr "" - -#: inc/admin-pages/class-discount-code-list-admin-page.php:87 -#: inc/admin-pages/class-discount-code-list-admin-page.php:98 -#: inc/admin-pages/class-discount-code-list-admin-page.php:109 -#: inc/admin-pages/class-top-admin-nav-menu.php:127 -#: inc/debug/class-debug.php:246 -#: inc/list-tables/class-discount-code-list-table.php:40 -#: views/ui/jumper.php:70 -msgid "Discount Codes" -msgstr "" - -#: inc/admin-pages/class-discount-code-list-admin-page.php:123 -msgid "Add Discount Code" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:167 -msgid "Set another domain as primary" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:183 -#: inc/admin-pages/class-payment-edit-admin-page.php:170 -#: inc/managers/class-form-manager.php:365 -#: inc/ui/class-domain-mapping-element.php:473 -msgid "Confirm Deletion" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:184 -#: inc/admin-pages/class-email-list-admin-page.php:547 -#: inc/admin-pages/class-payment-edit-admin-page.php:171 -#: inc/admin-pages/class-payment-edit-admin-page.php:309 -#: inc/admin-pages/class-site-list-admin-page.php:134 -#: inc/managers/class-form-manager.php:366 -#: inc/managers/class-limitation-manager.php:142 -#: inc/managers/class-notes-manager.php:312 -#: inc/managers/class-notes-manager.php:407 -#: inc/ui/class-current-membership-element.php:459 -#: inc/ui/class-domain-mapping-element.php:474 -#: inc/ui/class-site-actions-element.php:534 -#: inc/ui/class-site-actions-element.php:879 -msgid "This action can not be undone." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:191 -#: inc/admin-pages/class-domain-edit-admin-page.php:192 -#: inc/admin-pages/class-edit-admin-page.php:276 -#: inc/admin-pages/class-edit-admin-page.php:721 -#: inc/admin-pages/class-payment-edit-admin-page.php:178 -#: inc/list-tables/class-base-list-table.php:605 -#: inc/list-tables/class-broadcast-list-table.php:125 -#: inc/list-tables/class-checkout-form-list-table.php:81 -#: inc/list-tables/class-customer-list-table.php:125 -#: inc/list-tables/class-customer-list-table.php:159 -#: inc/list-tables/class-customer-list-table.php:167 -#: inc/list-tables/class-discount-code-list-table.php:70 -#: inc/list-tables/class-discount-code-list-table.php:75 -#: inc/list-tables/class-domain-list-table.php:90 -#: inc/list-tables/class-email-list-table.php:126 -#: inc/list-tables/class-event-list-table.php:188 -#: inc/list-tables/class-event-list-table.php:193 -#: inc/list-tables/class-line-item-list-table.php:103 -#: inc/list-tables/class-membership-list-table-widget.php:130 -#: inc/list-tables/class-membership-list-table.php:85 -#: inc/list-tables/class-membership-list-table.php:90 -#: inc/list-tables/class-payment-list-table-widget.php:116 -#: inc/list-tables/class-payment-list-table.php:88 -#: inc/list-tables/class-payment-list-table.php:96 -#: inc/list-tables/class-product-list-table.php:83 -#: inc/list-tables/class-site-list-table.php:144 -#: inc/list-tables/class-site-list-table.php:149 -#: inc/list-tables/class-site-list-table.php:166 -#: inc/list-tables/class-site-list-table.php:183 -#: inc/list-tables/class-site-list-table.php:380 -#: inc/list-tables/class-webhook-list-table.php:78 -#: inc/list-tables/class-webhook-list-table.php:83 -#: inc/managers/class-form-manager.php:373 -#: inc/managers/class-form-manager.php:374 -#: inc/ui/class-domain-mapping-element.php:485 -#: inc/ui/class-domain-mapping-element.php:486 -#: views/base/checkout-forms/js-templates.php:108 -#: views/base/checkout-forms/js-templates.php:110 -#: views/base/checkout-forms/js-templates.php:115 -#: views/base/checkout-forms/steps.php:144 -#: views/base/checkout-forms/steps.php:154 -#: views/dashboard-widgets/domain-mapping.php:85 -#: views/taxes/list.php:66 -msgid "Delete" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:244 -msgid "Domain URL" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:250 -#: inc/admin-pages/class-domain-list-admin-page.php:111 -#: inc/admin-pages/class-site-list-admin-page.php:329 -#: inc/checkout/signup-fields/class-signup-field-site-url.php:331 -#: inc/list-tables/class-domain-list-table.php:42 -#: inc/list-tables/class-domain-list-table.php:162 -#: inc/ui/class-domain-mapping-element.php:331 -#: views/emails/admin/domain-created.php:13 -#: views/emails/admin/domain-created.php:18 -msgid "Domain" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:251 -msgid "Editing an existing domain is not possible. If you want to make changes to this domain, first delete it, and then re-add the right domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:261 -msgid "Domain Options" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:266 -msgid "General options for the domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:274 -msgid "Is Primary Domain?" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:275 -msgid "Set as the primary domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:276 -msgid "Setting this as the primary domain will remove any other domain mapping marked as the primary domain for this site." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:284 -#: inc/admin-pages/class-domain-list-admin-page.php:152 -#: inc/ui/class-domain-mapping-element.php:352 -msgid "By making this the primary domain, we will convert the previous primary domain for this site, if one exists, into an alias domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:291 -msgid "Is Secure?" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:292 -msgid "Force the load using HTTPS." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:304 -msgid "Linked Site" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:310 -msgid "Domain Test Log" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:335 -#: inc/admin-pages/class-domain-list-admin-page.php:136 -#: inc/list-tables/class-domain-list-table.php:163 -msgid "Stage" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:336 -#: inc/admin-pages/class-domain-list-admin-page.php:137 -msgid "Select Stage" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:337 -msgid "The stage in the checking lifecycle of this domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:350 -#: inc/list-tables/class-domain-list-table.php:164 -#: inc/list-tables/class-site-list-table.php:44 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:205 -#: inc/ui/class-current-site-element.php:111 -#: views/dashboard-statistics/widget-most-visited-sites.php:20 -#: views/dashboard-statistics/widget-most-visited-sites.php:57 -#: views/dashboard-widgets/thank-you.php:231 -#: views/emails/admin/domain-created.php:62 -#: views/emails/admin/site-published.php:13 -msgid "Site" -msgid_plural "Sites" -msgstr[0] "" -msgstr[1] "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:351 -msgid "Search Site..." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:352 -msgid "The target site of this domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:389 -msgid "Use this option to manually enable or disable this domain." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:402 -msgid "This domain has a domain stage that forces it to be inactive. Change the status to Ready or Ready (without SSL) to be able to control the active status directly." -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:455 -#: inc/admin-pages/class-domain-edit-admin-page.php:466 -#: inc/admin-pages/class-domain-edit-admin-page.php:489 -msgid "Edit Domain" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:455 -#: inc/admin-pages/class-domain-edit-admin-page.php:490 -msgid "Add new Domain" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:491 -msgid "Domain updated with success!" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:492 -msgid "Enter Domain" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:494 -msgid "Save Domain" -msgstr "" - -#: inc/admin-pages/class-domain-edit-admin-page.php:496 -msgid "Delete Domain" -msgstr "" - -#. translators: %s is the URL to the add-on. -#: inc/admin-pages/class-domain-list-admin-page.php:96 -#, php-format -msgid "To activate this feature you need to install the Multisite Ultimate: Domain Seller add-on." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:102 -#: inc/admin-pages/class-domain-list-admin-page.php:159 -msgid "Add Existing Domain" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:103 -msgid "Register New" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:112 -msgid "E.g. mydomain.com" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:113 -msgid "Be sure the domain has the right DNS setup in place before adding it." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:120 -msgid "Apply to Site" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:121 -#: inc/admin-pages/class-site-list-admin-page.php:418 -msgid "Search Sites..." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:122 -msgid "The target site of the domain being added." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:138 -msgid "The stage in the domain check lifecycle. Leave \"Checking DNS\" to have the domain go through Multisite Ultimate's automated tests." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:144 -#: inc/list-tables/class-domain-list-table.php:202 -#: inc/ui/class-domain-mapping-element.php:340 -msgid "Primary Domain" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:145 -#: inc/ui/class-domain-mapping-element.php:341 -msgid "Check to set this domain as the primary" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:177 -msgid "Register and Add Domain (soon)" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:284 -msgid "Domains removed successfully." -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:285 -msgid "Search Domains" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:297 -#: inc/admin-pages/class-domain-list-admin-page.php:308 -#: inc/admin-pages/class-domain-list-admin-page.php:319 -#: inc/debug/class-debug.php:229 -#: inc/list-tables/class-domain-list-table.php:43 -#: inc/list-tables/class-site-list-table.php:277 -#: inc/ui/class-domain-mapping-element.php:97 -#: inc/ui/class-domain-mapping-element.php:146 -#: inc/ui/class-domain-mapping-element.php:197 -#: views/ui/jumper.php:62 -msgid "Domains" -msgstr "" - -#: inc/admin-pages/class-domain-list-admin-page.php:332 -#: inc/ui/class-domain-mapping-element.php:360 -#: inc/ui/class-domain-mapping-element.php:752 -#: views/dashboard-widgets/domain-mapping.php:29 -#: views/dashboard-widgets/domain-mapping.php:31 -msgid "Add Domain" -msgstr "" - -#. translators: %1$s is the date, using the site format options, %2$s is a
tag. -#: inc/admin-pages/class-edit-admin-page.php:146 -#, php-format -msgid "This item is locked from editions. %2$s This is probably due to a background action being performed (like a transfer between different accounts, for example). You can manually unlock it, but be careful. The lock should be released automatically in %1$s seconds." -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:150 -msgid "Unlock" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:269 -#: inc/admin-pages/class-wizard-admin-page.php:127 -msgid "Edit Object" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:270 -#: inc/admin-pages/class-wizard-admin-page.php:128 -msgid "Add New Object" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:271 -#: inc/admin-pages/class-wizard-admin-page.php:129 -msgid "Object updated with success!" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:272 -#: inc/admin-pages/class-wizard-admin-page.php:130 -msgid "Enter Object Name" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:274 -#: inc/admin-pages/class-edit-admin-page.php:679 -#: inc/admin-pages/class-payment-edit-admin-page.php:832 -#: inc/admin-pages/class-payment-edit-admin-page.php:833 -#: inc/admin-pages/class-wizard-admin-page.php:132 -msgid "Save" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:325 -#: inc/admin-pages/class-event-view-admin-page.php:140 -#: inc/admin-pages/class-view-logs-admin-page.php:231 -msgid "Timestamps" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:355 -#: inc/list-tables/class-customers-membership-list-table.php:94 -#: inc/list-tables/class-event-list-table.php:214 -#: inc/list-tables/class-membership-list-table.php:177 -#: inc/list-tables/class-payment-list-table-widget.php:222 -#: inc/list-tables/class-payment-list-table.php:181 -#: inc/list-tables/customer-panel/class-invoice-list-table.php:36 -#: views/emails/customer/renewal-payment-created.php:45 -msgid "Created at" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:372 -#: inc/admin-pages/class-view-logs-admin-page.php:235 -msgid "Last Modified at" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:406 -msgid "List Table" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:471 -#: inc/admin-pages/class-edit-admin-page.php:656 -#: inc/admin-pages/class-tax-rates-admin-page.php:175 -msgid "Fields" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:540 -msgid "Tabs" -msgstr "" - -#: inc/admin-pages/class-edit-admin-page.php:699 -#: inc/admin-pages/class-membership-edit-admin-page.php:577 -msgid "Locked" -msgstr "" - -#. translators: %s is replaced with the number of days. -#: inc/admin-pages/class-email-edit-admin-page.php:127 -#, php-format -msgid "Send %s day(s) after the event." -msgstr "" - -#. translators: %1$s is replaced with the number of hours, %2$s is replaced with the number of minutes. -#: inc/admin-pages/class-email-edit-admin-page.php:130 -#, php-format -msgid "Send %1$s hour(s) and %2$s minute(s) after the event." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:159 -msgid "An unique identifier for this system email." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:169 -#: inc/admin-pages/class-email-edit-admin-page.php:171 -#: inc/admin-pages/class-event-view-admin-page.php:133 -#: inc/admin-pages/class-webhook-edit-admin-page.php:195 -#: inc/admin-pages/class-webhook-list-admin-page.php:129 -#: inc/list-tables/class-email-list-table.php:198 -#: inc/list-tables/class-event-list-table.php:41 -msgid "Event" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:170 -msgid "The event that will trigger the sending of this email." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:180 -msgid "Target" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:181 -msgid "To whom this email should be sent." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:182 -#: inc/admin-pages/class-email-edit-admin-page.php:185 -msgid "Network Administrators" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:186 -#: inc/admin-pages/class-membership-edit-admin-page.php:510 -#: inc/admin-pages/class-membership-list-admin-page.php:91 -#: inc/list-tables/class-customer-list-table.php:46 -#: inc/list-tables/class-membership-list-table-widget.php:264 -#: inc/list-tables/class-membership-list-table.php:174 -#: inc/list-tables/class-payment-list-table-widget.php:220 -#: inc/list-tables/class-payment-list-table.php:178 -#: inc/list-tables/class-site-list-table.php:275 -#: inc/managers/class-customer-manager.php:65 -#: views/emails/admin/payment-received.php:125 -#: views/emails/admin/payment-received.php:130 -#: views/emails/admin/site-published.php:91 -#: views/emails/admin/site-published.php:96 -msgid "Customer" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:194 -msgid "Send Copy to Admins?" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:195 -msgid "Checking this options will add the network admins as bcc every time this email is sent to a customer." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:204 -msgid "Schedule?" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:205 -msgid "You can define when the email is sent after the event triggers." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:213 -msgid "Scheduling Options" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:214 -msgid "When this email will be sent after the event?" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:228 -msgid "Delay for hours" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:229 -msgid "Delay for days" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:274 -msgid "Placeholders" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:284 -msgid "Use this option to manually enable or disable this email." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:307 -msgid "Email Style" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:308 -#: inc/managers/class-email-manager.php:272 -msgid "Choose if email body will be sent using the HTML template or in plain text." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:311 -msgid "Use Default" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:312 -#: inc/managers/class-email-manager.php:276 -msgid "HTML Emails" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:313 -#: inc/managers/class-email-manager.php:277 -msgid "Plain Emails" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:320 -msgid "Custom Sender" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:322 -#: inc/admin-pages/class-email-edit-admin-page.php:327 -msgid "You can define an email and a name that will only be used when this email is sent." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:326 -msgid "Use a custom sender?" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:335 -msgid "From \"Name\"" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:336 -msgid "Override the global from name for this particular email." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:346 -msgid "From \"Email\"" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:347 -msgid "Override the global from email for this particular email." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:376 -#: inc/admin-pages/class-event-view-admin-page.php:135 -#: inc/admin-pages/class-event-view-admin-page.php:179 -#: inc/admin-pages/class-view-logs-admin-page.php:260 -#: inc/admin-pages/class-webhook-edit-admin-page.php:172 -#: inc/admin-pages/class-webhook-edit-admin-page.php:268 -msgid "Event Payload" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:377 -#: inc/admin-pages/class-event-view-admin-page.php:180 -#: inc/admin-pages/class-view-logs-admin-page.php:261 -#: inc/admin-pages/class-webhook-edit-admin-page.php:269 -msgid "Loading Payload" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:390 -#: inc/admin-pages/class-email-edit-admin-page.php:401 -#: inc/admin-pages/class-email-edit-admin-page.php:444 -msgid "Edit Email" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:390 -#: inc/admin-pages/class-email-edit-admin-page.php:445 -msgid "Add new Email" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:423 -#: inc/tax/class-dashboard-taxes-tab.php:107 -msgid "Go Back" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:428 -#: inc/admin-pages/class-email-list-admin-page.php:203 -#: inc/list-tables/class-email-list-table.php:115 -msgid "Send Test Email" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:446 -msgid "Email updated with success!" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:447 -msgid "Enter Email Subject" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:448 -msgid "This will be used as the email subject line." -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:449 -msgid "Save Email" -msgstr "" - -#: inc/admin-pages/class-email-edit-admin-page.php:451 -msgid "Delete Email" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:185 -msgid "Send To" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:186 -msgid "E.g. network@email.com" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:187 -msgid "The test email will be sent to the above email address." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:239 -#: inc/admin-pages/class-email-list-admin-page.php:596 -#: inc/admin-pages/class-email-list-admin-page.php:615 -#: inc/admin-pages/class-payment-edit-admin-page.php:614 -#: inc/admin-pages/class-site-list-admin-page.php:270 -#: inc/managers/class-broadcast-manager.php:252 -msgid "Something wrong happened." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:278 -msgid "Something wrong happened with your test." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:292 -#: inc/admin-pages/class-email-list-admin-page.php:306 -msgid "Test sent successfully" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:329 -msgid "Reset System Emails " -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:330 -msgid "Restore the system emails to their original content." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:342 -msgid "No emails to reset." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:382 -msgid "Import System Emails" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:383 -msgid "Add new system emails based on Multisite Ultimate presets." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:394 -msgid "All emails are already present." -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:432 -msgid "Reset and/or Import" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:546 -#: inc/managers/class-limitation-manager.php:141 -msgid "Confirm Reset" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:559 -msgid "Reset Email" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:646 -msgid "Add System Email" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:651 -#: inc/admin-pages/class-settings-admin-page.php:181 -msgid "Email Template" -msgstr "" - -#: inc/admin-pages/class-email-list-admin-page.php:657 -msgid "Reset or Import" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:159 -msgid "Sample Subject" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:221 -msgid "System emails and broadcasts will be sent using this template." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:246 -msgid "Header" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:248 -msgid "Footer" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:253 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:258 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:192 -msgid "Use Custom Logo" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:254 -msgid "You can set a different logo to be used on the system emails." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:266 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:270 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:205 -msgid "Custom Logo" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:267 -msgid "The custom logo is used in the email header, if HTML emails are used." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:280 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:166 -msgid "Background Color" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:281 -msgid "The cover background color of the email." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:293 -msgid "Title Color" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:305 -msgid "Title Size" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:308 -msgid "h1" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:309 -msgid "h2" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:310 -msgid "h3" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:311 -msgid "h4" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:312 -msgid "h5" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:324 -msgid "Title Align" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:325 -msgid "Aligment of the font in the title." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:328 -#: inc/admin-pages/class-email-template-customize-admin-page.php:376 -#: inc/admin-pages/class-email-template-customize-admin-page.php:467 -#: inc/ui/class-current-site-element.php:221 -msgid "Left" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:329 -#: inc/admin-pages/class-email-template-customize-admin-page.php:377 -#: inc/admin-pages/class-email-template-customize-admin-page.php:468 -msgid "Center" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:330 -#: inc/admin-pages/class-email-template-customize-admin-page.php:378 -#: inc/admin-pages/class-email-template-customize-admin-page.php:469 -#: inc/ui/class-current-site-element.php:220 -msgid "Right" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:342 -msgid "Title Font-Family" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:345 -#: inc/admin-pages/class-email-template-customize-admin-page.php:393 -#: inc/admin-pages/class-email-template-customize-admin-page.php:436 -msgid "Helvetica" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:346 -#: inc/admin-pages/class-email-template-customize-admin-page.php:394 -#: inc/admin-pages/class-email-template-customize-admin-page.php:437 -msgid "Arial" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:347 -#: inc/admin-pages/class-email-template-customize-admin-page.php:395 -#: inc/admin-pages/class-email-template-customize-admin-page.php:438 -msgid "Times New Roman" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:348 -#: inc/admin-pages/class-email-template-customize-admin-page.php:396 -#: inc/admin-pages/class-email-template-customize-admin-page.php:439 -msgid "Lucida" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:360 -msgid "Content Color" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:372 -msgid "Content Alignment" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:373 -msgid "Alignment of the font in the main email content." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:390 -msgid "Content Font-Family" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:408 -msgid "Display Company Address" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:409 -msgid "Toggle to show/hide your company address." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:420 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:231 -msgid "Footer Content" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:421 -msgid "e.g. Extra info in the email footer." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:433 -msgid "Footer Font-Family" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:451 -msgid "Footer Color" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:463 -msgid "Footer Alignment" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:464 -msgid "Alignment of the font in the main email footer." -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:492 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:305 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:229 -msgid "Customizer" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:513 -msgid "Customize Email Template:" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:524 -#: inc/admin-pages/class-email-template-customize-admin-page.php:547 -#: inc/admin-pages/class-email-template-customize-admin-page.php:548 -#: inc/admin-pages/class-settings-admin-page.php:416 -#: inc/admin-pages/class-settings-admin-page.php:420 -msgid "Customize Email Template" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:549 -msgid "Edit Email Template" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:550 -msgid "Email Template updated with success!" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:551 -msgid "Enter Email Template Name" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:553 -msgid "Save Template" -msgstr "" - -#: inc/admin-pages/class-email-template-customize-admin-page.php:555 -msgid "Delete Email Template" -msgstr "" - -#: inc/admin-pages/class-event-list-admin-page.php:163 -msgid "Event removed successfully." -msgstr "" - -#: inc/admin-pages/class-event-list-admin-page.php:164 -msgid "Search Event" -msgstr "" - -#: inc/admin-pages/class-event-list-admin-page.php:212 -msgid "View Logs" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:131 -#: inc/list-tables/class-event-list-table.php:211 -msgid "Event Message" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:211 -#: inc/admin-pages/class-event-view-admin-page.php:222 -#: inc/admin-pages/class-event-view-admin-page.php:245 -msgid "Edit Event" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:211 -#: inc/admin-pages/class-event-view-admin-page.php:246 -msgid "Add new Event" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:247 -msgid "Event updated with success!" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:248 -msgid "Enter Event" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:250 -msgid "Save Event" -msgstr "" - -#: inc/admin-pages/class-event-view-admin-page.php:252 -msgid "Delete Event" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:112 -msgid "Integration Setup" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:123 -msgid "Host Provider Integration" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:136 -msgid "Activation" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:141 -#: inc/ui/class-domain-mapping-element.php:303 -#: views/wizards/host-integrations/cloudflare-instructions.php:10 -#: views/wizards/host-integrations/gridpane-instructions.php:9 -#: views/wizards/host-integrations/runcloud-instructions.php:9 -msgid "Instructions" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:145 -#: inc/integrations/host-providers/class-base-host-provider.php:214 -msgid "Configuration" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:150 -msgid "Testing Integration" -msgstr "" - -#: inc/admin-pages/class-hosting-integration-wizard-admin-page.php:154 -#: inc/admin-pages/class-setup-wizard-admin-page.php:486 -#: views/dashboard-widgets/thank-you.php:281 -msgid "Ready!" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:170 -msgid "Changes to this template will be applied to all PDF invoices generated after the change.

Existing PDF Invoices will not be affected unless explicitly re-generated" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:194 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:133 -msgid "Colors" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:195 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:134 -msgid "Images" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:201 -msgid "Paid Tag" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:202 -msgid "e.g. Paid." -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:203 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:287 -#: inc/admin-pages/class-product-edit-admin-page.php:296 -#: inc/invoices/class-invoice.php:260 -msgid "Paid" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:214 -msgid "Font-Family" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:217 -msgid "Sans-Serif" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:218 -msgid "Serif" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:219 -msgid "Mono" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:232 -msgid "e.g. Extra Info about the Invoice." -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:245 -msgid "Primary Color" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:259 -msgid "You can set a different logo to be used on the invoice." -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:271 -msgid "This will be added to the top of the generated PDF." -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:326 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:337 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:360 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:361 -msgid "Customize Invoice Template" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:362 -msgid "Edit Invoice Template" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:363 -msgid "Invoice Template updated with success!" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:364 -msgid "Enter Invoice Template Name" -msgstr "" - -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:366 -#: inc/admin-pages/class-invoice-template-customize-admin-page.php:367 -msgid "Save Invoice Template" -msgstr "" - -#: inc/admin-pages/class-jobs-list-admin-page.php:111 -#: inc/admin-pages/class-jobs-list-admin-page.php:122 -#: inc/admin-pages/class-jobs-list-admin-page.php:133 -msgid "Jobs" -msgstr "" - -#: inc/admin-pages/class-list-admin-page.php:126 -msgid "Object removed successfully." -msgstr "" - -#: inc/admin-pages/class-list-admin-page.php:127 -msgid "Search Object" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:124 -#: inc/functions/markup-helpers.php:135 -#: views/base/checkout-forms/steps.php:33 -#: views/base/checkout-forms/steps.php:40 -#: views/base/checkout-forms/steps.php:291 -#: views/base/checkout-forms/steps.php:298 -msgid "Preview" -msgstr "" - -#. translators: %s is the date, using the site format options -#: inc/admin-pages/class-membership-edit-admin-page.php:132 -#, php-format -msgid "There is a change scheduled to take place on this membership in %s. You can preview the changes here. Scheduled changes are usually created by downgrades." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:228 -msgid "This will start the transfer of assets from one customer to another." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:286 -#: inc/admin-pages/class-membership-edit-admin-page.php:1355 -#: inc/admin-pages/class-membership-edit-admin-page.php:1500 -#: inc/admin-pages/class-membership-edit-admin-page.php:1665 -#: inc/admin-pages/class-site-edit-admin-page.php:264 -#: inc/ui/class-current-membership-element.php:524 -msgid "Membership not found." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:292 -msgid "Target customer not found." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:296 -msgid "Cannot transfer to the same customer." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:365 -msgid "Membership Status" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:372 -#: inc/admin-pages/class-payment-edit-admin-page.php:971 -msgid "Reference ID" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:389 -#: inc/admin-pages/class-membership-list-admin-page.php:104 -#: inc/admin-pages/class-payment-list-admin-page.php:90 -#: inc/admin-pages/class-product-list-admin-page.php:87 -#: inc/admin-pages/class-product-list-admin-page.php:98 -#: inc/admin-pages/class-product-list-admin-page.php:109 -#: inc/admin-pages/class-top-admin-nav-menu.php:103 -#: inc/checkout/class-checkout.php:1865 -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:170 -#: inc/checkout/signup-fields/class-signup-field-products.php:149 -#: inc/checkout/signup-fields/class-signup-field-products.php:150 -#: inc/debug/class-debug.php:178 -#: inc/list-tables/class-customers-membership-list-table.php:76 -#: inc/list-tables/class-product-list-table.php:40 -#: views/checkout/register.php:17 -#: views/emails/admin/payment-received.php:20 -#: views/emails/customer/payment-received.php:21 -#: views/emails/customer/renewal-payment-created.php:21 -#: views/ui/jumper.php:60 -msgid "Products" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:416 -#: inc/admin-pages/class-site-edit-admin-page.php:391 -msgid "Linked Customer" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:425 -msgid "Membership Options" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:432 -msgid "General membership options" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:437 -msgid "Is Blocking?" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:438 -msgid "Should we block access to the site, plugins, themes, and services after the expiration date is reached?" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:445 -msgid "Billing information for this particular membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:473 -msgid "The membership current status." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:486 -msgid "Cancellation Reason" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:487 -msgid "The reason why the customer cancelled this membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:496 -msgid "Cancel on gateway" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:497 -msgid "If enable we will cancel the subscription on payment method" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:511 -msgid "Search a Customer..." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:512 -msgid "The owner of this membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:531 -msgid "Changing the customer will transfer this membership and all its assets, including sites, to the new customer." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:552 -#: inc/admin-pages/class-membership-edit-admin-page.php:567 -msgid "Transfer Membership" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:603 -msgid "Billing Amount" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:624 -#: views/dashboard-widgets/current-membership.php:139 -#: views/emails/admin/domain-created.php:110 -#: views/emails/admin/payment-received.php:95 -#: views/emails/admin/site-published.php:61 -msgid "Initial Amount" -msgstr "" - -#. translators: %s is a price placeholder value. -#: inc/admin-pages/class-membership-edit-admin-page.php:626 -#: inc/admin-pages/class-payment-edit-admin-page.php:746 -#: inc/admin-pages/class-payment-edit-admin-page.php:764 -#: inc/admin-pages/class-product-edit-admin-page.php:493 -#, php-format -msgid "E.g. %s" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:627 -msgid "The initial amount collected on the first payment." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:645 -msgid "Is Recurring" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:646 -msgid "Use this option to manually enable or disable this membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:663 -msgid "Recurring Amount" -msgstr "" - -#. translators: placeholder %1$s is the amount, %2$s is the duration (such as 1, 2, 3), and %3$s is the unit (such as month, year, week) -#: inc/admin-pages/class-membership-edit-admin-page.php:665 -#: inc/admin-pages/class-product-edit-admin-page.php:368 -#, php-format -msgid "The customer will be charged %1$s every %2$s %3$s(s)." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:701 -#: inc/admin-pages/class-product-edit-admin-page.php:406 -#: inc/admin-pages/class-product-edit-admin-page.php:460 -#: inc/admin-pages/class-product-edit-admin-page.php:778 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:240 -#: inc/functions/date.php:115 -msgid "Days" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:702 -#: inc/admin-pages/class-product-edit-admin-page.php:407 -#: inc/admin-pages/class-product-edit-admin-page.php:461 -#: inc/admin-pages/class-product-edit-admin-page.php:779 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:241 -msgid "Weeks" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:703 -#: inc/admin-pages/class-product-edit-admin-page.php:408 -#: inc/admin-pages/class-product-edit-admin-page.php:462 -#: inc/admin-pages/class-product-edit-admin-page.php:780 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:242 -#: inc/functions/date.php:118 -msgid "Months" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:704 -#: inc/admin-pages/class-product-edit-admin-page.php:409 -#: inc/admin-pages/class-product-edit-admin-page.php:463 -#: inc/admin-pages/class-product-edit-admin-page.php:781 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:243 -#: inc/functions/date.php:121 -msgid "Years" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:737 -#: inc/admin-pages/class-product-edit-admin-page.php:416 -msgid "Billing Cycles" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:738 -msgid "E.g. 0" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:739 -#: inc/admin-pages/class-product-edit-admin-page.php:418 -msgid "How many times should we bill this customer. Leave 0 to charge until cancelled." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:749 -#: views/dashboard-widgets/current-membership.php:153 -msgid "Times Billed" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:750 -msgid "The number of times this membership was billed so far." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:761 -msgid "Auto-Renew?" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:762 -msgid "Activating this will tell the gateway to try to automatically charge for this membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:774 -#: inc/admin-pages/class-payment-edit-admin-page.php:1086 -#: inc/list-tables/class-customers-membership-list-table.php:81 -#: inc/list-tables/class-customers-payment-list-table.php:67 -#: inc/list-tables/class-payment-list-table.php:216 -msgid "Gateway" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:775 -#: inc/admin-pages/class-membership-edit-admin-page.php:776 -#: inc/admin-pages/class-payment-edit-admin-page.php:1087 -#: inc/admin-pages/class-payment-edit-admin-page.php:1088 -msgid "e.g. stripe" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:777 -#: inc/admin-pages/class-payment-edit-admin-page.php:1089 -msgid "Payment gateway used to process the payment." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:801 -#: inc/admin-pages/class-membership-edit-admin-page.php:839 -#: inc/admin-pages/class-payment-edit-admin-page.php:1113 -msgid "View on Gateway →" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:813 -#: inc/admin-pages/class-membership-edit-admin-page.php:814 -msgid "Gateway Customer ID" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:851 -#: inc/admin-pages/class-membership-edit-admin-page.php:852 -msgid "Gateway Subscription ID" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:866 -msgid "We will try to cancel the old subscription on the gateway." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:887 -msgid "Expires at" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:888 -msgid "Last Renewed at" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:889 -msgid "Trial Ends at" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:890 -msgid "Cancelled at" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:915 -msgid "Convert to Lifetime" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:925 -msgid "Important Timestamps" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:955 -#: inc/admin-pages/class-membership-edit-admin-page.php:966 -#: inc/admin-pages/class-membership-edit-admin-page.php:989 -msgid "Edit Membership" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:955 -#: inc/admin-pages/class-membership-edit-admin-page.php:990 -msgid "Add new Membership" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:991 -msgid "Membership updated with success!" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:992 -msgid "Enter Membership Name" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:993 -#: inc/admin-pages/class-payment-edit-admin-page.php:1221 -#: inc/admin-pages/class-product-edit-admin-page.php:995 -msgid "This name will be used on pricing tables, invoices, and more." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:994 -msgid "Save Membership" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:996 -msgid "Delete Membership" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1107 -msgid "← Go back" -msgstr "" - -#. translators: %s is the date, using the site format options -#: inc/admin-pages/class-membership-edit-admin-page.php:1115 -#, php-format -msgid "This is a preview. This page displays the final stage of the membership after the changes scheduled for %s. Saving here will persist these changes, so be careful." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1264 -#: inc/admin-pages/class-payment-edit-admin-page.php:666 -#: inc/admin-pages/class-payment-edit-admin-page.php:680 -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:169 -#: inc/checkout/signup-fields/class-signup-field-products.php:56 -#: inc/list-tables/class-membership-list-table.php:175 -#: inc/list-tables/class-product-list-table.php:39 -#: views/checkout/paypal/confirm.php:94 -#: views/dashboard-statistics/widget-revenue.php:70 -#: views/dashboard-widgets/thank-you.php:378 -msgid "Product" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1265 -msgid "Search product..." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1279 -#: inc/admin-pages/class-membership-edit-admin-page.php:1420 -#: inc/admin-pages/class-payment-edit-admin-page.php:722 -#: inc/list-tables/class-membership-line-item-list-table.php:88 -#: inc/list-tables/class-membership-line-item-list-table.php:101 -#: inc/list-tables/class-payment-line-item-list-table.php:52 -msgid "Quantity" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1290 -#: inc/admin-pages/class-membership-edit-admin-page.php:1594 -msgid "Update Pricing" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1291 -#: inc/admin-pages/class-membership-edit-admin-page.php:1432 -#: inc/admin-pages/class-membership-edit-admin-page.php:1595 -msgid "Checking this box will update the membership pricing. Otherwise, the products will be added without changing the membership prices." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1307 -#: inc/admin-pages/class-membership-edit-admin-page.php:1308 -#: inc/admin-pages/class-product-list-admin-page.php:123 -msgid "Add Product" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1363 -#: inc/admin-pages/class-membership-edit-admin-page.php:1508 -#: inc/list-tables/class-product-list-table.php:204 -#: inc/ui/class-current-membership-element.php:532 -msgid "Product not found." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1431 -msgid "Update Pricing?" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1448 -#: inc/admin-pages/class-membership-edit-admin-page.php:1449 -msgid "Remove Product" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1577 -#: inc/database/products/class-product-type.php:59 -msgid "Plan" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1578 -msgid "Search new Plan..." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1579 -msgid "Select a new plan for this membership." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1611 -#: inc/admin-pages/class-membership-edit-admin-page.php:1612 -msgid "Change Product" -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1673 -msgid "Plan not found." -msgstr "" - -#: inc/admin-pages/class-membership-edit-admin-page.php:1681 -msgid "No change performed. The same plan selected." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:92 -msgid "Search Customer..." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:93 -msgid "The customer to attach this membership to." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:105 -#: inc/admin-pages/class-payment-list-admin-page.php:91 -msgid "Search Products..." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:106 -msgid "You can add multiples products to this membership." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:120 -#: inc/api/class-register-endpoint.php:376 -msgid "The membership status." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:127 -#: inc/list-tables/class-membership-list-table.php:198 -msgid "Lifetime" -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:128 -msgid "Activate this toggle to mark the newly created membership as lifetime." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:136 -msgid "Set the expiration date of the membership to be created." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:153 -msgid "Create Membership" -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:200 -msgid "Products can not be empty." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:211 -msgid "The selected customer does not exist." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:266 -msgid "Membership removed successfully." -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:267 -msgid "Search Membership" -msgstr "" - -#: inc/admin-pages/class-membership-list-admin-page.php:314 -msgid "Add Membership" -msgstr "" - -#: inc/admin-pages/class-migration-alert-admin-page.php:92 -#: inc/admin-pages/class-setup-wizard-admin-page.php:456 -msgid "Migration" -msgstr "" - -#: inc/admin-pages/class-migration-alert-admin-page.php:103 -msgid "Multisite Ultimate Migration Alert" -msgstr "" - -#: inc/admin-pages/class-migration-alert-admin-page.php:116 -msgid "Alert!" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:230 -#: inc/admin-pages/class-payment-edit-admin-page.php:389 -msgid "Payment not found." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:270 -#: inc/admin-pages/class-payment-edit-admin-page.php:271 -msgid "Refund Amount" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:291 -msgid "Cancel Related Membership?" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:292 -msgid "Checking this option will cancel the membership as well." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:299 -msgid "Confirming the refund might not immediately change the status of the payment, as each gateway handles refunds differently and Multisite Ultimate relies on the gateway reporting a successful refund before changing the status." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:308 -msgid "Confirm Refund" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:319 -#: inc/admin-pages/class-payment-edit-admin-page.php:320 -#: inc/models/class-checkout-form.php:663 -#: inc/models/class-checkout-form.php:697 -#: inc/models/class-checkout-form.php:741 -msgid "Next Step" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:334 -#: inc/admin-pages/class-payment-edit-admin-page.php:335 -msgid "Issue Refund" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:396 -msgid "The refund amount is out of bounds." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:406 -msgid "This payment is not in a refundable state." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:457 -msgid "Payment gateway not found." -msgstr "" - -#. translators: %s is the exception error message. -#: inc/admin-pages/class-payment-edit-admin-page.php:486 -#: inc/admin-pages/class-payment-edit-admin-page.php:493 -#, php-format -msgid "An error occurred: %s" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:545 -msgid "The product was not found." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:582 -msgid "The line item type is invalid." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:654 -msgid "Additional Info" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:655 -msgid "Tax Info" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:663 -msgid "Line Item Type" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:664 -msgid "Select the line item type." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:667 -#: inc/list-tables/class-payment-list-table.php:206 -msgid "Refund" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:668 -msgid "Fee" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:669 -#: inc/checkout/class-cart.php:1296 -msgid "Credit" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:681 -msgid "Product associated with this line item." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:682 -msgid "Search Products" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:699 -msgid "Line Item Title" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:700 -msgid "E.g. Extra Charge" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:701 -#: inc/admin-pages/class-payment-edit-admin-page.php:711 -msgid "This is used when generating invoices." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:709 -msgid "Line Item Description" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:710 -msgid "E.g. This service was done to improve performance." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:723 -msgid "Item quantity." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:725 -#: inc/admin-pages/class-product-edit-admin-page.php:417 -msgid "E.g. 1" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:743 -#: inc/list-tables/class-line-item-list-table.php:213 -#: inc/list-tables/class-payment-line-item-list-table.php:58 -msgid "Unit Price" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:744 -msgid "Item unit price. This is multiplied by the quantity to calculate the sub-total." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:761 -#: views/emails/admin/domain-created.php:104 -#: views/emails/admin/payment-received.php:89 -#: views/emails/admin/site-published.php:55 -msgid "Amount" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:762 -msgid "Refund, credit or fee amount." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:779 -#: inc/admin-pages/class-product-edit-admin-page.php:835 -msgid "Is Taxable?" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:780 -msgid "Checking this box will toggle the tax controls." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:792 -msgid "Tax Label" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:793 -msgid "E.g. ES VAT" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:794 -msgid "Tax description. This is shown on invoices to end customers." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:802 -#: inc/tax/class-tax.php:204 -msgid "Tax Rate" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:803 -msgid "Tax rate and type to apply to this item." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:825 -msgid "Flat Rate ($)" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:886 -msgid "Refund Payment" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:899 -msgid "Add Line Item" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:964 -msgid "Payment Status" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:976 -#: inc/list-tables/class-line-item-list-table.php:217 -#: inc/list-tables/class-payment-list-table-widget.php:221 -#: inc/list-tables/class-payment-list-table.php:180 -#: inc/list-tables/customer-panel/class-invoice-list-table.php:35 -#: views/checkout/paypal/confirm.php:95 -#: views/dashboard-widgets/current-membership.php:349 -#: views/dashboard-widgets/thank-you.php:91 -#: views/dashboard-widgets/thank-you.php:199 -#: views/dashboard-widgets/thank-you.php:379 -#: views/dashboard-widgets/thank-you.php:431 -#: views/emails/admin/payment-received.php:38 -#: views/emails/customer/payment-received.php:39 -#: views/emails/customer/renewal-payment-created.php:39 -#: views/invoice/template.php:119 -#: views/payments/tax-details.php:25 -msgid "Total" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:987 -#: inc/list-tables/class-line-item-list-table.php:40 -msgid "Line Items" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:998 -msgid "Tax Rate Breakthrough" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1007 -msgid "Payment Options" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1044 -msgid "The payment current status." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1057 -msgid "Activate Membership?" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1058 -msgid "This payment belongs to a pending membership. If you toggle this option, this change in status will also apply to the membership. If any sites are pending, they are also going to be published automatically." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1067 -#: inc/admin-pages/class-payment-list-admin-page.php:114 -#: inc/list-tables/class-membership-list-table-widget.php:41 -#: inc/list-tables/class-membership-list-table.php:39 -#: inc/list-tables/class-payment-list-table.php:179 -#: inc/list-tables/class-site-list-table.php:276 -#: inc/managers/class-membership-manager.php:62 -#: inc/ui/class-current-membership-element.php:133 -#: views/emails/admin/domain-created.php:99 -#: views/emails/admin/payment-received.php:84 -#: views/emails/admin/site-published.php:50 -msgid "Membership" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1068 -#: inc/admin-pages/class-payment-list-admin-page.php:116 -msgid "The membership associated with this payment." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1125 -msgid "Gateway Payment ID" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1126 -#: inc/admin-pages/class-payment-edit-admin-page.php:1127 -msgid "e.g. EX897540987913" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1128 -msgid "This will usually be set automatically by the payment gateway." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1139 -msgid "Invoice Number" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1140 -msgid "e.g. 20" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1141 -msgid "This number gets saved automatically when a payment transitions to a complete state. You can change it to generate invoices with a particular number. The number chosen here has no effect on other invoices in the platform." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1142 -msgid "The invoice number for this particular payment." -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1163 -#: inc/admin-pages/class-payment-edit-admin-page.php:1174 -#: inc/admin-pages/class-payment-edit-admin-page.php:1217 -msgid "Edit Payment" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1163 -#: inc/admin-pages/class-payment-edit-admin-page.php:1218 -msgid "Add new Payment" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1192 -msgid "Generate Invoice" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1199 -msgid "Payment URL" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1219 -msgid "Payment updated with success!" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1220 -msgid "Enter Payment Name" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1222 -msgid "Save Payment" -msgstr "" - -#: inc/admin-pages/class-payment-edit-admin-page.php:1224 -msgid "Delete Payment" -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:92 -msgid "Each product will be added as a line item." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:107 -msgid "The payment status to attach to the newly created payment." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:115 -#: inc/admin-pages/class-site-edit-admin-page.php:479 -#: inc/admin-pages/class-site-list-admin-page.php:393 -msgid "Search Membership..." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:129 -msgid "Include Setup Fees" -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:130 -msgid "Checking this box will include setup fees attached to the selected products as well." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:135 -#: inc/admin-pages/class-payment-list-admin-page.php:279 -msgid "Add Payment" -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:175 -msgid "Invalid membership." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:231 -msgid "Payment removed successfully." -msgstr "" - -#: inc/admin-pages/class-payment-list-admin-page.php:232 -msgid "Search Payment" -msgstr "" - -#: inc/admin-pages/class-placeholders-admin-page.php:73 -#: inc/admin-pages/class-placeholders-admin-page.php:84 -#: inc/admin-pages/class-placeholders-admin-page.php:95 -msgid "Edit Template Placeholders" -msgstr "" - -#: inc/admin-pages/class-placeholders-admin-page.php:111 -#: views/email/widget-placeholders.php:31 -msgid "Placeholder" -msgstr "" - -#: inc/admin-pages/class-placeholders-admin-page.php:141 -#: inc/admin-pages/class-tax-rates-admin-page.php:148 -#: views/checkout/templates/order-summary/simple.php:47 -#: views/dashboard-statistics/widget-tax-by-code.php:19 -#: views/dashboard-statistics/widget-tax-by-code.php:50 -#: views/emails/admin/payment-received.php:32 -#: views/emails/customer/payment-received.php:33 -#: views/emails/customer/renewal-payment-created.php:33 -#: views/invoice/template.php:115 -msgid "Tax" -msgstr "" - -#: inc/admin-pages/class-placeholders-admin-page.php:142 -#: inc/admin-pages/class-tax-rates-admin-page.php:149 -msgid "Are you sure you want to delete this rows?" -msgstr "" - -#: inc/admin-pages/class-placeholders-admin-page.php:143 -#: inc/admin-pages/class-tax-rates-admin-page.php:150 -msgid "Are you sure you want to delete this tax category?" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:119 -msgid "On adding a new product..." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:121 -msgid "You just successfully added a new product to your Multisite Ultimate network and that's awesome!" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:122 -msgid "Keep in mind that newly created products do not appear automatically in your checkout forms." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:123 -msgid "To make a product available on registration, you will need to manually add it to the pricing table field of your checkout forms." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:128 -#: inc/admin-pages/class-site-edit-admin-page.php:164 -msgid "Go to Checkout Forms" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:156 -msgid "Re-assign Memberships to" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:157 -msgid "Select Product..." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:158 -msgid "The product you select here will be assigned to all the memberships attached to the product you are deleting." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:233 -msgid "Product Description" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:235 -msgid "This description is made available for layouts and can be shown to end customers." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:248 -msgid "Product Options" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:290 -msgid "Pricing Type" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:291 -msgid "Select Pricing Type" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:292 -msgid "Products can be free, paid, or require further contact for pricing." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:298 -#: inc/models/class-product.php:627 -msgid "Contact Us" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:309 -msgid "Button Label" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:310 -msgid "E.g. Contact us" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:311 -msgid "This will be used on the pricing table CTA button, as the label." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:320 -msgid "Button Link" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:321 -msgid "E.g. https://contactus.page.com" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:322 -msgid "This will be used on the pricing table CTA button." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:331 -msgid "Is Recurring?" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:332 -msgid "Check this if this product has a recurring charge." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:350 -#: inc/admin-pages/class-product-edit-admin-page.php:351 -#: inc/admin-pages/class-product-edit-admin-page.php:366 -#: inc/list-tables/class-membership-list-table-widget.php:265 -#: inc/list-tables/class-membership-list-table.php:176 -#: inc/list-tables/class-product-list-table.php:256 -#: views/invoice/template.php:107 -msgid "Price" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:428 -msgid "Offer Trial" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:429 -msgid "Check if you want to add a trial period to this product." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:441 -msgid "Trial" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:470 -msgid "Add Setup Fee?" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:471 -msgid "Check if you want to add a setup fee." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:490 -#: inc/list-tables/class-product-list-table.php:257 -msgid "Setup Fee" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:491 -msgid "The setup fee will be added to the first charge, in addition to the regular price of the product." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:518 -msgid "Use this option to manually enable or disable this product for new sign-ups." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:528 -#: inc/admin-pages/class-product-edit-admin-page.php:533 -msgid "Product Image" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:534 -msgid "This image is used on product list tables and other places." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:622 -msgid "General product options such as product slug, type, etc." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:631 -#: inc/list-tables/class-membership-line-item-list-table.php:115 -msgid "Product Slug" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:632 -msgid "e.g. premium" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:633 -msgid "This serves as a id to the product in a number of different contexts." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:635 -msgid "Lowercase alpha-numeric characters with dashes or underlines. No spaces allowed." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:644 -#: inc/admin-pages/class-product-edit-admin-page.php:645 -msgid "Product Type" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:646 -msgid "Different product types have different options." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:655 -msgid "Customer Role" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:656 -msgid "Select the role Multisite Ultimate should use when adding the user to their newly created site." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:671 -msgid "Up & Downgrades" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:672 -msgid "Settings related to upgrade and downgrade flows." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:678 -msgid "Plan Group" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:679 -msgid "Add related plans to the same group to have them show up as upgrade/downgrade paths." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:680 -#: inc/admin-pages/class-product-edit-admin-page.php:692 -msgid "Type and press enter to search and/or add." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:683 -msgid "Select Group" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:690 -msgid "Product Order" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:691 -msgid "Plans are shown in the order determined by this parameter, from the lowest to the highest." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:698 -msgid "Offer Add-ons" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:699 -msgid "Search for a package or service" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:700 -msgid "This products will be offered inside upgrade/downgrade forms as order bumps." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:722 -msgid "Price Variations" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:723 -msgid "Discounts for longer membership commitments." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:732 -msgid "Enable Price Variations" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:733 -msgid "Price Variations are an easy way to offer discounted prices for longer subscription commitments." -msgstr "" - -#. translators: 1 is the price, 2 is the duration and 3 the duration unit -#: inc/admin-pages/class-product-edit-admin-page.php:742 -#, php-format -msgid "A discounted price of %1$s will be used when memberships are created with the recurrence of %2$s %3$s(s) instead of the regular period." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:758 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:220 -msgid "Duration" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:770 -msgid "Period" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:794 -msgid "New Price" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:807 -msgid "Add new Price Variation" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:826 -#: inc/list-tables/class-line-item-list-table.php:216 -#: inc/tax/class-dashboard-taxes-tab.php:63 -#: inc/tax/class-dashboard-taxes-tab.php:151 -#: inc/tax/class-tax.php:104 -#: inc/tax/class-tax.php:105 -#: views/checkout/templates/order-summary/simple.php:188 -msgid "Taxes" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:827 -msgid "Tax settings for your products." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:836 -msgid "Enable this if you plan to collect taxes for this product." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:844 -msgid "Tax Category" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:845 -msgid "Select the product tax category." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:857 -#: inc/admin-pages/class-product-edit-admin-page.php:900 -msgid "Site Templates" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:858 -msgid "Limit which site templates are available for this particular template." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:869 -msgid "Allow Site Templates" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:870 -msgid "Toggle this option on to allow this plan to use Site Templates. If this option is disabled, sign-ups on this plan will get a default WordPress site." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:880 -#: inc/admin-pages/class-product-edit-admin-page.php:881 -msgid "Site Template Selection Mode" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:882 -msgid "Select the type of limitation you want to apply." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:883 -msgid "\"Default\" will follow the settings of the checkout form: if you have a template selection field in there, all the templates selected will show up. If no field is present, then a default WordPress site will be created.

\"Assign Site Template\" forces new accounts with this plan to use a particular template site (this option removes the template selection field from the signup, if one exists).

Finally, \"Choose Available Site Templates\", overrides the templates selected on the checkout form with the templates selected here, while also giving you the chance of pre-select a template to be used as default." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:886 -#: inc/tax/class-tax.php:232 -#: inc/ui/class-site-actions-element.php:184 -#: views/limitations/plugin-selector.php:80 -msgid "Default" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:887 -msgid "Assign Site Template" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:888 -msgid "Choose Available Site Templates" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:901 -msgid "Select the Site Template to assign." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:901 -msgid "Customize the access level of each Site Template below." -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:943 -#: inc/admin-pages/class-product-edit-admin-page.php:954 -#: inc/admin-pages/class-product-edit-admin-page.php:991 -msgid "Edit Product" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:943 -#: inc/admin-pages/class-product-edit-admin-page.php:992 -#: views/memberships/product-list.php:17 -#: views/memberships/product-list.php:21 -msgid "Add new Product" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:972 -msgid "Click to copy Shareable Link" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:993 -msgid "Product updated with success!" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:994 -msgid "Enter Product Name" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:996 -msgid "Save Product" -msgstr "" - -#: inc/admin-pages/class-product-edit-admin-page.php:998 -msgid "Delete Product" -msgstr "" - -#: inc/admin-pages/class-product-list-admin-page.php:74 -msgid "Product removed successfully." -msgstr "" - -#: inc/admin-pages/class-product-list-admin-page.php:75 -msgid "Search Product" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:149 -msgid "Template Previewer" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:157 -msgid "Placeholder Editor" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:165 -#: inc/ui/class-invoices-element.php:86 -#: inc/ui/class-invoices-element.php:135 -#: inc/ui/class-invoices-element.php:196 -msgid "Invoices" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:209 -msgid "You can create multiple Checkout Forms for different occasions (seasonal campaigns, launches, etc)!" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:218 -msgid "Manage Checkout Forms →" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:244 -#: inc/admin-pages/class-settings-admin-page.php:248 -msgid "Customize the Template Previewer" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:252 -msgid "Did you know that you can customize colors, logos, and more options of the Site Template Previewer top-bar?" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:261 -#: inc/admin-pages/class-settings-admin-page.php:347 -msgid "Go to Customizer →" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:287 -#: inc/admin-pages/class-settings-admin-page.php:291 -msgid "Customize the Template Placeholders" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:295 -msgid "If you are using placeholder substitutions inside your site templates, use this tool to add, remove, or change the default content of those placeholders." -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:304 -msgid "Edit Placeholders →" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:330 -#: inc/admin-pages/class-settings-admin-page.php:334 -msgid "Customize the Invoice Template" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:338 -msgid "Did you know that you can customize colors, logos, and more options of the Invoice PDF template?" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:373 -#: inc/admin-pages/class-settings-admin-page.php:377 -msgid "Customize System Emails" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:381 -msgid "You can completely customize the contents of the emails sent out by Multisite Ultimate when particular events occur, such as Account Creation, Payment Failures, etc." -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:390 -msgid "Customize System Emails →" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:424 -msgid "If your network is using the HTML email option, you can customize the look and feel of the email template." -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:433 -msgid "Customize Email Template →" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:454 -#: inc/admin-pages/class-settings-admin-page.php:465 -#: inc/admin-pages/class-top-admin-nav-menu.php:151 -#: inc/installers/class-migrator.php:287 -#: views/ui/branding/footer.php:37 -#: views/ui/jumper.php:54 -msgid "Settings" -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:522 -msgid "You do not have the permissions required to change settings." -msgstr "" - -#: inc/admin-pages/class-settings-admin-page.php:582 -msgid "Save Settings" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:240 -msgid "Permission denied." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:294 -#: inc/admin-pages/class-setup-wizard-admin-page.php:344 -msgid "Installation" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:305 -msgid "Multisite Ultimate Install" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:318 -msgid "Welcome" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:322 -msgid "...and thanks for choosing Multisite Ultimate!" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:323 -msgid "This quick setup wizard will make sure your server is correctly setup, help you configure your new network, and migrate data from previous Multisite Ultimate versions if necessary." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:324 -msgid "You will also have the option of importing default content. It should take 10 minutes or less!" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:327 -#: inc/compat/class-legacy-shortcodes.php:388 -msgid "Get Started →" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:331 -msgid "Pre-install Checks" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:332 -msgid "Now it is time to see if this machine has what it takes to run Multisite Ultimate well!" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:333 -#: inc/admin-pages/class-setup-wizard-admin-page.php:346 -#: inc/admin-pages/class-setup-wizard-admin-page.php:475 -msgid "Go to the Next Step →" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:333 -msgid "Check Again" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:345 -msgid "Now, let's update your database and install the Sunrise.php file, which are necessary for the correct functioning of Multisite Ultimate." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:346 -#: inc/admin-pages/class-setup-wizard-admin-page.php:475 -msgid "Install" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:368 -msgid "Migrate!" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:370 -msgid "No errors found during dry run! Now it is time to actually migrate!

We strongly recommend creating a backup of your database before moving forward with the migration." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:373 -msgid "Run Check" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:375 -msgid "It seems that you were running Multisite Ultimate 1.X on this network. This migrator will convert the data from the old version to the new one." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:375 -msgid "First, let's run a test migration to see if we can spot any potential errors." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:402 -msgid "The dry run test detected issues during the test migration. Please, contact our support team to get help migrating from 1.X to version 2." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:406 -msgid "Try Again!" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:408 -msgid "List of errors detected:" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:412 -msgid "Download migration error log" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:424 -msgid "Rollback to version 1.10.13" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:466 -msgid "Your Company" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:467 -msgid "Before we move on, let's configure the basic settings of your network, shall we?" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:473 -msgid "Default Content" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:474 -msgid "Starting from scratch can be scarry, specially when first starting out. In this step, you can create default content to have a starting point for your network. Everything can be customized later." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:584 -msgid "A server error happened while processing this item." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:623 -msgid "PHP" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:632 -msgid "WordPress" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:644 -msgid "WordPress Multisite" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:646 -msgid "Installed & Activated" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:652 -msgid "Bypassed via filter" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:652 -msgid "Network Activated" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:656 -msgid "WordPress Cron" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:658 -#: inc/integrations/host-providers/class-base-host-provider.php:205 -msgid "Activated" -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:835 -#: inc/class-scripts.php:196 -msgid "Select an Image." -msgstr "" - -#: inc/admin-pages/class-setup-wizard-admin-page.php:836 -#: inc/class-scripts.php:197 -msgid "Use this image" -msgstr "" - -#: inc/admin-pages/class-shortcodes-admin-page.php:83 -#: inc/admin-pages/class-shortcodes-admin-page.php:94 -#: views/shortcodes/shortcodes.php:12 -#: views/ui/branding/footer.php:27 -msgid "Available Shortcodes" -msgstr "" - -#: inc/admin-pages/class-shortcodes-admin-page.php:157 -msgid "integer" -msgstr "" - -#: inc/admin-pages/class-shortcodes-admin-page.php:160 -msgid "number" -msgstr "" - -#: inc/admin-pages/class-shortcodes-admin-page.php:163 -#: inc/admin-pages/class-shortcodes-admin-page.php:166 -msgid "text" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:155 -msgid "On adding a new Site Template..." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:157 -msgid "You just successfully added a new site template to your Multisite Ultimate network and that's awesome!" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:158 -msgid "Keep in mind that newly created site templates do not appear automatically in your checkout forms." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:159 -msgid "To make a site template available on registration, you will need to manually add it to the template selection field of your checkout forms." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:196 -msgid "This will start the transfer of assets from one membership to another." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:260 -#: inc/list-tables/class-site-list-table.php:401 -#: inc/managers/class-site-manager.php:372 -msgid "Site not found." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:321 -#: inc/admin-pages/class-site-edit-admin-page.php:432 -#: inc/admin-pages/class-site-edit-admin-page.php:442 -#: inc/admin-pages/class-site-list-admin-page.php:378 -msgid "Site Type" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:328 -msgid "Site ID" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:344 -#: inc/ui/class-current-site-element.php:429 -msgid "Site Description" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:345 -msgid "Tell your customers what this site is about." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:358 -#: inc/class-settings.php:1141 -msgid "Site Options" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:367 -#: inc/installers/class-migrator.php:345 -msgid "Mapped Domains" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:377 -msgid "Linked Membership" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:433 -#: inc/database/sites/class-site-type.php:72 -msgid "Main Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:434 -msgid "You can't change the main site type." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:443 -msgid "Select Site Type" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:444 -msgid "Different site types have different options and settings." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:448 -msgid "Regular WordPress" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:449 -#: inc/admin-pages/class-site-list-admin-page.php:383 -#: inc/database/sites/class-site-type.php:69 -msgid "Site Template" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:450 -msgid "Customer-owned" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:462 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:191 -#: views/checkout/templates/template-selection/legacy.php:74 -msgid "Template Categories" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:463 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:192 -msgid "e.g.: Landing Page, Health..." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:464 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:193 -msgid "Customers will be able to filter by categories during signup." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:478 -#: inc/admin-pages/class-site-list-admin-page.php:392 -msgid "Associated Membership" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:480 -msgid "The membership that owns this site." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:498 -msgid "Changing the membership will transfer the site and all its assets to the new membership." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:507 -#: inc/admin-pages/class-site-edit-admin-page.php:508 -#: inc/admin-pages/class-site-edit-admin-page.php:675 -msgid "Save Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:518 -#: inc/admin-pages/class-site-edit-admin-page.php:533 -msgid "Transfer Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:548 -msgid "Use this option to manually enable or disable this site." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:558 -#: inc/admin-pages/class-site-edit-admin-page.php:563 -msgid "Site Image" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:564 -msgid "This image is used on lists of sites and other places. It can be automatically generated by the screenshot scraper." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:570 -msgid "You need to save the site for the change to take effect." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:580 -msgid "We detected that this network might be running locally. If that's the case, Multisite Ultimate will not be able to take a screenshot of the site. A site needs to be publicly available to the outside world in order for this feature to work." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:585 -#: inc/list-tables/class-site-list-table.php:377 -msgid "Take Screenshot" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:620 -#: inc/admin-pages/class-site-edit-admin-page.php:631 -#: inc/admin-pages/class-site-edit-admin-page.php:670 -#: inc/ui/class-current-site-element.php:369 -msgid "Edit Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:620 -#: inc/admin-pages/class-site-edit-admin-page.php:671 -#: inc/admin-pages/class-site-list-admin-page.php:324 -#: views/dashboard-widgets/my-sites.php:175 -msgid "Add new Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:645 -msgid "Go to the Default Edit Screen" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:650 -#: inc/list-tables/class-customers-site-list-table.php:79 -#: inc/list-tables/class-memberships-site-list-table.php:65 -#: inc/ui/class-current-site-element.php:363 -#: views/dashboard-widgets/my-sites.php:111 -msgid "Visit Site" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:672 -msgid "Site updated with success!" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:673 -msgid "Enter Site Name" -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:674 -msgid "This name will be used as the site title." -msgstr "" - -#: inc/admin-pages/class-site-edit-admin-page.php:677 -#: inc/ui/class-site-actions-element.php:438 -#: inc/ui/class-site-actions-element.php:541 -#: inc/ui/class-site-actions-element.php:542 -msgid "Delete Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:133 -msgid "Confirm Publication" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:141 -#: inc/admin-pages/class-site-list-admin-page.php:142 -#: inc/list-tables/class-site-list-table.php:162 -msgid "Publish" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:192 -#: inc/admin-pages/class-site-list-admin-page.php:198 -msgid "Pending site not found." -msgstr "" - -#. translators: the %s is the thing copied. -#: inc/admin-pages/class-site-list-admin-page.php:317 -#: inc/list-tables/class-checkout-form-list-table.php:158 -#: inc/list-tables/class-email-list-table.php:230 -#: inc/list-tables/class-product-list-table.php:212 -#, php-format -msgid "Copy of %s" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:324 -#: inc/list-tables/class-site-list-table.php:135 -msgid "Duplicate Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:327 -msgid "Subdomain" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:328 -msgid "Subdirectory" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:354 -#: inc/checkout/class-legacy-checkout.php:456 -#: inc/checkout/signup-fields/class-signup-field-site-title.php:69 -#: inc/models/class-checkout-form.php:584 -#: inc/models/class-checkout-form.php:676 -#: inc/models/class-checkout-form.php:1524 -#: inc/ui/class-current-site-element.php:420 -msgid "Site Title" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:355 -msgid "New Network Site" -msgstr "" - -#. translators: the %s is the site preview url. -#: inc/admin-pages/class-site-list-admin-page.php:361 -#, php-format -msgid "The site URL will be: %s" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:365 -msgid "Site Domain/Path" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:366 -msgid "Enter the complete domain for the site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:382 -msgid "Regular WP Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:384 -#: inc/database/sites/class-site-type.php:70 -#: inc/list-tables/class-site-list-table.php:351 -msgid "Customer-Owned" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:409 -msgid "Copy Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:410 -msgid "Select an existing site to use as a starting point." -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:417 -#: inc/installers/class-default-content-installer.php:217 -msgid "Template Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:419 -msgid "The site selected will be copied and used as a starting point." -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:435 -msgid "Copy Media on Duplication" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:436 -msgid "Copy media files from the template site on duplication. Disabling this can lead to broken images on the new site." -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:506 -msgid "Site removed successfully." -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:507 -msgid "Search Site" -msgstr "" - -#: inc/admin-pages/class-site-list-admin-page.php:554 -msgid "Add Site" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:155 -#: inc/admin-pages/class-system-info-admin-page.php:166 -#: views/system-info/system-info.php:14 -#: views/ui/branding/footer.php:22 -msgid "System Info" -msgstr "" - -#. translators: %s is the number of seconds. -#: inc/admin-pages/class-system-info-admin-page.php:222 -#, php-format -msgid "%s seconds" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:248 -#: inc/admin-pages/class-system-info-admin-page.php:469 -#: inc/admin-pages/class-system-info-admin-page.php:474 -#: inc/admin-pages/class-system-info-admin-page.php:479 -msgid "Enabled" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:248 -#: inc/admin-pages/class-system-info-admin-page.php:379 -#: inc/admin-pages/class-system-info-admin-page.php:469 -#: inc/admin-pages/class-system-info-admin-page.php:474 -#: inc/admin-pages/class-system-info-admin-page.php:479 -#: inc/admin-pages/class-system-info-admin-page.php:484 -#: inc/admin-pages/class-system-info-admin-page.php:489 -#: inc/class-settings.php:1550 -msgid "Disabled" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:379 -#: inc/admin-pages/class-system-info-admin-page.php:469 -#: inc/admin-pages/class-system-info-admin-page.php:474 -#: inc/admin-pages/class-system-info-admin-page.php:479 -#: inc/admin-pages/class-system-info-admin-page.php:484 -#: inc/admin-pages/class-system-info-admin-page.php:489 -#: inc/admin-pages/class-system-info-admin-page.php:504 -#: inc/admin-pages/class-system-info-admin-page.php:509 -msgid "Not set" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:384 -#: inc/admin-pages/class-system-info-admin-page.php:409 -#: inc/admin-pages/class-system-info-admin-page.php:414 -#: inc/admin-pages/class-system-info-admin-page.php:494 -#: inc/admin-pages/class-system-info-admin-page.php:499 -#: inc/list-tables/class-domain-list-table.php:106 -#: inc/list-tables/class-domain-list-table.php:119 -#: inc/list-tables/class-domain-list-table.php:132 -#: inc/list-tables/class-webhook-list-table.php:160 -msgid "Yes" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:384 -#: inc/admin-pages/class-system-info-admin-page.php:409 -#: inc/admin-pages/class-system-info-admin-page.php:414 -#: inc/admin-pages/class-system-info-admin-page.php:494 -#: inc/admin-pages/class-system-info-admin-page.php:499 -#: inc/list-tables/class-domain-list-table.php:106 -#: inc/list-tables/class-domain-list-table.php:119 -#: inc/list-tables/class-domain-list-table.php:132 -#: inc/list-tables/class-webhook-list-table.php:160 -msgid "No" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:546 -msgid "Writable" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:546 -msgid "Not Writable" -msgstr "" - -#: inc/admin-pages/class-system-info-admin-page.php:583 -msgid "Unable to create system info file." -msgstr "" - -#: inc/admin-pages/class-tax-rates-admin-page.php:75 -#: inc/admin-pages/class-tax-rates-admin-page.php:86 -#: inc/admin-pages/class-tax-rates-admin-page.php:97 -#: inc/tax/class-tax.php:148 -#: views/taxes/list.php:12 -msgid "Tax Rates" -msgstr "" - -#: inc/admin-pages/class-tax-rates-admin-page.php:114 -#: inc/objects/class-billing-address.php:291 -#: views/dashboard-statistics/widget-countries.php:19 -#: views/dashboard-statistics/widget-countries.php:54 -msgid "Country" -msgstr "" - -#: inc/admin-pages/class-tax-rates-admin-page.php:115 -#: inc/objects/class-billing-address.php:301 -msgid "State / Province" -msgstr "" - -#: inc/admin-pages/class-tax-rates-admin-page.php:116 -msgid "City" -msgstr "" - -#: inc/admin-pages/class-tax-rates-admin-page.php:117 -msgid "Tax Rate (%)" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:100 -msgid "URL Parameter" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:101 -msgid "This is the URL parameter Multisite Ultimate will use to generate the template preview URLs." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:107 -msgid "If your site templates are not loading, you can disable the top-bar using this setting." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:140 -msgid "Show Responsive Controls" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:141 -msgid "Toggle to show or hide the responsive controls." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:153 -msgid "Button Text" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:154 -#: inc/installers/class-migrator.php:918 -#: inc/ui/class-template-previewer.php:379 -msgid "Use this Template" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:167 -msgid "Choose the background color for the top-bar." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:179 -msgid "Button BG Color" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:180 -msgid "Pick the background color for the button." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:193 -msgid "You can set a different logo to be used on the top-bar." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:206 -msgid "The logo is displayed on the preview page top-bar." -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:250 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:261 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:284 -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:285 -msgid "Customize Template Previewer" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:286 -msgid "Edit Template Previewer" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:287 -msgid "Template Previewer updated with success!" -msgstr "" - -#: inc/admin-pages/class-template-previewer-customize-admin-page.php:288 -msgid "Enter Template Previewer Name" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:55 -msgid "Multisite Waas" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:59 -msgid "Go to the dashboard" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:67 -msgid "Manage Sites" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:71 -msgid "Go to the sites page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:79 -msgid "Manage Memberships" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:83 -msgid "Go to the memberships page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:95 -msgid "Go to the customers page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:107 -msgid "Go to the products page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:119 -msgid "Go to the payments page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:131 -msgid "Go to the discount codes page" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:139 -msgid "Settings Container" -msgstr "" - -#: inc/admin-pages/class-top-admin-nav-menu.php:143 -#: inc/admin-pages/class-top-admin-nav-menu.php:155 -#: inc/admin-pages/class-top-admin-nav-menu.php:218 -msgid "Go to the settings page" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:103 -#: inc/admin-pages/class-webhook-edit-admin-page.php:103 -#: inc/admin-pages/class-webhook-list-admin-page.php:77 -msgid "Copied!" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:121 -#: inc/admin-pages/class-view-logs-admin-page.php:132 -#: inc/admin-pages/class-view-logs-admin-page.php:276 -#: inc/admin-pages/class-view-logs-admin-page.php:277 -msgid "View Log" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:155 -msgid "No log files found" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:166 -msgid "You can see files that are not Multisite Ultimate's logs" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:175 -msgid "No log entries found." -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:203 -msgid "Log Contents" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:208 -msgid "Log Files" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:212 -#: inc/admin-pages/class-view-logs-admin-page.php:213 -msgid "Select Log File" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:220 -msgid "Download Log" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:279 -msgid "Viewing file: " -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:280 -msgid "Delete Log File" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:326 -msgid "Something wrong happened" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:334 -msgid "File not found" -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:353 -msgid "Log file not found." -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:358 -msgid "Unable to read log file." -msgstr "" - -#: inc/admin-pages/class-view-logs-admin-page.php:369 -msgid "We were unable to delete file" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:101 -#: inc/admin-pages/class-webhook-list-admin-page.php:75 -msgid "Webhook Test" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:102 -#: inc/admin-pages/class-webhook-list-admin-page.php:76 -msgid "An error occurred when sending the test webhook, please try again." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:142 -#: inc/admin-pages/class-webhook-edit-admin-page.php:147 -msgid "Webhook URL" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:148 -msgid "The URL where we will send the payload when the event triggers." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:149 -msgid "https://example.com" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:154 -msgid "The event ." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:157 -msgid "Send Test Event" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:196 -msgid "The event that triggers this webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:197 -msgid "Select Event" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:213 -msgid "Deactivate will end the event trigger for this webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:214 -msgid "Use this option to manually enable or disable this webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:224 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:185 -#: inc/checkout/signup-fields/class-signup-field-select.php:159 -msgid "Options" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:228 -#: inc/list-tables/class-webhook-list-table.php:177 -msgid "Integration" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:233 -msgid "Name of the service responsible for creating this webhook. If you are manually creating this webhook, use the value \"manual\"." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:236 -msgid "Run Count" -msgstr "" - -#. translators: %d is the number of times that this webhook was triggered. -#: inc/admin-pages/class-webhook-edit-admin-page.php:243 -#, php-format -msgid "This webhook was triggered %d time(s)." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:244 -msgid "The number of times that this webhook was triggered so far. It includes test runs." -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:301 -#: inc/admin-pages/class-webhook-edit-admin-page.php:312 -#: inc/admin-pages/class-webhook-edit-admin-page.php:335 -msgid "Edit Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:301 -#: inc/admin-pages/class-webhook-edit-admin-page.php:336 -msgid "Add new Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:337 -msgid "Webhook updated successfully!" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:338 -msgid "Enter Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:340 -msgid "Save Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-edit-admin-page.php:342 -msgid "Delete Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:124 -msgid "Webhook Name" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:125 -msgid "A name to easily identify your webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:126 -msgid "E.g. Zapier Integration" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:131 -msgid "The event that will trigger the webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:136 -msgid "Webhook Url" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:137 -msgid "The url of your webhook." -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:138 -msgid "E.g. https://example.com/" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:142 -#: inc/admin-pages/class-webhook-list-admin-page.php:276 -msgid "Add New Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:228 -msgid "Webhook removed successfully." -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:229 -msgid "Search Webhook" -msgstr "" - -#: inc/admin-pages/class-webhook-list-admin-page.php:241 -#: inc/admin-pages/class-webhook-list-admin-page.php:252 -#: inc/admin-pages/class-webhook-list-admin-page.php:263 -#: inc/installers/class-migrator.php:366 -#: inc/list-tables/class-webhook-list-table.php:40 -#: views/ui/jumper.php:72 -msgid "Webhooks" -msgstr "" - -#: inc/admin-pages/class-wizard-admin-page.php:155 -msgid "Section" -msgstr "" - -#: inc/admin-pages/class-wizard-admin-page.php:322 -msgid "Continue →" -msgstr "" - -#: inc/admin-pages/class-wizard-admin-page.php:323 -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:113 -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:166 -#: inc/functions/admin.php:27 -#: views/wizards/host-integrations/test.php:64 -msgid "← Go Back" -msgstr "" - -#: inc/admin-pages/class-wizard-admin-page.php:324 -msgid "Skip this Step" -msgstr "" - -#: inc/admin-pages/customer-panel/class-account-admin-page.php:141 -msgid "Your account was successfully updated." -msgstr "" - -#: inc/admin-pages/customer-panel/class-account-admin-page.php:200 -#: inc/admin-pages/customer-panel/class-account-admin-page.php:211 -#: inc/admin-pages/customer-panel/class-account-admin-page.php:222 -msgid "Account" -msgstr "" - -#: inc/admin-pages/customer-panel/class-add-new-site-admin-page.php:212 -#: inc/admin-pages/customer-panel/class-add-new-site-admin-page.php:223 -#: inc/admin-pages/customer-panel/class-add-new-site-admin-page.php:234 -msgid "Add New Site" -msgstr "" - -#: inc/admin-pages/customer-panel/class-checkout-admin-page.php:98 -#: inc/admin-pages/customer-panel/class-checkout-admin-page.php:109 -#: inc/compat/class-legacy-shortcodes.php:397 -#: inc/compat/class-legacy-shortcodes.php:537 -#: inc/models/class-checkout-form.php:540 -#: inc/models/class-checkout-form.php:627 -#: inc/models/class-checkout-form.php:649 -#: inc/models/class-checkout-form.php:776 -#: inc/models/class-checkout-form.php:995 -#: inc/models/class-checkout-form.php:1239 -#: inc/models/class-checkout-form.php:1435 -#: inc/ui/class-checkout-element.php:112 -msgid "Checkout" -msgstr "" - -#: inc/admin-pages/customer-panel/class-checkout-admin-page.php:146 -#: views/base/centered.php:103 -msgid "Change Membership" -msgstr "" - -#: inc/admin-pages/customer-panel/class-my-sites-admin-page.php:235 -#: inc/admin-pages/customer-panel/class-my-sites-admin-page.php:246 -#: inc/admin-pages/customer-panel/class-my-sites-admin-page.php:257 -#: inc/ui/class-my-sites-element.php:95 -msgid "My Sites" -msgstr "" - -#: inc/admin-pages/customer-panel/class-template-switching-admin-page.php:106 -#: inc/admin-pages/customer-panel/class-template-switching-admin-page.php:117 -msgid "Switch Template" -msgstr "" - -#: inc/admin-pages/customer-panel/class-template-switching-admin-page.php:161 -msgid "Template switched successfully!" -msgstr "" - -#: inc/admin-pages/debug/class-debug-admin-page.php:86 -msgid "All Registered Pages" -msgstr "" - -#: inc/admin-pages/debug/class-debug-admin-page.php:129 -#: inc/admin-pages/debug/class-debug-admin-page.php:140 -#: inc/admin-pages/debug/class-debug-admin-page.php:151 -msgid "Registered Pages" -msgstr "" - -#: inc/api/class-register-endpoint.php:133 -#: inc/api/class-register-endpoint.php:218 -#: inc/api/class-register-endpoint.php:256 -msgid "Created via REST API" -msgstr "" - -#: inc/api/class-register-endpoint.php:171 -msgid "Products are required." -msgstr "" - -#: inc/api/class-register-endpoint.php:336 -msgid "The customer ID, if the customer already exists. If you also need to create a customer/wp user, use the \"customer\" property." -msgstr "" - -#: inc/api/class-register-endpoint.php:340 -msgid "Customer data. Needs to be present when customer id is not." -msgstr "" - -#: inc/api/class-register-endpoint.php:344 -msgid "Existing WordPress user id to attach this customer to. If you also need to create a WordPress user, pass the properties \"username\", \"password\", and \"email\"." -msgstr "" - -#: inc/api/class-register-endpoint.php:348 -msgid "The customer username. This is used to create the WordPress user." -msgstr "" - -#: inc/api/class-register-endpoint.php:353 -msgid "The customer password. This is used to create the WordPress user. Note that no validation is performed here to enforce strength." -msgstr "" - -#: inc/api/class-register-endpoint.php:358 -msgid "The customer email address. This is used to create the WordPress user." -msgstr "" - -#: inc/api/class-register-endpoint.php:372 -msgid "The membership data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property." -msgstr "" - -#: inc/api/class-register-endpoint.php:382 -msgid "The membership expiration date. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:387 -msgid "The membership trial end date. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:392 -msgid "The membership activation date. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:397 -msgid "The membership last renewed date. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:402 -msgid "The membership cancellation date. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:407 -msgid "The membership completion date. Used when the membership is limited to a limited number of billing cycles. Must be a valid PHP date format." -msgstr "" - -#: inc/api/class-register-endpoint.php:417 -msgid "The payment data is automatically generated based on the cart info passed (e.g. products) but can be overridden with this property." -msgstr "" - -#: inc/api/class-register-endpoint.php:421 -msgid "The payment status." -msgstr "" - -#: inc/api/class-register-endpoint.php:429 -msgid "Payment method information. Useful when using the REST API to integrate other payment methods." -msgstr "" - -#: inc/api/class-register-endpoint.php:433 -msgid "The gateway name. E.g. stripe." -msgstr "" - -#: inc/api/class-register-endpoint.php:437 -msgid "The customer ID on the gateway system." -msgstr "" - -#: inc/api/class-register-endpoint.php:441 -msgid "The subscription ID on the gateway system." -msgstr "" - -#: inc/api/class-register-endpoint.php:445 -msgid "The payment ID on the gateway system." -msgstr "" - -#: inc/api/class-register-endpoint.php:458 -msgid "The site subdomain or subdirectory (depending on your Multisite install). This would be \"test\" in \"test.your-network.com\"." -msgstr "" - -#: inc/api/class-register-endpoint.php:464 -msgid "The site title. E.g. My Amazing Site" -msgstr "" - -#: inc/api/class-register-endpoint.php:469 -msgid "If we should publish this site regardless of membership/payment status. Sites are created as pending by default, and are only published when a payment is received or the status of the membership changes to \"active\". This flag allows you to bypass the pending state." -msgstr "" - -#: inc/api/class-register-endpoint.php:474 -msgid "The template ID we should copy when creating this site. If left empty, the value dictated by the products will be used." -msgstr "" - -#: inc/api/class-register-endpoint.php:478 -msgid "An associative array of key values to be saved as site_meta." -msgstr "" - -#: inc/api/class-register-endpoint.php:482 -msgid "An associative array of key values to be saved as site_options. Useful for changing plugin settings and other site configurations." -msgstr "" - -#: inc/api/class-register-endpoint.php:491 -msgid "The products to be added to this membership. Takes an array of product ids or slugs." -msgstr "" - -#: inc/api/class-register-endpoint.php:496 -msgid "The membership duration." -msgstr "" - -#: inc/api/class-register-endpoint.php:501 -msgid "The membership duration unit." -msgstr "" - -#: inc/api/class-register-endpoint.php:512 -msgid "A discount code. E.g. PROMO10." -msgstr "" - -#: inc/api/class-register-endpoint.php:516 -msgid "The membership auto-renew status. Useful when integrating with other payment options via this REST API." -msgstr "" - -#: inc/api/class-register-endpoint.php:522 -msgid "The customer country. Used to calculate taxes and check if registration is allowed for that country." -msgstr "" - -#: inc/api/class-register-endpoint.php:527 -msgid "The currency to be used." -msgstr "" - -#: inc/api/class-register-endpoint.php:553 -msgid "The customer id sent does not correspond to a valid customer." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:23 -#: inc/api/schemas/broadcast-update.php:23 -#: inc/api/schemas/checkout-form-create.php:83 -#: inc/api/schemas/checkout-form-update.php:83 -#: inc/api/schemas/customer-create.php:91 -#: inc/api/schemas/customer-update.php:91 -#: inc/api/schemas/discount-code-create.php:116 -#: inc/api/schemas/discount-code-update.php:116 -#: inc/api/schemas/domain-create.php:70 -#: inc/api/schemas/domain-update.php:70 -#: inc/api/schemas/email-create.php:135 -#: inc/api/schemas/email-update.php:135 -#: inc/api/schemas/event-create.php:67 -#: inc/api/schemas/event-update.php:67 -#: inc/api/schemas/membership-create.php:172 -#: inc/api/schemas/membership-update.php:172 -#: inc/api/schemas/payment-create.php:116 -#: inc/api/schemas/payment-update.php:116 -#: inc/api/schemas/product-create.php:185 -#: inc/api/schemas/product-update.php:185 -#: inc/api/schemas/site-create.php:156 -#: inc/api/schemas/site-update.php:156 -#: inc/api/schemas/webhook-create.php:73 -#: inc/api/schemas/webhook-update.php:73 -msgid "The ID of the original 1.X model that was used to generate this item on migration." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:28 -#: inc/api/schemas/broadcast-update.php:28 -msgid "Can be info, success, warning or error." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:39 -#: inc/api/schemas/broadcast-update.php:39 -msgid "This broadcast name, which is used as broadcast title as well." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:44 -#: inc/api/schemas/broadcast-update.php:44 -#: inc/api/schemas/email-create.php:37 -#: inc/api/schemas/email-update.php:37 -msgid "The type being set." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:49 -#: inc/api/schemas/broadcast-update.php:49 -msgid "The status being set." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:54 -#: inc/api/schemas/broadcast-update.php:54 -msgid "The author ID." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:59 -#: inc/api/schemas/broadcast-update.php:59 -#: inc/api/schemas/email-create.php:110 -#: inc/api/schemas/email-update.php:110 -msgid "Post title." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:64 -#: inc/api/schemas/broadcast-update.php:64 -#: inc/api/schemas/email-create.php:115 -#: inc/api/schemas/email-update.php:115 -msgid "Post content." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:69 -#: inc/api/schemas/broadcast-update.php:69 -#: inc/api/schemas/email-create.php:120 -#: inc/api/schemas/email-update.php:120 -msgid "Post excerpt." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:74 -#: inc/api/schemas/broadcast-update.php:74 -#: inc/api/schemas/email-create.php:125 -#: inc/api/schemas/email-update.php:125 -msgid "Post creation date." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:79 -#: inc/api/schemas/broadcast-update.php:79 -#: inc/api/schemas/email-create.php:130 -#: inc/api/schemas/email-update.php:130 -msgid "Post last modification date." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:84 -#: inc/api/schemas/broadcast-update.php:84 -msgid "The slug." -msgstr "" - -#: inc/api/schemas/broadcast-create.php:89 -#: inc/api/schemas/broadcast-update.php:89 -#: inc/api/schemas/checkout-form-create.php:88 -#: inc/api/schemas/checkout-form-update.php:88 -#: inc/api/schemas/customer-create.php:96 -#: inc/api/schemas/customer-update.php:96 -#: inc/api/schemas/discount-code-create.php:121 -#: inc/api/schemas/discount-code-update.php:121 -#: inc/api/schemas/domain-create.php:75 -#: inc/api/schemas/domain-update.php:75 -#: inc/api/schemas/email-create.php:140 -#: inc/api/schemas/email-update.php:140 -#: inc/api/schemas/event-create.php:72 -#: inc/api/schemas/event-update.php:72 -#: inc/api/schemas/membership-create.php:177 -#: inc/api/schemas/membership-update.php:177 -#: inc/api/schemas/payment-create.php:121 -#: inc/api/schemas/payment-update.php:121 -#: inc/api/schemas/product-create.php:190 -#: inc/api/schemas/product-update.php:190 -#: inc/api/schemas/site-create.php:161 -#: inc/api/schemas/site-update.php:161 -#: inc/api/schemas/webhook-create.php:78 -#: inc/api/schemas/webhook-update.php:78 -msgid "Set true to have field information validation bypassed when saving this event." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:23 -#: inc/api/schemas/checkout-form-update.php:23 -msgid "The checkout form slug. It needs to be unique and preferably make it clear what it is about. E.g. my_checkout_form." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:28 -#: inc/api/schemas/checkout-form-update.php:28 -msgid "Your checkout form name, which is used as checkout form title as well." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:33 -#: inc/api/schemas/checkout-form-update.php:33 -msgid "Set this checkout form as active (true), which means available to be used, or inactive (false)." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:38 -#: inc/api/schemas/checkout-form-update.php:38 -msgid "Custom CSS code for the checkout form." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:43 -#: inc/api/schemas/checkout-form-update.php:43 -msgid "The checkout form settings and configurations." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:48 -#: inc/api/schemas/checkout-form-update.php:48 -msgid "The allowed countries that can access this checkout." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:53 -#: inc/api/schemas/checkout-form-update.php:53 -msgid "The thank you page ID. This page is shown after a successful purchase." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:58 -#: inc/api/schemas/checkout-form-update.php:58 -msgid "Snippets to run on thank you page." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:63 -#: inc/api/schemas/checkout-form-update.php:63 -msgid "Template mode. Can be either 'blank', 'single-step' or 'multi-step'." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:73 -#: inc/api/schemas/checkout-form-update.php:73 -#: inc/api/schemas/customer-create.php:81 -#: inc/api/schemas/customer-update.php:81 -#: inc/api/schemas/payment-create.php:106 -#: inc/api/schemas/payment-update.php:106 -#: inc/api/schemas/site-create.php:146 -#: inc/api/schemas/site-update.php:146 -msgid "Model creation date." -msgstr "" - -#: inc/api/schemas/checkout-form-create.php:78 -#: inc/api/schemas/checkout-form-update.php:78 -#: inc/api/schemas/customer-create.php:86 -#: inc/api/schemas/customer-update.php:86 -#: inc/api/schemas/discount-code-create.php:111 -#: inc/api/schemas/discount-code-update.php:111 -#: inc/api/schemas/domain-create.php:65 -#: inc/api/schemas/domain-update.php:65 -#: inc/api/schemas/event-create.php:62 -#: inc/api/schemas/event-update.php:62 -#: inc/api/schemas/payment-create.php:111 -#: inc/api/schemas/payment-update.php:111 -#: inc/api/schemas/site-create.php:151 -#: inc/api/schemas/site-update.php:151 -#: inc/api/schemas/webhook-create.php:68 -#: inc/api/schemas/webhook-update.php:68 -msgid "Model last modification date." -msgstr "" - -#: inc/api/schemas/customer-create.php:23 -#: inc/api/schemas/customer-update.php:23 -msgid "The WordPress user ID attached to this customer." -msgstr "" - -#: inc/api/schemas/customer-create.php:28 -#: inc/api/schemas/customer-update.php:28 -msgid "Date when the customer was created." -msgstr "" - -#: inc/api/schemas/customer-create.php:33 -#: inc/api/schemas/customer-update.php:33 -msgid "Email verification status - either `none`, `pending`, or `verified`." -msgstr "" - -#: inc/api/schemas/customer-create.php:43 -#: inc/api/schemas/customer-update.php:43 -msgid "Date this customer last logged in." -msgstr "" - -#: inc/api/schemas/customer-create.php:48 -#: inc/api/schemas/customer-update.php:48 -msgid "Whether or not the customer has trialed before." -msgstr "" - -#: inc/api/schemas/customer-create.php:53 -#: inc/api/schemas/customer-update.php:53 -msgid "If this customer is a VIP customer or not." -msgstr "" - -#: inc/api/schemas/customer-create.php:58 -#: inc/api/schemas/customer-update.php:58 -msgid "List of IP addresses used by this customer." -msgstr "" - -#: inc/api/schemas/customer-create.php:63 -#: inc/api/schemas/customer-update.php:63 -msgid "Any extra information related to this customer." -msgstr "" - -#: inc/api/schemas/customer-create.php:68 -#: inc/api/schemas/customer-update.php:68 -msgid "The customer type. Can be 'customer'." -msgstr "" - -#: inc/api/schemas/customer-create.php:76 -#: inc/api/schemas/customer-update.php:76 -msgid "The form used to signup." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:23 -#: inc/api/schemas/discount-code-update.php:23 -msgid "Your discount code name, which is used as discount code title as well." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:28 -#: inc/api/schemas/discount-code-update.php:28 -msgid "A unique identification to redeem the discount code. E.g. PROMO10." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:33 -#: inc/api/schemas/discount-code-update.php:33 -msgid "A description for the discount code, usually a short text." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:38 -#: inc/api/schemas/discount-code-update.php:38 -msgid "Number of times this discount was applied." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:43 -#: inc/api/schemas/discount-code-update.php:43 -msgid "The number of times this discount can be used before becoming inactive." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:48 -#: inc/api/schemas/discount-code-update.php:48 -msgid "Wether or not we should apply the discount to membership renewals." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:53 -#: inc/api/schemas/discount-code-update.php:53 -msgid "The type of the discount code. Can be 'percentage' (e.g. 10%% OFF), 'absolute' (e.g. $10 OFF)." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:62 -#: inc/api/schemas/discount-code-update.php:62 -msgid "Amount discounted in cents." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:67 -#: inc/api/schemas/discount-code-update.php:67 -msgid "Type of the discount for the setup fee value. Can be a percentage or absolute." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:76 -#: inc/api/schemas/discount-code-update.php:76 -msgid "Amount discounted for setup fees in cents." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:81 -#: inc/api/schemas/discount-code-update.php:81 -msgid "Set this discount code as active (true), which means available to be used, or inactive (false)." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:86 -#: inc/api/schemas/discount-code-update.php:86 -msgid "Start date for the coupon code to be considered valid." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:91 -#: inc/api/schemas/discount-code-update.php:91 -msgid "Expiration date for the coupon code." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:96 -#: inc/api/schemas/discount-code-update.php:96 -msgid "Date when this discount code was created." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:101 -#: inc/api/schemas/discount-code-update.php:101 -msgid "The list of products that allows this discount code to be used. If empty, all products will accept this code." -msgstr "" - -#: inc/api/schemas/discount-code-create.php:106 -#: inc/api/schemas/discount-code-update.php:106 -msgid "This discount code will be limited to be used in certain products? If set to true, you must define a list of allowed products." -msgstr "" - -#: inc/api/schemas/domain-create.php:23 -#: inc/api/schemas/domain-update.php:23 -msgid "Your Domain name. You don't need to put http or https in front of your domain in this field. e.g: example.com." -msgstr "" - -#: inc/api/schemas/domain-create.php:28 -#: inc/api/schemas/domain-update.php:28 -msgid "The blog ID attached to this domain." -msgstr "" - -#: inc/api/schemas/domain-create.php:33 -#: inc/api/schemas/domain-update.php:33 -msgid "Set this domain as active (true), which means available to be used, or inactive (false)." -msgstr "" - -#: inc/api/schemas/domain-create.php:38 -#: inc/api/schemas/domain-update.php:38 -msgid "Define true to set this as primary domain of a site, meaning it's the main url, or set false." -msgstr "" - -#: inc/api/schemas/domain-create.php:43 -#: inc/api/schemas/domain-update.php:43 -msgid "If this domain has some SSL security or not." -msgstr "" - -#: inc/api/schemas/domain-create.php:48 -#: inc/api/schemas/domain-update.php:48 -msgid "The state of the domain model object. Can be one of this options: checking-dns, checking-ssl-cert, done-without-ssl, done and failed." -msgstr "" - -#: inc/api/schemas/domain-create.php:60 -#: inc/api/schemas/domain-update.php:60 -msgid "Date when the domain was created. If no date is set, the current date and time will be used." -msgstr "" - -#: inc/api/schemas/email-create.php:23 -#: inc/api/schemas/email-update.php:23 -msgid "The email style. Can be 'html' or 'plain-text'." -msgstr "" - -#: inc/api/schemas/email-create.php:32 -#: inc/api/schemas/email-update.php:32 -msgid "Whether or not this is a scheduled email." -msgstr "" - -#: inc/api/schemas/email-create.php:42 -#: inc/api/schemas/email-update.php:42 -msgid "The event that needs to be fired for this email to be sent." -msgstr "" - -#: inc/api/schemas/email-create.php:47 -#: inc/api/schemas/email-update.php:47 -msgid "The amount of hours that the email will wait before is sent." -msgstr "" - -#: inc/api/schemas/email-create.php:52 -#: inc/api/schemas/email-update.php:52 -msgid "The amount of days that the email will wait before is sent." -msgstr "" - -#: inc/api/schemas/email-create.php:57 -#: inc/api/schemas/email-update.php:57 -msgid "The type of schedule. Can be 'days' or 'hours'." -msgstr "" - -#: inc/api/schemas/email-create.php:66 -#: inc/api/schemas/email-update.php:66 -msgid "The name being set as title." -msgstr "" - -#: inc/api/schemas/email-create.php:71 -#: inc/api/schemas/email-update.php:71 -msgid "If has a custom sender." -msgstr "" - -#: inc/api/schemas/email-create.php:76 -#: inc/api/schemas/email-update.php:76 -msgid "The name of the custom sender. E.g. From: John Doe." -msgstr "" - -#: inc/api/schemas/email-create.php:81 -#: inc/api/schemas/email-update.php:81 -msgid "The email of the custom sender. E.g. From: johndoe@gmail.com." -msgstr "" - -#: inc/api/schemas/email-create.php:86 -#: inc/api/schemas/email-update.php:86 -msgid "If we should send this to a customer or to the network admin. Can be 'customer' or 'admin'." -msgstr "" - -#: inc/api/schemas/email-create.php:95 -#: inc/api/schemas/email-update.php:95 -msgid "Checks if we should send a copy of the email to the admin." -msgstr "" - -#: inc/api/schemas/email-create.php:100 -#: inc/api/schemas/email-update.php:100 -msgid "Set this email as active (true), which means available will fire when the event occur, or inactive (false)." -msgstr "" - -#: inc/api/schemas/email-create.php:105 -#: inc/api/schemas/email-update.php:105 -msgid "Whether or not this is a legacy email." -msgstr "" - -#: inc/api/schemas/event-create.php:23 -#: inc/api/schemas/event-update.php:23 -msgid "Severity of the problem." -msgstr "" - -#: inc/api/schemas/event-create.php:28 -#: inc/api/schemas/event-update.php:28 -msgid "Date when the event was created." -msgstr "" - -#: inc/api/schemas/event-create.php:33 -#: inc/api/schemas/event-update.php:33 -msgid "Payload of the event." -msgstr "" - -#: inc/api/schemas/event-create.php:38 -#: inc/api/schemas/event-update.php:38 -msgid "The type of user responsible for initiating the event. There are two options: Manual and System. By default, the event is saved as manual." -msgstr "" - -#: inc/api/schemas/event-create.php:47 -#: inc/api/schemas/event-update.php:47 -msgid "The type of object related to this event. It's usually the model name." -msgstr "" - -#: inc/api/schemas/event-create.php:52 -#: inc/api/schemas/event-update.php:52 -msgid "The event slug. It needs to be unique and preferably make it clear what it is about. Example: account_created is about creating an account." -msgstr "" - -#: inc/api/schemas/event-create.php:57 -#: inc/api/schemas/event-update.php:57 -msgid "The ID of the related objects." -msgstr "" - -#: inc/api/schemas/membership-create.php:25 -#: inc/api/schemas/membership-update.php:25 -msgid "The ID of the customer attached to this membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:30 -#: inc/api/schemas/membership-update.php:30 -msgid "The user ID attached to this membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:35 -#: inc/api/schemas/membership-update.php:35 -msgid "The plan ID associated with the membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:40 -#: inc/api/schemas/membership-update.php:40 -msgid "Additional products related to this membership. Services, Packages or other types of products." -msgstr "" - -#: inc/api/schemas/membership-create.php:45 -#: inc/api/schemas/membership-update.php:45 -msgid "The currency that this membership. It's a 3-letter code. E.g. 'USD'." -msgstr "" - -#: inc/api/schemas/membership-create.php:50 -#: inc/api/schemas/membership-update.php:50 -msgid "The interval period between a charge. Only the interval amount, the unit will be defined in another property." -msgstr "" - -#: inc/api/schemas/membership-create.php:55 -#: inc/api/schemas/membership-update.php:55 -msgid "The duration amount type. Can be 'day', 'week', 'month' or 'year'." -msgstr "" - -#: inc/api/schemas/membership-create.php:66 -#: inc/api/schemas/membership-update.php:66 -msgid "The product amount." -msgstr "" - -#: inc/api/schemas/membership-create.php:71 -#: inc/api/schemas/membership-update.php:71 -msgid "The initial amount charged for this membership, including the setup fee." -msgstr "" - -#: inc/api/schemas/membership-create.php:76 -#: inc/api/schemas/membership-update.php:76 -msgid "Date of creation of this membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:81 -#: inc/api/schemas/membership-update.php:81 -msgid "Date when this membership was activated." -msgstr "" - -#: inc/api/schemas/membership-create.php:86 -#: inc/api/schemas/membership-update.php:86 -msgid "Date when the trial period ends, if this membership has or had a trial period." -msgstr "" - -#: inc/api/schemas/membership-create.php:91 -#: inc/api/schemas/membership-create.php:96 -#: inc/api/schemas/membership-update.php:91 -#: inc/api/schemas/membership-update.php:96 -msgid "Date when the membership was cancelled." -msgstr "" - -#: inc/api/schemas/membership-create.php:101 -#: inc/api/schemas/membership-update.php:101 -msgid "Date when the membership will expiry." -msgstr "" - -#: inc/api/schemas/membership-create.php:106 -#: inc/api/schemas/membership-update.php:106 -msgid "Change of the payment completion for the plan value." -msgstr "" - -#: inc/api/schemas/membership-create.php:111 -#: inc/api/schemas/membership-update.php:111 -msgid "If this membership should auto-renewal." -msgstr "" - -#: inc/api/schemas/membership-create.php:116 -#: inc/api/schemas/membership-update.php:116 -msgid "Amount of times this membership got billed." -msgstr "" - -#: inc/api/schemas/membership-create.php:121 -#: inc/api/schemas/membership-update.php:121 -msgid "Maximum times we should charge this membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:126 -#: inc/api/schemas/membership-update.php:126 -msgid "The membership status. Can be 'pending', 'active', 'on-hold', 'expired', 'cancelled' or other values added by third-party add-ons." -msgstr "" - -#: inc/api/schemas/membership-create.php:132 -#: inc/api/schemas/membership-update.php:132 -msgid "The ID of the customer on the payment gateway database." -msgstr "" - -#: inc/api/schemas/membership-create.php:137 -#: inc/api/schemas/membership-update.php:137 -msgid "The ID of the subscription on the payment gateway database." -msgstr "" - -#: inc/api/schemas/membership-create.php:142 -#: inc/api/schemas/membership-update.php:142 -msgid "ID of the gateway being used on this subscription." -msgstr "" - -#: inc/api/schemas/membership-create.php:147 -#: inc/api/schemas/membership-update.php:147 -msgid "Signup method used to create this membership." -msgstr "" - -#: inc/api/schemas/membership-create.php:152 -#: inc/api/schemas/membership-update.php:152 -msgid "Plan that this membership upgraded from." -msgstr "" - -#: inc/api/schemas/membership-create.php:157 -#: inc/api/schemas/membership-update.php:157 -msgid "Date this membership was last modified." -msgstr "" - -#: inc/api/schemas/membership-create.php:162 -#: inc/api/schemas/membership-update.php:162 -msgid "If this membership is a disabled one." -msgstr "" - -#: inc/api/schemas/membership-create.php:167 -#: inc/api/schemas/membership-update.php:167 -msgid "If this membership is recurring (true), which means the customer paid a defined amount each period of time, or not recurring (false)." -msgstr "" - -#: inc/api/schemas/payment-create.php:25 -#: inc/api/schemas/payment-update.php:25 -msgid "The ID of the customer attached to this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:30 -#: inc/api/schemas/payment-update.php:30 -msgid "The ID of the membership attached to this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:35 -#: inc/api/schemas/payment-update.php:35 -msgid "The ID from another payment that this payment is related to." -msgstr "" - -#: inc/api/schemas/payment-create.php:40 -#: inc/api/schemas/payment-update.php:40 -msgid "The currency of this payment. It's a 3-letter code. E.g. 'USD'." -msgstr "" - -#: inc/api/schemas/payment-create.php:45 -#: inc/api/schemas/payment-update.php:45 -msgid "Value before taxes, discounts, fees and other changes." -msgstr "" - -#: inc/api/schemas/payment-create.php:50 -#: inc/api/schemas/payment-update.php:50 -msgid "Total amount refunded." -msgstr "" - -#: inc/api/schemas/payment-create.php:55 -#: inc/api/schemas/payment-update.php:55 -msgid "The amount, in currency, of the tax." -msgstr "" - -#: inc/api/schemas/payment-create.php:60 -#: inc/api/schemas/payment-update.php:60 -msgid "Discount code used." -msgstr "" - -#: inc/api/schemas/payment-create.php:65 -#: inc/api/schemas/payment-update.php:65 -msgid "This takes into account fees, discounts and credits." -msgstr "" - -#: inc/api/schemas/payment-create.php:70 -#: inc/api/schemas/payment-update.php:70 -msgid "The payment status: Can be 'pending', 'completed', 'refunded', 'partially-refunded', 'partially-paid', 'failed', 'cancelled' or other values added by third-party add-ons." -msgstr "" - -#: inc/api/schemas/payment-create.php:76 -#: inc/api/schemas/payment-update.php:76 -msgid "ID of the gateway being used on this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:81 -#: inc/api/schemas/payment-update.php:81 -msgid "The ID of the product of this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:86 -#: inc/api/schemas/payment-update.php:86 -msgid "The ID of the payment on the gateway, if it exists." -msgstr "" - -#: inc/api/schemas/payment-create.php:91 -#: inc/api/schemas/payment-update.php:91 -msgid "The total value of the discounts applied to this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:96 -#: inc/api/schemas/payment-update.php:96 -msgid "Sequential invoice number assigned to this payment." -msgstr "" - -#: inc/api/schemas/payment-create.php:101 -#: inc/api/schemas/payment-update.php:101 -msgid "Holds if we need to cancel the membership on refund." -msgstr "" - -#: inc/api/schemas/product-create.php:23 -#: inc/api/schemas/product-update.php:23 -msgid "The ID of the feature image of the product." -msgstr "" - -#: inc/api/schemas/product-create.php:28 -#: inc/api/schemas/product-update.php:28 -msgid "The product slug. It needs to be unique and preferably make it clear what it is about. Example: my_new_product." -msgstr "" - -#: inc/api/schemas/product-create.php:33 -#: inc/api/schemas/product-update.php:33 -msgid "Your product name, which is used as product title as well." -msgstr "" - -#: inc/api/schemas/product-create.php:38 -#: inc/api/schemas/product-update.php:38 -msgid "A description for the product, usually a short text." -msgstr "" - -#: inc/api/schemas/product-create.php:43 -#: inc/api/schemas/product-update.php:43 -msgid "The currency that this product accepts. It's a 3-letter code. E.g. 'USD'." -msgstr "" - -#: inc/api/schemas/product-create.php:48 -#: inc/api/schemas/product-update.php:48 -msgid "The pricing type can be 'free', 'paid' or 'contact_us'." -msgstr "" - -#: inc/api/schemas/product-create.php:58 -#: inc/api/schemas/product-update.php:58 -msgid "The duration of the trial period of this product, if the product has one." -msgstr "" - -#: inc/api/schemas/product-create.php:63 -#: inc/api/schemas/product-update.php:63 -msgid "The unit of the trial duration amount. Can be day, week, month or year." -msgstr "" - -#: inc/api/schemas/product-create.php:74 -#: inc/api/schemas/product-update.php:74 -msgid "Time interval between charges." -msgstr "" - -#: inc/api/schemas/product-create.php:79 -#: inc/api/schemas/product-update.php:79 -msgid "Time interval unit between charges." -msgstr "" - -#: inc/api/schemas/product-create.php:90 -#: inc/api/schemas/product-update.php:90 -msgid "The value of this product. E.g. 19.99." -msgstr "" - -#: inc/api/schemas/product-create.php:95 -#: inc/api/schemas/product-update.php:95 -msgid "The setup fee value, if the product has one. E.g. 159.99." -msgstr "" - -#: inc/api/schemas/product-create.php:100 -#: inc/api/schemas/product-update.php:100 -msgid "Set this product as active (true), which means available to be used, or inactive (false)." -msgstr "" - -#: inc/api/schemas/product-create.php:105 -#: inc/api/schemas/product-update.php:105 -msgid "The default product types are 'product', 'service' and 'package'. More types can be add using the product type filter." -msgstr "" - -#: inc/api/schemas/product-create.php:115 -#: inc/api/schemas/product-update.php:115 -msgid "The ID from another Product that this product is related to." -msgstr "" - -#: inc/api/schemas/product-create.php:120 -#: inc/api/schemas/product-update.php:120 -msgid "Set this product as a recurring one (true), which means the customer paid a defined amount each period of time, or not recurring (false)." -msgstr "" - -#: inc/api/schemas/product-create.php:125 -#: inc/api/schemas/product-update.php:125 -msgid "The number of times we should charge this product." -msgstr "" - -#: inc/api/schemas/product-create.php:130 -#: inc/api/schemas/product-update.php:130 -#: inc/api/schemas/webhook-create.php:53 -#: inc/api/schemas/webhook-update.php:53 -msgid "Date when this was created." -msgstr "" - -#: inc/api/schemas/product-create.php:135 -#: inc/api/schemas/product-update.php:135 -msgid "Date when this was last modified." -msgstr "" - -#: inc/api/schemas/product-create.php:140 -#: inc/api/schemas/product-update.php:140 -msgid "Set this product as a taxable one (true), which means tax rules are applied to, or not taxable (false)." -msgstr "" - -#: inc/api/schemas/product-create.php:145 -#: inc/api/schemas/product-update.php:145 -msgid "Category of taxes applied to this product. You need to set this if taxable is set to true." -msgstr "" - -#: inc/api/schemas/product-create.php:150 -#: inc/api/schemas/product-update.php:150 -msgid "If the product is the 'contact_us' type, it will need a label for the contact us button." -msgstr "" - -#: inc/api/schemas/product-create.php:155 -#: inc/api/schemas/product-update.php:155 -msgid "The url where the contact us button will lead to." -msgstr "" - -#: inc/api/schemas/product-create.php:160 -#: inc/api/schemas/product-update.php:160 -msgid "A list (array) of features of the product." -msgstr "" - -#: inc/api/schemas/product-create.php:165 -#: inc/api/schemas/product-update.php:165 -msgid "The customer role of this product." -msgstr "" - -#: inc/api/schemas/product-create.php:170 -#: inc/api/schemas/product-update.php:170 -msgid "The available addons of this product." -msgstr "" - -#: inc/api/schemas/product-create.php:175 -#: inc/api/schemas/product-update.php:175 -msgid "The group of this product, if has any." -msgstr "" - -#: inc/api/schemas/product-create.php:180 -#: inc/api/schemas/product-update.php:180 -msgid "If the legacy options are enabled." -msgstr "" - -#: inc/api/schemas/product-create.php:195 -#: inc/api/schemas/product-update.php:195 -msgid "Feature list for pricing tables." -msgstr "" - -#: inc/api/schemas/site-create.php:23 -#: inc/api/schemas/site-update.php:23 -msgid "The categories this site belongs to." -msgstr "" - -#: inc/api/schemas/site-create.php:28 -#: inc/api/schemas/site-update.php:28 -msgid "The ID of the feature image of the site." -msgstr "" - -#: inc/api/schemas/site-create.php:33 -#: inc/api/schemas/site-update.php:33 -msgid "The network ID for this site." -msgstr "" - -#: inc/api/schemas/site-create.php:38 -#: inc/api/schemas/site-update.php:38 -msgid "The site title." -msgstr "" - -#: inc/api/schemas/site-create.php:43 -#: inc/api/schemas/site-update.php:43 -msgid "The site name." -msgstr "" - -#: inc/api/schemas/site-create.php:48 -#: inc/api/schemas/site-update.php:48 -msgid "A description for the site, usually a short text." -msgstr "" - -#: inc/api/schemas/site-create.php:53 -#: inc/api/schemas/site-update.php:53 -msgid "The site domain. You don't need to put http or https in front of your domain in this field. e.g: example.com." -msgstr "" - -#: inc/api/schemas/site-create.php:58 -#: inc/api/schemas/site-update.php:58 -msgid "Path of the site. Used when in sub-directory mode." -msgstr "" - -#: inc/api/schemas/site-create.php:63 -#: inc/api/schemas/site-update.php:63 -msgid "Date when the site was registered." -msgstr "" - -#: inc/api/schemas/site-create.php:68 -#: inc/api/schemas/site-update.php:68 -msgid "Date of the last update on this site." -msgstr "" - -#: inc/api/schemas/site-create.php:73 -#: inc/api/schemas/site-update.php:73 -msgid "Holds the ID of the customer that owns this site." -msgstr "" - -#: inc/api/schemas/site-create.php:78 -#: inc/api/schemas/site-update.php:78 -msgid "Set true if this site is a public one, false if not." -msgstr "" - -#: inc/api/schemas/site-create.php:83 -#: inc/api/schemas/site-update.php:83 -msgid "Is this an archived site." -msgstr "" - -#: inc/api/schemas/site-create.php:88 -#: inc/api/schemas/site-update.php:88 -msgid "Is this a site with mature content." -msgstr "" - -#: inc/api/schemas/site-create.php:93 -#: inc/api/schemas/site-update.php:93 -msgid "Is this an spam site." -msgstr "" - -#: inc/api/schemas/site-create.php:98 -#: inc/api/schemas/site-update.php:98 -msgid "Is this site deleted." -msgstr "" - -#: inc/api/schemas/site-create.php:103 -#: inc/api/schemas/site-update.php:103 -msgid "The ID of the language being used on this site." -msgstr "" - -#: inc/api/schemas/site-create.php:108 -#: inc/api/schemas/site-update.php:108 -msgid "The ID of the customer that owns this site." -msgstr "" - -#: inc/api/schemas/site-create.php:113 -#: inc/api/schemas/site-update.php:113 -msgid "The ID of the membership associated with this site, if any." -msgstr "" - -#: inc/api/schemas/site-create.php:118 -#: inc/api/schemas/site-update.php:118 -msgid "The ID of the templated used to create this site." -msgstr "" - -#: inc/api/schemas/site-create.php:123 -#: inc/api/schemas/site-update.php:123 -msgid "The type of this particular site. Can be default, site_template, customer_owned, pending, external, main or other values added by third-party add-ons." -msgstr "" - -#: inc/api/schemas/site-create.php:136 -#: inc/api/schemas/site-update.php:136 -msgid "Keeps signup options for the site." -msgstr "" - -#: inc/api/schemas/site-create.php:141 -#: inc/api/schemas/site-update.php:141 -msgid "Keeps signup meta for the site." -msgstr "" - -#: inc/api/schemas/webhook-create.php:23 -#: inc/api/schemas/webhook-update.php:23 -msgid "Webhook name, which is used as product title as well." -msgstr "" - -#: inc/api/schemas/webhook-create.php:28 -#: inc/api/schemas/webhook-update.php:28 -msgid "The URL used for the webhook call." -msgstr "" - -#: inc/api/schemas/webhook-create.php:33 -#: inc/api/schemas/webhook-update.php:33 -msgid "The event that needs to be fired for this webhook to be sent." -msgstr "" - -#: inc/api/schemas/webhook-create.php:38 -#: inc/api/schemas/webhook-update.php:38 -msgid "How many times this webhook was sent." -msgstr "" - -#: inc/api/schemas/webhook-create.php:43 -#: inc/api/schemas/webhook-update.php:43 -msgid "Set this webhook as active (true), which means available will fire when the event occur, or inactive (false)." -msgstr "" - -#: inc/api/schemas/webhook-create.php:48 -#: inc/api/schemas/webhook-update.php:48 -msgid "Is this webhook hidden." -msgstr "" - -#: inc/api/schemas/webhook-create.php:58 -#: inc/api/schemas/webhook-update.php:58 -msgid "The integration that created this webhook." -msgstr "" - -#: inc/api/schemas/webhook-create.php:63 -#: inc/api/schemas/webhook-update.php:63 -msgid "The date when this webhook last fail." -msgstr "" - -#: inc/api/trait-rest-api.php:174 -#: inc/api/trait-rest-api.php:247 -#: inc/api/trait-rest-api.php:305 -#: inc/models/class-base-model.php:646 -#: inc/models/class-site.php:1440 -msgid "Item not found." -msgstr "" - -#: inc/api/trait-rest-api.php:226 -msgid "Something went wrong (Code 1)." -msgstr "" - -#. translators: 1. Object class name; 2. Set method name -#: inc/api/trait-rest-api.php:266 -#: inc/api/trait-wp-cli.php:340 -#, php-format -msgid "The %1$s object does not have a %2$s method" -msgstr "" - -#: inc/api/trait-rest-api.php:286 -msgid "Something went wrong (Code 2)." -msgstr "" - -#: inc/api/trait-wp-cli.php:121 -msgid "The id for the resource." -msgstr "" - -#: inc/api/trait-wp-cli.php:136 -msgid "No description found." -msgstr "" - -#: inc/api/trait-wp-cli.php:155 -msgid "Output just the id when the operation is successful." -msgstr "" - -#: inc/api/trait-wp-cli.php:164 -msgid "Render response in a particular format." -msgstr "" - -#: inc/api/trait-wp-cli.php:180 -msgid "Limit response to specific fields. Defaults to id, name" -msgstr "" - -#: inc/checkout/class-cart.php:558 -msgid "The payment in question was not found." -msgstr "" - -#: inc/checkout/class-cart.php:585 -msgid "You are not allowed to modify this payment." -msgstr "" - -#: inc/checkout/class-cart.php:596 -#: inc/checkout/class-cart.php:744 -msgid "The membership in question was not found." -msgstr "" - -#: inc/checkout/class-cart.php:685 -msgid "The payment in question has an invalid status." -msgstr "" - -#: inc/checkout/class-cart.php:764 -#: inc/gateways/class-base-stripe-gateway.php:269 -msgid "You are not allowed to modify this membership." -msgstr "" - -#: inc/checkout/class-cart.php:796 -#: inc/checkout/class-cart.php:818 -#: inc/checkout/class-cart.php:940 -msgid "This cart proposes no changes to the current membership." -msgstr "" - -#. translators: %1$d: current number of posts, %2$s: post type name, %3$d: posts quota, %4$s: post type name, %5$d: number of posts to be deleted, %6$s: post type name. -#: inc/checkout/class-cart.php:960 -#, php-format -msgid "Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must trash %5$d %6$s before you can downgrade your plan." -msgstr "" - -#: inc/checkout/class-cart.php:986 -msgid "This new plan does NOT support custom domains. You must remove all custom domains before you can downgrade your plan." -msgstr "" - -#. translators: %1$d: current number of custom domains, %2$s: 'custom domain' or 'custom domains', %3$d: domain limit, %4$s: 'custom domain' or 'custom domains', %5$d: number of domains to be removed, %6$s: 'custom domain' or 'custom domains'. -#: inc/checkout/class-cart.php:994 -#, php-format -msgid "Your site currently has %1$d %2$s but the new plan is limited to %3$d %4$s. You must remove %5$d %6$s before you can downgrade your plan." -msgstr "" - -#: inc/checkout/class-cart.php:996 -#: inc/checkout/class-cart.php:998 -#: inc/checkout/class-cart.php:1000 -msgid "custom domains" -msgstr "" - -#: inc/checkout/class-cart.php:996 -#: inc/checkout/class-cart.php:998 -#: inc/checkout/class-cart.php:1000 -msgid "custom domain" -msgstr "" - -#. Translators: Placeholder receives the recurring period description -#: inc/checkout/class-cart.php:1074 -#, php-format -msgid "You already have an active %s agreement." -msgstr "" - -#: inc/checkout/class-cart.php:1095 -msgid "Scheduled Swap Credit" -msgstr "" - -#: inc/checkout/class-cart.php:1096 -msgid "Swap scheduled to next billing cycle." -msgstr "" - -#: inc/checkout/class-cart.php:1297 -msgid "Prorated amount based on the previous membership." -msgstr "" - -#. translators: %s is the coupon code being used, all-caps. e.g. PROMO10OFF -#: inc/checkout/class-cart.php:1333 -#, php-format -msgid "The code %s do not exist or is no longer valid." -msgstr "" - -#. translators: two intervals -#: inc/checkout/class-cart.php:1414 -#, php-format -msgid "Interval %1$s and %2$s do not match." -msgstr "" - -#: inc/checkout/class-cart.php:1577 -msgid "The product you are trying to add does not exist." -msgstr "" - -#: inc/checkout/class-cart.php:1589 -msgid "The product you are trying to add does not exist for the selected duration." -msgstr "" - -#: inc/checkout/class-cart.php:1603 -msgid "Theres already a plan in this membership." -msgstr "" - -#. translators: respectively, product name, duration, and duration unit. -#: inc/checkout/class-cart.php:1665 -#, php-format -msgid "%1$s does not have a valid price variation for that billing period (every %2$s %3$s(s)) and was not added to the cart." -msgstr "" - -#. translators: placeholder is the product name. -#: inc/checkout/class-cart.php:1729 -#, php-format -msgid "Signup Fee for %s" -msgstr "" - -#. translators: placeholder is the product name. -#: inc/checkout/class-cart.php:1729 -#, php-format -msgid "Signup Credit for %s" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:110 -msgid "Multisite Ultimate Compatibility Mode" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:111 -msgid "Toggle this option on if Multisite Ultimate elements are not loading correctly or at all." -msgstr "" - -#: inc/checkout/class-checkout-pages.php:190 -msgid "Error: The password you entered is incorrect." -msgstr "" - -#: inc/checkout/class-checkout-pages.php:220 -#: inc/integrations/host-providers/class-closte-host-provider.php:165 -msgid "Something went wrong" -msgstr "" - -#. translators: %1$s and %2$s are HTML tags -#: inc/checkout/class-checkout-pages.php:424 -#, php-format -msgid "Your email address is not yet verified. Your site %1$s will only be activated %2$s after your email address is verified. Check your inbox and verify your email address." -msgstr "" - -#: inc/checkout/class-checkout-pages.php:428 -msgid "Resend verification email →" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:628 -msgid "Multisite Ultimate - Register Page" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:629 -msgid "Multisite Ultimate - Login Page" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:630 -msgid "Multisite Ultimate - Site Blocked Page" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:631 -msgid "Multisite Ultimate - Membership Update Page" -msgstr "" - -#: inc/checkout/class-checkout-pages.php:632 -msgid "Multisite Ultimate - New Site Page" -msgstr "" - -#: inc/checkout/class-checkout.php:654 -#: inc/checkout/class-checkout.php:664 -#: inc/checkout/class-checkout.php:2083 -#: inc/checkout/class-checkout.php:2089 -msgid "Payment gateway not registered." -msgstr "" - -#: inc/checkout/class-checkout.php:978 -msgid "The email address you entered is already in use." -msgstr "" - -#: inc/checkout/class-checkout.php:1030 -msgid "Something wrong happened while attempting to save the customer billing address" -msgstr "" - -#: inc/checkout/class-checkout.php:1560 -msgid "The item was added!" -msgstr "" - -#: inc/checkout/class-checkout.php:1561 -msgid "The Password entered is too weak." -msgstr "" - -#: inc/checkout/class-checkout.php:1862 -msgid "Password confirmation" -msgstr "" - -#: inc/checkout/class-checkout.php:1863 -msgid "Template ID" -msgstr "" - -#: inc/checkout/class-checkout.php:1864 -msgid "Valid password" -msgstr "" - -#: inc/checkout/class-checkout.php:1866 -msgid "Payment Gateway" -msgstr "" - -#. translators: %s is the membership ID -#: inc/checkout/class-checkout.php:2187 -#, php-format -msgid "Checkout failed for customer %s: " -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:99 -msgid "Multisite Ultimate Legacy Signup" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:260 -msgid "OFF" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:261 -#: inc/models/class-membership.php:901 -#: inc/models/class-product.php:623 -#: inc/models/class-product.php:704 -#: views/checkout/templates/pricing-table/legacy.php:163 -#: views/legacy/signup/pricing-table/plan.php:34 -#: views/legacy/signup/pricing-table/plan.php:56 -msgid "Free!" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:262 -#: inc/list-tables/class-product-list-table.php:182 -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:152 -msgid "No Setup Fee" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:339 -msgid "Sorry. Our service is not allowed in your country." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:418 -msgid "Pick a Plan" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:419 -msgid "Which one of our amazing plans you want to get?" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:434 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:142 -#: inc/models/class-checkout-form.php:896 -#: inc/models/class-checkout-form.php:1471 -#: inc/models/class-checkout-form.php:1488 -msgid "Template Selection" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:435 -msgid "Select the base template of your new site." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:445 -msgid "Site Details" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:446 -msgid "Ok, now it's time to pick your site url and title!" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:460 -msgid "Select the title your site is going to have." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:466 -#: inc/list-tables/class-site-list-table.php:273 -#: views/emails/customer/site-published.php:25 -msgid "URL" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:470 -msgid "Site urls can only contain lowercase letters (a-z) and numbers and must be at least 4 characters. ." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:476 -msgid "Site URL Preview" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:483 -msgid "Continue to the next step" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:502 -msgid "Username must be at least 4 characters." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:524 -msgid "Your password should be at least 6 characters long." -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:531 -#: inc/checkout/signup-fields/class-signup-field-password.php:127 -#: inc/models/class-checkout-form.php:943 -msgid "Confirm Password" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:545 -#: inc/checkout/signup-fields/class-signup-field-site-url.php:66 -#: inc/models/class-checkout-form.php:594 -#: inc/models/class-checkout-form.php:686 -#: inc/models/class-checkout-form.php:1535 -#: views/emails/admin/domain-created.php:79 -#: views/emails/admin/site-published.php:30 -msgid "Site URL" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:610 -msgid "Create Account" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:616 -msgid "Account Details" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:655 -msgid "Begin Signup Process" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:671 -msgid "Creating Account" -msgstr "" - -#: inc/checkout/class-legacy-checkout.php:873 -msgid "Please, do not use the \"site_url\" as one of your custom fields' ids. We use it as a honeytrap field to prevent spam registration. Consider alternatives such as \"url\" or \"website\"." -msgstr "" - -#. translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) -#: inc/checkout/class-line-item.php:1103 -#: inc/models/class-checkout-form.php:1315 -#: inc/models/class-checkout-form.php:1346 -#, php-format -msgid "%2$s" -msgid_plural "every %1$s %2$s" -msgstr[0] "" -msgstr[1] "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:311 -msgid "This is a site-related field. For that reason, this field will not show up when no plans are present on the shopping cart." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:323 -msgid "This is a customer-related field. For that reason, this field will not show up when the user is logged and already has a customer on file." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:443 -msgid "Field ID" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:444 -msgid "e.g. info-name" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:445 -msgid "Only alpha-numeric and hyphens allowed." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:446 -msgid "The ID of the field. This is used to reference the field." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:456 -msgid "Field Label" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:457 -msgid "e.g. Your Name" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:458 -msgid "This is what your customer see as the field title." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:459 -msgid "Leave blank to hide the field label. You can also set a placeholder value and tip in the \"Additional Settings\" tab." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:468 -msgid "Field Placeholder" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:469 -msgid "e.g. Placeholder value" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:470 -msgid "This value appears inside the field, as an example of how to fill it." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:481 -msgid "Field Tooltip" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:482 -msgid "e.g. This field is great, be sure to fill it." -msgstr "" - -#. translators: %is is the icon for a question mark. -#: inc/checkout/signup-fields/class-base-signup-field.php:484 -#, php-format -msgid "Any text entered here will be shown when the customer hovers the %s icon next to the field label." -msgstr "" - -#. translators: %is is the icon for a question mark. -#: inc/checkout/signup-fields/class-base-signup-field.php:484 -msgid "Just like this!" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:496 -#: views/shortcodes/shortcodes.php:56 -msgid "Default Value" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:497 -msgid "e.g. None" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:517 -msgid "Field Length" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:523 -msgid "Min" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:532 -msgid "Max" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:543 -msgid "Save As" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:544 -msgid "Select how you want to save this piece of meta data. You can attach it to the customer or the site as site meta or as site option." -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:550 -msgid "Customer Meta" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:551 -msgid "User Meta" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:552 -msgid "Site Meta" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:553 -msgid "Site Option" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:554 -msgid "Do not save" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:563 -msgid "Required" -msgstr "" - -#: inc/checkout/signup-fields/class-base-signup-field.php:564 -msgid "Mark this field as required. The checkout will not proceed unless this field is filled." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-billing-address.php:72 -msgid "Address" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-billing-address.php:85 -#: inc/checkout/signup-fields/class-signup-field-billing-address.php:98 -msgid "Adds billing address fields such as country, zip code." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-billing-address.php:168 -msgid "Display only ZIP and Country?" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-billing-address.php:169 -msgid "Checking this option will only add the ZIP and country fields, instead of all the normal billing address fields." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-checkbox.php:85 -#: inc/checkout/signup-fields/class-signup-field-checkbox.php:98 -msgid "Adds a checkout box that can be checked by the customer." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-checkbox.php:169 -msgid "Default State" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-checkbox.php:170 -msgid "Use the toggle to the set the default state of the checkbox." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-color.php:71 -#: inc/checkout/signup-fields/class-signup-field-color.php:84 -msgid "Adds a color picker field." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-color.php:157 -msgid "Default Color" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-color.php:158 -msgid "Set the default value for this color field." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-discount-code.php:71 -#: inc/checkout/signup-fields/class-signup-field-discount-code.php:84 -msgid "Adds an additional field to apply a discount code." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-discount-code.php:171 -msgid "Have a coupon code?" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-email.php:80 -#: inc/checkout/signup-fields/class-signup-field-email.php:93 -msgid "Adds a email address field. This email address will be used to create the WordPress user." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-email.php:163 -msgid "Display Notices" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-email.php:164 -msgid "When the customer is already logged in, a box with the customer's username and a link to logout is displayed instead of the email field. Disable this option if you do not want that box to show up." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-email.php:190 -msgid "Not you?" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-email.php:202 -msgid "Existing customer?" -msgstr "" - -#. translators: %s is the login URL. -#: inc/checkout/signup-fields/class-signup-field-email.php:246 -#, php-format -msgid "Log in to renew or change an existing membership." -msgstr "" - -#. translators: 1$s is the display name of the user currently logged in. -#: inc/checkout/signup-fields/class-signup-field-email.php:274 -#, php-format -msgid "Not %1$s? Log in using your account." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-hidden.php:58 -msgid "Hidden Field" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-hidden.php:71 -#: inc/checkout/signup-fields/class-signup-field-hidden.php:84 -msgid "Adds a hidden field. This is useful when coupled with the \"Fill from the Request\" option, to load values from the URL, for example." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-hidden.php:153 -msgid "Pre-filled Value" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-hidden.php:154 -msgid "The field will be populated with this value. Can be overridden if the pre-fill from request option is enabled." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-hidden.php:155 -msgid "e.g. blue" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:59 -msgid "Order Bump" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:72 -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:85 -msgid "Adds a product offer that the customer can click to add to the current cart." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:170 -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:171 -msgid "e.g. Premium" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:171 -msgid "Select the product that will be presented to the customer as an add-on option." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:185 -msgid "Display Product Description" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:186 -msgid "Toggle to display the product description as well, if one is available." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:192 -msgid "Display Product Image" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:193 -msgid "Toggle to display the product image as well, if one is available." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-bump.php:250 -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:224 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:300 -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:280 -#: inc/checkout/signup-fields/class-signup-field-steps.php:210 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:359 -#: inc/ui/class-template-switching-element.php:353 -msgid "Template does not exist." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:57 -#: inc/models/class-checkout-form.php:998 -msgid "Order Summary" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:70 -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:83 -msgid "Adds a summary table with prices, key subscription dates, discounts, and taxes." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:166 -msgid "Table Columns" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:167 -msgid "\"Simplified\" will condense all discount and tax info into separate rows to keep the table with only two columns. \"Display All\" adds a discounts and taxes column to each product row." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:169 -msgid "Simplified" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:170 -msgid "Display All" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:180 -#: inc/checkout/signup-fields/class-signup-field-steps.php:166 -#: inc/ui/class-template-switching-element.php:145 -#: inc/ui/class-template-switching-element.php:146 -msgid "Layout" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-order-summary.php:181 -#: inc/checkout/signup-fields/class-signup-field-steps.php:167 -#: inc/ui/class-template-switching-element.php:157 -msgid "Select your Layout" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-password.php:85 -#: inc/checkout/signup-fields/class-signup-field-password.php:98 -msgid "Adds a password field, with options for enforcing password strength and adding password confirmation field. This password is then used to create the WordPress user." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-password.php:171 -msgid "Display Password Strength Meter" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-password.php:172 -msgid "Adds a password strength meter below the password field. Enabling this option also enforces passwords to be strong." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-password.php:177 -msgid "Display Password Confirm Field" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-password.php:178 -msgid "Adds a \"Confirm your Password\" field below the default password field to reduce the chance or making a mistake." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-payment.php:59 -#: inc/list-tables/class-payment-list-table-widget.php:41 -#: inc/list-tables/class-payment-list-table.php:41 -#: inc/managers/class-payment-manager.php:69 -#: inc/models/class-checkout-form.php:749 -#: views/emails/admin/payment-received.php:15 -#: views/emails/customer/payment-received.php:16 -#: views/emails/customer/renewal-payment-created.php:16 -msgid "Payment" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-payment.php:72 -#: inc/checkout/signup-fields/class-signup-field-payment.php:85 -msgid "Adds the payment options and the additional fields required to complete a purchase (e.g. credit card field)." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-payment.php:193 -msgid "Auto-renew" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:57 -msgid "Period Select" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:70 -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:83 -msgid "Adds a period selector, that allows customers to switch between different billing periods." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:137 -msgid "Plan Duration Switch" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:172 -msgid "Period Selector Template" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:173 -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:217 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:252 -msgid "Select your Template" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:186 -msgid "Add different options below. These need to match your product price variations." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:192 -#: inc/checkout/signup-fields/class-signup-field-select.php:165 -msgid "Add the first option using the button below." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:249 -msgid "e.g. Monthly" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-period-selection.php:262 -#: inc/checkout/signup-fields/class-signup-field-select.php:218 -msgid "+ Add option" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:57 -msgid "Pricing Table" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:70 -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:83 -msgid "Adds a pricing table section that customers can use to choose a plan to subscribe to." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:140 -msgid "Plan Selection" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:172 -msgid "Be sure to add the products in the order you want them to show up." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:187 -msgid "Force Different Durations" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:188 -msgid "Check this option to force the display of plans with different recurring durations." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:199 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:234 -msgid "Hide when Pre-Selected" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:200 -msgid "Prevent customers from seeing this field when a plan was already selected via the URL." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:201 -msgid "If the pricing table field is the only field in the current step, the step will be skipped." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-pricing-table.php:216 -msgid "Pricing Table Template" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-products.php:69 -#: inc/checkout/signup-fields/class-signup-field-products.php:82 -msgid "Hidden field used to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and products manually." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-products.php:133 -msgid "Pre-selected Products" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-products.php:151 -msgid "Use this field to pre-select products. This is useful when you have a signup page for specific offering/bundles and do not want your customers to be able to choose plans and other products manually." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:58 -#: views/checkout/partials/pricing-table-list.php:38 -#: views/checkout/templates/template-selection/clean.php:141 -#: views/checkout/templates/template-selection/legacy.php:234 -#: views/sites/edit-placeholders.php:105 -#: views/taxes/list.php:170 -msgid "Select" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:71 -#: inc/checkout/signup-fields/class-signup-field-select.php:84 -msgid "Adds a select field." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:160 -msgid "Add different options below. The first option is used as the default." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:193 -msgid "Option Value" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:194 -msgid "e.g. option1" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-select.php:205 -msgid "e.g. Option 1" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:56 -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:136 -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:151 -#: inc/list-tables/class-checkout-form-list-table.php:80 -msgid "Shortcode" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:69 -msgid "Displays the content of a given WordPress shortcode. Can be useful to inset content from other plugins inside a Multisite Ultimate checkout form." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:82 -msgid "Displays the content of a given WordPress shortcode. Can be useful to insert content from other plugins inside a Multisite Ultimate checkout form." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:152 -msgid "e.g. [shortcode]" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-shortcode.php:153 -msgid "Please, enter the full shortcode, including []." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-title.php:82 -#: inc/checkout/signup-fields/class-signup-field-site-title.php:95 -msgid "Adds a Site Title field. This value is used to set the site title for the site being created." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-title.php:167 -msgid "Auto-generate?" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-title.php:168 -#: inc/checkout/signup-fields/class-signup-field-site-url.php:173 -msgid "Check this option to auto-generate this field based on the username of the customer." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:79 -#: inc/checkout/signup-fields/class-signup-field-site-url.php:92 -msgid "Adds a Site URL field. This is used to set the URL of the site being created." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:172 -#: inc/checkout/signup-fields/class-signup-field-username.php:170 -msgid "Auto-generate" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:183 -msgid "Display URL field attachments" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:184 -msgid "Adds the prefix and suffix blocks to the URL field." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:198 -msgid "Display URL preview block" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:199 -msgid "Adds a preview block that shows the final URL." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:213 -msgid "Enable Domain Selection" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:214 -msgid "Offer different domain options to your customers to choose from." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:229 -msgid "Available Domains" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:230 -msgid "Enter one domain option per line." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-site-url.php:252 -msgid "New URL Preview" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-steps.php:57 -#: inc/list-tables/class-checkout-form-list-table.php:200 -msgid "Steps" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-steps.php:70 -#: inc/checkout/signup-fields/class-signup-field-steps.php:83 -msgid "Adds a list of the steps." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:58 -#: inc/ui/class-login-form-element.php:280 -#: inc/ui/class-login-form-element.php:281 -msgid "Submit Button" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:71 -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:84 -msgid "Adds a submit button. This is required to finalize single-step checkout forms or to navigate to the next step on multi-step checkout forms." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:153 -msgid "Add \"Go Back\" button" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:154 -msgid "Enable this option to add a \"Go Back\" button. Useful for multi-step checkout forms." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:163 -msgid "\"Go Back\" Button Label" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:164 -msgid "Value to be used as the \"Go Back\" label." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-submit-button.php:165 -msgid "e.g. ← Go Back" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:58 -#: inc/compat/class-legacy-shortcodes.php:525 -#: inc/list-tables/class-site-list-table.php:357 -msgid "Templates" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:71 -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:84 -msgid "Adds a template selection section. This allows the customer to choose a pre-built site to be used as a template for the site being currently created." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:176 -msgid "Available templates" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:177 -msgid "How do you want to choose available which templates will be available." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:180 -msgid "Select by names" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:181 -msgid "Select by categories" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:182 -msgid "All templates" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:207 -msgid "Template Sites" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:208 -msgid "e.g. Template Site 1, My Agency" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:209 -msgid "Be sure to add the templates in the order you want them to show up." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:235 -msgid "Prevent customers from seeing this field when a template was already selected via the URL." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:236 -msgid "If the template selection field is the only field in the current step, the step will be skipped." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-template-selection.php:251 -msgid "Template Selector Template" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:72 -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:151 -msgid "Terms of Use" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:85 -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:98 -msgid "Adds a terms and conditions checkbox that must be marked before the account/site can be created." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:126 -msgid "I agree with the terms of use." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:167 -msgid "Terms Checkbox Label" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:168 -msgid "e.g. I agree with the terms of use." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:173 -msgid "Link to the Terms Page" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:174 -msgid "Enter the link to the terms of use content." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:175 -msgid "e.g. https://yoursite.com/terms" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-terms-of-use.php:192 -msgid "Read here" -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-text.php:71 -#: inc/checkout/signup-fields/class-signup-field-text.php:84 -msgid "Adds a text field that the customer can fill with arbitrary data." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-username.php:85 -#: inc/checkout/signup-fields/class-signup-field-username.php:98 -msgid "Adds an username field. This username will be used to create the WordPress user." -msgstr "" - -#: inc/checkout/signup-fields/class-signup-field-username.php:171 -msgid "Check this option to auto-generate this field based on the email address of the customer." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/class-base-field-template.php:81 -msgid "Field Template" -msgstr "" - -#: inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php:67 -msgid "Simple" -msgstr "" - -#: inc/checkout/signup-fields/field-templates/order-bump/class-simple-order-bump-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php:80 -msgid "A simple layout with minimal styling, just enough to make it usable out-of-the-box." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/order-summary/class-clean-order-summary-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/steps/class-clean-steps-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/template-selection/class-clean-template-selection-field-template.php:67 -msgid "Clean" -msgstr "" - -#: inc/checkout/signup-fields/field-templates/period-selection/class-clean-period-selection-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php:69 -msgid "A simple template with clean markup and no styling, ready to be customized with custom CSS." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php:56 -#: views/base/addons.php:144 -msgid "Legacy" -msgstr "" - -#: inc/checkout/signup-fields/field-templates/period-selection/class-legacy-period-selection-field-template.php:80 -msgid "Implementation of the layout that shipped with Multisite Ultimate < 1.10.X." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/pricing-table/class-legacy-pricing-table-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/steps/class-legacy-steps-field-template.php:80 -#: inc/checkout/signup-fields/field-templates/template-selection/class-legacy-template-selection-field-template.php:69 -msgid "Implementation of the layout that shipped with WP Ultimo < 1.10.X." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php:45 -msgid "Simple List" -msgstr "" - -#: inc/checkout/signup-fields/field-templates/pricing-table/class-list-pricing-table-field-template.php:58 -msgid "Simple stylized list with price, recurrence, and the plan description." -msgstr "" - -#: inc/checkout/signup-fields/field-templates/steps/class-minimal-steps-field-template.php:67 -#: inc/checkout/signup-fields/field-templates/template-selection/class-minimal-template-selection-field-template.php:56 -msgid "Minimal" -msgstr "" - -#. translators: %s the url for login. -#: inc/class-addon-repository.php:158 -#, php-format -msgid "You must Login first." -msgstr "" - -#: inc/class-addon-repository.php:177 -msgid "Failed to connect to the update server. Please try again later." -msgstr "" - -#: inc/class-addon-repository.php:223 -msgid "Successfully connected your site to MultisiteUltimate.com." -msgstr "" - -#: inc/class-addon-repository.php:231 -msgid "Failed to authenticate with MultisiteUltimate.com." -msgstr "" - -#: inc/class-api.php:145 -#: inc/class-api.php:146 -msgid "API & Webhooks" -msgstr "" - -#: inc/class-api.php:156 -msgid "API Settings" -msgstr "" - -#: inc/class-api.php:157 -msgid "Options related to Multisite Ultimate API endpoints." -msgstr "" - -#: inc/class-api.php:166 -msgid "Enable API" -msgstr "" - -#: inc/class-api.php:167 -msgid "Tick this box if you want Multisite Ultimate to add its own endpoints to the WordPress REST API. This is required for some integrations to work, most notabily, Zapier." -msgstr "" - -#: inc/class-api.php:176 -msgid "Credentials Refreshed" -msgstr "" - -#: inc/class-api.php:183 -msgid "API URL" -msgstr "" - -#: inc/class-api.php:199 -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:170 -#: views/wizards/host-integrations/cloudflare-instructions.php:14 -#: views/wizards/host-integrations/runcloud-instructions.php:12 -#: views/wizards/host-integrations/runcloud-instructions.php:29 -msgid "API Key" -msgstr "" - -#: inc/class-api.php:216 -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "API Secret" -msgstr "" - -#: inc/class-api.php:232 -msgid "This is your API Key. You cannot change it directly. To reset the API key and secret, use the button \"Refresh API credentials\" below." -msgstr "" - -#: inc/class-api.php:246 -msgid "Refresh API Credentials" -msgstr "" - -#: inc/class-api.php:260 -msgid "Log API calls (Advanced)" -msgstr "" - -#: inc/class-api.php:261 -msgid "Tick this box if you want to log all calls received via Multisite Ultimate API endpoints. You can access the logs on Multisite Ultimate → System Info → Logs." -msgstr "" - -#: inc/class-api.php:274 -msgid "Webhook Settings" -msgstr "" - -#: inc/class-api.php:275 -msgid "Options related to Multisite Ultimate API webhooks." -msgstr "" - -#: inc/class-api.php:284 -msgid "Wait for Response (Advanced)" -msgstr "" - -#: inc/class-api.php:285 -msgid "Tick this box if you want the Multisite Ultimate's webhook calls to wait for the remote server to respond. Keeping this option enabled can have huge effects on your network's performance, only enable it if you know what you are doing and need to debug webhook calls." -msgstr "" - -#: inc/class-api.php:489 -msgid "Welcome to our API" -msgstr "" - -#: inc/class-dashboard-widgets.php:90 -msgid "Multisite Ultimate - First Steps" -msgstr "" - -#: inc/class-dashboard-widgets.php:92 -msgid "Multisite Ultimate - Summary" -msgstr "" - -#: inc/class-dashboard-widgets.php:94 -msgid "Multisite Ultimate - Activity Stream" -msgstr "" - -#: inc/class-dashboard-widgets.php:101 -msgid "Welcome!" -msgstr "" - -#: inc/class-dashboard-widgets.php:103 -msgid "Welcome to your new network dashboard!" -msgstr "" - -#: inc/class-dashboard-widgets.php:104 -msgid "You will notice that Multisite Ultimate adds a couple of useful widgets here so you can keep an eye on how your network is doing." -msgstr "" - -#: inc/class-dashboard-widgets.php:109 -msgid "Finish your setup" -msgstr "" - -#: inc/class-dashboard-widgets.php:111 -msgid "You still have a couple of things to do configuration-wise. Check the steps on this list and make sure you complete them all." -msgstr "" - -#: inc/class-dashboard-widgets.php:120 -msgid "Our home" -msgstr "" - -#: inc/class-dashboard-widgets.php:122 -msgid "You can always find Multisite Ultimate settings and other pages under our menu item, here on the Network-level dashboard. 😃" -msgstr "" - -#: inc/class-dashboard-widgets.php:185 -msgid "Initial Setup" -msgstr "" - -#: inc/class-dashboard-widgets.php:186 -msgid "Go through the initial Setup Wizard to configure the basic settings of your network." -msgstr "" - -#: inc/class-dashboard-widgets.php:187 -msgid "Finish the Setup Wizard" -msgstr "" - -#: inc/class-dashboard-widgets.php:192 -#: inc/models/class-checkout-form.php:613 -#: inc/models/class-checkout-form.php:762 -#: inc/models/class-checkout-form.php:1223 -#: inc/models/class-checkout-form.php:1417 -#: views/dashboard-widgets/billing-info.php:105 -#: views/invoice/template.php:177 -msgid "Payment Method" -msgstr "" - -#: inc/class-dashboard-widgets.php:193 -msgid "You will need to configure at least one payment gateway to be able to receive money from your customers." -msgstr "" - -#: inc/class-dashboard-widgets.php:194 -msgid "Add a Payment Method" -msgstr "" - -#: inc/class-dashboard-widgets.php:205 -msgid "Your First Customer" -msgstr "" - -#: inc/class-dashboard-widgets.php:206 -msgid "Open the link below in an incognito tab and go through your newly created signup form." -msgstr "" - -#: inc/class-dashboard-widgets.php:208 -msgid "Create a test Account" -msgstr "" - -#: inc/class-dashboard-widgets.php:287 -msgid "Forum Discussions" -msgstr "" - -#. translators: First placeholder is the mapping ID, second is the site ID. -#: inc/class-domain-mapping.php:355 -#, php-format -msgid "Unable to delete mapping %1$d for site %2$d" -msgstr "" - -#: inc/class-hooks.php:59 -msgid "Activating Multisite Ultimate..." -msgstr "" - -#: inc/class-hooks.php:103 -msgid "Deactivating Multisite Ultimate..." -msgstr "" - -#. translators: the placeholder %s will be replaced by the time in seconds (float). -#: inc/class-logger.php:183 -#, php-format -msgid "This action took %s seconds." -msgstr "" - -#: inc/class-maintenance-mode.php:87 -msgid "Maintenance Mode - Active" -msgstr "" - -#: inc/class-maintenance-mode.php:91 -msgid "This means that your site is not available for visitors at the moment. Only you and other logged users have access to it. Click here to toggle this option." -msgstr "" - -#: inc/class-maintenance-mode.php:113 -msgid "Website under planned maintenance. Please check back later." -msgstr "" - -#: inc/class-maintenance-mode.php:118 -msgid "Under Maintenance" -msgstr "" - -#: inc/class-maintenance-mode.php:146 -msgid "Request failed, please refresh and try again." -msgstr "" - -#: inc/class-maintenance-mode.php:157 -msgid "You do not have the necessary permissions to perform this option." -msgstr "" - -#: inc/class-maintenance-mode.php:170 -msgid "New maintenance settings saved." -msgstr "" - -#: inc/class-maintenance-mode.php:192 -msgid "Site Maintenance Mode" -msgstr "" - -#: inc/class-maintenance-mode.php:193 -msgid "Allow your customers and super admins to quickly take sites offline via a toggle on the site dashboard." -msgstr "" - -#: inc/class-newsletter.php:22 -msgid "Signup for Multisite Ultimate Newsletter" -msgstr "" - -#: inc/class-newsletter.php:23 -msgid "Be informed of new releases and all things related to running a WaaS Network." -msgstr "" - -#: inc/class-orphaned-tables-manager.php:67 -msgid "Cleanup Orphaned Database Tables" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:68 -msgid "Remove database tables from deleted sites that were not properly cleaned up." -msgstr "" - -#: inc/class-orphaned-tables-manager.php:70 -msgid "Check for Orphaned Tables" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:77 -msgid "Scan and cleanup database tables from deleted sites" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:100 -msgid "Not Found" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:101 -msgid "No Orphaned Tables found." -msgstr "" - -#. translators: %d: number of orphaned tables -#: inc/class-orphaned-tables-manager.php:126 -#, php-format -msgid "Confirm Deletion of %d Orphaned Table" -msgid_plural "Confirm Deletion of %d Orphaned Tables" -msgstr[0] "" -msgstr[1] "" - -#: inc/class-orphaned-tables-manager.php:129 -msgid "You are about to permanently delete the following database tables:" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:131 -msgid "Warning:" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:132 -msgid "This action cannot be undone. Please ensure you have a database backup before proceeding." -msgstr "" - -#: inc/class-orphaned-tables-manager.php:138 -msgid "Yes, Delete These Tables" -msgstr "" - -#: inc/class-orphaned-tables-manager.php:176 -msgid "You do not have the required permissions." -msgstr "" - -#. translators: the %1$s placeholder is the required PHP version, while the %2$s is the current PHP version, and %3$s is the recommended PHP version. -#: inc/class-requirements.php:287 -#, php-format -msgid "Multisite Ultimate requires at least PHP version %1$s to run. Your current PHP version is %2$s. Please, contact your hosting company support to upgrade your PHP version. If you want maximum performance consider upgrading your PHP to version %3$s or later." -msgstr "" - -#. translators: the %1$s placeholder is the required WP version, while the %2$s is the current WP version. -#: inc/class-requirements.php:312 -#, php-format -msgid "Multisite Ultimate requires at least WordPress version %1$s to run. Your current WordPress version is %2$s." -msgstr "" - -#: inc/class-requirements.php:330 -msgid "Multisite Ultimate requires a multisite install to run properly. To know more about WordPress Networks, visit this link:" -msgstr "" - -#: inc/class-requirements.php:330 -msgid "Create a Network" -msgstr "" - -#. translators: %s is a placeholder for the Network Admin plugins page URL with link text. -#: inc/class-requirements.php:345 -#, php-format -msgid "Multisite Ultimate needs to be network active to run properly. You can \"Network Activate\" it %s" -msgstr "" - -#: inc/class-requirements.php:346 -msgid "here" -msgstr "" - -#. translators: the day/month/year date format used by Multisite Ultimate. You can changed it to localize this date format to your language. the default value is d/m/Y, which is the format 31/12/2021. -#: inc/class-scripts.php:295 -msgid "d/m/Y" -msgstr "" - -#. translators: %s is a relative future date. -#: inc/class-scripts.php:305 -#, php-format -msgid "in %s" -msgstr "" - -#. translators: %s is a relative past date. -#: inc/class-scripts.php:307 -#: inc/functions/date.php:156 -#: inc/list-tables/class-base-list-table.php:834 -#: inc/list-tables/class-membership-list-table.php:210 -#: views/admin-pages/fields/field-text-display.php:42 -#: views/admin-pages/fields/field-text-edit.php:45 -#, php-format -msgid "%s ago" -msgstr "" - -#: inc/class-scripts.php:308 -msgid "a few seconds" -msgstr "" - -#. translators: %s is the number of seconds. -#: inc/class-scripts.php:310 -#, php-format -msgid "%d seconds" -msgstr "" - -#: inc/class-scripts.php:311 -msgid "a minute" -msgstr "" - -#. translators: %s is the number of minutes. -#: inc/class-scripts.php:313 -#, php-format -msgid "%d minutes" -msgstr "" - -#: inc/class-scripts.php:314 -msgid "an hour" -msgstr "" - -#. translators: %s is the number of hours. -#: inc/class-scripts.php:316 -#, php-format -msgid "%d hours" -msgstr "" - -#: inc/class-scripts.php:317 -msgid "a day" -msgstr "" - -#. translators: %s is the number of days. -#: inc/class-scripts.php:319 -#, php-format -msgid "%d days" -msgstr "" - -#: inc/class-scripts.php:320 -msgid "a week" -msgstr "" - -#. translators: %s is the number of weeks. -#: inc/class-scripts.php:322 -#, php-format -msgid "%d weeks" -msgstr "" - -#: inc/class-scripts.php:323 -msgid "a month" -msgstr "" - -#. translators: %s is the number of months. -#: inc/class-scripts.php:325 -#, php-format -msgid "%d months" -msgstr "" - -#: inc/class-scripts.php:326 -msgid "a year" -msgstr "" - -#. translators: %s is the number of years. -#: inc/class-scripts.php:328 -#, php-format -msgid "%d years" -msgstr "" - -#: inc/class-settings.php:181 -#: inc/class-settings.php:405 -msgid "Dashes are no longer supported when registering a setting. You should change it to underscores in later versions." -msgstr "" - -#: inc/class-settings.php:536 -msgid "Your Business" -msgstr "" - -#: inc/class-settings.php:537 -msgid "General information about your business.." -msgstr "" - -#: inc/class-settings.php:547 -#: inc/objects/class-billing-address.php:261 -msgid "Company Name" -msgstr "" - -#: inc/class-settings.php:548 -msgid "This name is used when generating invoices, for example." -msgstr "" - -#: inc/class-settings.php:559 -msgid "Upload Company Logo" -msgstr "" - -#: inc/class-settings.php:560 -msgid "Add your company logo to be used on the login page and other places." -msgstr "" - -#: inc/class-settings.php:571 -msgid "Company Email Address" -msgstr "" - -#: inc/class-settings.php:572 -msgid "This email is used when generating invoices, for example." -msgstr "" - -#: inc/class-settings.php:583 -msgid "Company Address" -msgstr "" - -#: inc/class-settings.php:584 -msgid "This address is used when generating invoices." -msgstr "" - -#: inc/class-settings.php:599 -msgid "Company Country" -msgstr "" - -#: inc/class-settings.php:600 -msgid "This info is used when generating invoices, as well as for calculating when taxes apply in some contexts." -msgstr "" - -#: inc/class-settings.php:612 -msgid "Currency Options" -msgstr "" - -#: inc/class-settings.php:613 -#: inc/class-settings.php:1302 -msgid "The following options affect how prices are displayed on the frontend, the backend and in reports." -msgstr "" - -#: inc/class-settings.php:623 -msgid "Currency" -msgstr "" - -#: inc/class-settings.php:624 -msgid "Select the currency to be used in Multisite Ultimate." -msgstr "" - -#: inc/class-settings.php:636 -msgid "Currency Position" -msgstr "" - -#: inc/class-settings.php:637 -#: inc/class-settings.php:655 -#: inc/class-settings.php:667 -#: inc/class-settings.php:680 -msgid "This setting affects all prices displayed across the plugin elements." -msgstr "" - -#: inc/class-settings.php:641 -msgid "Left ($99.99)" -msgstr "" - -#: inc/class-settings.php:642 -msgid "Right (99.99$)" -msgstr "" - -#: inc/class-settings.php:643 -msgid "Left with space ($ 99.99)" -msgstr "" - -#: inc/class-settings.php:644 -msgid "Right with space (99.99 $)" -msgstr "" - -#: inc/class-settings.php:654 -msgid "Decimal Separator" -msgstr "" - -#: inc/class-settings.php:666 -msgid "Thousand Separator" -msgstr "" - -#: inc/class-settings.php:679 -msgid "Number of Decimals" -msgstr "" - -#: inc/class-settings.php:696 -#: inc/class-settings.php:697 -msgid "Login & Registration" -msgstr "" - -#: inc/class-settings.php:706 -msgid "Login and Registration Options" -msgstr "" - -#: inc/class-settings.php:707 -msgid "Options related to registration and login behavior." -msgstr "" - -#: inc/class-settings.php:716 -msgid "Enable Registration" -msgstr "" - -#: inc/class-settings.php:717 -msgid "Turning this toggle off will disable registration in all checkout forms across the network." -msgstr "" - -#: inc/class-settings.php:727 -msgid "Enable email verification" -msgstr "" - -#: inc/class-settings.php:728 -msgid "Enabling this option will require the customer to verify their email address when subscribing to a free plan or a plan with a trial period. Sites will not be created until the customer email verification status is changed to verified." -msgstr "" - -#: inc/class-settings.php:739 -msgid "Default Registration Page" -msgstr "" - -#: inc/class-settings.php:740 -#: inc/class-settings.php:772 -#: inc/class-settings.php:898 -#: inc/class-settings.php:1153 -msgid "Search pages on the main site..." -msgstr "" - -#: inc/class-settings.php:741 -#: inc/class-settings.php:899 -#: inc/class-settings.php:1154 -msgid "Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_checkout] shortcode." -msgstr "" - -#: inc/class-settings.php:759 -msgid "Use Custom Login Page" -msgstr "" - -#: inc/class-settings.php:760 -msgid "Turn this toggle on to select a custom page to be used as the login page." -msgstr "" - -#: inc/class-settings.php:771 -msgid "Default Login Page" -msgstr "" - -#: inc/class-settings.php:773 -msgid "Only published pages on the main site are available for selection, and you need to make sure they contain a [wu_login_form] shortcode." -msgstr "" - -#: inc/class-settings.php:793 -msgid "Obfuscate the Original Login URL (wp-login.php)" -msgstr "" - -#: inc/class-settings.php:794 -msgid "If this option is enabled, we will display a 404 error when a user tries to access the original wp-login.php link. This is useful to prevent brute-force attacks." -msgstr "" - -#: inc/class-settings.php:807 -msgid "Use Sub-site logo on Login Page" -msgstr "" - -#: inc/class-settings.php:808 -msgid "Toggle this option to replace the WordPress logo on the sub-site login page with the logo set for that sub-site. If unchecked, the network logo will be used instead." -msgstr "" - -#: inc/class-settings.php:821 -msgid "Force Synchronous Site Publication " -msgstr "" - -#: inc/class-settings.php:822 -msgid "By default, when a new pending site needs to be converted into a real network site, the publishing process happens via Job Queue, asynchronously. Enable this option to force the publication to happen in the same request as the signup. Be careful, as this can cause timeouts depending on the size of the site templates being copied." -msgstr "" - -#: inc/class-settings.php:832 -#: inc/class-settings.php:1487 -#: inc/class-settings.php:1488 -msgid "Other Options" -msgstr "" - -#: inc/class-settings.php:833 -msgid "Other registration-related options." -msgstr "" - -#: inc/class-settings.php:842 -msgid "Default Role" -msgstr "" - -#: inc/class-settings.php:843 -msgid "Set the role to be applied to the user during the signup process." -msgstr "" - -#: inc/class-settings.php:854 -msgid "Add Users to the Main Site as well?" -msgstr "" - -#: inc/class-settings.php:855 -msgid "Enabling this option will also add the user to the main site of your network." -msgstr "" - -#: inc/class-settings.php:865 -msgid "Add to Main Site with Role..." -msgstr "" - -#: inc/class-settings.php:866 -msgid "Select the role Multisite Ultimate should use when adding the user to the main site of your network. Be careful." -msgstr "" - -#: inc/class-settings.php:897 -msgid "Default Membership Update Page" -msgstr "" - -#: inc/class-settings.php:917 -msgid "Block Frontend Access" -msgstr "" - -#: inc/class-settings.php:918 -msgid "Block the frontend access of network sites after a membership is no longer active." -msgstr "" - -#: inc/class-settings.php:919 -msgid "By default, if a user does not pay and the account goes inactive, only the admin panel will be blocked, but the user's site will still be accessible on the frontend. If enabled, this option will also block frontend access in those cases." -msgstr "" - -#: inc/class-settings.php:929 -msgid "Frontend Block Grace Period" -msgstr "" - -#: inc/class-settings.php:930 -msgid "Select the number of days Multisite Ultimate should wait after the membership goes inactive before blocking the frontend access. Leave 0 to block immediately after the membership becomes inactive." -msgstr "" - -#: inc/class-settings.php:944 -msgid "Frontend Block Page" -msgstr "" - -#: inc/class-settings.php:945 -msgid "Select a page on the main site to redirect user if access is blocked" -msgstr "" - -#: inc/class-settings.php:965 -msgid "Enable Multiple Memberships per Customer" -msgstr "" - -#: inc/class-settings.php:966 -msgid "Enabling this option will allow your users to create more than one membership." -msgstr "" - -#: inc/class-settings.php:976 -msgid "Enable Multiple Sites per Membership" -msgstr "" - -#: inc/class-settings.php:977 -msgid "Enabling this option will allow your customers to create more than one site. You can limit how many sites your users can create in a per plan basis." -msgstr "" - -#: inc/class-settings.php:987 -msgid "Block Sites on Downgrade" -msgstr "" - -#: inc/class-settings.php:988 -msgid "Choose how Multisite Ultimate should handle client sites above their plan quota on downgrade." -msgstr "" - -#: inc/class-settings.php:992 -msgid "Keep sites as is (do nothing)" -msgstr "" - -#: inc/class-settings.php:993 -msgid "Block only frontend access" -msgstr "" - -#: inc/class-settings.php:994 -msgid "Block only backend access" -msgstr "" - -#: inc/class-settings.php:995 -msgid "Block both frontend and backend access" -msgstr "" - -#: inc/class-settings.php:1007 -msgid "Move Posts on Downgrade" -msgstr "" - -#: inc/class-settings.php:1008 -msgid "Select how you want to handle the posts above the quota on downgrade. This will apply to all post types with quotas set." -msgstr "" - -#: inc/class-settings.php:1012 -msgid "Keep posts as is (do nothing)" -msgstr "" - -#: inc/class-settings.php:1013 -msgid "Move posts above the new quota to the Trash" -msgstr "" - -#: inc/class-settings.php:1014 -msgid "Mark posts above the new quota as Drafts" -msgstr "" - -#: inc/class-settings.php:1024 -msgid "Emulated Post Types" -msgstr "" - -#: inc/class-settings.php:1025 -msgid "Emulates the registering of a custom post type to be able to create limits for it without having to activate plugins on the main site." -msgstr "" - -#: inc/class-settings.php:1034 -msgid "By default, Multisite Ultimate only allows super admins to limit post types that are registered on the main site. This makes sense from a technical stand-point but it also forces you to have plugins network-activated in order to be able to set limitations for their custom post types. Using this option, you can emulate the registering of a post type. This will register them on the main site and allow you to create limits for them on your products." -msgstr "" - -#: inc/class-settings.php:1045 -msgid "Add the first post type using the button below." -msgstr "" - -#: inc/class-settings.php:1077 -msgid "Post Type Slug" -msgstr "" - -#: inc/class-settings.php:1078 -msgid "e.g. product" -msgstr "" - -#: inc/class-settings.php:1087 -msgid "Post Type Label" -msgstr "" - -#: inc/class-settings.php:1088 -msgid "e.g. Products" -msgstr "" - -#: inc/class-settings.php:1104 -msgid "+ Add Post Type" -msgstr "" - -#: inc/class-settings.php:1142 -msgid "Configure certain aspects of how network Sites behave." -msgstr "" - -#: inc/class-settings.php:1152 -msgid "Default New Site Page" -msgstr "" - -#: inc/class-settings.php:1172 -msgid "Enable Visits Limitation & Counting" -msgstr "" - -#: inc/class-settings.php:1173 -msgid "Enabling this option will add visits limitation settings to the plans and add the functionality necessary to count site visits on the front-end." -msgstr "" - -#: inc/class-settings.php:1183 -msgid "Enable Screenshot Generator" -msgstr "" - -#: inc/class-settings.php:1184 -msgid "With this option is enabled, Multisite Ultimate will take a screenshot for every newly created site on your network and set the resulting image as that site's featured image. This features requires a valid license key to work and it is not supported for local sites." -msgstr "" - -#: inc/class-settings.php:1194 -msgid "WordPress Features" -msgstr "" - -#: inc/class-settings.php:1195 -msgid "Override default WordPress settings for network Sites." -msgstr "" - -#: inc/class-settings.php:1204 -msgid "Enable Plugins Menu" -msgstr "" - -#: inc/class-settings.php:1205 -msgid "Do you want to let users on the network to have access to the Plugins page, activating plugins for their sites? If this option is disabled, the customer will not be able to manage the site plugins." -msgstr "" - -#: inc/class-settings.php:1206 -msgid "You can select which plugins the user will be able to use for each plan." -msgstr "" - -#: inc/class-settings.php:1216 -msgid "Add New Users" -msgstr "" - -#: inc/class-settings.php:1217 -msgid "Allow site administrators to add new users to their site via the \"Users → Add New\" page." -msgstr "" - -#: inc/class-settings.php:1218 -msgid "You can limit the number of users allowed for each plan." -msgstr "" - -#: inc/class-settings.php:1228 -msgid "Site Template Options" -msgstr "" - -#: inc/class-settings.php:1229 -msgid "Configure certain aspects of how Site Templates behave." -msgstr "" - -#: inc/class-settings.php:1238 -msgid "Allow Template Switching" -msgstr "" - -#: inc/class-settings.php:1239 -msgid "Enabling this option will add an option on your client's dashboard to switch their site template to another one available on the catalog of available templates. The data is lost after a switch as the data from the new template is copied over." -msgstr "" - -#: inc/class-settings.php:1249 -msgid "Allow Users to use their own Sites as Templates" -msgstr "" - -#: inc/class-settings.php:1250 -msgid "Enabling this option will add the user own sites to the template screen, allowing them to create a new site based on the content and customizations they made previously." -msgstr "" - -#: inc/class-settings.php:1263 -msgid "Copy Media on Template Duplication?" -msgstr "" - -#: inc/class-settings.php:1264 -msgid "Checking this option will copy the media uploaded on the template site to the newly created site. This can be overridden on each of the plans." -msgstr "" - -#: inc/class-settings.php:1274 -msgid "Prevent Search Engines from indexing Site Templates" -msgstr "" - -#: inc/class-settings.php:1275 -msgid "Checking this option will discourage search engines from indexing all the Site Templates on your network." -msgstr "" - -#: inc/class-settings.php:1301 -msgid "Payment Settings" -msgstr "" - -#: inc/class-settings.php:1312 -msgid "Force Auto-Renew" -msgstr "" - -#: inc/class-settings.php:1313 -msgid "Enable this option if you want to make sure memberships are created with auto-renew activated whenever the selected gateway supports it. Disabling this option will show an auto-renew option during checkout." -msgstr "" - -#: inc/class-settings.php:1324 -msgid "Allow Trials without Payment Method" -msgstr "" - -#: inc/class-settings.php:1325 -msgid "By default, Multisite Ultimate asks customers to add a payment method on sign-up even if a trial period is present. Enable this option to only ask for a payment method when the trial period is over." -msgstr "" - -#: inc/class-settings.php:1336 -msgid "Send Invoice on Payment Confirmation" -msgstr "" - -#: inc/class-settings.php:1337 -msgid "Enabling this option will attach a PDF invoice (marked paid) with the payment confirmation email. This option does not apply to the Manual Gateway, which sends invoices regardless of this option." -msgstr "" - -#: inc/class-settings.php:1338 -msgid "The invoice files will be saved on the wp-content/uploads/wu-invoices folder." -msgstr "" - -#: inc/class-settings.php:1348 -msgid "Invoice Numbering Scheme" -msgstr "" - -#: inc/class-settings.php:1349 -msgid "What should Multisite Ultimate use as the invoice number?" -msgstr "" - -#: inc/class-settings.php:1354 -msgid "Payment Reference Code" -msgstr "" - -#: inc/class-settings.php:1355 -msgid "Sequential Number" -msgstr "" - -#: inc/class-settings.php:1364 -msgid "Next Invoice Number" -msgstr "" - -#: inc/class-settings.php:1365 -msgid "This number will be used as the invoice number for the next invoice generated on the system. It is incremented by one every time a new invoice is created. You can change it and save it to reset the invoice sequential number to a specific value." -msgstr "" - -#: inc/class-settings.php:1379 -msgid "Invoice Number Prefix" -msgstr "" - -#: inc/class-settings.php:1380 -msgid "INV00" -msgstr "" - -#. translators: %%YEAR%%, %%MONTH%%, and %%DAY%% are placeholders but are replaced before shown to the user but are used as examples. -#: inc/class-settings.php:1382 -#, php-format -msgid "Use %%YEAR%%, %%MONTH%%, and %%DAY%% to create a dynamic placeholder. E.g. %%YEAR%%-%%MONTH%%-INV will become %s." -msgstr "" - -#: inc/class-settings.php:1396 -#: inc/ui/class-jumper.php:208 -msgid "Payment Gateways" -msgstr "" - -#: inc/class-settings.php:1397 -msgid "Activate and configure the installed payment gateways in this section." -msgstr "" - -#: inc/class-settings.php:1412 -#: inc/class-settings.php:1413 -#: inc/list-tables/class-broadcast-list-table.php:481 -#: inc/list-tables/class-email-list-table.php:40 -#: inc/ui/class-jumper.php:210 -msgid "Emails" -msgstr "" - -#: inc/class-settings.php:1428 -#: inc/class-settings.php:1429 -msgid "Domain Mapping" -msgstr "" - -#: inc/class-settings.php:1444 -#: inc/class-settings.php:1445 -msgid "Single Sign-On" -msgstr "" - -#: inc/class-settings.php:1470 -msgid "Hosting or Panel Providers" -msgstr "" - -#: inc/class-settings.php:1471 -msgid "Configure and manage the integration with your Hosting or Panel Provider." -msgstr "" - -#: inc/class-settings.php:1498 -msgid "Miscellaneous" -msgstr "" - -#: inc/class-settings.php:1499 -msgid "Other options that do not fit anywhere else." -msgstr "" - -#: inc/class-settings.php:1510 -msgid "Hide UI Tours" -msgstr "" - -#: inc/class-settings.php:1511 -msgid "The UI tours showed by Multisite Ultimate should permanently hide themselves after being seen but if they persist for whatever reason, toggle this option to force them into their viewed state - which will prevent them from showing up again." -msgstr "" - -#: inc/class-settings.php:1523 -msgid "Disable \"Hover to Zoom\"" -msgstr "" - -#: inc/class-settings.php:1524 -msgid "By default, Multisite Ultimate adds a \"hover to zoom\" feature, allowing network admins to see larger version of site screenshots and other images across the UI in full-size when hovering over them. You can disable that feature here. Preview tags like the above are not affected." -msgstr "" - -#: inc/class-settings.php:1534 -msgid "Logging" -msgstr "" - -#: inc/class-settings.php:1535 -msgid "Log Multisite Ultimate data. This is useful for debugging purposes." -msgstr "" - -#: inc/class-settings.php:1544 -msgid "Logging Level" -msgstr "" - -#: inc/class-settings.php:1545 -msgid "Select the level of logging you want to use." -msgstr "" - -#: inc/class-settings.php:1549 -msgid "PHP Default" -msgstr "" - -#: inc/class-settings.php:1551 -msgid "Errors Only" -msgstr "" - -#: inc/class-settings.php:1552 -msgid "Everything" -msgstr "" - -#: inc/class-settings.php:1561 -msgid "Send Error Data to Multisite Ultimate Developers" -msgstr "" - -#: inc/class-settings.php:1562 -msgid "With this option enabled, every time your installation runs into an error related to Multisite Ultimate, that error data will be sent to us. No sensitive data gets collected, only environmental stuff (e.g. if this is this is a subdomain network, etc)." -msgstr "" - -#: inc/class-settings.php:1573 -msgid "Change the plugin and wordpress behavior." -msgstr "" - -#: inc/class-settings.php:1588 -msgid "Run Migration Again" -msgstr "" - -#: inc/class-settings.php:1590 -msgid "Rerun the Migration Wizard if you experience data-loss after migrate." -msgstr "" - -#: inc/class-settings.php:1593 -msgid "Important: This process can have unexpected behavior with your current Ultimo models.
We recommend that you create a backup before continue." -msgstr "" - -#: inc/class-settings.php:1596 -msgid "Migrate" -msgstr "" - -#: inc/class-settings.php:1619 -msgid "Security Mode" -msgstr "" - -#. Translators: Placeholder adds the security mode key and current site url with query string -#: inc/class-settings.php:1621 -#, php-format -msgid "Only Multisite Ultimate and other must-use plugins will run on your WordPress install while this option is enabled.
Important: Copy the following URL to disable security mode if something goes wrong and this page becomes unavailable:%2$s
" -msgstr "" - -#: inc/class-settings.php:1632 -msgid "Remove Data on Uninstall" -msgstr "" - -#: inc/class-settings.php:1633 -msgid "Remove all saved data for Multisite Ultimate when the plugin is uninstalled." -msgstr "" - -#. translators: the placeholder is an error message -#: inc/class-sunrise.php:289 -#, php-format -msgid "Sunrise copy failed: %s" -msgstr "" - -#: inc/class-sunrise.php:292 -msgid "Sunrise upgrade attempt succeeded." -msgstr "" - -#: inc/class-user-switching.php:74 -msgid "This feature requires the plugin User Switching to be installed and active." -msgstr "" - -#: inc/class-user-switching.php:79 -#: views/customers/widget-avatar.php:69 -msgid "Install User Switching" -msgstr "" - -#: inc/class-whitelabel.php:200 -#: inc/class-whitelabel.php:210 -msgid "Whitelabel" -msgstr "" - -#: inc/class-whitelabel.php:201 -msgid "Basic Whitelabel" -msgstr "" - -#: inc/class-whitelabel.php:211 -msgid "Hide a couple specific WordPress elements and rename others." -msgstr "" - -#: inc/class-whitelabel.php:222 -msgid "Hide WordPress Logo" -msgstr "" - -#: inc/class-whitelabel.php:223 -msgid "Hide the WordPress logo from the top-bar and replace the same logo on the My Sites top-bar item with a more generic icon." -msgstr "" - -#: inc/class-whitelabel.php:233 -msgid "Hide Sites Admin Menu" -msgstr "" - -#: inc/class-whitelabel.php:234 -msgid "We recommend that you manage all of your sites using the Multisite Ultimate → Sites page. To avoid confusion, you can hide the default \"Sites\" item from the WordPress admin menu by toggling this option." -msgstr "" - -#: inc/class-whitelabel.php:244 -msgid "Replace the word \"WordPress\"" -msgstr "" - -#: inc/class-whitelabel.php:245 -msgid "e.g. My App" -msgstr "" - -#: inc/class-whitelabel.php:246 -msgid "Replace all occurrences of the word \"WordPress\" with a different word." -msgstr "" - -#: inc/class-whitelabel.php:256 -msgid "Replace the word \"Site\" (singular)" -msgstr "" - -#: inc/class-whitelabel.php:257 -msgid "e.g. App" -msgstr "" - -#: inc/class-whitelabel.php:258 -msgid "Replace all occurrences of the word \"Site\" with a different word." -msgstr "" - -#: inc/class-whitelabel.php:269 -msgid "Replace the word \"Sites\" (plural)" -msgstr "" - -#: inc/class-whitelabel.php:270 -msgid "e.g. Apps" -msgstr "" - -#: inc/class-whitelabel.php:271 -msgid "Replace all occurrences of the word \"Sites\" with a different word." -msgstr "" - -#: inc/compat/class-edit-users-compat.php:114 -msgid "Enable Edit User Capability" -msgstr "" - -#: inc/compat/class-edit-users-compat.php:115 -msgid "Allow site owners to edit the user accounts of users on their own site. Also lets site owners create user accounts without requiring email confirmation." -msgstr "" - -#: inc/compat/class-edit-users-compat.php:146 -msgid "Add the user without sending an email that requires their confirmation" -msgstr "" - -#: inc/compat/class-general-compat.php:251 -msgid "WP Typography \"Smart Quotes\" replacement is not compatible with Multisite Ultimate and will be automatically disabled." -msgstr "" - -#. translators: the placeholder is replaced with the network name. -#: inc/compat/class-gutenberg-support.php:68 -#, php-format -msgid "%s is generating the preview..." -msgstr "" - -#: inc/compat/class-legacy-shortcodes.php:218 -msgid "You need to pass a valid plan ID." -msgstr "" - -#: inc/compat/class-legacy-shortcodes.php:357 -#: inc/models/class-checkout-form.php:840 -#: views/legacy/signup/pricing-table/frequency-selector.php:32 -msgid "Quarterly" -msgstr "" - -#: inc/compat/class-legacy-shortcodes.php:362 -#: inc/models/class-checkout-form.php:845 -#: views/legacy/signup/pricing-table/frequency-selector.php:33 -msgid "Yearly" -msgstr "" - -#: inc/compat/class-legacy-shortcodes.php:372 -#: inc/list-tables/class-product-list-table.php:313 -#: inc/models/class-checkout-form.php:545 -#: inc/models/class-checkout-form.php:1374 -msgid "Plans" -msgstr "" - -#: inc/compat/class-login-wp-compat.php:45 -msgid "Error: Incorrect username or password." -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:263 -#: inc/compat/class-multiple-accounts-compat.php:291 -msgid "Multiple Accounts" -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:264 -msgid "Options related to the Multiple Accounts feature." -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:273 -msgid "Enable Multiple Accounts" -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:274 -msgid "Allow users to have accounts in different sites with the same email address. This is useful when running stores with WooCommerce and other plugins, for example." -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:274 -#: views/base/products/grid-item.php:70 -#: views/wizards/setup/requirements_table.php:39 -#: views/wizards/setup/requirements_table.php:76 -msgid "Read More" -msgstr "" - -#. translators: the %d is the account count for that email address. -#: inc/compat/class-multiple-accounts-compat.php:323 -#, php-format -msgid "%s accounts using this email." -msgstr "" - -#: inc/compat/class-multiple-accounts-compat.php:324 -msgid "See all" -msgstr "" - -#: inc/country/class-country-br.php:93 -#: inc/functions/countries.php:55 -msgid "Brazil" -msgstr "" - -#: inc/country/class-country-br.php:105 -msgid "Acre" -msgstr "" - -#: inc/country/class-country-br.php:106 -msgid "Alagoas" -msgstr "" - -#: inc/country/class-country-br.php:107 -msgid "Amapá" -msgstr "" - -#: inc/country/class-country-br.php:108 -msgid "Amazonas" -msgstr "" - -#: inc/country/class-country-br.php:109 -msgid "Bahia" -msgstr "" - -#: inc/country/class-country-br.php:110 -msgid "Ceará" -msgstr "" - -#: inc/country/class-country-br.php:111 -msgid "Distrito Federal" -msgstr "" - -#: inc/country/class-country-br.php:112 -msgid "Espírito Santo" -msgstr "" - -#: inc/country/class-country-br.php:113 -msgid "Goiás" -msgstr "" - -#: inc/country/class-country-br.php:114 -msgid "Maranhão" -msgstr "" - -#: inc/country/class-country-br.php:115 -msgid "Mato Grosso" -msgstr "" - -#: inc/country/class-country-br.php:116 -msgid "Mato Grosso do Sul" -msgstr "" - -#: inc/country/class-country-br.php:117 -msgid "Minas Gerais" -msgstr "" - -#: inc/country/class-country-br.php:118 -msgid "Paraná" -msgstr "" - -#: inc/country/class-country-br.php:119 -msgid "Paraíba" -msgstr "" - -#: inc/country/class-country-br.php:120 -msgid "Pará" -msgstr "" - -#: inc/country/class-country-br.php:121 -msgid "Pernambuco" -msgstr "" - -#: inc/country/class-country-br.php:122 -msgid "Piauí" -msgstr "" - -#: inc/country/class-country-br.php:123 -msgid "Rio Grande do Norte" -msgstr "" - -#: inc/country/class-country-br.php:124 -msgid "Rio Grande do Sul" -msgstr "" - -#: inc/country/class-country-br.php:125 -msgid "Rio de Janeiro" -msgstr "" - -#: inc/country/class-country-br.php:126 -msgid "Rondônia" -msgstr "" - -#: inc/country/class-country-br.php:127 -msgid "Roraima" -msgstr "" - -#: inc/country/class-country-br.php:128 -msgid "Santa Catarina" -msgstr "" - -#: inc/country/class-country-br.php:129 -msgid "Sergipe" -msgstr "" - -#: inc/country/class-country-br.php:130 -msgid "São Paulo" -msgstr "" - -#: inc/country/class-country-br.php:131 -msgid "Tocantins" -msgstr "" - -#: inc/country/class-country-ca.php:79 -#: inc/functions/countries.php:64 -msgid "Canada" -msgstr "" - -#: inc/country/class-country-ca.php:91 -msgid "Alberta" -msgstr "" - -#: inc/country/class-country-ca.php:92 -msgid "British Columbia" -msgstr "" - -#: inc/country/class-country-ca.php:93 -msgid "Manitoba" -msgstr "" - -#: inc/country/class-country-ca.php:94 -msgid "New Brunswick" -msgstr "" - -#: inc/country/class-country-ca.php:95 -msgid "Newfoundland and Labrador" -msgstr "" - -#: inc/country/class-country-ca.php:96 -msgid "Northwest Territories" -msgstr "" - -#: inc/country/class-country-ca.php:97 -msgid "Nova Scotia" -msgstr "" - -#: inc/country/class-country-ca.php:98 -msgid "Nunavut" -msgstr "" - -#: inc/country/class-country-ca.php:99 -msgid "Ontario" -msgstr "" - -#: inc/country/class-country-ca.php:100 -msgid "Prince Edward Island" -msgstr "" - -#: inc/country/class-country-ca.php:101 -msgid "Quebec" -msgstr "" - -#: inc/country/class-country-ca.php:102 -msgid "Saskatchewan" -msgstr "" - -#: inc/country/class-country-ca.php:103 -msgid "Yukon" -msgstr "" - -#: inc/country/class-country-cn.php:98 -#: inc/functions/countries.php:70 -msgid "China" -msgstr "" - -#: inc/country/class-country-cn.php:110 -msgid "Anhui" -msgstr "" - -#: inc/country/class-country-cn.php:111 -msgid "Beijing" -msgstr "" - -#: inc/country/class-country-cn.php:112 -msgid "Chongqing" -msgstr "" - -#: inc/country/class-country-cn.php:113 -msgid "Fujian" -msgstr "" - -#: inc/country/class-country-cn.php:114 -msgid "Gansu" -msgstr "" - -#: inc/country/class-country-cn.php:115 -msgid "Guangdong" -msgstr "" - -#: inc/country/class-country-cn.php:116 -msgid "Guangxi Zhuang" -msgstr "" - -#: inc/country/class-country-cn.php:117 -msgid "Guizhou" -msgstr "" - -#: inc/country/class-country-cn.php:118 -msgid "Hainan" -msgstr "" - -#: inc/country/class-country-cn.php:119 -msgid "Hebei" -msgstr "" - -#: inc/country/class-country-cn.php:120 -msgid "Heilongjiang" -msgstr "" - -#: inc/country/class-country-cn.php:121 -msgid "Henan" -msgstr "" - -#: inc/country/class-country-cn.php:122 -msgid "Hong Kong SAR" -msgstr "" - -#: inc/country/class-country-cn.php:123 -msgid "Hubei" -msgstr "" - -#: inc/country/class-country-cn.php:124 -msgid "Hunan" -msgstr "" - -#: inc/country/class-country-cn.php:125 -msgid "Inner Mongolia" -msgstr "" - -#: inc/country/class-country-cn.php:126 -msgid "Jiangsu" -msgstr "" - -#: inc/country/class-country-cn.php:127 -msgid "Jiangxi" -msgstr "" - -#: inc/country/class-country-cn.php:128 -msgid "Jilin" -msgstr "" - -#: inc/country/class-country-cn.php:129 -msgid "Liaoning" -msgstr "" - -#: inc/country/class-country-cn.php:130 -msgid "Macau SAR" -msgstr "" - -#: inc/country/class-country-cn.php:131 -msgid "Ningxia Huizu" -msgstr "" - -#: inc/country/class-country-cn.php:132 -msgid "Qinghai" -msgstr "" - -#: inc/country/class-country-cn.php:133 -msgid "Shaanxi" -msgstr "" - -#: inc/country/class-country-cn.php:134 -msgid "Shandong" -msgstr "" - -#: inc/country/class-country-cn.php:135 -msgid "Shanghai" -msgstr "" - -#: inc/country/class-country-cn.php:136 -msgid "Shanxi" -msgstr "" - -#: inc/country/class-country-cn.php:137 -msgid "Sichuan" -msgstr "" - -#: inc/country/class-country-cn.php:138 -#: inc/functions/countries.php:239 -msgid "Taiwan" -msgstr "" - -#: inc/country/class-country-cn.php:139 -msgid "Tianjin" -msgstr "" - -#: inc/country/class-country-cn.php:140 -msgid "Xinjiang" -msgstr "" - -#: inc/country/class-country-cn.php:141 -msgid "Xizang" -msgstr "" - -#: inc/country/class-country-cn.php:142 -msgid "Yunnan" -msgstr "" - -#: inc/country/class-country-cn.php:143 -msgid "Zhejiang" -msgstr "" - -#: inc/country/class-country-de.php:82 -#: inc/functions/countries.php:106 -msgid "Germany" -msgstr "" - -#: inc/country/class-country-de.php:94 -msgid "Baden-Württemberg" -msgstr "" - -#: inc/country/class-country-de.php:95 -msgid "Bavaria" -msgstr "" - -#: inc/country/class-country-de.php:96 -msgid "Berlin" -msgstr "" - -#: inc/country/class-country-de.php:97 -msgid "Brandenburg" -msgstr "" - -#: inc/country/class-country-de.php:98 -msgid "Bremen" -msgstr "" - -#: inc/country/class-country-de.php:99 -msgid "Hamburg" -msgstr "" - -#: inc/country/class-country-de.php:100 -msgid "Hesse" -msgstr "" - -#: inc/country/class-country-de.php:101 -msgid "Lower Saxony" -msgstr "" - -#: inc/country/class-country-de.php:102 -msgid "Mecklenburg-Vorpommern" -msgstr "" - -#: inc/country/class-country-de.php:103 -msgid "North Rhine-Westphalia" -msgstr "" - -#: inc/country/class-country-de.php:104 -msgid "Rhineland-Palatinate" -msgstr "" - -#: inc/country/class-country-de.php:105 -msgid "Saarland" -msgstr "" - -#: inc/country/class-country-de.php:106 -msgid "Saxony" -msgstr "" - -#: inc/country/class-country-de.php:107 -msgid "Saxony-Anhalt" -msgstr "" - -#: inc/country/class-country-de.php:108 -msgid "Schleswig-Holstein" -msgstr "" - -#: inc/country/class-country-de.php:109 -msgid "Thuringia" -msgstr "" - -#: inc/country/class-country-es.php:84 -#: inc/functions/countries.php:230 -msgid "Spain" -msgstr "" - -#: inc/country/class-country-es.php:96 -msgid "Andalusia" -msgstr "" - -#: inc/country/class-country-es.php:97 -msgid "Aragon" -msgstr "" - -#: inc/country/class-country-es.php:98 -msgid "Asturias" -msgstr "" - -#: inc/country/class-country-es.php:99 -msgid "Balearic Islands" -msgstr "" - -#: inc/country/class-country-es.php:100 -msgid "Basque Country" -msgstr "" - -#: inc/country/class-country-es.php:101 -msgid "Burgos Province" -msgstr "" - -#: inc/country/class-country-es.php:102 -msgid "Canary Islands" -msgstr "" - -#: inc/country/class-country-es.php:103 -msgid "Cantabria" -msgstr "" - -#: inc/country/class-country-es.php:104 -msgid "Castile and León" -msgstr "" - -#: inc/country/class-country-es.php:105 -msgid "Castilla La Mancha" -msgstr "" - -#: inc/country/class-country-es.php:106 -msgid "Catalonia" -msgstr "" - -#: inc/country/class-country-es.php:107 -msgid "Ceuta" -msgstr "" - -#: inc/country/class-country-es.php:108 -msgid "Extremadura" -msgstr "" - -#: inc/country/class-country-es.php:109 -msgid "Galicia" -msgstr "" - -#: inc/country/class-country-es.php:110 -msgid "La Rioja" -msgstr "" - -#: inc/country/class-country-es.php:111 -msgid "Léon" -msgstr "" - -#: inc/country/class-country-es.php:112 -msgid "Madrid" -msgstr "" - -#: inc/country/class-country-es.php:113 -msgid "Melilla" -msgstr "" - -#: inc/country/class-country-es.php:114 -msgid "Murcia" -msgstr "" - -#: inc/country/class-country-es.php:115 -msgid "Navarra" -msgstr "" - -#: inc/country/class-country-es.php:116 -msgid "Palencia Province" -msgstr "" - -#: inc/country/class-country-es.php:117 -msgid "Salamanca Province" -msgstr "" - -#: inc/country/class-country-es.php:118 -msgid "Segovia Province" -msgstr "" - -#: inc/country/class-country-es.php:119 -msgid "Soria Province" -msgstr "" - -#: inc/country/class-country-es.php:120 -msgid "Valencia" -msgstr "" - -#: inc/country/class-country-es.php:121 -msgid "Valladolid Province" -msgstr "" - -#: inc/country/class-country-es.php:122 -msgid "Zamora Province" -msgstr "" - -#: inc/country/class-country-es.php:123 -msgid "Ávila" -msgstr "" - -#: inc/country/class-country-fr.php:79 -#: inc/functions/countries.php:99 -msgid "France" -msgstr "" - -#: inc/country/class-country-fr.php:91 -msgid "Aube" -msgstr "" - -#: inc/country/class-country-fr.php:92 -msgid "Aude" -msgstr "" - -#: inc/country/class-country-fr.php:93 -msgid "Aveyron" -msgstr "" - -#: inc/country/class-country-fr.php:94 -msgid "Bouches-du-Rhône" -msgstr "" - -#: inc/country/class-country-fr.php:95 -msgid "Calvados" -msgstr "" - -#: inc/country/class-country-fr.php:96 -msgid "Cantal" -msgstr "" - -#: inc/country/class-country-fr.php:97 -msgid "Charente" -msgstr "" - -#: inc/country/class-country-fr.php:98 -msgid "Charente-Maritime" -msgstr "" - -#: inc/country/class-country-fr.php:99 -msgid "Cher" -msgstr "" - -#: inc/country/class-country-fr.php:100 -msgid "Corrèze" -msgstr "" - -#: inc/country/class-country-fr.php:101 -msgid "Côte-d'Or" -msgstr "" - -#: inc/country/class-country-fr.php:102 -msgid "Côtes-d'Armor" -msgstr "" - -#: inc/country/class-country-fr.php:103 -msgid "Creuse" -msgstr "" - -#: inc/country/class-country-fr.php:104 -msgid "Dordogne" -msgstr "" - -#: inc/country/class-country-fr.php:105 -msgid "Doubs" -msgstr "" - -#: inc/country/class-country-fr.php:106 -msgid "Drôme" -msgstr "" - -#: inc/country/class-country-fr.php:107 -msgid "Eure" -msgstr "" - -#: inc/country/class-country-fr.php:108 -msgid "Eure-et-Loir" -msgstr "" - -#: inc/country/class-country-fr.php:109 -msgid "Finistère" -msgstr "" - -#: inc/country/class-country-fr.php:110 -msgid "Gard" -msgstr "" - -#: inc/country/class-country-fr.php:111 -msgid "Haute-Garonne" -msgstr "" - -#: inc/country/class-country-fr.php:112 -msgid "Gers" -msgstr "" - -#: inc/country/class-country-fr.php:113 -msgid "Gironde" -msgstr "" - -#: inc/country/class-country-fr.php:114 -msgid "Hérault" -msgstr "" - -#: inc/country/class-country-fr.php:115 -msgid "Ille-et-Vilaine" -msgstr "" - -#: inc/country/class-country-fr.php:116 -msgid "Indre" -msgstr "" - -#: inc/country/class-country-fr.php:117 -msgid "Indre-et-Loire" -msgstr "" - -#: inc/country/class-country-fr.php:118 -msgid "Isère" -msgstr "" - -#: inc/country/class-country-fr.php:119 -msgid "Jura" -msgstr "" - -#: inc/country/class-country-fr.php:120 -msgid "Landes" -msgstr "" - -#: inc/country/class-country-fr.php:121 -msgid "Loir-et-Cher" -msgstr "" - -#: inc/country/class-country-fr.php:122 -msgid "Loire" -msgstr "" - -#: inc/country/class-country-fr.php:123 -msgid "Haute-Loire" -msgstr "" - -#: inc/country/class-country-fr.php:124 -msgid "Loire-Atlantique" -msgstr "" - -#: inc/country/class-country-fr.php:125 -msgid "Loiret" -msgstr "" - -#: inc/country/class-country-fr.php:126 -msgid "Lot" -msgstr "" - -#: inc/country/class-country-fr.php:127 -msgid "Lot-et-Garonne" -msgstr "" - -#: inc/country/class-country-fr.php:128 -msgid "Lozère" -msgstr "" - -#: inc/country/class-country-fr.php:129 -msgid "Maine-et-Loire" -msgstr "" - -#: inc/country/class-country-fr.php:130 -msgid "Manche" -msgstr "" - -#: inc/country/class-country-fr.php:131 -msgid "Marne" -msgstr "" - -#: inc/country/class-country-fr.php:132 -msgid "Haute-Marne" -msgstr "" - -#: inc/country/class-country-fr.php:133 -msgid "Mayenne" -msgstr "" - -#: inc/country/class-country-fr.php:134 -msgid "Meurthe-et-Moselle" -msgstr "" - -#: inc/country/class-country-fr.php:135 -msgid "Meuse" -msgstr "" - -#: inc/country/class-country-fr.php:136 -msgid "Morbihan" -msgstr "" - -#: inc/country/class-country-fr.php:137 -msgid "Moselle" -msgstr "" - -#: inc/country/class-country-fr.php:138 -msgid "Nièvre" -msgstr "" - -#: inc/country/class-country-fr.php:139 -msgid "Nord" -msgstr "" - -#: inc/country/class-country-fr.php:140 -msgid "Oise" -msgstr "" - -#: inc/country/class-country-fr.php:141 -msgid "Orne" -msgstr "" - -#: inc/country/class-country-fr.php:142 -msgid "Pas-de-Calais" -msgstr "" - -#: inc/country/class-country-fr.php:143 -msgid "Puy-de-Dôme" -msgstr "" - -#: inc/country/class-country-fr.php:144 -msgid "Pyrénées-Atlantiques" -msgstr "" - -#: inc/country/class-country-fr.php:145 -msgid "Hautes-Pyrénées" -msgstr "" - -#: inc/country/class-country-fr.php:146 -msgid "Pyrénées-Orientales" -msgstr "" - -#: inc/country/class-country-fr.php:147 -msgid "Bas-Rhin" -msgstr "" - -#: inc/country/class-country-fr.php:148 -msgid "Haut-Rhin" -msgstr "" - -#: inc/country/class-country-fr.php:149 -msgid "Rhône" -msgstr "" - -#: inc/country/class-country-fr.php:150 -msgid "Haute-Saône" -msgstr "" - -#: inc/country/class-country-fr.php:151 -msgid "Saône-et-Loire" -msgstr "" - -#: inc/country/class-country-fr.php:152 -msgid "Sarthe" -msgstr "" - -#: inc/country/class-country-fr.php:153 -msgid "Savoie" -msgstr "" - -#: inc/country/class-country-fr.php:154 -msgid "Haute-Savoie" -msgstr "" - -#: inc/country/class-country-fr.php:155 -msgid "Seine-Maritime" -msgstr "" - -#: inc/country/class-country-fr.php:156 -msgid "Seine-et-Marne" -msgstr "" - -#: inc/country/class-country-fr.php:157 -msgid "Yvelines" -msgstr "" - -#: inc/country/class-country-fr.php:158 -msgid "Deux-Sèvres" -msgstr "" - -#: inc/country/class-country-fr.php:159 -msgid "Somme" -msgstr "" - -#: inc/country/class-country-fr.php:160 -msgid "Tarn" -msgstr "" - -#: inc/country/class-country-fr.php:161 -msgid "Tarn-et-Garonne" -msgstr "" - -#: inc/country/class-country-fr.php:162 -msgid "Var" -msgstr "" - -#: inc/country/class-country-fr.php:163 -msgid "Vaucluse" -msgstr "" - -#: inc/country/class-country-fr.php:164 -msgid "Vendée" -msgstr "" - -#: inc/country/class-country-fr.php:165 -msgid "Vienne" -msgstr "" - -#: inc/country/class-country-fr.php:166 -msgid "Haute-Vienne" -msgstr "" - -#: inc/country/class-country-fr.php:167 -msgid "Vosges" -msgstr "" - -#: inc/country/class-country-fr.php:168 -msgid "Yonne" -msgstr "" - -#: inc/country/class-country-fr.php:169 -msgid "Territoire de Belfort" -msgstr "" - -#: inc/country/class-country-fr.php:170 -msgid "Essonne" -msgstr "" - -#: inc/country/class-country-fr.php:171 -msgid "Hauts-de-Seine" -msgstr "" - -#: inc/country/class-country-fr.php:172 -msgid "Seine-Saint-Denis" -msgstr "" - -#: inc/country/class-country-fr.php:173 -msgid "Val-de-Marne" -msgstr "" - -#: inc/country/class-country-fr.php:174 -msgid "Val-d'Oise" -msgstr "" - -#: inc/country/class-country-fr.php:175 -#: inc/functions/countries.php:112 -msgid "Guadeloupe" -msgstr "" - -#: inc/country/class-country-fr.php:176 -#: inc/functions/countries.php:161 -msgid "Martinique" -msgstr "" - -#: inc/country/class-country-fr.php:177 -#: inc/functions/countries.php:100 -msgid "French Guiana" -msgstr "" - -#: inc/country/class-country-fr.php:178 -msgid "La Réunion" -msgstr "" - -#: inc/country/class-country-fr.php:179 -#: inc/functions/countries.php:164 -msgid "Mayotte" -msgstr "" - -#: inc/country/class-country-fr.php:180 -msgid "Ain" -msgstr "" - -#: inc/country/class-country-fr.php:181 -msgid "Aisne" -msgstr "" - -#: inc/country/class-country-fr.php:182 -msgid "Allier" -msgstr "" - -#: inc/country/class-country-fr.php:183 -msgid "Alpes-Maritimes" -msgstr "" - -#: inc/country/class-country-fr.php:184 -msgid "Alpes-de-Haute-Provence" -msgstr "" - -#: inc/country/class-country-fr.php:185 -msgid "Alsace" -msgstr "" - -#: inc/country/class-country-fr.php:186 -msgid "Ardennes" -msgstr "" - -#: inc/country/class-country-fr.php:187 -msgid "Ardèche" -msgstr "" - -#: inc/country/class-country-fr.php:188 -msgid "Ariège" -msgstr "" - -#: inc/country/class-country-fr.php:189 -msgid "Auvergne-Rhône-Alpes" -msgstr "" - -#: inc/country/class-country-fr.php:190 -msgid "Bourgogne-Franche-Comté" -msgstr "" - -#: inc/country/class-country-fr.php:191 -msgid "Bretagne" -msgstr "" - -#: inc/country/class-country-fr.php:192 -msgid "Centre-Val de Loire" -msgstr "" - -#: inc/country/class-country-fr.php:193 -msgid "Clipperton" -msgstr "" - -#: inc/country/class-country-fr.php:194 -msgid "Corse" -msgstr "" - -#: inc/country/class-country-fr.php:195 -msgid "Corse-du-Sud" -msgstr "" - -#: inc/country/class-country-fr.php:196 -#: inc/functions/countries.php:101 -msgid "French Polynesia" -msgstr "" - -#: inc/country/class-country-fr.php:197 -msgid "French Southern and Antarctic Lands" -msgstr "" - -#: inc/country/class-country-fr.php:198 -msgid "Grand-Est" -msgstr "" - -#: inc/country/class-country-fr.php:199 -msgid "Haute-Corse" -msgstr "" - -#: inc/country/class-country-fr.php:200 -msgid "Hautes-Alpes" -msgstr "" - -#: inc/country/class-country-fr.php:201 -msgid "Hauts-de-France" -msgstr "" - -#: inc/country/class-country-fr.php:202 -msgid "Métropole de Lyon" -msgstr "" - -#: inc/country/class-country-fr.php:203 -msgid "Normandie" -msgstr "" - -#: inc/country/class-country-fr.php:204 -msgid "Nouvelle-Aquitaine" -msgstr "" - -#: inc/country/class-country-fr.php:205 -msgid "Occitanie" -msgstr "" - -#: inc/country/class-country-fr.php:206 -msgid "Paris" -msgstr "" - -#: inc/country/class-country-fr.php:207 -msgid "Pays-de-la-Loire" -msgstr "" - -#: inc/country/class-country-fr.php:208 -msgid "Provence-Alpes-Côte-d’Azur" -msgstr "" - -#: inc/country/class-country-fr.php:209 -#: inc/functions/countries.php:212 -msgid "Saint Pierre and Miquelon" -msgstr "" - -#: inc/country/class-country-fr.php:210 -msgid "Saint-Barthélemy" -msgstr "" - -#: inc/country/class-country-fr.php:211 -msgid "Saint-Martin" -msgstr "" - -#: inc/country/class-country-fr.php:212 -#: inc/functions/countries.php:266 -msgid "Wallis and Futuna" -msgstr "" - -#: inc/country/class-country-fr.php:213 -msgid "Île-de-France" -msgstr "" - -#: inc/country/class-country-gb.php:70 -#: inc/country/class-country-gb.php:312 -msgid "United Kingdom" -msgstr "" - -#: inc/country/class-country-gb.php:82 -msgid "Aberdeen" -msgstr "" - -#: inc/country/class-country-gb.php:83 -msgid "Aberdeenshire" -msgstr "" - -#: inc/country/class-country-gb.php:84 -msgid "Angus" -msgstr "" - -#: inc/country/class-country-gb.php:85 -msgid "Antrim" -msgstr "" - -#: inc/country/class-country-gb.php:86 -msgid "Antrim and Newtownabbey" -msgstr "" - -#: inc/country/class-country-gb.php:87 -msgid "Ards" -msgstr "" - -#: inc/country/class-country-gb.php:88 -msgid "Ards and North Down" -msgstr "" - -#: inc/country/class-country-gb.php:89 -msgid "Argyll and Bute" -msgstr "" - -#: inc/country/class-country-gb.php:90 -msgid "Armagh City and District Council" -msgstr "" - -#: inc/country/class-country-gb.php:91 -msgid "Armagh, Banbridge and Craigavon" -msgstr "" - -#: inc/country/class-country-gb.php:92 -msgid "Ascension Island" -msgstr "" - -#: inc/country/class-country-gb.php:93 -msgid "Ballymena Borough" -msgstr "" - -#: inc/country/class-country-gb.php:94 -msgid "Ballymoney" -msgstr "" - -#: inc/country/class-country-gb.php:95 -msgid "Banbridge" -msgstr "" - -#: inc/country/class-country-gb.php:96 -msgid "Barnsley" -msgstr "" - -#: inc/country/class-country-gb.php:97 -msgid "Bath and North East Somerset" -msgstr "" - -#: inc/country/class-country-gb.php:98 -msgid "Bedford" -msgstr "" - -#: inc/country/class-country-gb.php:99 -msgid "Belfast district" -msgstr "" - -#: inc/country/class-country-gb.php:100 -msgid "Birmingham" -msgstr "" - -#: inc/country/class-country-gb.php:101 -msgid "Blackburn with Darwen" -msgstr "" - -#: inc/country/class-country-gb.php:102 -msgid "Blackpool" -msgstr "" - -#: inc/country/class-country-gb.php:103 -msgid "Blaenau Gwent County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:104 -msgid "Bolton" -msgstr "" - -#: inc/country/class-country-gb.php:105 -msgid "Bournemouth" -msgstr "" - -#: inc/country/class-country-gb.php:106 -msgid "Bracknell Forest" -msgstr "" - -#: inc/country/class-country-gb.php:107 -msgid "Bradford" -msgstr "" - -#: inc/country/class-country-gb.php:108 -msgid "Bridgend County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:109 -msgid "Brighton and Hove" -msgstr "" - -#: inc/country/class-country-gb.php:110 -msgid "Buckinghamshire" -msgstr "" - -#: inc/country/class-country-gb.php:111 -msgid "Bury" -msgstr "" - -#: inc/country/class-country-gb.php:112 -msgid "Caerphilly County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:113 -msgid "Calderdale" -msgstr "" - -#: inc/country/class-country-gb.php:114 -msgid "Cambridgeshire" -msgstr "" - -#: inc/country/class-country-gb.php:115 -msgid "Carmarthenshire" -msgstr "" - -#: inc/country/class-country-gb.php:116 -msgid "Carrickfergus Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:117 -msgid "Castlereagh" -msgstr "" - -#: inc/country/class-country-gb.php:118 -msgid "Causeway Coast and Glens" -msgstr "" - -#: inc/country/class-country-gb.php:119 -msgid "Central Bedfordshire" -msgstr "" - -#: inc/country/class-country-gb.php:120 -msgid "Ceredigion" -msgstr "" - -#: inc/country/class-country-gb.php:121 -msgid "Cheshire East" -msgstr "" - -#: inc/country/class-country-gb.php:122 -msgid "Cheshire West and Chester" -msgstr "" - -#: inc/country/class-country-gb.php:123 -msgid "City and County of Cardiff" -msgstr "" - -#: inc/country/class-country-gb.php:124 -msgid "City and County of Swansea" -msgstr "" - -#: inc/country/class-country-gb.php:125 -msgid "City of Bristol" -msgstr "" - -#: inc/country/class-country-gb.php:126 -msgid "City of Derby" -msgstr "" - -#: inc/country/class-country-gb.php:127 -msgid "City of Kingston upon Hull" -msgstr "" - -#: inc/country/class-country-gb.php:128 -msgid "City of Leicester" -msgstr "" - -#: inc/country/class-country-gb.php:129 -msgid "City of London" -msgstr "" - -#: inc/country/class-country-gb.php:130 -msgid "City of Nottingham" -msgstr "" - -#: inc/country/class-country-gb.php:131 -msgid "City of Peterborough" -msgstr "" - -#: inc/country/class-country-gb.php:132 -msgid "City of Plymouth" -msgstr "" - -#: inc/country/class-country-gb.php:133 -msgid "City of Portsmouth" -msgstr "" - -#: inc/country/class-country-gb.php:134 -msgid "City of Southampton" -msgstr "" - -#: inc/country/class-country-gb.php:135 -msgid "City of Stoke-on-Trent" -msgstr "" - -#: inc/country/class-country-gb.php:136 -msgid "City of Sunderland" -msgstr "" - -#: inc/country/class-country-gb.php:137 -msgid "City of Westminster" -msgstr "" - -#: inc/country/class-country-gb.php:138 -msgid "City of Wolverhampton" -msgstr "" - -#: inc/country/class-country-gb.php:139 -msgid "City of York" -msgstr "" - -#: inc/country/class-country-gb.php:140 -msgid "Clackmannanshire" -msgstr "" - -#: inc/country/class-country-gb.php:141 -msgid "Coleraine Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:142 -msgid "Conwy County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:143 -msgid "Cookstown District Council" -msgstr "" - -#: inc/country/class-country-gb.php:144 -msgid "Cornwall" -msgstr "" - -#: inc/country/class-country-gb.php:145 -msgid "County Durham" -msgstr "" - -#: inc/country/class-country-gb.php:146 -msgid "Coventry" -msgstr "" - -#: inc/country/class-country-gb.php:147 -msgid "Craigavon Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:148 -msgid "Cumbria" -msgstr "" - -#: inc/country/class-country-gb.php:149 -msgid "Darlington" -msgstr "" - -#: inc/country/class-country-gb.php:150 -msgid "Denbighshire" -msgstr "" - -#: inc/country/class-country-gb.php:151 -msgid "Derbyshire" -msgstr "" - -#: inc/country/class-country-gb.php:152 -msgid "Derry City Council" -msgstr "" - -#: inc/country/class-country-gb.php:153 -msgid "Derry City and Strabane" -msgstr "" - -#: inc/country/class-country-gb.php:154 -msgid "Devon" -msgstr "" - -#: inc/country/class-country-gb.php:155 -msgid "Doncaster" -msgstr "" - -#: inc/country/class-country-gb.php:156 -msgid "Dorset" -msgstr "" - -#: inc/country/class-country-gb.php:157 -msgid "Down District Council" -msgstr "" - -#: inc/country/class-country-gb.php:158 -msgid "Dudley" -msgstr "" - -#: inc/country/class-country-gb.php:159 -msgid "Dumfries and Galloway" -msgstr "" - -#: inc/country/class-country-gb.php:160 -msgid "Dundee" -msgstr "" - -#: inc/country/class-country-gb.php:161 -msgid "Dungannon and South Tyrone Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:162 -msgid "East Ayrshire" -msgstr "" - -#: inc/country/class-country-gb.php:163 -msgid "East Dunbartonshire" -msgstr "" - -#: inc/country/class-country-gb.php:164 -msgid "East Lothian" -msgstr "" - -#: inc/country/class-country-gb.php:165 -msgid "East Renfrewshire" -msgstr "" - -#: inc/country/class-country-gb.php:166 -msgid "East Riding of Yorkshire" -msgstr "" - -#: inc/country/class-country-gb.php:167 -msgid "East Sussex" -msgstr "" - -#: inc/country/class-country-gb.php:168 -msgid "Edinburgh" -msgstr "" - -#: inc/country/class-country-gb.php:169 -msgid "England" -msgstr "" - -#: inc/country/class-country-gb.php:170 -msgid "Essex" -msgstr "" - -#: inc/country/class-country-gb.php:171 -msgid "Falkirk" -msgstr "" - -#: inc/country/class-country-gb.php:172 -msgid "Fermanagh District Council" -msgstr "" - -#: inc/country/class-country-gb.php:173 -msgid "Fermanagh and Omagh" -msgstr "" - -#: inc/country/class-country-gb.php:174 -msgid "Fife" -msgstr "" - -#: inc/country/class-country-gb.php:175 -msgid "Flintshire" -msgstr "" - -#: inc/country/class-country-gb.php:176 -msgid "Gateshead" -msgstr "" - -#: inc/country/class-country-gb.php:177 -msgid "Glasgow" -msgstr "" - -#: inc/country/class-country-gb.php:178 -msgid "Gloucestershire" -msgstr "" - -#: inc/country/class-country-gb.php:179 -msgid "Gwynedd" -msgstr "" - -#: inc/country/class-country-gb.php:180 -msgid "Halton" -msgstr "" - -#: inc/country/class-country-gb.php:181 -msgid "Hampshire" -msgstr "" - -#: inc/country/class-country-gb.php:182 -msgid "Hartlepool" -msgstr "" - -#: inc/country/class-country-gb.php:183 -msgid "Herefordshire" -msgstr "" - -#: inc/country/class-country-gb.php:184 -msgid "Hertfordshire" -msgstr "" - -#: inc/country/class-country-gb.php:185 -msgid "Highland" -msgstr "" - -#: inc/country/class-country-gb.php:186 -msgid "Inverclyde" -msgstr "" - -#: inc/country/class-country-gb.php:187 -msgid "Isle of Wight" -msgstr "" - -#: inc/country/class-country-gb.php:188 -msgid "Isles of Scilly" -msgstr "" - -#: inc/country/class-country-gb.php:189 -msgid "Kent" -msgstr "" - -#: inc/country/class-country-gb.php:190 -msgid "Kirklees" -msgstr "" - -#: inc/country/class-country-gb.php:191 -msgid "Knowsley" -msgstr "" - -#: inc/country/class-country-gb.php:192 -msgid "Lancashire" -msgstr "" - -#: inc/country/class-country-gb.php:193 -msgid "Larne Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:194 -msgid "Leeds" -msgstr "" - -#: inc/country/class-country-gb.php:195 -msgid "Leicestershire" -msgstr "" - -#: inc/country/class-country-gb.php:196 -msgid "Limavady Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:197 -msgid "Lincolnshire" -msgstr "" - -#: inc/country/class-country-gb.php:198 -msgid "Lisburn City Council" -msgstr "" - -#: inc/country/class-country-gb.php:199 -msgid "Lisburn and Castlereagh" -msgstr "" - -#: inc/country/class-country-gb.php:200 -msgid "Liverpool" -msgstr "" - -#: inc/country/class-country-gb.php:201 -msgid "London Borough of Barking and Dagenham" -msgstr "" - -#: inc/country/class-country-gb.php:202 -msgid "London Borough of Barnet" -msgstr "" - -#: inc/country/class-country-gb.php:203 -msgid "London Borough of Bexley" -msgstr "" - -#: inc/country/class-country-gb.php:204 -msgid "London Borough of Brent" -msgstr "" - -#: inc/country/class-country-gb.php:205 -msgid "London Borough of Bromley" -msgstr "" - -#: inc/country/class-country-gb.php:206 -msgid "London Borough of Camden" -msgstr "" - -#: inc/country/class-country-gb.php:207 -msgid "London Borough of Croydon" -msgstr "" - -#: inc/country/class-country-gb.php:208 -msgid "London Borough of Ealing" -msgstr "" - -#: inc/country/class-country-gb.php:209 -msgid "London Borough of Enfield" -msgstr "" - -#: inc/country/class-country-gb.php:210 -msgid "London Borough of Hackney" -msgstr "" - -#: inc/country/class-country-gb.php:211 -msgid "London Borough of Hammersmith and Fulham" -msgstr "" - -#: inc/country/class-country-gb.php:212 -msgid "London Borough of Haringey" -msgstr "" - -#: inc/country/class-country-gb.php:213 -msgid "London Borough of Harrow" -msgstr "" - -#: inc/country/class-country-gb.php:214 -msgid "London Borough of Havering" -msgstr "" - -#: inc/country/class-country-gb.php:215 -msgid "London Borough of Hillingdon" -msgstr "" - -#: inc/country/class-country-gb.php:216 -msgid "London Borough of Hounslow" -msgstr "" - -#: inc/country/class-country-gb.php:217 -msgid "London Borough of Islington" -msgstr "" - -#: inc/country/class-country-gb.php:218 -msgid "London Borough of Lambeth" -msgstr "" - -#: inc/country/class-country-gb.php:219 -msgid "London Borough of Lewisham" -msgstr "" - -#: inc/country/class-country-gb.php:220 -msgid "London Borough of Merton" -msgstr "" - -#: inc/country/class-country-gb.php:221 -msgid "London Borough of Newham" -msgstr "" - -#: inc/country/class-country-gb.php:222 -msgid "London Borough of Redbridge" -msgstr "" - -#: inc/country/class-country-gb.php:223 -msgid "London Borough of Richmond upon Thames" -msgstr "" - -#: inc/country/class-country-gb.php:224 -msgid "London Borough of Southwark" -msgstr "" - -#: inc/country/class-country-gb.php:225 -msgid "London Borough of Sutton" -msgstr "" - -#: inc/country/class-country-gb.php:226 -msgid "London Borough of Tower Hamlets" -msgstr "" - -#: inc/country/class-country-gb.php:227 -msgid "London Borough of Waltham Forest" -msgstr "" - -#: inc/country/class-country-gb.php:228 -msgid "London Borough of Wandsworth" -msgstr "" - -#: inc/country/class-country-gb.php:229 -msgid "Magherafelt District Council" -msgstr "" - -#: inc/country/class-country-gb.php:230 -msgid "Manchester" -msgstr "" - -#: inc/country/class-country-gb.php:231 -msgid "Medway" -msgstr "" - -#: inc/country/class-country-gb.php:232 -msgid "Merthyr Tydfil County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:233 -msgid "Metropolitan Borough of Wigan" -msgstr "" - -#: inc/country/class-country-gb.php:234 -msgid "Mid Ulster" -msgstr "" - -#: inc/country/class-country-gb.php:235 -msgid "Mid and East Antrim" -msgstr "" - -#: inc/country/class-country-gb.php:236 -msgid "Middlesbrough" -msgstr "" - -#: inc/country/class-country-gb.php:237 -msgid "Midlothian" -msgstr "" - -#: inc/country/class-country-gb.php:238 -msgid "Milton Keynes" -msgstr "" - -#: inc/country/class-country-gb.php:239 -msgid "Monmouthshire" -msgstr "" - -#: inc/country/class-country-gb.php:240 -msgid "Moray" -msgstr "" - -#: inc/country/class-country-gb.php:241 -msgid "Moyle District Council" -msgstr "" - -#: inc/country/class-country-gb.php:242 -msgid "Neath Port Talbot County Borough" -msgstr "" - -#: inc/country/class-country-gb.php:243 -msgid "Newcastle upon Tyne" -msgstr "" - -#: inc/country/class-country-gb.php:244 -msgid "Newport" -msgstr "" - -#: inc/country/class-country-gb.php:245 -msgid "Newry and Mourne District Council" -msgstr "" - -#: inc/country/class-country-gb.php:246 -msgid "Newry, Mourne and Down" -msgstr "" - -#: inc/country/class-country-gb.php:247 -msgid "Newtownabbey Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:248 -msgid "Norfolk" -msgstr "" - -#: inc/country/class-country-gb.php:249 -msgid "North Ayrshire" -msgstr "" - -#: inc/country/class-country-gb.php:250 -msgid "North Down Borough Council" -msgstr "" - -#: inc/country/class-country-gb.php:251 -msgid "North East Lincolnshire" -msgstr "" - -#: inc/country/class-country-gb.php:252 -msgid "North Lanarkshire" -msgstr "" - -#: inc/country/class-country-gb.php:253 -msgid "North Lincolnshire" -msgstr "" - -#: inc/country/class-country-gb.php:254 -msgid "North Somerset" -msgstr "" - -#: inc/country/class-country-gb.php:255 -msgid "North Tyneside" -msgstr "" - -#: inc/country/class-country-gb.php:256 -msgid "North Yorkshire" -msgstr "" - -#: inc/country/class-country-gb.php:257 -msgid "Northamptonshire" -msgstr "" - -#: inc/country/class-country-gb.php:258 -msgid "Northern Ireland" -msgstr "" - -#: inc/country/class-country-gb.php:259 -msgid "Northumberland" -msgstr "" - -#: inc/country/class-country-gb.php:260 -msgid "Nottinghamshire" -msgstr "" - -#: inc/country/class-country-gb.php:261 -msgid "Oldham" -msgstr "" - -#: inc/country/class-country-gb.php:262 -msgid "Omagh District Council" -msgstr "" - -#: inc/country/class-country-gb.php:263 -msgid "Orkney Islands" -msgstr "" - -#: inc/country/class-country-gb.php:264 -msgid "Outer Hebrides" -msgstr "" - -#: inc/country/class-country-gb.php:265 -msgid "Oxfordshire" -msgstr "" - -#: inc/country/class-country-gb.php:266 -msgid "Pembrokeshire" -msgstr "" - -#: inc/country/class-country-gb.php:267 -msgid "Perth and Kinross" -msgstr "" - -#: inc/country/class-country-gb.php:268 -msgid "Poole" -msgstr "" - -#: inc/country/class-country-gb.php:269 -msgid "Powys" -msgstr "" - -#: inc/country/class-country-gb.php:270 -msgid "Reading" -msgstr "" - -#: inc/country/class-country-gb.php:271 -msgid "Redcar and Cleveland" -msgstr "" - -#: inc/country/class-country-gb.php:272 -msgid "Renfrewshire" -msgstr "" - -#: inc/country/class-country-gb.php:273 -msgid "Rhondda Cynon Taf" -msgstr "" - -#: inc/country/class-country-gb.php:274 -msgid "Rochdale" -msgstr "" - -#: inc/country/class-country-gb.php:275 -msgid "Rotherham" -msgstr "" - -#: inc/country/class-country-gb.php:276 -msgid "Royal Borough of Greenwich" -msgstr "" - -#: inc/country/class-country-gb.php:277 -msgid "Royal Borough of Kensington and Chelsea" -msgstr "" - -#: inc/country/class-country-gb.php:278 -msgid "Royal Borough of Kingston upon Thames" -msgstr "" - -#: inc/country/class-country-gb.php:279 -msgid "Rutland" -msgstr "" - -#: inc/country/class-country-gb.php:280 -#: inc/functions/countries.php:207 -msgid "Saint Helena" -msgstr "" - -#: inc/country/class-country-gb.php:281 -msgid "Salford" -msgstr "" - -#: inc/country/class-country-gb.php:282 -msgid "Sandwell" -msgstr "" - -#: inc/country/class-country-gb.php:283 -msgid "Scotland" -msgstr "" - -#: inc/country/class-country-gb.php:284 -msgid "Scottish Borders" -msgstr "" - -#: inc/country/class-country-gb.php:285 -msgid "Sefton" -msgstr "" - -#: inc/country/class-country-gb.php:286 -msgid "Sheffield" -msgstr "" - -#: inc/country/class-country-gb.php:287 -msgid "Shetland Islands" -msgstr "" - -#: inc/country/class-country-gb.php:288 -msgid "Shropshire" -msgstr "" - -#: inc/country/class-country-gb.php:289 -msgid "Slough" -msgstr "" - -#: inc/country/class-country-gb.php:290 -msgid "Solihull" -msgstr "" - -#: inc/country/class-country-gb.php:291 -msgid "Somerset" -msgstr "" - -#: inc/country/class-country-gb.php:292 -msgid "South Ayrshire" -msgstr "" - -#: inc/country/class-country-gb.php:293 -msgid "South Gloucestershire" -msgstr "" - -#: inc/country/class-country-gb.php:294 -msgid "South Lanarkshire" -msgstr "" - -#: inc/country/class-country-gb.php:295 -msgid "South Tyneside" -msgstr "" - -#: inc/country/class-country-gb.php:296 -msgid "Southend-on-Sea" -msgstr "" - -#: inc/country/class-country-gb.php:297 -msgid "St Helens" -msgstr "" - -#: inc/country/class-country-gb.php:298 -msgid "Staffordshire" -msgstr "" - -#: inc/country/class-country-gb.php:299 -msgid "Stirling" -msgstr "" - -#: inc/country/class-country-gb.php:300 -msgid "Stockport" -msgstr "" - -#: inc/country/class-country-gb.php:301 -msgid "Stockton-on-Tees" -msgstr "" - -#: inc/country/class-country-gb.php:302 -msgid "Strabane District Council" -msgstr "" - -#: inc/country/class-country-gb.php:303 -msgid "Suffolk" -msgstr "" - -#: inc/country/class-country-gb.php:304 -msgid "Surrey" -msgstr "" - -#: inc/country/class-country-gb.php:305 -msgid "Swindon" -msgstr "" - -#: inc/country/class-country-gb.php:306 -msgid "Tameside" -msgstr "" - -#: inc/country/class-country-gb.php:307 -msgid "Telford and Wrekin" -msgstr "" - -#: inc/country/class-country-gb.php:308 -msgid "Thurrock" -msgstr "" - -#: inc/country/class-country-gb.php:309 -msgid "Torbay" -msgstr "" - -#: inc/country/class-country-gb.php:310 -msgid "Torfaen" -msgstr "" - -#: inc/country/class-country-gb.php:311 -msgid "Trafford" -msgstr "" - -#: inc/country/class-country-gb.php:313 -msgid "Vale of Glamorgan" -msgstr "" - -#: inc/country/class-country-gb.php:314 -msgid "Wakefield" -msgstr "" - -#: inc/country/class-country-gb.php:315 -msgid "Wales" -msgstr "" - -#: inc/country/class-country-gb.php:316 -msgid "Walsall" -msgstr "" - -#: inc/country/class-country-gb.php:317 -msgid "Warrington" -msgstr "" - -#: inc/country/class-country-gb.php:318 -msgid "Warwickshire" -msgstr "" - -#: inc/country/class-country-gb.php:319 -msgid "West Berkshire" -msgstr "" - -#: inc/country/class-country-gb.php:320 -msgid "West Dunbartonshire" -msgstr "" - -#: inc/country/class-country-gb.php:321 -msgid "West Lothian" -msgstr "" - -#: inc/country/class-country-gb.php:322 -msgid "West Sussex" -msgstr "" - -#: inc/country/class-country-gb.php:323 -msgid "Wiltshire" -msgstr "" - -#: inc/country/class-country-gb.php:324 -msgid "Windsor and Maidenhead" -msgstr "" - -#: inc/country/class-country-gb.php:325 -msgid "Wirral" -msgstr "" - -#: inc/country/class-country-gb.php:326 -msgid "Wokingham" -msgstr "" - -#: inc/country/class-country-gb.php:327 -msgid "Worcestershire" -msgstr "" - -#: inc/country/class-country-gb.php:328 -msgid "Wrexham County Borough" -msgstr "" - -#: inc/country/class-country-in.php:102 -#: inc/functions/countries.php:125 -msgid "India" -msgstr "" - -#: inc/country/class-country-in.php:114 -msgid "Andaman and Nicobar Islands" -msgstr "" - -#: inc/country/class-country-in.php:115 -msgid "Andhra Pradesh" -msgstr "" - -#: inc/country/class-country-in.php:116 -msgid "Arunachal Pradesh" -msgstr "" - -#: inc/country/class-country-in.php:117 -msgid "Assam" -msgstr "" - -#: inc/country/class-country-in.php:118 -msgid "Bihar" -msgstr "" - -#: inc/country/class-country-in.php:119 -msgid "Chandigarh" -msgstr "" - -#: inc/country/class-country-in.php:120 -msgid "Chhattisgarh" -msgstr "" - -#: inc/country/class-country-in.php:121 -msgid "Dadra and Nagar Haveli and Daman and Diu" -msgstr "" - -#: inc/country/class-country-in.php:122 -msgid "Delhi" -msgstr "" - -#: inc/country/class-country-in.php:123 -msgid "Goa" -msgstr "" - -#: inc/country/class-country-in.php:124 -msgid "Gujarat" -msgstr "" - -#: inc/country/class-country-in.php:125 -msgid "Haryana" -msgstr "" - -#: inc/country/class-country-in.php:126 -msgid "Himachal Pradesh" -msgstr "" - -#: inc/country/class-country-in.php:127 -msgid "Jammu and Kashmir" -msgstr "" - -#: inc/country/class-country-in.php:128 -msgid "Jharkhand" -msgstr "" - -#: inc/country/class-country-in.php:129 -msgid "Karnataka" -msgstr "" - -#: inc/country/class-country-in.php:130 -msgid "Kerala" -msgstr "" - -#: inc/country/class-country-in.php:131 -msgid "Ladakh" -msgstr "" - -#: inc/country/class-country-in.php:132 -msgid "Lakshadweep" -msgstr "" - -#: inc/country/class-country-in.php:133 -msgid "Madhya Pradesh" -msgstr "" - -#: inc/country/class-country-in.php:134 -msgid "Maharashtra" -msgstr "" - -#: inc/country/class-country-in.php:135 -msgid "Manipur" -msgstr "" - -#: inc/country/class-country-in.php:136 -msgid "Meghalaya" -msgstr "" - -#: inc/country/class-country-in.php:137 -msgid "Mizoram" -msgstr "" - -#: inc/country/class-country-in.php:138 -msgid "Nagaland" -msgstr "" - -#: inc/country/class-country-in.php:139 -msgid "Odisha" -msgstr "" - -#: inc/country/class-country-in.php:140 -msgid "Puducherry" -msgstr "" - -#: inc/country/class-country-in.php:141 -msgid "Punjab" -msgstr "" - -#: inc/country/class-country-in.php:142 -msgid "Rajasthan" -msgstr "" - -#: inc/country/class-country-in.php:143 -msgid "Sikkim" -msgstr "" - -#: inc/country/class-country-in.php:144 -msgid "Tamil Nadu" -msgstr "" - -#: inc/country/class-country-in.php:145 -msgid "Telangana" -msgstr "" - -#: inc/country/class-country-in.php:146 -msgid "Tripura" -msgstr "" - -#: inc/country/class-country-in.php:147 -msgid "Uttar Pradesh" -msgstr "" - -#: inc/country/class-country-in.php:148 -msgid "Uttarakhand" -msgstr "" - -#: inc/country/class-country-in.php:149 -msgid "West Bengal" -msgstr "" - -#: inc/country/class-country-jp.php:113 -#: inc/functions/countries.php:135 -msgid "Japan" -msgstr "" - -#: inc/country/class-country-jp.php:125 -msgid "Gunma Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:126 -msgid "Saitama Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:127 -msgid "Chiba Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:128 -msgid "Tokyo" -msgstr "" - -#: inc/country/class-country-jp.php:129 -msgid "Kanagawa Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:130 -msgid "Niigata Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:131 -msgid "Toyama Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:132 -msgid "Ishikawa Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:133 -msgid "Fukui Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:134 -msgid "Yamanashi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:135 -msgid "Nagano Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:136 -msgid "Gifu Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:137 -msgid "Shizuoka Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:138 -msgid "Aichi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:139 -msgid "Mie Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:140 -msgid "Shiga Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:141 -msgid "Kyōto Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:142 -msgid "Ōsaka Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:143 -msgid "Hyōgo Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:144 -msgid "Nara Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:145 -msgid "Wakayama Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:146 -msgid "Tottori Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:147 -msgid "Shimane Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:148 -msgid "Okayama Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:149 -msgid "Hiroshima Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:150 -msgid "Yamaguchi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:151 -msgid "Tokushima Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:152 -msgid "Kagawa Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:153 -msgid "Ehime Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:154 -msgid "Kōchi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:155 -msgid "Fukuoka Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:156 -msgid "Saga Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:157 -msgid "Nagasaki Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:158 -msgid "Kumamoto Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:159 -msgid "Ōita Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:160 -msgid "Miyazaki Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:161 -msgid "Kagoshima Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:162 -msgid "Okinawa Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:163 -msgid "Akita Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:164 -msgid "Aomori Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:165 -msgid "Fukushima Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:166 -msgid "Hokkaidō Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:167 -msgid "Ibaraki Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:168 -msgid "Iwate Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:169 -msgid "Miyagi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:170 -msgid "Tochigi Prefecture" -msgstr "" - -#: inc/country/class-country-jp.php:171 -msgid "Yamagata Prefecture" -msgstr "" - -#: inc/country/class-country-mx.php:98 -#: inc/functions/countries.php:165 -msgid "Mexico" -msgstr "" - -#: inc/country/class-country-mx.php:110 -msgid "Aguascalientes" -msgstr "" - -#: inc/country/class-country-mx.php:111 -msgid "Baja California" -msgstr "" - -#: inc/country/class-country-mx.php:112 -msgid "Baja California Sur" -msgstr "" - -#: inc/country/class-country-mx.php:113 -msgid "Campeche" -msgstr "" - -#: inc/country/class-country-mx.php:114 -msgid "Chiapas" -msgstr "" - -#: inc/country/class-country-mx.php:115 -msgid "Chihuahua" -msgstr "" - -#: inc/country/class-country-mx.php:116 -msgid "Ciudad de México" -msgstr "" - -#: inc/country/class-country-mx.php:117 -msgid "Coahuila de Zaragoza" -msgstr "" - -#: inc/country/class-country-mx.php:118 -msgid "Colima" -msgstr "" - -#: inc/country/class-country-mx.php:119 -msgid "Durango" -msgstr "" - -#: inc/country/class-country-mx.php:120 -msgid "Estado de México" -msgstr "" - -#: inc/country/class-country-mx.php:121 -msgid "Guanajuato" -msgstr "" - -#: inc/country/class-country-mx.php:122 -msgid "Guerrero" -msgstr "" - -#: inc/country/class-country-mx.php:123 -msgid "Hidalgo" -msgstr "" - -#: inc/country/class-country-mx.php:124 -msgid "Jalisco" -msgstr "" - -#: inc/country/class-country-mx.php:125 -msgid "Michoacán de Ocampo" -msgstr "" - -#: inc/country/class-country-mx.php:126 -msgid "Morelos" -msgstr "" - -#: inc/country/class-country-mx.php:127 -msgid "Nayarit" -msgstr "" - -#: inc/country/class-country-mx.php:128 -msgid "Nuevo León" -msgstr "" - -#: inc/country/class-country-mx.php:129 -msgid "Oaxaca" -msgstr "" - -#: inc/country/class-country-mx.php:130 -msgid "Puebla" -msgstr "" - -#: inc/country/class-country-mx.php:131 -msgid "Querétaro" -msgstr "" - -#: inc/country/class-country-mx.php:132 -msgid "Quintana Roo" -msgstr "" - -#: inc/country/class-country-mx.php:133 -msgid "San Luis Potosí" -msgstr "" - -#: inc/country/class-country-mx.php:134 -msgid "Sinaloa" -msgstr "" - -#: inc/country/class-country-mx.php:135 -msgid "Sonora" -msgstr "" - -#: inc/country/class-country-mx.php:136 -msgid "Tabasco" -msgstr "" - -#: inc/country/class-country-mx.php:137 -msgid "Tamaulipas" -msgstr "" - -#: inc/country/class-country-mx.php:138 -msgid "Tlaxcala" -msgstr "" - -#: inc/country/class-country-mx.php:139 -msgid "Veracruz de Ignacio de la Llave" -msgstr "" - -#: inc/country/class-country-mx.php:140 -msgid "Yucatán" -msgstr "" - -#: inc/country/class-country-mx.php:141 -msgid "Zacatecas" -msgstr "" - -#: inc/country/class-country-my.php:82 -#: inc/functions/countries.php:156 -msgid "Malaysia" -msgstr "" - -#: inc/country/class-country-my.php:94 -msgid "Selangor" -msgstr "" - -#: inc/country/class-country-my.php:95 -msgid "Terengganu" -msgstr "" - -#: inc/country/class-country-my.php:96 -msgid "Sabah" -msgstr "" - -#: inc/country/class-country-my.php:97 -msgid "Sarawak" -msgstr "" - -#: inc/country/class-country-my.php:98 -msgid "Kuala Lumpur" -msgstr "" - -#: inc/country/class-country-my.php:99 -msgid "Labuan" -msgstr "" - -#: inc/country/class-country-my.php:100 -msgid "Putrajaya" -msgstr "" - -#: inc/country/class-country-my.php:101 -msgid "Johor" -msgstr "" - -#: inc/country/class-country-my.php:102 -msgid "Kedah" -msgstr "" - -#: inc/country/class-country-my.php:103 -msgid "Kelantan" -msgstr "" - -#: inc/country/class-country-my.php:104 -msgid "Malacca" -msgstr "" - -#: inc/country/class-country-my.php:105 -msgid "Negeri Sembilan" -msgstr "" - -#: inc/country/class-country-my.php:106 -msgid "Pahang" -msgstr "" - -#: inc/country/class-country-my.php:107 -msgid "Penang" -msgstr "" - -#: inc/country/class-country-my.php:108 -msgid "Perak" -msgstr "" - -#: inc/country/class-country-my.php:109 -msgid "Perlis" -msgstr "" - -#: inc/country/class-country-ne.php:73 -#: inc/functions/countries.php:182 -msgid "Niger" -msgstr "" - -#: inc/country/class-country-ne.php:85 -msgid "Agadez Region" -msgstr "" - -#: inc/country/class-country-ne.php:86 -msgid "Diffa Region" -msgstr "" - -#: inc/country/class-country-ne.php:87 -msgid "Dosso Region" -msgstr "" - -#: inc/country/class-country-ne.php:88 -msgid "Maradi Region" -msgstr "" - -#: inc/country/class-country-ne.php:89 -msgid "Tahoua Region" -msgstr "" - -#: inc/country/class-country-ne.php:90 -msgid "Tillabéri Region" -msgstr "" - -#: inc/country/class-country-ne.php:91 -msgid "Zinder Region" -msgstr "" - -#: inc/country/class-country-nl.php:78 -#: inc/functions/countries.php:178 -msgid "Netherlands" -msgstr "" - -#: inc/country/class-country-nl.php:90 -msgid "Bonaire" -msgstr "" - -#: inc/country/class-country-nl.php:91 -msgid "Drenthe" -msgstr "" - -#: inc/country/class-country-nl.php:92 -msgid "Flevoland" -msgstr "" - -#: inc/country/class-country-nl.php:93 -msgid "Friesland" -msgstr "" - -#: inc/country/class-country-nl.php:94 -msgid "Gelderland" -msgstr "" - -#: inc/country/class-country-nl.php:95 -msgid "Groningen" -msgstr "" - -#: inc/country/class-country-nl.php:96 -msgid "Limburg" -msgstr "" - -#: inc/country/class-country-nl.php:97 -msgid "North Brabant" -msgstr "" - -#: inc/country/class-country-nl.php:98 -msgid "North Holland" -msgstr "" - -#: inc/country/class-country-nl.php:99 -msgid "Overijssel" -msgstr "" - -#: inc/country/class-country-nl.php:100 -msgid "Saba" -msgstr "" - -#: inc/country/class-country-nl.php:101 -msgid "Sint Eustatius" -msgstr "" - -#: inc/country/class-country-nl.php:102 -msgid "South Holland" -msgstr "" - -#: inc/country/class-country-nl.php:103 -msgid "Utrecht" -msgstr "" - -#: inc/country/class-country-nl.php:104 -msgid "Zeeland" -msgstr "" - -#: inc/country/class-country-ru.php:149 -#: inc/functions/countries.php:204 -msgid "Russia" -msgstr "" - -#: inc/country/class-country-ru.php:161 -msgid "Altai Krai" -msgstr "" - -#: inc/country/class-country-ru.php:162 -msgid "Altai Republic" -msgstr "" - -#: inc/country/class-country-ru.php:163 -msgid "Amur Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:164 -msgid "Arkhangelsk" -msgstr "" - -#: inc/country/class-country-ru.php:165 -msgid "Astrakhan Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:166 -msgid "Belgorod Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:167 -msgid "Bryansk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:168 -msgid "Chechen Republic" -msgstr "" - -#: inc/country/class-country-ru.php:169 -msgid "Chelyabinsk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:170 -msgid "Chukotka Autonomous Okrug" -msgstr "" - -#: inc/country/class-country-ru.php:171 -msgid "Chuvash Republic" -msgstr "" - -#: inc/country/class-country-ru.php:172 -msgid "Irkutsk" -msgstr "" - -#: inc/country/class-country-ru.php:173 -msgid "Ivanovo Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:174 -msgid "Jewish Autonomous Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:175 -msgid "Kabardino-Balkar Republic" -msgstr "" - -#: inc/country/class-country-ru.php:176 -msgid "Kaliningrad" -msgstr "" - -#: inc/country/class-country-ru.php:177 -msgid "Kaluga Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:178 -msgid "Kamchatka Krai" -msgstr "" - -#: inc/country/class-country-ru.php:179 -msgid "Karachay-Cherkess Republic" -msgstr "" - -#: inc/country/class-country-ru.php:180 -msgid "Kemerovo Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:181 -msgid "Khabarovsk Krai" -msgstr "" - -#: inc/country/class-country-ru.php:182 -msgid "Khanty-Mansi Autonomous Okrug" -msgstr "" - -#: inc/country/class-country-ru.php:183 -msgid "Kirov Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:184 -msgid "Komi Republic" -msgstr "" - -#: inc/country/class-country-ru.php:185 -msgid "Kostroma Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:186 -msgid "Krasnodar Krai" -msgstr "" - -#: inc/country/class-country-ru.php:187 -msgid "Krasnoyarsk Krai" -msgstr "" - -#: inc/country/class-country-ru.php:188 -msgid "Kurgan Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:189 -msgid "Kursk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:190 -msgid "Leningrad Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:191 -msgid "Lipetsk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:192 -msgid "Magadan Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:193 -msgid "Mari El Republic" -msgstr "" - -#: inc/country/class-country-ru.php:194 -msgid "Moscow" -msgstr "" - -#: inc/country/class-country-ru.php:195 -msgid "Moscow Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:196 -msgid "Murmansk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:197 -msgid "Nenets Autonomous Okrug" -msgstr "" - -#: inc/country/class-country-ru.php:198 -msgid "Nizhny Novgorod Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:199 -msgid "Novgorod Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:200 -msgid "Novosibirsk" -msgstr "" - -#: inc/country/class-country-ru.php:201 -msgid "Omsk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:202 -msgid "Orenburg Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:203 -msgid "Oryol Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:204 -msgid "Penza Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:205 -msgid "Perm Krai" -msgstr "" - -#: inc/country/class-country-ru.php:206 -msgid "Primorsky Krai" -msgstr "" - -#: inc/country/class-country-ru.php:207 -msgid "Pskov Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:208 -msgid "Republic of Adygea" -msgstr "" - -#: inc/country/class-country-ru.php:209 -msgid "Republic of Bashkortostan" -msgstr "" - -#: inc/country/class-country-ru.php:210 -msgid "Republic of Buryatia" -msgstr "" - -#: inc/country/class-country-ru.php:211 -msgid "Republic of Dagestan" -msgstr "" - -#: inc/country/class-country-ru.php:212 -msgid "Republic of Ingushetia" -msgstr "" - -#: inc/country/class-country-ru.php:213 -msgid "Republic of Kalmykia" -msgstr "" - -#: inc/country/class-country-ru.php:214 -msgid "Republic of Karelia" -msgstr "" - -#: inc/country/class-country-ru.php:215 -msgid "Republic of Khakassia" -msgstr "" - -#: inc/country/class-country-ru.php:216 -msgid "Republic of Mordovia" -msgstr "" - -#: inc/country/class-country-ru.php:217 -msgid "Republic of North Ossetia-Alania" -msgstr "" - -#: inc/country/class-country-ru.php:218 -msgid "Republic of Tatarstan" -msgstr "" - -#: inc/country/class-country-ru.php:219 -msgid "Rostov Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:220 -msgid "Ryazan Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:221 -msgid "Saint Petersburg" -msgstr "" - -#: inc/country/class-country-ru.php:222 -msgid "Sakha Republic" -msgstr "" - -#: inc/country/class-country-ru.php:223 -msgid "Sakhalin" -msgstr "" - -#: inc/country/class-country-ru.php:224 -msgid "Samara Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:225 -msgid "Saratov Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:226 -msgid "Sevastopol" -msgstr "" - -#: inc/country/class-country-ru.php:227 -msgid "Smolensk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:228 -msgid "Stavropol Krai" -msgstr "" - -#: inc/country/class-country-ru.php:229 -msgid "Sverdlovsk" -msgstr "" - -#: inc/country/class-country-ru.php:230 -msgid "Tambov Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:231 -msgid "Tomsk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:232 -msgid "Tula Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:233 -msgid "Tuva Republic" -msgstr "" - -#: inc/country/class-country-ru.php:234 -msgid "Tver Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:235 -msgid "Tyumen Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:236 -msgid "Udmurt Republic" -msgstr "" - -#: inc/country/class-country-ru.php:237 -msgid "Ulyanovsk Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:238 -msgid "Vladimir Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:239 -msgid "Volgograd Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:240 -msgid "Vologda Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:241 -msgid "Voronezh Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:242 -msgid "Yamalo-Nenets Autonomous Okrug" -msgstr "" - -#: inc/country/class-country-ru.php:243 -msgid "Yaroslavl Oblast" -msgstr "" - -#: inc/country/class-country-ru.php:244 -msgid "Zabaykalsky Krai" -msgstr "" - -#: inc/country/class-country-sg.php:68 -#: inc/functions/countries.php:221 -msgid "Singapore" -msgstr "" - -#: inc/country/class-country-sg.php:80 -msgid "Central Singapore Community Development Council" -msgstr "" - -#: inc/country/class-country-sg.php:81 -msgid "North East Community Development Council" -msgstr "" - -#: inc/country/class-country-sg.php:82 -msgid "North West Community Development Council" -msgstr "" - -#: inc/country/class-country-sg.php:83 -msgid "South East Community Development Council" -msgstr "" - -#: inc/country/class-country-sg.php:84 -msgid "South West Community Development Council" -msgstr "" - -#: inc/country/class-country-tr.php:147 -#: inc/functions/countries.php:249 -msgid "Turkey" -msgstr "" - -#: inc/country/class-country-tr.php:159 -msgid "Balıkesir" -msgstr "" - -#: inc/country/class-country-tr.php:160 -msgid "Bilecik" -msgstr "" - -#: inc/country/class-country-tr.php:161 -msgid "Bingöl" -msgstr "" - -#: inc/country/class-country-tr.php:162 -msgid "Bitlis" -msgstr "" - -#: inc/country/class-country-tr.php:163 -msgid "Bolu" -msgstr "" - -#: inc/country/class-country-tr.php:164 -msgid "Burdur" -msgstr "" - -#: inc/country/class-country-tr.php:165 -msgid "Bursa" -msgstr "" - -#: inc/country/class-country-tr.php:166 -msgid "Çanakkale" -msgstr "" - -#: inc/country/class-country-tr.php:167 -msgid "Çankırı" -msgstr "" - -#: inc/country/class-country-tr.php:168 -msgid "Çorum" -msgstr "" - -#: inc/country/class-country-tr.php:169 -msgid "Denizli" -msgstr "" - -#: inc/country/class-country-tr.php:170 -msgid "Diyarbakır" -msgstr "" - -#: inc/country/class-country-tr.php:171 -msgid "Edirne" -msgstr "" - -#: inc/country/class-country-tr.php:172 -msgid "Elazığ" -msgstr "" - -#: inc/country/class-country-tr.php:173 -msgid "Erzincan" -msgstr "" - -#: inc/country/class-country-tr.php:174 -msgid "Erzurum" -msgstr "" - -#: inc/country/class-country-tr.php:175 -msgid "Eskişehir" -msgstr "" - -#: inc/country/class-country-tr.php:176 -msgid "Gaziantep" -msgstr "" - -#: inc/country/class-country-tr.php:177 -msgid "Giresun" -msgstr "" - -#: inc/country/class-country-tr.php:178 -msgid "Gümüşhane" -msgstr "" - -#: inc/country/class-country-tr.php:179 -msgid "Hakkâri" -msgstr "" - -#: inc/country/class-country-tr.php:180 -msgid "Hatay" -msgstr "" - -#: inc/country/class-country-tr.php:181 -msgid "Isparta" -msgstr "" - -#: inc/country/class-country-tr.php:182 -msgid "Mersin" -msgstr "" - -#: inc/country/class-country-tr.php:183 -msgid "Istanbul" -msgstr "" - -#: inc/country/class-country-tr.php:184 -msgid "İzmir" -msgstr "" - -#: inc/country/class-country-tr.php:185 -msgid "Kars" -msgstr "" - -#: inc/country/class-country-tr.php:186 -msgid "Kastamonu" -msgstr "" - -#: inc/country/class-country-tr.php:187 -msgid "Kayseri" -msgstr "" - -#: inc/country/class-country-tr.php:188 -msgid "Kırklareli" -msgstr "" - -#: inc/country/class-country-tr.php:189 -msgid "Kırşehir" -msgstr "" - -#: inc/country/class-country-tr.php:190 -msgid "Kocaeli" -msgstr "" - -#: inc/country/class-country-tr.php:191 -msgid "Konya" -msgstr "" - -#: inc/country/class-country-tr.php:192 -msgid "Kütahya" -msgstr "" - -#: inc/country/class-country-tr.php:193 -msgid "Malatya" -msgstr "" - -#: inc/country/class-country-tr.php:194 -msgid "Manisa" -msgstr "" - -#: inc/country/class-country-tr.php:195 -msgid "Kahramanmaraş" -msgstr "" - -#: inc/country/class-country-tr.php:196 -msgid "Mardin" -msgstr "" - -#: inc/country/class-country-tr.php:197 -msgid "Muğla" -msgstr "" - -#: inc/country/class-country-tr.php:198 -msgid "Muş" -msgstr "" - -#: inc/country/class-country-tr.php:199 -msgid "Nevşehir" -msgstr "" - -#: inc/country/class-country-tr.php:200 -msgid "Niğde" -msgstr "" - -#: inc/country/class-country-tr.php:201 -msgid "Ordu" -msgstr "" - -#: inc/country/class-country-tr.php:202 -msgid "Rize" -msgstr "" - -#: inc/country/class-country-tr.php:203 -msgid "Sakarya" -msgstr "" - -#: inc/country/class-country-tr.php:204 -msgid "Samsun" -msgstr "" - -#: inc/country/class-country-tr.php:205 -msgid "Siirt" -msgstr "" - -#: inc/country/class-country-tr.php:206 -msgid "Sinop" -msgstr "" - -#: inc/country/class-country-tr.php:207 -msgid "Sivas" -msgstr "" - -#: inc/country/class-country-tr.php:208 -msgid "Tekirdağ" -msgstr "" - -#: inc/country/class-country-tr.php:209 -msgid "Tokat" -msgstr "" - -#: inc/country/class-country-tr.php:210 -msgid "Trabzon" -msgstr "" - -#: inc/country/class-country-tr.php:211 -msgid "Tunceli" -msgstr "" - -#: inc/country/class-country-tr.php:212 -msgid "Şanlıurfa" -msgstr "" - -#: inc/country/class-country-tr.php:213 -msgid "Uşak" -msgstr "" - -#: inc/country/class-country-tr.php:214 -msgid "Van" -msgstr "" - -#: inc/country/class-country-tr.php:215 -msgid "Yozgat" -msgstr "" - -#: inc/country/class-country-tr.php:216 -msgid "Zonguldak" -msgstr "" - -#: inc/country/class-country-tr.php:217 -msgid "Aksaray" -msgstr "" - -#: inc/country/class-country-tr.php:218 -msgid "Bayburt" -msgstr "" - -#: inc/country/class-country-tr.php:219 -msgid "Karaman" -msgstr "" - -#: inc/country/class-country-tr.php:220 -msgid "Kırıkkale" -msgstr "" - -#: inc/country/class-country-tr.php:221 -msgid "Batman" -msgstr "" - -#: inc/country/class-country-tr.php:222 -msgid "Şırnak" -msgstr "" - -#: inc/country/class-country-tr.php:223 -msgid "Bartın" -msgstr "" - -#: inc/country/class-country-tr.php:224 -msgid "Ardahan" -msgstr "" - -#: inc/country/class-country-tr.php:225 -msgid "Iğdır" -msgstr "" - -#: inc/country/class-country-tr.php:226 -msgid "Yalova" -msgstr "" - -#: inc/country/class-country-tr.php:227 -msgid "Karabük" -msgstr "" - -#: inc/country/class-country-tr.php:228 -msgid "Kilis" -msgstr "" - -#: inc/country/class-country-tr.php:229 -msgid "Osmaniye" -msgstr "" - -#: inc/country/class-country-tr.php:230 -msgid "Düzce" -msgstr "" - -#: inc/country/class-country-tr.php:231 -msgid "Adana" -msgstr "" - -#: inc/country/class-country-tr.php:232 -msgid "Adıyaman" -msgstr "" - -#: inc/country/class-country-tr.php:233 -msgid "Afyonkarahisar" -msgstr "" - -#: inc/country/class-country-tr.php:234 -msgid "Amasya" -msgstr "" - -#: inc/country/class-country-tr.php:235 -msgid "Ankara" -msgstr "" - -#: inc/country/class-country-tr.php:236 -msgid "Antalya" -msgstr "" - -#: inc/country/class-country-tr.php:237 -msgid "Artvin" -msgstr "" - -#: inc/country/class-country-tr.php:238 -msgid "Aydın" -msgstr "" - -#: inc/country/class-country-tr.php:239 -msgid "Ağrı" -msgstr "" - -#: inc/country/class-country-us.php:118 -msgid "United States" -msgstr "" - -#: inc/country/class-country-us.php:130 -msgid "Alabama" -msgstr "" - -#: inc/country/class-country-us.php:131 -msgid "Alaska" -msgstr "" - -#: inc/country/class-country-us.php:132 -#: inc/functions/countries.php:27 -msgid "American Samoa" -msgstr "" - -#: inc/country/class-country-us.php:133 -msgid "Arizona" -msgstr "" - -#: inc/country/class-country-us.php:134 -msgid "Arkansas" -msgstr "" - -#: inc/country/class-country-us.php:135 -msgid "Baker Island" -msgstr "" - -#: inc/country/class-country-us.php:136 -msgid "California" -msgstr "" - -#: inc/country/class-country-us.php:137 -msgid "Colorado" -msgstr "" - -#: inc/country/class-country-us.php:138 -msgid "Connecticut" -msgstr "" - -#: inc/country/class-country-us.php:139 -msgid "Delaware" -msgstr "" - -#: inc/country/class-country-us.php:140 -msgid "District of Columbia" -msgstr "" - -#: inc/country/class-country-us.php:141 -msgid "Florida" -msgstr "" - -#: inc/country/class-country-us.php:142 -#: inc/functions/countries.php:105 -msgid "Georgia" -msgstr "" - -#: inc/country/class-country-us.php:143 -#: inc/functions/countries.php:113 -msgid "Guam" -msgstr "" - -#: inc/country/class-country-us.php:144 -msgid "Hawaii" -msgstr "" - -#: inc/country/class-country-us.php:145 -msgid "Howland Island" -msgstr "" - -#: inc/country/class-country-us.php:146 -msgid "Idaho" -msgstr "" - -#: inc/country/class-country-us.php:147 -msgid "Illinois" -msgstr "" - -#: inc/country/class-country-us.php:148 -msgid "Indiana" -msgstr "" - -#: inc/country/class-country-us.php:149 -msgid "Iowa" -msgstr "" - -#: inc/country/class-country-us.php:150 -msgid "Jarvis Island" -msgstr "" - -#: inc/country/class-country-us.php:151 -msgid "Johnston Atoll" -msgstr "" - -#: inc/country/class-country-us.php:152 -msgid "Kansas" -msgstr "" - -#: inc/country/class-country-us.php:153 -msgid "Kentucky" -msgstr "" - -#: inc/country/class-country-us.php:154 -msgid "Kingman Reef" -msgstr "" - -#: inc/country/class-country-us.php:155 -msgid "Louisiana" -msgstr "" - -#: inc/country/class-country-us.php:156 -msgid "Maine" -msgstr "" - -#: inc/country/class-country-us.php:157 -msgid "Maryland" -msgstr "" - -#: inc/country/class-country-us.php:158 -msgid "Massachusetts" -msgstr "" - -#: inc/country/class-country-us.php:159 -msgid "Michigan" -msgstr "" - -#: inc/country/class-country-us.php:160 -msgid "Midway Atoll" -msgstr "" - -#: inc/country/class-country-us.php:161 -msgid "Minnesota" -msgstr "" - -#: inc/country/class-country-us.php:162 -msgid "Mississippi" -msgstr "" - -#: inc/country/class-country-us.php:163 -msgid "Missouri" -msgstr "" - -#: inc/country/class-country-us.php:164 -msgid "Montana" -msgstr "" - -#: inc/country/class-country-us.php:165 -msgid "Navassa Island" -msgstr "" - -#: inc/country/class-country-us.php:166 -msgid "Nebraska" -msgstr "" - -#: inc/country/class-country-us.php:167 -msgid "Nevada" -msgstr "" - -#: inc/country/class-country-us.php:168 -msgid "New Hampshire" -msgstr "" - -#: inc/country/class-country-us.php:169 -msgid "New Jersey" -msgstr "" - -#: inc/country/class-country-us.php:170 -msgid "New Mexico" -msgstr "" - -#: inc/country/class-country-us.php:171 -msgid "New York" -msgstr "" - -#: inc/country/class-country-us.php:172 -msgid "North Carolina" -msgstr "" - -#: inc/country/class-country-us.php:173 -msgid "North Dakota" -msgstr "" - -#: inc/country/class-country-us.php:174 -#: inc/functions/countries.php:186 -msgid "Northern Mariana Islands" -msgstr "" - -#: inc/country/class-country-us.php:175 -msgid "Ohio" -msgstr "" - -#: inc/country/class-country-us.php:176 -msgid "Oklahoma" -msgstr "" - -#: inc/country/class-country-us.php:177 -msgid "Oregon" -msgstr "" - -#: inc/country/class-country-us.php:178 -msgid "Palmyra Atoll" -msgstr "" - -#: inc/country/class-country-us.php:179 -msgid "Pennsylvania" -msgstr "" - -#: inc/country/class-country-us.php:180 -#: inc/functions/countries.php:200 -msgid "Puerto Rico" -msgstr "" - -#: inc/country/class-country-us.php:181 -msgid "Rhode Island" -msgstr "" - -#: inc/country/class-country-us.php:182 -msgid "South Carolina" -msgstr "" - -#: inc/country/class-country-us.php:183 -msgid "South Dakota" -msgstr "" - -#: inc/country/class-country-us.php:184 -msgid "Tennessee" -msgstr "" - -#: inc/country/class-country-us.php:185 -msgid "Texas" -msgstr "" - -#: inc/country/class-country-us.php:186 -msgid "United States Minor Outlying Islands" -msgstr "" - -#: inc/country/class-country-us.php:187 -msgid "United States Virgin Islands" -msgstr "" - -#: inc/country/class-country-us.php:188 -msgid "Utah" -msgstr "" - -#: inc/country/class-country-us.php:189 -msgid "Vermont" -msgstr "" - -#: inc/country/class-country-us.php:190 -msgid "Virginia" -msgstr "" - -#: inc/country/class-country-us.php:191 -msgid "Wake Island" -msgstr "" - -#: inc/country/class-country-us.php:192 -msgid "Washington" -msgstr "" - -#: inc/country/class-country-us.php:193 -msgid "West Virginia" -msgstr "" - -#: inc/country/class-country-us.php:194 -msgid "Wisconsin" -msgstr "" - -#: inc/country/class-country-us.php:195 -msgid "Wyoming" -msgstr "" - -#: inc/country/class-country-za.php:75 -#: inc/functions/countries.php:226 -msgid "South Africa" -msgstr "" - -#: inc/country/class-country-za.php:87 -msgid "Eastern Cape" -msgstr "" - -#: inc/country/class-country-za.php:88 -msgid "Free State" -msgstr "" - -#: inc/country/class-country-za.php:89 -msgid "Gauteng" -msgstr "" - -#: inc/country/class-country-za.php:90 -msgid "KwaZulu-Natal" -msgstr "" - -#: inc/country/class-country-za.php:91 -msgid "Limpopo" -msgstr "" - -#: inc/country/class-country-za.php:92 -msgid "Mpumalanga" -msgstr "" - -#: inc/country/class-country-za.php:93 -msgid "North West" -msgstr "" - -#: inc/country/class-country-za.php:94 -msgid "Northern Cape" -msgstr "" - -#: inc/country/class-country-za.php:95 -msgid "Western Cape" -msgstr "" - -#. translators: %s is the name of the administrative division (state, province, etc). -#: inc/country/class-country.php:107 -#, php-format -msgid "Select your %s" -msgstr "" - -#: inc/country/class-country.php:165 -msgid "Select your city" -msgstr "" - -#: inc/country/class-country.php:198 -msgid "city" -msgstr "" - -#: inc/country/class-country.php:220 -msgid "province" -msgstr "" - -#: inc/country/class-country.php:221 -msgid "state" -msgstr "" - -#: inc/country/class-country.php:222 -msgid "territory" -msgstr "" - -#: inc/country/class-country.php:223 -msgid "region" -msgstr "" - -#: inc/country/class-country.php:224 -msgid "department" -msgstr "" - -#: inc/country/class-country.php:225 -msgid "district" -msgstr "" - -#: inc/country/class-country.php:226 -msgid "prefecture" -msgstr "" - -#: inc/country/class-country.php:227 -msgid "autonomous community" -msgstr "" - -#: inc/country/class-country.php:228 -msgid "parish" -msgstr "" - -#: inc/country/class-country.php:229 -msgid "county" -msgstr "" - -#: inc/country/class-country.php:230 -msgid "division" -msgstr "" - -#: inc/country/class-country.php:231 -msgid "state / province" -msgstr "" - -#: inc/database/domains/class-domain-stage.php:65 -msgid "DNS Failed" -msgstr "" - -#: inc/database/domains/class-domain-stage.php:66 -msgid "Checking DNS" -msgstr "" - -#: inc/database/domains/class-domain-stage.php:67 -msgid "Checking SSL" -msgstr "" - -#: inc/database/domains/class-domain-stage.php:68 -msgid "Ready" -msgstr "" - -#: inc/database/domains/class-domain-stage.php:69 -msgid "Ready (without SSL)" -msgstr "" - -#: inc/database/memberships/class-membership-status.php:70 -#: inc/list-tables/class-membership-list-table.php:291 -msgid "Trialing" -msgstr "" - -#: inc/database/memberships/class-membership-status.php:71 -#: inc/list-tables/class-membership-list-table.php:303 -msgid "On Hold" -msgstr "" - -#: inc/database/memberships/class-membership-status.php:72 -#: inc/list-tables/class-membership-list-table.php:309 -msgid "Expired" -msgstr "" - -#: inc/database/memberships/class-membership-status.php:73 -#: inc/database/payments/class-payment-status.php:96 -#: inc/list-tables/class-membership-list-table.php:315 -msgid "Cancelled" -msgstr "" - -#: inc/database/payments/class-payment-status.php:91 -#: inc/list-tables/class-payment-list-table.php:205 -#: inc/list-tables/class-payment-list-table.php:256 -msgid "Completed" -msgstr "" - -#: inc/database/payments/class-payment-status.php:92 -#: inc/list-tables/class-payment-list-table.php:274 -#: views/dashboard-statistics/widget-revenue.php:57 -msgid "Refunded" -msgstr "" - -#: inc/database/payments/class-payment-status.php:93 -#: inc/list-tables/class-payment-list-table.php:268 -msgid "Partially Refunded" -msgstr "" - -#: inc/database/payments/class-payment-status.php:94 -msgid "Partially Paid" -msgstr "" - -#: inc/database/payments/class-payment-status.php:95 -#: inc/list-tables/class-payment-list-table.php:208 -#: inc/list-tables/class-payment-list-table.php:280 -msgid "Failed" -msgstr "" - -#: inc/database/products/class-product-type.php:60 -msgid "Package" -msgstr "" - -#: inc/database/products/class-product-type.php:61 -#: inc/list-tables/class-line-item-list-table.php:212 -msgid "Service" -msgstr "" - -#: inc/database/sites/class-site-type.php:68 -msgid "Regular Site" -msgstr "" - -#: inc/debug/class-debug.php:74 -#: inc/debug/class-debug.php:77 -msgid "Pages" -msgstr "" - -#: inc/debug/class-debug.php:83 -#: inc/debug/class-debug.php:86 -#: views/shortcodes/shortcodes.php:28 -#: views/shortcodes/shortcodes.php:31 -msgid "Generator" -msgstr "" - -#: inc/debug/class-debug.php:92 -#: inc/debug/class-debug.php:95 -msgid "Reset Database" -msgstr "" - -#: inc/debug/class-debug.php:101 -#: inc/debug/class-debug.php:104 -msgid "Drop Database" -msgstr "" - -#: inc/debug/class-debug.php:162 -msgid "Toggle to generate customers." -msgstr "" - -#: inc/debug/class-debug.php:169 -msgid "Number of Customers" -msgstr "" - -#: inc/debug/class-debug.php:179 -msgid "Toggle to generate products." -msgstr "" - -#: inc/debug/class-debug.php:186 -msgid "Number of Products" -msgstr "" - -#: inc/debug/class-debug.php:196 -msgid "Toggle to generate memberships." -msgstr "" - -#: inc/debug/class-debug.php:203 -msgid "Number of Memberships" -msgstr "" - -#: inc/debug/class-debug.php:213 -msgid "Toggle to generate sites." -msgstr "" - -#: inc/debug/class-debug.php:220 -msgid "Number of Sites" -msgstr "" - -#: inc/debug/class-debug.php:230 -msgid "Toggle to generate domains." -msgstr "" - -#: inc/debug/class-debug.php:237 -msgid "Number of Domains" -msgstr "" - -#: inc/debug/class-debug.php:247 -msgid "Toggle to generate discount codes." -msgstr "" - -#: inc/debug/class-debug.php:254 -msgid "Number of Discount Codes" -msgstr "" - -#: inc/debug/class-debug.php:264 -msgid "Toggle to generate payments." -msgstr "" - -#: inc/debug/class-debug.php:271 -msgid "Number of Payments" -msgstr "" - -#: inc/debug/class-debug.php:280 -msgid "Generate Data →" -msgstr "" - -#: inc/debug/class-debug.php:403 -msgid "Only reset generated data." -msgstr "" - -#: inc/debug/class-debug.php:404 -msgid "Toggle this option to only remove data that was added by the generator previously. Untoggling this option will reset ALL data in Multisite Ultimate tables." -msgstr "" - -#: inc/debug/class-debug.php:412 -msgid "Reset Database →" -msgstr "" - -#: inc/debug/class-debug.php:489 -msgid "This action will drop the Multisite Ultimate database tables and is irreversable." -msgstr "" - -#: inc/debug/class-debug.php:492 -msgid "Drop Database Tables →" -msgstr "" - -#: inc/deprecated/deprecated.php:174 -#: inc/deprecated/deprecated.php:175 -msgid "Admin Page" -msgstr "" - -#. translators: % error message -#: inc/domain-mapping/class-helper.php:234 -#, php-format -msgid "Certificate Invalid: %s" -msgstr "" - -#: inc/functions/admin.php:25 -msgid "This is not yet available..." -msgstr "" - -#: inc/functions/admin.php:26 -msgid "We're still working on this part of the product." -msgstr "" - -#: inc/functions/admin.php:64 -msgid "No Title" -msgstr "" - -#: inc/functions/countries.php:23 -msgid "Afghanistan" -msgstr "" - -#: inc/functions/countries.php:24 -msgid "Åland Islands" -msgstr "" - -#: inc/functions/countries.php:25 -msgid "Albania" -msgstr "" - -#: inc/functions/countries.php:26 -msgid "Algeria" -msgstr "" - -#: inc/functions/countries.php:28 -msgid "Andorra" -msgstr "" - -#: inc/functions/countries.php:29 -msgid "Angola" -msgstr "" - -#: inc/functions/countries.php:30 -msgid "Anguilla" -msgstr "" - -#: inc/functions/countries.php:31 -msgid "Antarctica" -msgstr "" - -#: inc/functions/countries.php:32 -msgid "Antigua and Barbuda" -msgstr "" - -#: inc/functions/countries.php:33 -msgid "Argentina" -msgstr "" - -#: inc/functions/countries.php:34 -msgid "Armenia" -msgstr "" - -#: inc/functions/countries.php:35 -msgid "Aruba" -msgstr "" - -#: inc/functions/countries.php:36 -msgid "Australia" -msgstr "" - -#: inc/functions/countries.php:37 -msgid "Austria" -msgstr "" - -#: inc/functions/countries.php:38 -msgid "Azerbaijan" -msgstr "" - -#: inc/functions/countries.php:39 -msgid "Bahamas" -msgstr "" - -#: inc/functions/countries.php:40 -msgid "Bahrain" -msgstr "" - -#: inc/functions/countries.php:41 -msgid "Bangladesh" -msgstr "" - -#: inc/functions/countries.php:42 -msgid "Barbados" -msgstr "" - -#: inc/functions/countries.php:43 -msgid "Belarus" -msgstr "" - -#: inc/functions/countries.php:44 -msgid "Belgium" -msgstr "" - -#: inc/functions/countries.php:45 -msgid "Belau" -msgstr "" - -#: inc/functions/countries.php:46 -msgid "Belize" -msgstr "" - -#: inc/functions/countries.php:47 -msgid "Benin" -msgstr "" - -#: inc/functions/countries.php:48 -msgid "Bermuda" -msgstr "" - -#: inc/functions/countries.php:49 -msgid "Bhutan" -msgstr "" - -#: inc/functions/countries.php:50 -msgid "Bolivia" -msgstr "" - -#: inc/functions/countries.php:51 -msgid "Bonaire, Saint Eustatius and Saba" -msgstr "" - -#: inc/functions/countries.php:52 -msgid "Bosnia and Herzegovina" -msgstr "" - -#: inc/functions/countries.php:53 -msgid "Botswana" -msgstr "" - -#: inc/functions/countries.php:54 -msgid "Bouvet Island" -msgstr "" - -#: inc/functions/countries.php:56 -msgid "British Indian Ocean Territory" -msgstr "" - -#: inc/functions/countries.php:57 -msgid "British Virgin Islands" -msgstr "" - -#: inc/functions/countries.php:58 -msgid "Brunei" -msgstr "" - -#: inc/functions/countries.php:59 -msgid "Bulgaria" -msgstr "" - -#: inc/functions/countries.php:60 -msgid "Burkina Faso" -msgstr "" - -#: inc/functions/countries.php:61 -msgid "Burundi" -msgstr "" - -#: inc/functions/countries.php:62 -msgid "Cambodia" -msgstr "" - -#: inc/functions/countries.php:63 -msgid "Cameroon" -msgstr "" - -#: inc/functions/countries.php:65 -msgid "Cape Verde" -msgstr "" - -#: inc/functions/countries.php:66 -msgid "Cayman Islands" -msgstr "" - -#: inc/functions/countries.php:67 -msgid "Central African Republic" -msgstr "" - -#: inc/functions/countries.php:68 -msgid "Chad" -msgstr "" - -#: inc/functions/countries.php:69 -msgid "Chile" -msgstr "" - -#: inc/functions/countries.php:71 -msgid "Christmas Island" -msgstr "" - -#: inc/functions/countries.php:72 -msgid "Cocos (Keeling) Islands" -msgstr "" - -#: inc/functions/countries.php:73 -msgid "Colombia" -msgstr "" - -#: inc/functions/countries.php:74 -msgid "Comoros" -msgstr "" - -#: inc/functions/countries.php:75 -msgid "Congo (Brazzaville)" -msgstr "" - -#: inc/functions/countries.php:76 -msgid "Congo (Kinshasa)" -msgstr "" - -#: inc/functions/countries.php:77 -msgid "Cook Islands" -msgstr "" - -#: inc/functions/countries.php:78 -msgid "Costa Rica" -msgstr "" - -#: inc/functions/countries.php:79 -msgid "Croatia" -msgstr "" - -#: inc/functions/countries.php:80 -msgid "Cuba" -msgstr "" - -#: inc/functions/countries.php:81 -msgid "Curaçao" -msgstr "" - -#: inc/functions/countries.php:82 -msgid "Cyprus" -msgstr "" - -#: inc/functions/countries.php:83 -msgid "Czech Republic" -msgstr "" - -#: inc/functions/countries.php:84 -msgid "Denmark" -msgstr "" - -#: inc/functions/countries.php:85 -msgid "Djibouti" -msgstr "" - -#: inc/functions/countries.php:86 -msgid "Dominica" -msgstr "" - -#: inc/functions/countries.php:87 -msgid "Dominican Republic" -msgstr "" - -#: inc/functions/countries.php:88 -msgid "Ecuador" -msgstr "" - -#: inc/functions/countries.php:89 -msgid "Egypt" -msgstr "" - -#: inc/functions/countries.php:90 -msgid "El Salvador" -msgstr "" - -#: inc/functions/countries.php:91 -msgid "Equatorial Guinea" -msgstr "" - -#: inc/functions/countries.php:92 -msgid "Eritrea" -msgstr "" - -#: inc/functions/countries.php:93 -msgid "Estonia" -msgstr "" - -#: inc/functions/countries.php:94 -msgid "Ethiopia" -msgstr "" - -#: inc/functions/countries.php:95 -msgid "Falkland Islands" -msgstr "" - -#: inc/functions/countries.php:96 -msgid "Faroe Islands" -msgstr "" - -#: inc/functions/countries.php:97 -msgid "Fiji" -msgstr "" - -#: inc/functions/countries.php:98 -msgid "Finland" -msgstr "" - -#: inc/functions/countries.php:102 -msgid "French Southern Territories" -msgstr "" - -#: inc/functions/countries.php:103 -msgid "Gabon" -msgstr "" - -#: inc/functions/countries.php:104 -msgid "Gambia" -msgstr "" - -#: inc/functions/countries.php:107 -msgid "Ghana" -msgstr "" - -#: inc/functions/countries.php:108 -msgid "Gibraltar" -msgstr "" - -#: inc/functions/countries.php:109 -msgid "Greece" -msgstr "" - -#: inc/functions/countries.php:110 -msgid "Greenland" -msgstr "" - -#: inc/functions/countries.php:111 -msgid "Grenada" -msgstr "" - -#: inc/functions/countries.php:114 -msgid "Guatemala" -msgstr "" - -#: inc/functions/countries.php:115 -msgid "Guernsey" -msgstr "" - -#: inc/functions/countries.php:116 -msgid "Guinea" -msgstr "" - -#: inc/functions/countries.php:117 -msgid "Guinea-Bissau" -msgstr "" - -#: inc/functions/countries.php:118 -msgid "Guyana" -msgstr "" - -#: inc/functions/countries.php:119 -msgid "Haiti" -msgstr "" - -#: inc/functions/countries.php:120 -msgid "Heard Island and McDonald Islands" -msgstr "" - -#: inc/functions/countries.php:121 -msgid "Honduras" -msgstr "" - -#: inc/functions/countries.php:122 -msgid "Hong Kong" -msgstr "" - -#: inc/functions/countries.php:123 -msgid "Hungary" -msgstr "" - -#: inc/functions/countries.php:124 -msgid "Iceland" -msgstr "" - -#: inc/functions/countries.php:126 -msgid "Indonesia" -msgstr "" - -#: inc/functions/countries.php:127 -msgid "Iran" -msgstr "" - -#: inc/functions/countries.php:128 -msgid "Iraq" -msgstr "" - -#: inc/functions/countries.php:129 -msgid "Ireland" -msgstr "" - -#: inc/functions/countries.php:130 -msgid "Isle of Man" -msgstr "" - -#: inc/functions/countries.php:131 -msgid "Israel" -msgstr "" - -#: inc/functions/countries.php:132 -msgid "Italy" -msgstr "" - -#: inc/functions/countries.php:133 -msgid "Ivory Coast" -msgstr "" - -#: inc/functions/countries.php:134 -msgid "Jamaica" -msgstr "" - -#: inc/functions/countries.php:136 -msgid "Jersey" -msgstr "" - -#: inc/functions/countries.php:137 -msgid "Jordan" -msgstr "" - -#: inc/functions/countries.php:138 -msgid "Kazakhstan" -msgstr "" - -#: inc/functions/countries.php:139 -msgid "Kenya" -msgstr "" - -#: inc/functions/countries.php:140 -msgid "Kiribati" -msgstr "" - -#: inc/functions/countries.php:141 -msgid "Kuwait" -msgstr "" - -#: inc/functions/countries.php:142 -msgid "Kyrgyzstan" -msgstr "" - -#: inc/functions/countries.php:143 -msgid "Laos" -msgstr "" - -#: inc/functions/countries.php:144 -msgid "Latvia" -msgstr "" - -#: inc/functions/countries.php:145 -msgid "Lebanon" -msgstr "" - -#: inc/functions/countries.php:146 -msgid "Lesotho" -msgstr "" - -#: inc/functions/countries.php:147 -msgid "Liberia" -msgstr "" - -#: inc/functions/countries.php:148 -msgid "Libya" -msgstr "" - -#: inc/functions/countries.php:149 -msgid "Liechtenstein" -msgstr "" - -#: inc/functions/countries.php:150 -msgid "Lithuania" -msgstr "" - -#: inc/functions/countries.php:151 -msgid "Luxembourg" -msgstr "" - -#: inc/functions/countries.php:152 -msgid "Macao S.A.R., China" -msgstr "" - -#: inc/functions/countries.php:153 -msgid "Macedonia" -msgstr "" - -#: inc/functions/countries.php:154 -msgid "Madagascar" -msgstr "" - -#: inc/functions/countries.php:155 -msgid "Malawi" -msgstr "" - -#: inc/functions/countries.php:157 -msgid "Maldives" -msgstr "" - -#: inc/functions/countries.php:158 -msgid "Mali" -msgstr "" - -#: inc/functions/countries.php:159 -msgid "Malta" -msgstr "" - -#: inc/functions/countries.php:160 -msgid "Marshall Islands" -msgstr "" - -#: inc/functions/countries.php:162 -msgid "Mauritania" -msgstr "" - -#: inc/functions/countries.php:163 -msgid "Mauritius" -msgstr "" - -#: inc/functions/countries.php:166 -msgid "Micronesia" -msgstr "" - -#: inc/functions/countries.php:167 -msgid "Moldova" -msgstr "" - -#: inc/functions/countries.php:168 -msgid "Monaco" -msgstr "" - -#: inc/functions/countries.php:169 -msgid "Mongolia" -msgstr "" - -#: inc/functions/countries.php:170 -msgid "Montenegro" -msgstr "" - -#: inc/functions/countries.php:171 -msgid "Montserrat" -msgstr "" - -#: inc/functions/countries.php:172 -msgid "Morocco" -msgstr "" - -#: inc/functions/countries.php:173 -msgid "Mozambique" -msgstr "" - -#: inc/functions/countries.php:174 -msgid "Myanmar" -msgstr "" - -#: inc/functions/countries.php:175 -msgid "Namibia" -msgstr "" - -#: inc/functions/countries.php:176 -msgid "Nauru" -msgstr "" - -#: inc/functions/countries.php:177 -msgid "Nepal" -msgstr "" - -#: inc/functions/countries.php:179 -msgid "New Caledonia" -msgstr "" - -#: inc/functions/countries.php:180 -msgid "New Zealand" -msgstr "" - -#: inc/functions/countries.php:181 -msgid "Nicaragua" -msgstr "" - -#: inc/functions/countries.php:183 -msgid "Nigeria" -msgstr "" - -#: inc/functions/countries.php:184 -msgid "Niue" -msgstr "" - -#: inc/functions/countries.php:185 -msgid "Norfolk Island" -msgstr "" - -#: inc/functions/countries.php:187 -msgid "North Korea" -msgstr "" - -#: inc/functions/countries.php:188 -msgid "Norway" -msgstr "" - -#: inc/functions/countries.php:189 -msgid "Oman" -msgstr "" - -#: inc/functions/countries.php:190 -msgid "Pakistan" -msgstr "" - -#: inc/functions/countries.php:191 -msgid "Palestinian Territory" -msgstr "" - -#: inc/functions/countries.php:192 -msgid "Panama" -msgstr "" - -#: inc/functions/countries.php:193 -msgid "Papua New Guinea" -msgstr "" - -#: inc/functions/countries.php:194 -msgid "Paraguay" -msgstr "" - -#: inc/functions/countries.php:195 -msgid "Peru" -msgstr "" - -#: inc/functions/countries.php:196 -msgid "Philippines" -msgstr "" - -#: inc/functions/countries.php:197 -msgid "Pitcairn" -msgstr "" - -#: inc/functions/countries.php:198 -msgid "Poland" -msgstr "" - -#: inc/functions/countries.php:199 -msgid "Portugal" -msgstr "" - -#: inc/functions/countries.php:201 -msgid "Qatar" -msgstr "" - -#: inc/functions/countries.php:202 -msgid "Reunion" -msgstr "" - -#: inc/functions/countries.php:203 -msgid "Romania" -msgstr "" - -#: inc/functions/countries.php:205 -msgid "Rwanda" -msgstr "" - -#: inc/functions/countries.php:206 -msgid "Saint Barthélemy" -msgstr "" - -#: inc/functions/countries.php:208 -msgid "Saint Kitts and Nevis" -msgstr "" - -#: inc/functions/countries.php:209 -msgid "Saint Lucia" -msgstr "" - -#: inc/functions/countries.php:210 -msgid "Saint Martin (French part)" -msgstr "" - -#: inc/functions/countries.php:211 -msgid "Saint Martin (Dutch part)" -msgstr "" - -#: inc/functions/countries.php:213 -msgid "Saint Vincent and the Grenadines" -msgstr "" - -#: inc/functions/countries.php:214 -msgid "San Marino" -msgstr "" - -#: inc/functions/countries.php:215 -msgid "São Tomé and Príncipe" -msgstr "" - -#: inc/functions/countries.php:216 -msgid "Saudi Arabia" -msgstr "" - -#: inc/functions/countries.php:217 -msgid "Senegal" -msgstr "" - -#: inc/functions/countries.php:218 -msgid "Serbia" -msgstr "" - -#: inc/functions/countries.php:219 -msgid "Seychelles" -msgstr "" - -#: inc/functions/countries.php:220 -msgid "Sierra Leone" -msgstr "" - -#: inc/functions/countries.php:222 -msgid "Slovakia" -msgstr "" - -#: inc/functions/countries.php:223 -msgid "Slovenia" -msgstr "" - -#: inc/functions/countries.php:224 -msgid "Solomon Islands" -msgstr "" - -#: inc/functions/countries.php:225 -msgid "Somalia" -msgstr "" - -#: inc/functions/countries.php:227 -msgid "South Georgia/Sandwich Islands" -msgstr "" - -#: inc/functions/countries.php:228 -msgid "South Korea" -msgstr "" - -#: inc/functions/countries.php:229 -msgid "South Sudan" -msgstr "" - -#: inc/functions/countries.php:231 -msgid "Sri Lanka" -msgstr "" - -#: inc/functions/countries.php:232 -msgid "Sudan" -msgstr "" - -#: inc/functions/countries.php:233 -msgid "Suriname" -msgstr "" - -#: inc/functions/countries.php:234 -msgid "Svalbard and Jan Mayen" -msgstr "" - -#: inc/functions/countries.php:235 -msgid "Swaziland" -msgstr "" - -#: inc/functions/countries.php:236 -msgid "Sweden" -msgstr "" - -#: inc/functions/countries.php:237 -msgid "Switzerland" -msgstr "" - -#: inc/functions/countries.php:238 -msgid "Syria" -msgstr "" - -#: inc/functions/countries.php:240 -msgid "Tajikistan" -msgstr "" - -#: inc/functions/countries.php:241 -msgid "Tanzania" -msgstr "" - -#: inc/functions/countries.php:242 -msgid "Thailand" -msgstr "" - -#: inc/functions/countries.php:243 -msgid "Timor-Leste" -msgstr "" - -#: inc/functions/countries.php:244 -msgid "Togo" -msgstr "" - -#: inc/functions/countries.php:245 -msgid "Tokelau" -msgstr "" - -#: inc/functions/countries.php:246 -msgid "Tonga" -msgstr "" - -#: inc/functions/countries.php:247 -msgid "Trinidad and Tobago" -msgstr "" - -#: inc/functions/countries.php:248 -msgid "Tunisia" -msgstr "" - -#: inc/functions/countries.php:250 -msgid "Turkmenistan" -msgstr "" - -#: inc/functions/countries.php:251 -msgid "Turks and Caicos Islands" -msgstr "" - -#: inc/functions/countries.php:252 -msgid "Tuvalu" -msgstr "" - -#: inc/functions/countries.php:253 -msgid "Uganda" -msgstr "" - -#: inc/functions/countries.php:254 -msgid "Ukraine" -msgstr "" - -#: inc/functions/countries.php:255 -msgid "United Arab Emirates" -msgstr "" - -#: inc/functions/countries.php:256 -msgid "United Kingdom (UK)" -msgstr "" - -#: inc/functions/countries.php:257 -msgid "United States (US)" -msgstr "" - -#: inc/functions/countries.php:258 -msgid "United States (US) Minor Outlying Islands" -msgstr "" - -#: inc/functions/countries.php:259 -msgid "United States (US) Virgin Islands" -msgstr "" - -#: inc/functions/countries.php:260 -msgid "Uruguay" -msgstr "" - -#: inc/functions/countries.php:261 -msgid "Uzbekistan" -msgstr "" - -#: inc/functions/countries.php:262 -msgid "Vanuatu" -msgstr "" - -#: inc/functions/countries.php:263 -msgid "Vatican" -msgstr "" - -#: inc/functions/countries.php:264 -msgid "Venezuela" -msgstr "" - -#: inc/functions/countries.php:265 -msgid "Vietnam" -msgstr "" - -#: inc/functions/countries.php:267 -msgid "Western Sahara" -msgstr "" - -#: inc/functions/countries.php:268 -msgid "Samoa" -msgstr "" - -#: inc/functions/countries.php:269 -msgid "Yemen" -msgstr "" - -#: inc/functions/countries.php:270 -msgid "Zambia" -msgstr "" - -#: inc/functions/countries.php:271 -msgid "Zimbabwe" -msgstr "" - -#: inc/functions/countries.php:286 -msgid "Select Country" -msgstr "" - -#: inc/functions/countries.php:400 -msgid "Not found" -msgstr "" - -#: inc/functions/currency.php:23 -msgid "United Arab Emirates Dirham" -msgstr "" - -#: inc/functions/currency.php:24 -msgid "Afghan Afghani" -msgstr "" - -#: inc/functions/currency.php:25 -msgid "Albanian Lek" -msgstr "" - -#: inc/functions/currency.php:26 -msgid "Armenian Dram" -msgstr "" - -#: inc/functions/currency.php:27 -msgid "Angolan Kwanza" -msgstr "" - -#: inc/functions/currency.php:28 -msgid "Argentine Peso" -msgstr "" - -#: inc/functions/currency.php:29 -msgid "Australian Dollar" -msgstr "" - -#: inc/functions/currency.php:30 -msgid "Aruban Florin" -msgstr "" - -#: inc/functions/currency.php:31 -msgid "Azerbaijani Manat" -msgstr "" - -#: inc/functions/currency.php:32 -msgid "Bosnia & Herzegovina Convertible Mark" -msgstr "" - -#: inc/functions/currency.php:33 -msgid "Barbadian Dollar" -msgstr "" - -#: inc/functions/currency.php:34 -msgid "Bangladeshi Taka" -msgstr "" - -#: inc/functions/currency.php:35 -msgid "Bulgarian Lev" -msgstr "" - -#: inc/functions/currency.php:36 -msgid "Burundian Franc" -msgstr "" - -#: inc/functions/currency.php:37 -msgid "Bermudian Dollar" -msgstr "" - -#: inc/functions/currency.php:38 -msgid "Brunei Dollar" -msgstr "" - -#: inc/functions/currency.php:39 -msgid "Bolivian Boliviano" -msgstr "" - -#: inc/functions/currency.php:40 -msgid "Brazilian Real" -msgstr "" - -#: inc/functions/currency.php:41 -msgid "Bahamian Dollar" -msgstr "" - -#: inc/functions/currency.php:42 -msgid "Botswana Pula" -msgstr "" - -#: inc/functions/currency.php:43 -msgid "Belarusian Ruble" -msgstr "" - -#: inc/functions/currency.php:44 -msgid "Belize Dollar" -msgstr "" - -#: inc/functions/currency.php:45 -msgid "Canadian Dollar" -msgstr "" - -#: inc/functions/currency.php:46 -msgid "Congolese Franc" -msgstr "" - -#: inc/functions/currency.php:47 -msgid "Swiss Franc" -msgstr "" - -#: inc/functions/currency.php:48 -msgid "Chilean Peso" -msgstr "" - -#: inc/functions/currency.php:49 -msgid "Chinese Renminbi Yuan" -msgstr "" - -#: inc/functions/currency.php:50 -msgid "Colombian Peso" -msgstr "" - -#: inc/functions/currency.php:51 -msgid "Costa Rican Colón" -msgstr "" - -#: inc/functions/currency.php:52 -msgid "Cape Verdean Escudo" -msgstr "" - -#: inc/functions/currency.php:53 -msgid "Czech Koruna" -msgstr "" - -#: inc/functions/currency.php:54 -msgid "Djiboutian Franc" -msgstr "" - -#: inc/functions/currency.php:55 -msgid "Danish Krone" -msgstr "" - -#: inc/functions/currency.php:56 -msgid "Dominican Peso" -msgstr "" - -#: inc/functions/currency.php:57 -msgid "Algerian Dinar" -msgstr "" - -#: inc/functions/currency.php:58 -msgid "Egyptian Pound" -msgstr "" - -#: inc/functions/currency.php:59 -msgid "Ethiopian Birr" -msgstr "" - -#: inc/functions/currency.php:60 -msgid "Euro" -msgstr "" - -#: inc/functions/currency.php:61 -msgid "Fijian Dollar" -msgstr "" - -#: inc/functions/currency.php:62 -msgid "Falkland Islands Pound" -msgstr "" - -#: inc/functions/currency.php:63 -msgid "British Pound" -msgstr "" - -#: inc/functions/currency.php:64 -msgid "Georgian Lari" -msgstr "" - -#: inc/functions/currency.php:65 -msgid "Gibraltar Pound" -msgstr "" - -#: inc/functions/currency.php:66 -msgid "Gambian Dalasi" -msgstr "" - -#: inc/functions/currency.php:67 -msgid "Guinean Franc" -msgstr "" - -#: inc/functions/currency.php:68 -msgid "Guatemalan Quetzal" -msgstr "" - -#: inc/functions/currency.php:69 -msgid "Guyanese Dollar" -msgstr "" - -#: inc/functions/currency.php:70 -msgid "Hong Kong Dollar" -msgstr "" - -#: inc/functions/currency.php:71 -msgid "Honduran Lempira" -msgstr "" - -#: inc/functions/currency.php:72 -msgid "Croatian Kuna" -msgstr "" - -#: inc/functions/currency.php:73 -msgid "Haitian Gourde" -msgstr "" - -#: inc/functions/currency.php:74 -msgid "Hungarian Forint" -msgstr "" - -#: inc/functions/currency.php:75 -msgid "Indonesian Rupiah" -msgstr "" - -#: inc/functions/currency.php:76 -msgid "Israeli New Sheqel" -msgstr "" - -#: inc/functions/currency.php:77 -msgid "Indian Rupee" -msgstr "" - -#: inc/functions/currency.php:78 -msgid "Icelandic Króna" -msgstr "" - -#: inc/functions/currency.php:79 -msgid "Jamaican Dollar" -msgstr "" - -#: inc/functions/currency.php:80 -msgid "Japanese Yen" -msgstr "" - -#: inc/functions/currency.php:81 -msgid "Kenyan Shilling" -msgstr "" - -#: inc/functions/currency.php:82 -msgid "Kyrgyzstani Som" -msgstr "" - -#: inc/functions/currency.php:83 -msgid "Cambodian Riel" -msgstr "" - -#: inc/functions/currency.php:84 -msgid "Comorian Franc" -msgstr "" - -#: inc/functions/currency.php:85 -msgid "South Korean Won" -msgstr "" - -#: inc/functions/currency.php:86 -msgid "Cayman Islands Dollar" -msgstr "" - -#: inc/functions/currency.php:87 -msgid "Kazakhstani Tenge" -msgstr "" - -#: inc/functions/currency.php:88 -msgid "Lao Kip" -msgstr "" - -#: inc/functions/currency.php:89 -msgid "Lebanese Pound" -msgstr "" - -#: inc/functions/currency.php:90 -msgid "Sri Lankan Rupee" -msgstr "" - -#: inc/functions/currency.php:91 -msgid "Liberian Dollar" -msgstr "" - -#: inc/functions/currency.php:92 -msgid "Lesotho Loti" -msgstr "" - -#: inc/functions/currency.php:93 -msgid "Moroccan Dirham" -msgstr "" - -#: inc/functions/currency.php:94 -msgid "Moldovan Leu" -msgstr "" - -#: inc/functions/currency.php:95 -msgid "Malagasy Ariary" -msgstr "" - -#: inc/functions/currency.php:96 -msgid "Macedonian Denar" -msgstr "" - -#: inc/functions/currency.php:97 -msgid "Myanmar Kyat" -msgstr "" - -#: inc/functions/currency.php:98 -msgid "Mongolian Tögrög" -msgstr "" - -#: inc/functions/currency.php:99 -msgid "Macanese Pataca" -msgstr "" - -#: inc/functions/currency.php:100 -msgid "Mauritanian Ouguiya" -msgstr "" - -#: inc/functions/currency.php:101 -msgid "Mauritian Rupee" -msgstr "" - -#: inc/functions/currency.php:102 -msgid "Maldivian Rufiyaa" -msgstr "" - -#: inc/functions/currency.php:103 -msgid "Malawian Kwacha" -msgstr "" - -#: inc/functions/currency.php:104 -msgid "Mexican Peso" -msgstr "" - -#: inc/functions/currency.php:105 -msgid "Malaysian Ringgit" -msgstr "" - -#: inc/functions/currency.php:106 -msgid "Mozambican Metical" -msgstr "" - -#: inc/functions/currency.php:107 -msgid "Namibian Dollar" -msgstr "" - -#: inc/functions/currency.php:108 -msgid "Nigerian Naira" -msgstr "" - -#: inc/functions/currency.php:109 -msgid "Nicaraguan Córdoba" -msgstr "" - -#: inc/functions/currency.php:110 -msgid "Norwegian Krone" -msgstr "" - -#: inc/functions/currency.php:111 -msgid "Nepalese Rupee" -msgstr "" - -#: inc/functions/currency.php:112 -msgid "New Zealand Dollar" -msgstr "" - -#: inc/functions/currency.php:113 -msgid "Panamanian Balboa" -msgstr "" - -#: inc/functions/currency.php:114 -msgid "Peruvian Nuevo Sol" -msgstr "" - -#: inc/functions/currency.php:115 -msgid "Papua New Guinean Kina" -msgstr "" - -#: inc/functions/currency.php:116 -msgid "Philippine Peso" -msgstr "" - -#: inc/functions/currency.php:117 -msgid "Pakistani Rupee" -msgstr "" - -#: inc/functions/currency.php:118 -msgid "Polish Złoty" -msgstr "" - -#: inc/functions/currency.php:119 -msgid "Paraguayan Guaraní" -msgstr "" - -#: inc/functions/currency.php:120 -msgid "Qatari Riyal" -msgstr "" - -#: inc/functions/currency.php:121 -msgid "Romanian Leu" -msgstr "" - -#: inc/functions/currency.php:122 -msgid "Serbian Dinar" -msgstr "" - -#: inc/functions/currency.php:123 -msgid "Russian Ruble" -msgstr "" - -#: inc/functions/currency.php:124 -msgid "Rwandan Franc" -msgstr "" - -#: inc/functions/currency.php:125 -msgid "Saudi Riyal" -msgstr "" - -#: inc/functions/currency.php:126 -msgid "Solomon Islands Dollar" -msgstr "" - -#: inc/functions/currency.php:127 -msgid "Seychellois Rupee" -msgstr "" - -#: inc/functions/currency.php:128 -msgid "Swedish Krona" -msgstr "" - -#: inc/functions/currency.php:129 -msgid "Singapore Dollar" -msgstr "" - -#: inc/functions/currency.php:130 -msgid "Saint Helenian Pound" -msgstr "" - -#: inc/functions/currency.php:131 -msgid "Sierra Leonean Leone" -msgstr "" - -#: inc/functions/currency.php:132 -msgid "Somali Shilling" -msgstr "" - -#: inc/functions/currency.php:133 -msgid "Surinamese Dollar" -msgstr "" - -#: inc/functions/currency.php:134 -msgid "São Tomé and Príncipe Dobra" -msgstr "" - -#: inc/functions/currency.php:135 -msgid "Salvadoran Colón" -msgstr "" - -#: inc/functions/currency.php:136 -msgid "Swazi Lilangeni" -msgstr "" - -#: inc/functions/currency.php:137 -msgid "Thai Baht" -msgstr "" - -#: inc/functions/currency.php:138 -msgid "Tajikistani Somoni" -msgstr "" - -#: inc/functions/currency.php:139 -msgid "Tongan Paʻanga" -msgstr "" - -#: inc/functions/currency.php:140 -msgid "Turkish Lira" -msgstr "" - -#: inc/functions/currency.php:141 -msgid "Trinidad and Tobago Dollar" -msgstr "" - -#: inc/functions/currency.php:142 -msgid "New Taiwan Dollar" -msgstr "" - -#: inc/functions/currency.php:143 -msgid "Tanzanian Shilling" -msgstr "" - -#: inc/functions/currency.php:144 -msgid "Ukrainian Hryvnia" -msgstr "" - -#: inc/functions/currency.php:145 -msgid "Ugandan Shilling" -msgstr "" - -#: inc/functions/currency.php:146 -msgid "United States Dollar" -msgstr "" - -#: inc/functions/currency.php:147 -msgid "Uruguayan Peso" -msgstr "" - -#: inc/functions/currency.php:148 -msgid "Uzbekistani Som" -msgstr "" - -#: inc/functions/currency.php:149 -msgid "Vietnamese Đồng" -msgstr "" - -#: inc/functions/currency.php:150 -msgid "Vanuatu Vatu" -msgstr "" - -#: inc/functions/currency.php:151 -msgid "Samoan Tala" -msgstr "" - -#: inc/functions/currency.php:152 -msgid "Central African Cfa Franc" -msgstr "" - -#: inc/functions/currency.php:153 -msgid "East Caribbean Dollar" -msgstr "" - -#: inc/functions/currency.php:154 -msgid "West African Cfa Franc" -msgstr "" - -#: inc/functions/currency.php:155 -msgid "Cfp Franc" -msgstr "" - -#: inc/functions/currency.php:156 -msgid "Caribbean Guilder" -msgstr "" - -#: inc/functions/currency.php:157 -msgid "Yemeni Rial" -msgstr "" - -#: inc/functions/currency.php:158 -msgid "South African Rand" -msgstr "" - -#: inc/functions/currency.php:159 -msgid "Zambian Kwacha" -msgstr "" - -#: inc/functions/customer.php:163 -msgid "The email address is invalid." -msgstr "" - -#: inc/functions/customer.php:179 -msgid "We were not able to create a new user with the provided username and email address combination." -msgstr "" - -#: inc/functions/customer.php:186 -msgid "We were not able to find a user with the given user_id." -msgstr "" - -#: inc/functions/date.php:115 -#: views/dashboard-statistics/widget-tax-by-day.php:19 -#: views/dashboard-statistics/widget-tax-by-day.php:52 -msgid "Day" -msgstr "" - -#: inc/functions/date.php:118 -msgid "Month" -msgstr "" - -#: inc/functions/date.php:121 -msgid "Year" -msgstr "" - -#. translators: %s: date. -#: inc/functions/date.php:148 -#, php-format -msgid "on %s" -msgstr "" - -#. translators: %s is a relative past date. -#: inc/functions/date.php:156 -#: inc/list-tables/class-base-list-table.php:834 -#: inc/list-tables/class-membership-list-table.php:210 -#: views/admin-pages/fields/field-text-display.php:42 -#: views/admin-pages/fields/field-text-edit.php:45 -#, php-format -msgid "In %s" -msgstr "" - -#: inc/functions/gateway.php:29 -msgid "You should not register new payment gateways before the wu_register_gateways hook." -msgstr "" - -#: inc/functions/legacy.php:273 -msgid "Strength indicator" -msgstr "" - -#: inc/functions/limitations.php:68 -#: inc/functions/limitations.php:107 -msgid "Invalid site ID" -msgstr "" - -#: inc/functions/membership.php:377 -#: inc/functions/membership.php:404 -msgid "credit" -msgstr "" - -#: inc/functions/membership.php:377 -#: inc/functions/membership.php:404 -msgid "debit" -msgstr "" - -#. translators: %s is the type of adjustment (credit or debit). -#: inc/functions/membership.php:383 -#: inc/functions/membership.php:410 -#, php-format -msgid "Adjustment %s" -msgstr "" - -#: inc/functions/membership.php:384 -msgid "Amount adjustment based on previous deal." -msgstr "" - -#: inc/functions/membership.php:411 -msgid "Initial amount adjustment based on previous deal." -msgstr "" - -#: inc/functions/mock.php:24 -msgid "Example Site" -msgstr "" - -#: inc/functions/mock.php:25 -msgid "This is an example of a site description." -msgstr "" - -#: inc/functions/mock.php:26 -msgid "examplesite.dev" -msgstr "" - -#: inc/functions/mock.php:69 -msgid "Test Product" -msgstr "" - -#: inc/functions/settings.php:112 -msgid "Side Panel" -msgstr "" - -#: inc/functions/sunrise.php:39 -msgid "Regular setting APIs are already available. You should use wu_get_setting() instead." -msgstr "" - -#: inc/functions/sunrise.php:62 -msgid "Regular setting APIs are already available. You should use wu_save_setting() instead." -msgstr "" - -#: inc/functions/user.php:28 -msgid "Use Multisite Ultimate default" -msgstr "" - -#: inc/gateways/class-base-gateway.php:617 -msgid "The current payment integration will be cancelled." -msgstr "" - -#: inc/gateways/class-base-gateway.php:620 -msgid "You will receive a new invoice on the next billing cycle." -msgstr "" - -#: inc/gateways/class-base-gateway.php:622 -msgid "The customer will receive a new invoice on the next billing cycle." -msgstr "" - -#: inc/gateways/class-base-gateway.php:628 -msgid "The current payment integration will be updated." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:233 -msgid "Change Payment Method" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:346 -msgid "Manage your membership payment methods." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:379 -#: inc/gateways/class-stripe-checkout-gateway.php:67 -#: inc/gateways/class-stripe-gateway.php:94 -msgid "Credit Card" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:396 -msgid "Use Stripe Billing Portal" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:545 -#: inc/gateways/class-base-stripe-gateway.php:569 -msgid "Invalid API Key provided" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:695 -#: inc/gateways/class-paypal-gateway.php:345 -msgid "Error: No gateway subscription ID found for this membership." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:779 -msgid "Amount adjustment based on custom deal." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1063 -msgid "Invalid payment method" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1269 -#: inc/gateways/class-paypal-gateway.php:585 -#: inc/gateways/class-paypal-gateway.php:590 -msgid "Account credit and other discounts" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1738 -#: inc/gateways/class-paypal-gateway.php:721 -msgid "Gateway payment ID not found. Cannot process refund automatically." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1757 -msgid "Gateway payment ID not valid." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1890 -msgid "An unknown error has occurred." -msgstr "" - -#. translators: 1 is the error code and 2 the message. -#: inc/gateways/class-base-stripe-gateway.php:1913 -#, php-format -msgid "An error has occurred (code: %1$s; message: %2$s)." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:1954 -msgid "Event ID not found." -msgstr "" - -#. translators: %s is the customer ID. -#: inc/gateways/class-base-stripe-gateway.php:2057 -#, php-format -msgid "Exiting Stripe webhook - This call must be handled by %s webhook" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2335 -msgid "Duplicate payment." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2352 -msgid "Payment not found on refund webhook call." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2358 -msgid "Payment is not refundable." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2409 -msgid "Membership cancelled via Stripe webhook." -msgstr "" - -#. translators: 1 is the card brand (e.g. VISA), and 2 is the last 4 digits. -#: inc/gateways/class-base-stripe-gateway.php:2442 -#, php-format -msgid "%1$s ending in %2$s" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2472 -msgid "Name on Card" -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2618 -msgid "Missing plan name or price." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2639 -msgid "Empty plan ID." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2720 -msgid "Missing product name." -msgstr "" - -#: inc/gateways/class-base-stripe-gateway.php:2732 -msgid "Empty product ID." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:90 -#: inc/list-tables/class-payment-list-table.php:219 -#: inc/managers/class-gateway-manager.php:428 -msgid "Manual" -msgstr "" - -#: inc/gateways/class-manual-gateway.php:91 -msgid "Use the settings section below to configure the manual payment method. This method allows your customers to manually pay for their memberships, but those payments require manual confirmation on your part." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:104 -msgid "Payment Instructions" -msgstr "" - -#: inc/gateways/class-manual-gateway.php:105 -msgid "This instructions will be shown to the customer on the thank you page, as well as be sent via email." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:108 -msgid "Payment instructions here." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:144 -msgid "You will receive a updated invoice on the next billing cycle." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:146 -msgid "The customer will receive a updated invoice on the next billing cycle." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:358 -msgid "After you finish signing up, we will send you an email with instructions to finalize the payment. Your account will be pending until the payment is finalized and confirmed." -msgstr "" - -#: inc/gateways/class-manual-gateway.php:391 -msgid "Instructions for Payment" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:193 -#: inc/managers/class-gateway-manager.php:422 -msgid "PayPal" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:194 -msgid "Use the settings section below to configure PayPal Express as a payment method." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:207 -msgid "PayPal Sandbox Mode" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:208 -msgid "Toggle this to put PayPal on sandbox mode. This is useful for testing and making sure PayPal is correctly setup to handle your payments." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:224 -msgid "PayPal Test Username" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:226 -msgid "Make sure you are placing the TEST username, not the live one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:227 -#: inc/gateways/class-paypal-gateway.php:281 -msgid "e.g. username_api1.username.co" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:242 -msgid "PayPal Test Password" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:244 -msgid "Make sure you are placing the TEST password, not the live one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:245 -#: inc/gateways/class-paypal-gateway.php:299 -msgid "e.g. IUOSABK987HJG88N" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:260 -msgid "PayPal Test Signature" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:262 -msgid "Make sure you are placing the TEST signature, not the live one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:263 -#: inc/gateways/class-paypal-gateway.php:317 -msgid "e.g. AFcpSSRl31ADOdqnHNv4KZdVHEQzdMEEsWxV21C7fd0v3bYYYRCwYxqo" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:278 -msgid "PayPal Live Username" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:280 -msgid "Make sure you are placing the LIVE username, not the test one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:296 -msgid "PayPal Live Password" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:298 -msgid "Make sure you are placing the LIVE password, not the test one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:314 -msgid "PayPal Live Signature" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:316 -msgid "Make sure you are placing the LIVE signature, not the test one." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:353 -msgid "Error: PayPal does not support changing the duration of a subscription." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:371 -msgid "Membership update" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:403 -msgid "PayPal Error:" -msgstr "" - -#. translators: %1$s is the date it will end -#: inc/gateways/class-paypal-gateway.php:508 -#: views/checkout/paypal/confirm.php:19 -#, php-format -msgid "Your trial period will end on %1$s." -msgstr "" - -#. translators: $1$s the date membership will start, $2$s amount to be billed. -#: inc/gateways/class-paypal-gateway.php:527 -#, php-format -msgid "Your updated membership will start on $1$s, from that date you will be billed %2$s every month." -msgstr "" - -#. translators: $1$s the date membership will start, $2$s amount to be billed, %3$s the description of how often. -#: inc/gateways/class-paypal-gateway.php:531 -#: views/checkout/paypal/confirm.php:44 -#, php-format -msgid "Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s." -msgstr "" - -#. translators: $1$s amount to be billed, $2$s how often -#: inc/gateways/class-paypal-gateway.php:535 -#, php-format -msgid "After the first payment you will be billed %1$s %2$s." -msgstr "" - -#. translators: $1$s amount to be billed, $2$s how often -#: inc/gateways/class-paypal-gateway.php:538 -#: views/checkout/paypal/confirm.php:52 -#, php-format -msgid "After this payment you will be billed %1$s %2$s." -msgstr "" - -#. translators: $1$s amount to be billed, $2$s how often -#: inc/gateways/class-paypal-gateway.php:542 -#: views/checkout/paypal/confirm.php:59 -#, php-format -msgid "From that date, you will be billed %1$s %2$s." -msgstr "" - -#. translators: $1$s how often -#: inc/gateways/class-paypal-gateway.php:545 -#: views/checkout/paypal/confirm.php:62 -#, php-format -msgid "After this payment you will be billed %1$s." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:661 -#: inc/gateways/class-paypal-gateway.php:1395 -#: inc/gateways/class-paypal-gateway.php:1550 -msgid "Something has gone wrong, please try again" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:783 -#: inc/list-tables/class-base-list-table.php:657 -#: inc/managers/class-form-manager.php:499 -#: inc/ui/class-billing-info-element.php:384 -#: inc/ui/class-current-site-element.php:486 -#: inc/ui/class-site-actions-element.php:691 -msgid "Something went wrong." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:798 -msgid "You will be redirected to PayPal to complete the purchase." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:834 -msgid "PayPal token no longer valid." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:850 -msgid "Pending payment does not exist." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:864 -msgid "Original cart does not exist." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:878 -msgid "Missing membership or customer data." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:966 -msgid "Exiting PayPal Express IPN - membership ID not found." -msgstr "" - -#. translators: %s: Transaction ID -#: inc/gateways/class-paypal-gateway.php:1085 -#, php-format -msgid "Transaction ID %s failed in PayPal." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1091 -msgid "unknown" -msgstr "" - -#. translators: %1$s: Transaction ID, %2$s: Pending reason -#: inc/gateways/class-paypal-gateway.php:1093 -#, php-format -msgid "Transaction ID %1$s is pending in PayPal for reason: %2$s" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1137 -msgid "Initial payment failed in PayPal Express." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1139 -msgid "Initial payment failed." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1152 -msgid "Membership cancelled via PayPal Express IPN." -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1396 -#: inc/gateways/class-paypal-gateway.php:1551 -#: inc/managers/class-gateway-manager.php:285 -#: inc/managers/class-gateway-manager.php:314 -#: inc/managers/class-gateway-manager.php:326 -#: views/ui/jumper.php:24 -msgid "Error" -msgstr "" - -#: inc/gateways/class-paypal-gateway.php:1573 -msgid "Invalid response code from PayPal" -msgstr "" - -#. translators: %s is the paypal error message. -#: inc/gateways/class-paypal-gateway.php:1576 -#, php-format -msgid "An unexpected PayPal error occurred. Error message: %s." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:50 -#: inc/managers/class-gateway-manager.php:416 -msgid "Stripe Checkout" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:51 -msgid "Use the settings section below to configure Stripe Checkout as a payment method." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:64 -#: inc/gateways/class-stripe-gateway.php:91 -msgid "Stripe Public Name" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:65 -#: inc/gateways/class-stripe-gateway.php:92 -msgid "The name to display on the payment method selection field. By default, \"Credit Card\" is used." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:78 -msgid "Stripe Checkout Sandbox Mode" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:79 -#: inc/gateways/class-stripe-gateway.php:106 -msgid "Toggle this to put Stripe on sandbox mode. This is useful for testing and making sure Stripe is correctly setup to handle your payments." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:97 -#: inc/gateways/class-stripe-gateway.php:124 -msgid "Stripe Test Publishable Key" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:99 -#: inc/gateways/class-stripe-checkout-gateway.php:119 -#: inc/gateways/class-stripe-gateway.php:126 -#: inc/gateways/class-stripe-gateway.php:146 -msgid "Make sure you are placing the TEST keys, not the live ones." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:100 -#: inc/gateways/class-stripe-gateway.php:127 -msgid "pk_test_***********" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:117 -#: inc/gateways/class-stripe-gateway.php:144 -msgid "Stripe Test Secret Key" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:120 -#: inc/gateways/class-stripe-gateway.php:147 -msgid "sk_test_***********" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:137 -#: inc/gateways/class-stripe-gateway.php:164 -msgid "Stripe Live Publishable Key" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:139 -#: inc/gateways/class-stripe-checkout-gateway.php:159 -#: inc/gateways/class-stripe-gateway.php:166 -#: inc/gateways/class-stripe-gateway.php:186 -msgid "Make sure you are placing the LIVE keys, not the test ones." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:140 -#: inc/gateways/class-stripe-gateway.php:167 -msgid "pk_live_***********" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:157 -#: inc/gateways/class-stripe-gateway.php:184 -msgid "Stripe Live Secret Key" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:160 -#: inc/gateways/class-stripe-gateway.php:187 -msgid "sk_live_***********" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:171 -#: inc/gateways/class-stripe-gateway.php:198 -msgid "Whenever you change your Stripe settings, Multisite Ultimate will automatically check the webhook URLs on your Stripe account to make sure we get notified about changes in subscriptions and payments." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:177 -#: inc/gateways/class-stripe-gateway.php:204 -msgid "Webhook Listener URL" -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:179 -#: inc/gateways/class-stripe-gateway.php:206 -msgid "This is the URL Stripe should send webhook calls to." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:400 -msgid "You will be redirected to a checkout to complete the purchase." -msgstr "" - -#: inc/gateways/class-stripe-checkout-gateway.php:422 -#: inc/gateways/class-stripe-gateway.php:726 -msgid "Saved Cards" -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:77 -#: inc/list-tables/class-payment-list-table.php:221 -#: inc/managers/class-gateway-manager.php:410 -msgid "Stripe" -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:78 -msgid "Use the settings section below to configure Stripe as a payment method." -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:105 -msgid "Stripe Sandbox Mode" -msgstr "" - -#. translators: %s is the error message. -#: inc/gateways/class-stripe-gateway.php:261 -#, php-format -msgid "Error creating Stripe customer: %s" -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:515 -msgid "Missing Stripe payment intent, please try again or contact support if the issue persists." -msgstr "" - -#. translators: first is the customer id, then the customer email. -#: inc/gateways/class-stripe-gateway.php:550 -#, php-format -msgid "Customer ID: %1$d - User Email: %2$s" -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:651 -msgid "Add new card" -msgstr "" - -#: inc/gateways/class-stripe-gateway.php:656 -msgid "Saved Payment Methods" -msgstr "" - -#. translators: %s is the API URL. -#: inc/helpers/class-screenshot.php:61 -#, php-format -msgid "Downloading image from \"%s\":" -msgstr "" - -#: inc/helpers/class-screenshot.php:86 -msgid "Result is not a PNG file." -msgstr "" - -#: inc/helpers/class-screenshot.php:125 -#: inc/installers/class-core-installer.php:73 -#: inc/installers/class-core-installer.php:83 -#: inc/installers/class-default-content-installer.php:154 -#: inc/installers/class-default-content-installer.php:164 -#: inc/installers/class-default-content-installer.php:174 -#: inc/installers/class-default-content-installer.php:184 -#: inc/installers/class-default-content-installer.php:194 -#: inc/installers/class-migrator.php:267 -#: inc/installers/class-migrator.php:280 -#: inc/installers/class-migrator.php:385 -msgid "Success!" -msgstr "" - -#. translators: %s the file path that failed. -#: inc/helpers/class-site-duplicator.php:24 -#, php-format -msgid "Failed to copy files : check permissions on %s" -msgstr "" - -#: inc/helpers/class-site-duplicator.php:27 -msgid "View log" -msgstr "" - -#. translators: %s id the template site id and %s is the error message returned. -#: inc/helpers/class-site-duplicator.php:69 -#, php-format -msgid "Attempt to duplicate site %1$d failed: %2$s" -msgstr "" - -#. translators: %1$d is the ID of the site template used, and %2$d is the id of the new site. -#: inc/helpers/class-site-duplicator.php:77 -#, php-format -msgid "Attempt to duplicate site %1$d successful - New site id: %2$d" -msgstr "" - -#. translators: %s id the template site id and %s is the error message returned. -#: inc/helpers/class-site-duplicator.php:121 -#, php-format -msgid "Attempt to override site %1$d with data from site %2$d failed: %3$s" -msgstr "" - -#. translators: %1$d is the ID of the site template used, and %2$d is the ID of the overriden site. -#: inc/helpers/class-site-duplicator.php:145 -#, php-format -msgid "Attempt to override site %1$d with data from site %2$d successful." -msgstr "" - -#: inc/helpers/class-site-duplicator.php:201 -msgid "You need to provide a valid site to duplicate." -msgstr "" - -#: inc/helpers/class-site-duplicator.php:223 -msgid "An attempt to create a new site failed." -msgstr "" - -#: inc/helpers/class-site-duplicator.php:287 -msgid "We were not able to create a new admin user for the site being duplicated." -msgstr "" - -#. translators: %s is the field name. -#: inc/helpers/class-validator.php:67 -#, php-format -msgid "The %s field is required" -msgstr "" - -#. translators: %s is the email field identifier -#: inc/helpers/class-validator.php:76 -#, php-format -msgid "The %s is not a valid email" -msgstr "" - -#. translators: 1st %s is the field name; 2nd is the allowed value -#: inc/helpers/class-validator.php:78 -#, php-format -msgid "The %1$s minimum is %2$s" -msgstr "" - -#. translators: 1st %s is the field name; 2nd is the allowed value -#: inc/helpers/class-validator.php:80 -#, php-format -msgid "The %1$s maximum is %2$s" -msgstr "" - -#. translators: %s is the field identifier -#: inc/helpers/class-validator.php:82 -#, php-format -msgid "The %s only allows a-z, 0-9, _ and -" -msgstr "" - -#. translators: %s is the field identifier -#: inc/helpers/class-validator.php:84 -#, php-format -msgid "The %s must be lowercase" -msgstr "" - -#. translators: %s is the field identifier -#: inc/helpers/class-validator.php:86 -#, php-format -msgid "The %s must be integer" -msgstr "" - -#: inc/helpers/class-validator.php:95 -#: inc/models/class-discount-code.php:660 -#: views/base/filter.php:123 -#: views/base/filter.php:131 -#: views/wizards/host-integrations/cloudflare-instructions.php:14 -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "and" -msgstr "" - -#: inc/helpers/class-validator.php:96 -#: views/base/filter.php:124 -#: views/base/filter.php:132 -msgid "or" -msgstr "" - -#. translators: %1$s: HTTP response code, %2$s: response body -#: inc/helpers/class-woocommerce-api-client.php:91 -#, php-format -msgid "WooCommerce API request failed with status %1$s: %2$s" -msgstr "" - -#: inc/helpers/class-woocommerce-api-client.php:103 -msgid "Failed to decode API response JSON" -msgstr "" - -#. translators: %s is the file name. -#: inc/helpers/class-wp-config.php:40 -#: inc/helpers/class-wp-config.php:183 -#, php-format -msgid "The file %s is not writable" -msgstr "" - -#: inc/helpers/class-wp-config.php:55 -msgid "Multisite Ultimate can't recognize your wp-config.php, please revert it to original state for further process." -msgstr "" - -#. translators: %s is a placeholder for the field name -#: inc/helpers/validation-rules/class-checkout-steps.php:79 -#, php-format -msgid "The %s field must be present in at least one of the checkout form steps." -msgstr "" - -#. translators: %s is a placeholder for the step name -#: inc/helpers/validation-rules/class-checkout-steps.php:116 -#, php-format -msgid "The %s step is missing a submit field" -msgstr "" - -#: inc/helpers/validation-rules/class-price-variations.php:87 -msgid "This product cannot have a price variation for the same duration and duration unit values as the product itself." -msgstr "" - -#: inc/helpers/validation-rules/class-products.php:58 -msgid "A plan is required." -msgstr "" - -#: inc/helpers/validation-rules/class-site-template.php:59 -msgid "The Template ID does not correspond to a valid Template" -msgstr "" - -#: inc/helpers/validation-rules/class-site-template.php:66 -msgid "You can not use your sites as template" -msgstr "" - -#: inc/helpers/validation-rules/class-site-template.php:74 -msgid "The selected template is not available." -msgstr "" - -#: inc/helpers/validation-rules/class-site-template.php:106 -msgid "The selected template is not available for this product." -msgstr "" - -#: inc/helpers/validation-rules/class-unique.php:84 -msgid "A customer with the same email address or username already exists." -msgstr "" - -#. translators: %1$s opening a tag, %2$s closing a tag. -#: inc/installers/class-core-installer.php:44 -#, php-format -msgid "You are using Closte and they prevent the wp-config.php file from being written to. %1$s Follow these instructions to do it manually %2$s." -msgstr "" - -#: inc/installers/class-core-installer.php:69 -msgid "Create Database Tables" -msgstr "" - -#: inc/installers/class-core-installer.php:70 -msgid "Multisite Ultimate uses custom tables for performance reasons. We need to create those tables and make sure they are setup properly before we can activate the plugin." -msgstr "" - -#: inc/installers/class-core-installer.php:72 -msgid "Creating default tables..." -msgstr "" - -#: inc/installers/class-core-installer.php:79 -msgid "Install sunrise.php File" -msgstr "" - -#: inc/installers/class-core-installer.php:80 -msgid "We need to add our own sunrise.php file to the wp-content folder in order to be able to control access to sites and plugins before anything else happens on WordPress. " -msgstr "" - -#: inc/installers/class-core-installer.php:82 -msgid "Installing sunrise file..." -msgstr "" - -#. translators: %s is the name of a database table, e.g. wu_memberships. -#: inc/installers/class-core-installer.php:118 -#, php-format -msgid "Installation of the table %s failed" -msgstr "" - -#: inc/installers/class-default-content-installer.php:150 -msgid "Create Example Template Site" -msgstr "" - -#: inc/installers/class-default-content-installer.php:151 -msgid "This will create a template site on your network that you can use as a starting point." -msgstr "" - -#: inc/installers/class-default-content-installer.php:153 -msgid "Creating Template Site..." -msgstr "" - -#: inc/installers/class-default-content-installer.php:160 -msgid "Create Example Products" -msgstr "" - -#: inc/installers/class-default-content-installer.php:161 -msgid "This action will create example products (plans, packages, and services), so you have an starting point." -msgstr "" - -#: inc/installers/class-default-content-installer.php:163 -msgid "Creating Products..." -msgstr "" - -#: inc/installers/class-default-content-installer.php:170 -msgid "Create a Checkout Form" -msgstr "" - -#: inc/installers/class-default-content-installer.php:171 -msgid "This action will create a single-step checkout form that your customers will use to place purchases, as well as the page that goes with it." -msgstr "" - -#: inc/installers/class-default-content-installer.php:173 -msgid "Creating Checkout Form and Registration Page..." -msgstr "" - -#: inc/installers/class-default-content-installer.php:180 -msgid "Create the System Emails" -msgstr "" - -#: inc/installers/class-default-content-installer.php:181 -msgid "This action will create all emails sent by Multisite Ultimate." -msgstr "" - -#: inc/installers/class-default-content-installer.php:183 -msgid "Creating System Emails..." -msgstr "" - -#: inc/installers/class-default-content-installer.php:190 -msgid "Create Custom Login Page" -msgstr "" - -#: inc/installers/class-default-content-installer.php:191 -msgid "This action will create a custom login page and replace the default one." -msgstr "" - -#: inc/installers/class-default-content-installer.php:193 -msgid "Creating Custom Login Page..." -msgstr "" - -#: inc/installers/class-default-content-installer.php:228 -msgid "Template Site was not created. Maybe a site with the /template path already exists?" -msgstr "" - -#: inc/installers/class-default-content-installer.php:260 -msgid "This is an example of a free plan." -msgstr "" - -#: inc/installers/class-default-content-installer.php:280 -msgid "This is an example of a paid plan." -msgstr "" - -#: inc/installers/class-default-content-installer.php:299 -msgid "SEO Consulting" -msgstr "" - -#: inc/installers/class-default-content-installer.php:300 -msgid "This is an example of a service that you can create and charge customers for." -msgstr "" - -#: inc/installers/class-default-content-installer.php:338 -msgid "Registration Form" -msgstr "" - -#: inc/installers/class-default-content-installer.php:364 -msgid "Register" -msgstr "" - -#: inc/installers/class-default-content-installer.php:411 -#: inc/installers/class-migrator.php:2382 -#: inc/ui/class-login-form-element.php:156 -#: inc/ui/class-login-form-element.php:354 -msgid "Login" -msgstr "" - -#: inc/installers/class-migrator.php:262 -msgid "Pre-Migration Check" -msgstr "" - -#: inc/installers/class-migrator.php:263 -msgid "Runs all migrations in a sand-boxed environment to see if it hits an error." -msgstr "" - -#: inc/installers/class-migrator.php:266 -msgid "Checking..." -msgstr "" - -#: inc/installers/class-migrator.php:276 -msgid "Prepare for Migration" -msgstr "" - -#: inc/installers/class-migrator.php:277 -msgid "Verifies the data before going forward with the migration." -msgstr "" - -#: inc/installers/class-migrator.php:279 -msgid "Preparing..." -msgstr "" - -#: inc/installers/class-migrator.php:288 -msgid "Migrates the settings from the older version." -msgstr "" - -#: inc/installers/class-migrator.php:294 -msgid "Plans to Products" -msgstr "" - -#: inc/installers/class-migrator.php:295 -msgid "Converts the old plans into products." -msgstr "" - -#: inc/installers/class-migrator.php:301 -msgid "Users to Customers" -msgstr "" - -#: inc/installers/class-migrator.php:302 -msgid "Creates customers based on the existing users." -msgstr "" - -#: inc/installers/class-migrator.php:308 -msgid "Subscriptions to Memberships" -msgstr "" - -#: inc/installers/class-migrator.php:309 -msgid "Converts subscriptions into Memberships." -msgstr "" - -#: inc/installers/class-migrator.php:315 -msgid "Transactions to Payments & Events" -msgstr "" - -#: inc/installers/class-migrator.php:316 -msgid "Converts transactions into payments and events." -msgstr "" - -#: inc/installers/class-migrator.php:322 -msgid "Coupons to Discount Codes" -msgstr "" - -#: inc/installers/class-migrator.php:323 -msgid "Converts coupons into discount codes." -msgstr "" - -#: inc/installers/class-migrator.php:329 -msgid "Customer Sites" -msgstr "" - -#: inc/installers/class-migrator.php:330 -msgid "Adjusts existing customer sites." -msgstr "" - -#: inc/installers/class-migrator.php:331 -#: inc/installers/class-migrator.php:339 -msgid "Making Adjustments..." -msgstr "" - -#: inc/installers/class-migrator.php:337 -msgid "Sites Templates" -msgstr "" - -#: inc/installers/class-migrator.php:338 -msgid "Adjusts existing site templates." -msgstr "" - -#: inc/installers/class-migrator.php:346 -msgid "Converts mapped domains." -msgstr "" - -#: inc/installers/class-migrator.php:353 -msgid "Creates a checkout form based on the existing signup flow." -msgstr "" - -#: inc/installers/class-migrator.php:359 -msgid "Emails & Broadcasts" -msgstr "" - -#: inc/installers/class-migrator.php:360 -msgid "Converts the emails and broadcasts." -msgstr "" - -#: inc/installers/class-migrator.php:367 -msgid "Migrates existing webhooks." -msgstr "" - -#: inc/installers/class-migrator.php:373 -msgid "Other Migrations" -msgstr "" - -#: inc/installers/class-migrator.php:374 -msgid "Other migrations that don't really fit anywhere else." -msgstr "" - -#: inc/installers/class-migrator.php:384 -msgid "Migrating..." -msgstr "" - -#. Translators: %s is the name of the installer. -#: inc/installers/class-migrator.php:584 -#, php-format -msgid "Critical error found when migrating \"%s\"." -msgstr "" - -#: inc/installers/class-migrator.php:2305 -msgid "Signup Form" -msgstr "" - -#: inc/installers/class-migrator.php:2342 -msgid "Signup" -msgstr "" - -#. translators: %s is the name of a host provider (e.g. Cloudways, WPMUDev, Closte...). -#: inc/integrations/host-providers/class-base-host-provider.php:217 -#, php-format -msgid "%s Integration" -msgstr "" - -#: inc/integrations/host-providers/class-base-host-provider.php:221 -msgid "Go to the setup wizard to setup this integration." -msgstr "" - -#. translators: %1$s will be replaced with the integration title. E.g. RunCloud -#: inc/integrations/host-providers/class-base-host-provider.php:248 -#, php-format -msgid "It looks like you are using %1$s as your hosting provider, yet the %1$s integration module is not active. In order for the domain mapping integration to work with %1$s, you might want to activate that module." -msgstr "" - -#. translators: %s is the integration name. -#: inc/integrations/host-providers/class-base-host-provider.php:255 -#, php-format -msgid "Activate %s" -msgstr "" - -#. translators: %1$s will be replaced with the integration title. E.g. RunCloud. -#: inc/integrations/host-providers/class-base-host-provider.php:281 -#, php-format -msgid "It looks like you are using %1$s as your hosting provider, yet the %1$s integration module was not properly setup. In order for the domain mapping integration to work with %1$s, you need to configure that module." -msgstr "" - -#. translators: %s is the integration name -#: inc/integrations/host-providers/class-base-host-provider.php:288 -#, php-format -msgid "Setup %s" -msgstr "" - -#. translators: %s is the name of the integration e.g. RunCloud -#: inc/integrations/host-providers/class-base-host-provider.php:565 -#, php-format -msgid "Send API calls to %s servers with domain names added to this network" -msgstr "" - -#. translators: %s is the name of the integration e.g. RunCloud -#: inc/integrations/host-providers/class-base-host-provider.php:573 -#, php-format -msgid "Fetch and install a SSL certificate on %s platform after the domain is added." -msgstr "" - -#. translators: %s is the name of the integration e.g. RunCloud -#: inc/integrations/host-providers/class-base-host-provider.php:577 -#, php-format -msgid "Fetch and install a SSL certificate on %s platform after the domain is added. This needs to be done manually." -msgstr "" - -#: inc/integrations/host-providers/class-base-host-provider.php:648 -msgid "No description provided." -msgstr "" - -#: inc/integrations/host-providers/class-closte-host-provider.php:160 -msgid "Access Authorized" -msgstr "" - -#: inc/integrations/host-providers/class-closte-host-provider.php:227 -msgid "Closte is not just another web hosting who advertise their services as a cloud hosting while still provides fixed plans like in 1995." -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:119 -msgid "Proxied" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:119 -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:121 -msgid "Cloudflare" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:121 -msgid "Not Proxied" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:166 -#: views/wizards/host-integrations/cloudflare-instructions.php:14 -msgid "Zone ID" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:167 -msgid "e.g. 644c7705723d62e31f700bb798219c75" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:171 -msgid "e.g. xKGbxxVDpdcUv9dUzRf4i4ngv0QNf1wCtbehiec_o" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:426 -msgid "Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. It protects your internal resources such as behind-the-firewall applications, teams, and devices. And it is your platform for developing globally-scalable applications." -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:454 -msgid "Add a new proxied subdomain to the configured CloudFlare zone whenever a new site gets created" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:456 -msgid "Do nothing! The CloudFlare integration has no effect in subdirectory multisite installs such as this one" -msgstr "" - -#: inc/integrations/host-providers/class-cloudflare-host-provider.php:459 -msgid "Add domain mappings as new CloudFlare zones" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:147 -msgid "Cloudways Account Email" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:148 -msgid "Your Cloudways account email address." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:149 -msgid "e.g. me@gmail.com" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:152 -msgid "Cloudways API Key" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:153 -#: inc/integrations/host-providers/class-runcloud-host-provider.php:94 -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:98 -msgid "The API Key retrieved in the previous step." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:154 -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:99 -msgid "e.g. eYP0Jo3Fzzm5SOZCi5nLR0Mki2lbYZ" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:157 -msgid "Cloudways Server ID" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:158 -#: inc/integrations/host-providers/class-runcloud-host-provider.php:104 -msgid "The Server ID retrieved in the previous step." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:159 -#: inc/integrations/host-providers/class-runcloud-host-provider.php:105 -msgid "e.g. 11667" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:162 -msgid "Cloudways App ID" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:163 -#: inc/integrations/host-providers/class-runcloud-host-provider.php:109 -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:103 -msgid "The App ID retrieved in the previous step." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:164 -#: inc/integrations/host-providers/class-runcloud-host-provider.php:110 -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:104 -msgid "e.g. 940288" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:167 -msgid "Cloudways Extra Domains" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:168 -msgid "The Cloudways API is a bit strange in that it doesn’t offer a way to add or remove just one domain, only a way to update the whole domain list. That means that Multisite Ultimate will replace all domains you might have there with the list of mapped domains of the network every time a new domain is added." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:169 -msgid "Comma-separated list of additional domains to add to Cloudways." -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:170 -msgid "e.g. *.test.com, test.com" -msgstr "" - -#: inc/integrations/host-providers/class-cloudways-host-provider.php:531 -msgid "Focus on your business and avoid all the web hosting hassles. Our managed hosting guarantees unmatched performance, reliability and choice with 24/7 support that acts as your extended team, making Cloudways an ultimate choice for growing agencies and e-commerce businesses." -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:114 -msgid "cPanel Username" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:115 -msgid "e.g. username" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:119 -msgid "cPanel Password" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:120 -msgid "password" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:123 -msgid "cPanel Host" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:124 -msgid "e.g. yourdomain.com" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:127 -msgid "cPanel Port" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:128 -msgid "Defaults to 2083" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:132 -msgid "Root Directory" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:133 -msgid "Defaults to /public_html" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:303 -msgid "Unexpected error ocurred trying to sync domains with CPanel" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:318 -msgid "cPanel is the management panel being used on a large number of shared and dedicated hosts across the globe." -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:363 -msgid "Add a new Addon Domain on cPanel whenever a new domain mapping gets created on your network" -msgstr "" - -#: inc/integrations/host-providers/class-cpanel-host-provider.php:369 -msgid "Add a new SubDomain on cPanel whenever a new site gets created on your network" -msgstr "" - -#: inc/integrations/host-providers/class-gridpane-host-provider.php:211 -#: inc/integrations/host-providers/class-gridpane-host-provider.php:219 -msgid "We were not able to successfully establish a connection." -msgstr "" - -#: inc/integrations/host-providers/class-gridpane-host-provider.php:226 -msgid "Connection successfully established." -msgstr "" - -#: inc/integrations/host-providers/class-gridpane-host-provider.php:250 -msgid "GridPane is the world's first hosting control panel built exclusively for serious WordPress professionals." -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:93 -msgid "RunCloud API Key" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:95 -msgid "e.g. Sx9tHAn5XMrkeyZKS1a7uj8dGTLgKnlEOaJEFRt1m95L" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:98 -msgid "RunCloud API Secret" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:99 -msgid "The API secret retrieved in the previous step." -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:100 -msgid "e.g. ZlAebXp2sa6J5xsrPoiPcMXZRIVsHJ2rEkNCNGknZnF0UK5cSNSePS8GBW9FXIQd" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:103 -msgid "RunCloud Server ID" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:108 -msgid "RunCloud App ID" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:170 -msgid "Domain name not found on runcloud" -msgstr "" - -#: inc/integrations/host-providers/class-runcloud-host-provider.php:374 -msgid "With RunCloud, you don’t need to be a Linux expert to build a website powered by DigitalOcean, AWS, or Google Cloud. Use our graphical interface and build a business on the cloud affordably." -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:92 -msgid "ServerPilot Client ID" -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:93 -msgid "Your ServerPilot Client ID." -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:94 -msgid "e.g. cid_lSmjevkdoSOpasYVqm" -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:97 -msgid "ServerPilot API Key" -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:102 -msgid "ServerPilot App ID" -msgstr "" - -#. translators: %s is the wp_json_encode of the error. -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:275 -#, php-format -msgid "An error occurred while trying to get the current list of domains: %s" -msgstr "" - -#: inc/integrations/host-providers/class-serverpilot-host-provider.php:316 -msgid "ServerPilot is a cloud service for hosting WordPress and other PHP websites on servers at DigitalOcean, Amazon, Google, or any other server provider. You can think of ServerPilot as a modern, centralized hosting control panel." -msgstr "" - -#: inc/integrations/host-providers/class-wpengine-host-provider.php:175 -msgid "WP Engine drives your business forward faster with the first and only WordPress Digital Experience Platform. We offer the best WordPress hosting and developer experience on a proven, reliable architecture that delivers unparalleled speed, scalability, and security for your sites." -msgstr "" - -#: inc/integrations/host-providers/class-wpengine-host-provider.php:177 -msgid "We recommend to enter in contact with WP Engine support to ask for a Wildcard domain if you are using a subdomain install." -msgstr "" - -#. translators: The %s placeholder will be replaced with the domain name. -#: inc/integrations/host-providers/class-wpmudev-host-provider.php:160 -#, php-format -msgid "An error occurred while trying to add the custom domain %s to WPMU Dev hosting." -msgstr "" - -#. translators: The %1$s will be replaced with the domain name and %2$s is the error message. -#: inc/integrations/host-providers/class-wpmudev-host-provider.php:168 -#, php-format -msgid "An error occurred while trying to add the custom domain %1$s to WPMU Dev hosting: %2$s" -msgstr "" - -#. translators: The %s placeholder will be replaced with the domain name. -#: inc/integrations/host-providers/class-wpmudev-host-provider.php:172 -#, php-format -msgid "Domain %s added to WPMU Dev hosting successfully." -msgstr "" - -#: inc/integrations/host-providers/class-wpmudev-host-provider.php:256 -msgid "WPMU DEV is one of the largest companies in the WordPress space. Founded in 2004, it was one of the first companies to scale the Website as a Service model with products such as Edublogs and CampusPress." -msgstr "" - -#. translators: %s is the error. -#: inc/integrations/host-providers/cpanel-api/class-cpanel-api.php:155 -#, php-format -msgid "cPanel API Error: %s" -msgstr "" - -#: inc/integrations/host-providers/cpanel-api/class-cpanel-api.php:227 -msgid "Cannot connect to your cPanel server : Invalid Credentials" -msgstr "" - -#: inc/internal/class-memory-trap.php:100 -msgid "Your server's PHP and WordPress memory limits are too low to perform this check. You might need to contact your host provider and ask the PHP memory limit in particular to be raised." -msgstr "" - -#: inc/invoices/class-invoice.php:106 -#: views/emails/admin/payment-received.php:64 -#: views/emails/customer/payment-received.php:49 -msgid "Invoice" -msgstr "" - -#: inc/limits/class-customer-user-role-limits.php:65 -msgid "You reached your membership users limit." -msgstr "" - -#: inc/limits/class-customer-user-role-limits.php:74 -#: inc/limits/class-post-type-limits.php:138 -#: inc/limits/class-post-type-limits.php:145 -msgid "Limit Reached" -msgstr "" - -#: inc/limits/class-plugin-limits.php:148 -msgid "Always Loaded" -msgstr "" - -#: inc/limits/class-plugin-limits.php:163 -#: inc/limits/class-plugin-limits.php:164 -#: inc/limits/class-theme-limits.php:169 -msgid "Upgrade to unlock" -msgstr "" - -#: inc/limits/class-post-type-limits.php:136 -msgid "Your plan does not support this post type." -msgstr "" - -#: inc/limits/class-post-type-limits.php:143 -msgid "You reached your plan's post limit." -msgstr "" - -#: inc/limits/class-post-type-limits.php:198 -msgid "Your plan does not support media upload." -msgstr "" - -#. translators: %d is the number of images allowed. -#: inc/limits/class-post-type-limits.php:225 -#, php-format -msgid "You reached your media upload limit of %d images. Upgrade your account to unlock more media uploads." -msgstr "" - -#: inc/limits/class-theme-limits.php:127 -msgid "This theme is not available on your current plan." -msgstr "" - -#: inc/list-tables/class-base-list-table.php:174 -#: views/sites/edit-placeholders.php:49 -#: views/sites/edit-placeholders.php:177 -#: views/taxes/list.php:102 -#: views/taxes/list.php:309 -msgid "Select All" -msgstr "" - -#. translators: %s will be replaced by the data type plural name. e.g. Books. -#: inc/list-tables/class-base-list-table.php:337 -#, php-format -msgid "%s per page" -msgstr "" - -#. translators: %s will be replaced with the data type plural name. e.g. Books. -#: inc/list-tables/class-base-list-table.php:359 -#, php-format -msgid "Search %s" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:403 -#: inc/managers/class-form-manager.php:520 -#: inc/ui/class-domain-mapping-element.php:557 -msgid "Confirm Action" -msgstr "" - -#. translators: %s name of items in list. -#: inc/list-tables/class-base-list-table.php:503 -#, php-format -msgid "You don't have any %s yet." -msgstr "" - -#: inc/list-tables/class-base-list-table.php:504 -msgid "How about we create a new one?" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:504 -msgid "...but you will see them here once they get created." -msgstr "" - -#. translators: %s is the singular value of the model, such as Product, or Payment. -#: inc/list-tables/class-base-list-table.php:506 -#, php-format -msgid "Create a new %s" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:593 -msgid "No items found" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:615 -#: views/wizards/host-integrations/activation.php:97 -msgid "Activate" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:616 -#: views/wizards/host-integrations/activation.php:97 -msgid "Deactivate" -msgstr "" - -#. translators: %s number of total items. -#: inc/list-tables/class-base-list-table.php:771 -#, php-format -msgid "%s item" -msgid_plural "%s items" -msgstr[0] "" -msgstr[1] "" - -#: inc/list-tables/class-base-list-table.php:826 -#: inc/list-tables/class-membership-list-table.php:202 -#: views/checkout/templates/pricing-table/legacy.php:183 -#: views/legacy/signup/pricing-table/plan.php:62 -msgid "--" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:854 -msgid "No membership found" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:902 -msgid "No payment found" -msgstr "" - -#. translators: %s the payment total. -#: inc/list-tables/class-base-list-table.php:922 -#, php-format -msgid "Total %s" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1007 -#: inc/list-tables/class-broadcast-list-table.php:289 -#: inc/list-tables/class-payment-list-table.php:135 -msgid "No product found" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1060 -msgid "No site found" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1183 -#: inc/ui/class-my-sites-element.php:161 -#: views/checkout/templates/template-selection/clean.php:50 -#: views/checkout/templates/template-selection/minimal.php:44 -msgid "All" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1188 -msgid "Today" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1193 -msgid "Yesterday" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1198 -msgid "Last 7 Days" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1203 -msgid "Last 30 Days" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1208 -msgid "Current Month" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1213 -msgid "Last 12 Months" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1218 -msgid "Year to Date" -msgstr "" - -#: inc/list-tables/class-base-list-table.php:1223 -msgid "Custom" -msgstr "" - -#. translators: %s will be replaced with a plural label -#: inc/list-tables/class-base-list-table.php:1373 -#, php-format -msgid "All %s" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:88 -msgid "Notice" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:124 -#: inc/list-tables/class-checkout-form-list-table.php:68 -#: inc/list-tables/class-customer-list-table.php:155 -#: inc/list-tables/class-discount-code-list-table.php:67 -#: inc/list-tables/class-domain-list-table.php:89 -#: inc/list-tables/class-email-list-table.php:113 -#: inc/list-tables/class-line-item-list-table.php:102 -#: inc/list-tables/class-membership-list-table-widget.php:129 -#: inc/list-tables/class-membership-list-table.php:82 -#: inc/list-tables/class-payment-line-item-list-table.php:74 -#: inc/list-tables/class-payment-list-table-widget.php:115 -#: inc/list-tables/class-payment-list-table.php:85 -#: inc/list-tables/class-product-list-table.php:71 -#: inc/list-tables/class-site-list-table.php:132 -#: inc/list-tables/class-webhook-list-table.php:74 -#: views/admin-pages/fields/field-text-edit.php:70 -#: views/base/checkout-forms/js-templates.php:99 -msgid "Edit" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:420 -msgid "Target Products" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:421 -#: inc/list-tables/class-broadcast-list-table.php:456 -#: inc/list-tables/class-email-list-table.php:305 -#: views/dashboard-widgets/thank-you.php:163 -msgid "Date" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:422 -#: inc/list-tables/class-checkout-form-list-table.php:201 -#: inc/list-tables/class-customer-list-table.php:245 -#: inc/list-tables/class-domain-list-table.php:168 -#: inc/list-tables/class-email-list-table.php:201 -#: inc/list-tables/class-event-list-table.php:215 -#: inc/list-tables/class-membership-list-table.php:179 -#: inc/list-tables/class-payment-list-table.php:182 -#: inc/list-tables/class-product-list-table.php:258 -#: inc/list-tables/class-site-list-table.php:278 -#: inc/list-tables/class-webhook-list-table.php:179 -#: views/emails/admin/domain-created.php:24 -#: views/emails/admin/domain-created.php:73 -#: views/emails/admin/domain-created.php:116 -#: views/emails/admin/payment-received.php:48 -#: views/emails/admin/payment-received.php:101 -#: views/emails/admin/payment-received.php:143 -#: views/emails/admin/site-published.php:24 -#: views/emails/admin/site-published.php:67 -#: views/emails/admin/site-published.php:109 -msgid "ID" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:441 -#: inc/list-tables/class-broadcast-list-table.php:487 -#: inc/list-tables/class-email-list-table.php:299 -msgid "Notices" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:445 -msgid "Notice Type" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:447 -msgid "Info - Blue" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:448 -msgid "Success - Green" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:449 -msgid "Warning - Yellow" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:450 -msgid "Error - Red" -msgstr "" - -#: inc/list-tables/class-broadcast-list-table.php:475 -msgid "All Broadcasts" -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:39 -#: views/dashboard-statistics/widget-forms.php:19 -#: views/dashboard-statistics/widget-forms.php:53 -msgid "Checkout Form" -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:78 -#: inc/list-tables/class-email-list-table.php:114 -#: inc/list-tables/class-product-list-table.php:81 -#: inc/list-tables/class-site-list-table.php:140 -msgid "Duplicate" -msgstr "" - -#. translators: %1$d: number of steps, %2$d: number of fields -#: inc/list-tables/class-checkout-form-list-table.php:111 -#, php-format -msgid "%1$d Step(s) and %2$d Field(s)" -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:128 -#: views/events/widget-payload.php:35 -msgid "Copy to the Clipboard" -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:150 -msgid "Checkout form not found." -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:198 -msgid "Form Name" -msgstr "" - -#: inc/list-tables/class-checkout-form-list-table.php:199 -msgid "Form Slug" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:39 -#: inc/list-tables/class-site-list-table.php:38 -#: inc/list-tables/customer-panel/class-product-list-table.php:34 -#: inc/list-tables/customer-panel/class-site-list-table.php:34 -msgid "Grid View" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:40 -#: inc/list-tables/class-site-list-table.php:39 -msgid "List View" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:128 -msgid "User not found" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:147 -msgid "Send an email to this customer" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:152 -#: views/base/customers/grid-item.php:129 -msgid "Switch To" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:224 -#: inc/list-tables/class-event-list-table.php:185 -#: inc/list-tables/class-payment-list-table.php:143 -#: inc/list-tables/class-site-list-table.php:256 -#: views/admin-pages/fields/field-text.php:46 -#: views/base/customers/grid-item.php:109 -#: views/base/responsive-table-row.php:132 -msgid "View" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:241 -#: inc/list-tables/class-discount-code-list-table.php:189 -#: inc/list-tables/class-product-list-table.php:253 -#: inc/list-tables/class-webhook-list-table.php:173 -#: views/base/checkout-forms/js-templates.php:58 -#: views/email/widget-placeholders.php:29 -msgid "Name" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:243 -msgid "Customer Since" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:334 -msgid "All Customers" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:340 -msgid "VIP Customers" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:346 -msgid "Online Customers" -msgstr "" - -#: inc/list-tables/class-customer-list-table.php:363 -#: inc/list-tables/class-site-customer-list-table.php:63 -#: views/base/customers/grid-item.php:78 -msgid "Online" -msgstr "" - -#. translators: %s is the product name, %2$s is the count of other products. -#: inc/list-tables/class-customers-membership-list-table.php:54 -#, php-format -msgid "Contains %1$s" -msgid_plural "Contains %1$s and %2$s other product(s)" -msgstr[0] "" -msgstr[1] "" - -#: inc/list-tables/class-customers-membership-list-table.php:71 -#: inc/list-tables/class-customers-payment-list-table.php:62 -msgid "Payment Total" -msgstr "" - -#: inc/list-tables/class-customers-membership-list-table.php:88 -#: views/dashboard-widgets/current-membership.php:169 -msgid "Expires" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-customers-membership-list-table.php:90 -#, php-format -msgid "Expired %s" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-customers-membership-list-table.php:90 -#, php-format -msgid "Expiring %s" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-customers-membership-list-table.php:96 -#: inc/list-tables/class-customers-payment-list-table.php:76 -#: inc/list-tables/class-customers-site-list-table.php:108 -#: inc/list-tables/class-memberships-site-list-table.php:83 -#: inc/list-tables/class-sites-domain-list-table.php:77 -#, php-format -msgid "Created %s" -msgstr "" - -#: inc/list-tables/class-customers-site-list-table.php:85 -#: inc/list-tables/class-memberships-site-list-table.php:71 -msgid "Go to the Dashboard" -msgstr "" - -#: inc/list-tables/class-customers-site-list-table.php:91 -msgid "Go to the Membership" -msgstr "" - -#: inc/list-tables/class-customers-site-list-table.php:106 -#: inc/list-tables/class-memberships-site-list-table.php:81 -#: views/limitations/site-template-selector.php:66 -#: views/limitations/theme-selector.php:81 -msgid "Not Available" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:39 -msgid "Discount Code" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:94 -#: inc/list-tables/class-discount-code-list-table.php:119 -msgid "No Discount" -msgstr "" - -#. translators: placeholder is the amount of discount. e.g. 10% or $5. -#: inc/list-tables/class-discount-code-list-table.php:104 -#: inc/list-tables/class-discount-code-list-table.php:129 -#, php-format -msgid "%s OFF" -msgstr "" - -#. translators: the placeholder is the number of times this coupon was used. -#: inc/list-tables/class-discount-code-list-table.php:143 -#, php-format -msgid "Used %d time(s)" -msgstr "" - -#. translators: the placeholder is the number of times this coupon can be used before becoming inactive. -#: inc/list-tables/class-discount-code-list-table.php:148 -#, php-format -msgid "Allowed uses: %d" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:150 -msgid "No Limits" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:173 -#: inc/list-tables/class-domain-list-table.php:190 -#: views/dashboard-widgets/domain-mapping.php:62 -msgid "Inactive" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:190 -#: inc/list-tables/customer-panel/class-invoice-list-table.php:33 -msgid "Code" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:193 -msgid "Setup Fee Value" -msgstr "" - -#: inc/list-tables/class-discount-code-list-table.php:194 -msgid "Dates" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:166 -#: inc/list-tables/class-sites-domain-list-table.php:63 -#: views/dashboard-widgets/domain-mapping.php:101 -#: views/dashboard-widgets/my-sites.php:73 -#: views/emails/admin/domain-created.php:42 -msgid "Primary" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:167 -#: inc/list-tables/class-domain-list-table.php:210 -#: inc/list-tables/class-domain-list-table.php:213 -msgid "HTTPS" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:199 -msgid "Is Primary" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:201 -msgid "Not Primary Domain" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:212 -msgid "Non-HTTPS" -msgstr "" - -#: inc/list-tables/class-domain-list-table.php:221 -msgid "Verification Stage" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:123 -#: inc/managers/class-limitation-manager.php:168 -msgid "Reset" -msgstr "" - -#. translators: %1$s is the number of hours, %2$s is the number of minutes. -#: inc/list-tables/class-email-list-table.php:175 -#, php-format -msgid "%1$s hour(s) and %2$s minute(s) after the event." -msgstr "" - -#. translators: %s is the number of days. -#: inc/list-tables/class-email-list-table.php:178 -#, php-format -msgid "%s day(s) after the event." -msgstr "" - -#: inc/list-tables/class-email-list-table.php:181 -msgid "Sent immediately after the event." -msgstr "" - -#: inc/list-tables/class-email-list-table.php:199 -msgid "slug" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:200 -msgid "When" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:223 -msgid "Email not found." -msgstr "" - -#: inc/list-tables/class-email-list-table.php:296 -msgid "Email Type" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:324 -msgid "All Emails" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:330 -msgid "Admin Emails" -msgstr "" - -#: inc/list-tables/class-email-list-table.php:336 -msgid "Customer Emails" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:96 -#: views/events/widget-initiator.php:78 -msgid "Automatically started" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:140 -msgid "No initiator found" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:210 -#: views/events/widget-initiator.php:15 -msgid "Initiator" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:212 -msgid "SLug" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:231 -msgid "Severity" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:233 -#: inc/models/class-event.php:159 -msgid "Success" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:234 -#: inc/models/class-event.php:160 -msgid "Neutral" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:235 -#: inc/models/class-event.php:161 -msgid "Info" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:236 -#: inc/models/class-event.php:162 -msgid "Warning" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:237 -#: inc/models/class-event.php:163 -msgid "Fatal" -msgstr "" - -#: inc/list-tables/class-event-list-table.php:243 -#: inc/list-tables/class-membership-list-table.php:244 -#: inc/list-tables/class-payment-list-table.php:231 -msgid "Created At" -msgstr "" - -#: inc/list-tables/class-inside-events-list-table.php:50 -msgid "Event ID" -msgstr "" - -#: inc/list-tables/class-inside-events-list-table.php:55 -msgid "Event Type" -msgstr "" - -#: inc/list-tables/class-inside-events-list-table.php:63 -msgid "Automatically processed by Multisite Ultimate" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-inside-events-list-table.php:99 -#, php-format -msgid "Processed %s" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:39 -msgid "Line Item" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:102 -msgid "Edit Item" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:103 -msgid "Delete Item" -msgstr "" - -#. translators: %s is the quantity of items in the cart -#: inc/list-tables/class-line-item-list-table.php:126 -#, php-format -msgid "Quantity: %s" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:149 -#: inc/list-tables/class-payment-line-item-list-table.php:121 -msgid "Tax Applied" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:149 -#: inc/list-tables/class-payment-line-item-list-table.php:121 -msgid "No Taxes Applied" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:172 -#: inc/list-tables/class-payment-line-item-list-table.php:94 -msgid "No discount" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:214 -msgid "discounts" -msgstr "" - -#: inc/list-tables/class-line-item-list-table.php:215 -#: views/checkout/paypal/confirm.php:121 -#: views/checkout/templates/order-summary/simple.php:33 -#: views/dashboard-widgets/thank-you.php:408 -#: views/emails/admin/payment-received.php:26 -#: views/emails/customer/payment-received.php:27 -#: views/emails/customer/renewal-payment-created.php:27 -msgid "Subtotal" -msgstr "" - -#: inc/list-tables/class-membership-line-item-list-table.php:81 -msgid "Product not found" -msgstr "" - -#. translators: %d is a quantity number -#: inc/list-tables/class-membership-line-item-list-table.php:90 -#: inc/list-tables/class-membership-line-item-list-table.php:103 -#: inc/list-tables/class-payment-line-item-list-table.php:54 -#, php-format -msgid "x%d" -msgstr "" - -#: inc/list-tables/class-membership-line-item-list-table.php:107 -msgid "Price description" -msgstr "" - -#: inc/list-tables/class-membership-line-item-list-table.php:125 -msgid "Upgrade or Downgrade" -msgstr "" - -#. translators: %1$s the duration, and %2$s the duration unit (day, week, month, etc) -#: inc/list-tables/class-membership-list-table-widget.php:176 -#: inc/list-tables/class-membership-list-table.php:139 -#: inc/list-tables/class-product-list-table.php:146 -#: inc/models/class-membership.php:834 -#: inc/models/class-product.php:766 -#, php-format -msgid "every %2$s" -msgid_plural "every %1$s %2$s" -msgstr[0] "" -msgstr[1] "" - -#. translators: %s is the number of billing cycles. -#: inc/list-tables/class-membership-list-table-widget.php:184 -#: inc/list-tables/class-membership-list-table.php:147 -#: inc/list-tables/class-product-list-table.php:154 -#: inc/models/class-membership.php:886 -#: inc/models/class-product.php:723 -#, php-format -msgid "for %s cycle" -msgid_plural "for %s cycles" -msgstr[0] "" -msgstr[1] "" - -#: inc/list-tables/class-membership-list-table-widget.php:191 -#: inc/list-tables/class-membership-list-table.php:156 -#: inc/list-tables/class-product-list-table.php:161 -msgid "one time payment" -msgstr "" - -#: inc/list-tables/class-membership-list-table-widget.php:262 -#: inc/list-tables/class-payment-list-table-widget.php:219 -msgid "Ref." -msgstr "" - -#: inc/list-tables/class-membership-list-table.php:172 -#: inc/list-tables/class-payment-list-table.php:176 -#: views/emails/admin/domain-created.php:122 -#: views/emails/admin/payment-received.php:54 -#: views/emails/admin/payment-received.php:107 -#: views/emails/admin/site-published.php:73 -msgid "Reference Code" -msgstr "" - -#: inc/list-tables/class-membership-list-table.php:178 -#: views/emails/admin/domain-created.php:128 -#: views/emails/admin/payment-received.php:113 -#: views/emails/admin/site-published.php:79 -msgid "Expiration" -msgstr "" - -#: inc/list-tables/class-membership-list-table.php:198 -msgid "It never expires" -msgstr "" - -#: inc/list-tables/class-membership-list-table.php:260 -msgid "Renewal Date" -msgstr "" - -#: inc/list-tables/class-membership-list-table.php:279 -msgid "All Memberships" -msgstr "" - -#: inc/list-tables/class-memberships-site-list-table.php:66 -#: views/dashboard-statistics/widget-most-visited-sites.php:74 -#: views/dashboard-statistics/widget-most-visited-sites.php:77 -msgid "Homepage" -msgstr "" - -#. translators: %s is a currency amount -#: inc/list-tables/class-payment-line-item-list-table.php:102 -#, php-format -msgid "Discounts: %s" -msgstr "" - -#. translators: %s is a currency amount -#: inc/list-tables/class-payment-line-item-list-table.php:110 -#, php-format -msgid "Subtotal: %s" -msgstr "" - -#. translators: %s is a currency amount -#: inc/list-tables/class-payment-line-item-list-table.php:129 -#, php-format -msgid "Taxes: %s" -msgstr "" - -#: inc/list-tables/class-payment-line-item-list-table.php:135 -msgid "Item Description" -msgstr "" - -#: inc/list-tables/class-payment-list-table.php:207 -msgid "Partial" -msgstr "" - -#: inc/list-tables/class-payment-list-table.php:220 -msgid "Paypal" -msgstr "" - -#: inc/list-tables/class-payment-list-table.php:250 -msgid "All Payments" -msgstr "" - -#: inc/list-tables/class-product-list-table.php:132 -#: inc/list-tables/class-product-list-table.php:178 -msgid "Requires contact" -msgstr "" - -#: inc/list-tables/class-product-list-table.php:307 -msgid "All Products" -msgstr "" - -#: inc/list-tables/class-product-list-table.php:319 -msgid "Packages" -msgstr "" - -#: inc/list-tables/class-product-list-table.php:325 -msgid "Services" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-site-customer-list-table.php:60 -#, php-format -msgid "Last login %s" -msgstr "" - -#. translators: %s is a placeholder for the human-readable time difference, e.g., "2 hours ago" -#: inc/list-tables/class-site-customer-list-table.php:105 -#, php-format -msgid "Registered %s" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:157 -#: views/base/sites/grid-item.php:58 -msgid "Publish Site" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:313 -msgid "VIP Status" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:315 -msgid "Regular Sites" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:316 -msgid "VIP Sites" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:326 -msgid "Site Since" -msgstr "" - -#: inc/list-tables/class-site-list-table.php:345 -msgid "All Sites" -msgstr "" - -#: inc/list-tables/class-sites-domain-list-table.php:63 -#: views/dashboard-widgets/domain-mapping.php:101 -msgid "Alias" -msgstr "" - -#: inc/list-tables/class-sites-domain-list-table.php:69 -#: views/dashboard-widgets/domain-mapping.php:107 -msgid "Secure (HTTPS)" -msgstr "" - -#: inc/list-tables/class-sites-domain-list-table.php:69 -#: views/dashboard-widgets/domain-mapping.php:107 -msgid "Not Secure (HTTP)" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:39 -msgid "Webhook" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:70 -msgid "Sending Test.." -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:75 -msgid "Send Test" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:132 -msgid "See Events" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:174 -msgid "Target URL" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:175 -msgid "Trigger Event" -msgstr "" - -#: inc/list-tables/class-webhook-list-table.php:176 -msgid "Count" -msgstr "" - -#: inc/list-tables/customer-panel/class-site-list-table.php:76 -#: views/checkout/templates/template-selection/clean.php:33 -#: views/checkout/templates/template-selection/legacy.php:31 -#: views/checkout/templates/template-selection/minimal.php:28 -#: views/dashboard-widgets/current-site.php:47 -msgid "Your Sites" -msgstr "" - -#: inc/managers/class-broadcast-manager.php:131 -msgid "No product or customer target was selected." -msgstr "" - -#: inc/managers/class-customer-manager.php:92 -msgid "Error: you are not allowed to perform this action." -msgstr "" - -#: inc/managers/class-customer-manager.php:100 -msgid "Error: customer not found." -msgstr "" - -#. translators: the placeholder is the login URL -#: inc/managers/class-customer-manager.php:203 -#, php-format -msgid "You must be authenticated in order to verify your email address. Click here to access your account." -msgstr "" - -#: inc/managers/class-customer-manager.php:219 -msgid "ERROR: Invalid verification key." -msgstr "" - -#: inc/managers/class-customer-manager.php:225 -#: inc/managers/class-customer-manager.php:239 -msgid "Error: Invalid verification key." -msgstr "" - -#: inc/managers/class-customer-manager.php:229 -#: inc/managers/class-customer-manager.php:233 -#: inc/managers/class-customer-manager.php:243 -msgid "Invalid verification key." -msgstr "" - -#: inc/managers/class-domain-manager.php:310 -msgid "Domain Mapping Settings" -msgstr "" - -#: inc/managers/class-domain-manager.php:311 -msgid "Define the domain mapping settings for your network." -msgstr "" - -#: inc/managers/class-domain-manager.php:320 -msgid "Enable Domain Mapping?" -msgstr "" - -#: inc/managers/class-domain-manager.php:321 -msgid "Do you want to enable domain mapping?" -msgstr "" - -#: inc/managers/class-domain-manager.php:331 -msgid "Force Admin Redirect" -msgstr "" - -#: inc/managers/class-domain-manager.php:332 -msgid "Select how you want your users to access the admin panel if they have mapped domains." -msgstr "" - -#: inc/managers/class-domain-manager.php:332 -msgid "Force Redirect to Mapped Domain: your users with mapped domains will be redirected to theirdomain.com/wp-admin, even if they access using yournetworkdomain.com/wp-admin." -msgstr "" - -#: inc/managers/class-domain-manager.php:332 -msgid "Force Redirect to Network Domain: your users with mapped domains will be redirect to yournetworkdomain.com/wp-admin, even if they access using theirdomain.com/wp-admin." -msgstr "" - -#: inc/managers/class-domain-manager.php:338 -msgid "Allow access to the admin by both mapped domain and network domain" -msgstr "" - -#: inc/managers/class-domain-manager.php:339 -msgid "Force Redirect to Mapped Domain" -msgstr "" - -#: inc/managers/class-domain-manager.php:340 -msgid "Force Redirect to Network Domain" -msgstr "" - -#: inc/managers/class-domain-manager.php:349 -msgid "Enable Custom Domains?" -msgstr "" - -#: inc/managers/class-domain-manager.php:350 -msgid "Toggle this option if you wish to allow end-customers to add their own domains. This can be controlled on a plan per plan basis." -msgstr "" - -#: inc/managers/class-domain-manager.php:363 -msgid "Add New Domain Instructions" -msgstr "" - -#: inc/managers/class-domain-manager.php:364 -msgid "Display a customized message with instructions for the mapping and alerting the end-user of the risks of mapping a misconfigured domain." -msgstr "" - -#: inc/managers/class-domain-manager.php:365 -msgid "You can use the placeholder %NETWORK_DOMAIN% and %NETWORK_IP%." -msgstr "" - -#: inc/managers/class-domain-manager.php:382 -msgid "DNS Check Interval" -msgstr "" - -#: inc/managers/class-domain-manager.php:383 -msgid "Set the interval in seconds between DNS and SSL certificate checks for domains." -msgstr "" - -#: inc/managers/class-domain-manager.php:384 -msgid "Minimum: 10 seconds, Maximum: 300 seconds (5 minutes). Default: 300 seconds." -msgstr "" - -#: inc/managers/class-domain-manager.php:411 -msgid "Single Sign-On Settings" -msgstr "" - -#: inc/managers/class-domain-manager.php:412 -msgid "Settings to configure the Single Sign-On functionality of Multisite Ultimate, responsible for keeping customers and admins logged in across all network domains." -msgstr "" - -#: inc/managers/class-domain-manager.php:421 -msgid "Enable Single Sign-On" -msgstr "" - -#: inc/managers/class-domain-manager.php:422 -msgid "Enables the Single Sign-on functionality." -msgstr "" - -#: inc/managers/class-domain-manager.php:432 -msgid "Restrict SSO Checks to Login Pages" -msgstr "" - -#: inc/managers/class-domain-manager.php:433 -msgid "The Single Sign-on feature adds one extra ajax calls to every page load on sites with custom domains active to check if it should perform an auth loopback. You can restrict these extra calls to the login pages of sub-sites using this option. If enabled, SSO will only work on login pages." -msgstr "" - -#: inc/managers/class-domain-manager.php:446 -msgid "Enable SSO Loading Overlay" -msgstr "" - -#: inc/managers/class-domain-manager.php:447 -msgid "When active, a loading overlay will be added on-top of the site currently being viewed while the SSO auth loopback is performed on the background." -msgstr "" - -#: inc/managers/class-domain-manager.php:466 -msgid "Cool! You're about to make this site accessible using your own domain name!" -msgstr "" - -#: inc/managers/class-domain-manager.php:468 -msgid "For that to work, you'll need to create a new CNAME record pointing to %NETWORK_DOMAIN% on your DNS manager." -msgstr "" - -#: inc/managers/class-domain-manager.php:470 -msgid "After you finish that step, come back to this screen and click the button below." -msgstr "" - -#. translators: %s is the domain name -#: inc/managers/class-domain-manager.php:567 -#, php-format -msgid "Starting Check for %s" -msgstr "" - -#: inc/managers/class-domain-manager.php:577 -msgid "- DNS propagation finished, advancing domain to next step..." -msgstr "" - -#. translators: %d is the number of minutes to try again. -#: inc/managers/class-domain-manager.php:604 -#, php-format -msgid "- DNS propagation checks tried for the max amount of times (5 times, one every %d minutes). Marking as failed." -msgstr "" - -#. translators: %d is the number of minutes before trying again. -#: inc/managers/class-domain-manager.php:613 -#, php-format -msgid "- DNS propagation not finished, retrying in %d minutes..." -msgstr "" - -#: inc/managers/class-domain-manager.php:638 -msgid "- Valid SSL cert found. Marking domain as done." -msgstr "" - -#. translators: %d is the number of minutes to try again. -#: inc/managers/class-domain-manager.php:654 -#, php-format -msgid "- SSL checks tried for the max amount of times (5 times, one every %d minutes). Marking as ready without SSL." -msgstr "" - -#. translators: %d is the number of minutes before trying again. -#: inc/managers/class-domain-manager.php:663 -#, php-format -msgid "- SSL Cert not found, retrying in %d minute(s)..." -msgstr "" - -#: inc/managers/class-domain-manager.php:752 -msgid "A valid domain was not passed." -msgstr "" - -#: inc/managers/class-domain-manager.php:765 -#: inc/managers/class-domain-manager.php:774 -msgid "Not able to fetch DNS entries." -msgstr "" - -#: inc/managers/class-domain-manager.php:825 -msgid "Invalid Integration ID" -msgstr "" - -#. translators: %s is the name of the missing constant -#: inc/managers/class-domain-manager.php:838 -#, php-format -msgid "The necessary constants were not found on your wp-config.php file: %s" -msgstr "" - -#: inc/managers/class-email-manager.php:136 -msgid "No targets found." -msgstr "" - -#: inc/managers/class-email-manager.php:221 -msgid "Sender Settings" -msgstr "" - -#: inc/managers/class-email-manager.php:222 -msgid "Change the settings of the email headers, like from and name." -msgstr "" - -#: inc/managers/class-email-manager.php:231 -msgid "\"From\" Name" -msgstr "" - -#: inc/managers/class-email-manager.php:232 -msgid "How the sender name will appear in emails sent by Multisite Ultimate." -msgstr "" - -#: inc/managers/class-email-manager.php:246 -msgid "\"From\" E-mail" -msgstr "" - -#: inc/managers/class-email-manager.php:247 -msgid "How the sender email will appear in emails sent by Multisite Ultimate." -msgstr "" - -#: inc/managers/class-email-manager.php:261 -msgid "Template Settings" -msgstr "" - -#: inc/managers/class-email-manager.php:262 -msgid "Change the settings of the email templates." -msgstr "" - -#: inc/managers/class-email-manager.php:271 -msgid "Email Templates Style" -msgstr "" - -#: inc/managers/class-email-manager.php:289 -msgid "Expiring Notification Settings" -msgstr "" - -#: inc/managers/class-email-manager.php:290 -msgid "Change the settings for the expiring notification (trials and subscriptions) emails." -msgstr "" - -#: inc/managers/class-email-manager.php:299 -msgid "Days to Expire" -msgstr "" - -#: inc/managers/class-email-manager.php:300 -msgid "Select when we should send the notification email. If you select 3 days, for example, a notification email will be sent to every membership (or trial period) expiring in the next 3 days. Memberships are checked hourly." -msgstr "" - -#: inc/managers/class-email-manager.php:302 -msgid "e.g. 3" -msgstr "" - -#: inc/managers/class-email-manager.php:397 -msgid "You got a new payment!" -msgstr "" - -#: inc/managers/class-email-manager.php:410 -msgid "We got your payment!" -msgstr "" - -#: inc/managers/class-email-manager.php:423 -msgid "A new site was created on your Network!" -msgstr "" - -#: inc/managers/class-email-manager.php:436 -msgid "Your site is ready!" -msgstr "" - -#: inc/managers/class-email-manager.php:449 -msgid "Confirm your email address!" -msgstr "" - -#: inc/managers/class-email-manager.php:462 -msgid "A new domain was added to your Network!" -msgstr "" - -#: inc/managers/class-email-manager.php:475 -msgid "You have a new pending payment!" -msgstr "" - -#: inc/managers/class-event-manager.php:194 -msgid "No event was selected." -msgstr "" - -#: inc/managers/class-event-manager.php:200 -msgid "Event was not found." -msgstr "" - -#: inc/managers/class-event-manager.php:206 -msgid "Data not found." -msgstr "" - -#: inc/managers/class-event-manager.php:369 -msgid "Payment Received" -msgstr "" - -#: inc/managers/class-event-manager.php:370 -msgid "This event is fired every time a new payment is received, regardless of the payment status." -msgstr "" - -#: inc/managers/class-event-manager.php:392 -msgid "Site Published" -msgstr "" - -#: inc/managers/class-event-manager.php:393 -msgid "This event is fired every time a new site is created tied to a membership, or transitions from a pending state to a published state." -msgstr "" - -#: inc/managers/class-event-manager.php:409 -msgid "Email Verification Needed" -msgstr "" - -#: inc/managers/class-event-manager.php:410 -msgid "This event is fired every time a new customer is added with an email verification status of pending." -msgstr "" - -#: inc/managers/class-event-manager.php:427 -msgid "New Domain Mapping Added" -msgstr "" - -#: inc/managers/class-event-manager.php:428 -msgid "This event is fired every time a new domain mapping is added by a customer." -msgstr "" - -#: inc/managers/class-event-manager.php:451 -msgid "New Renewal Payment Created" -msgstr "" - -#: inc/managers/class-event-manager.php:452 -msgid "This event is fired every time a new renewal payment is created by Multisite Ultimate." -msgstr "" - -#. translators: %1$s is the model name, %2$s is the event type. -#: inc/managers/class-event-manager.php:473 -#, php-format -msgid "%1$s %2$s" -msgstr "" - -#. translators: %1$s is the model name, %2$s is the event type. -#: inc/managers/class-event-manager.php:475 -#, php-format -msgid "This event is fired every time a %1$s is %2$s by Multisite Ultimate." -msgstr "" - -#. Translators: 1: Number of successfully removed events. 2: Number of failed events to remove. -#: inc/managers/class-event-manager.php:626 -#, php-format -msgid "Removed %1$d events successfully. Failed to remove %2$d events." -msgstr "" - -#: inc/managers/class-field-templates-manager.php:64 -msgid "Template not found." -msgstr "" - -#: inc/managers/class-form-manager.php:67 -msgid "Form not available" -msgstr "" - -#: inc/managers/class-form-manager.php:355 -#: inc/managers/class-form-manager.php:474 -msgid "Object not found." -msgstr "" - -#: inc/managers/class-form-manager.php:521 -msgid "Review this action carefully." -msgstr "" - -#: inc/managers/class-gateway-manager.php:281 -msgid "Missing gateway parameter." -msgstr "" - -#: inc/managers/class-gateway-manager.php:365 -msgid "Active Payment Gateways" -msgstr "" - -#: inc/managers/class-gateway-manager.php:366 -msgid "Payment gateways are what your customers will use to pay." -msgstr "" - -#: inc/managers/class-gateway-manager.php:409 -msgid "Stripe is a suite of payment APIs that powers commerce for businesses of all sizes, including subscription management." -msgstr "" - -#: inc/managers/class-gateway-manager.php:415 -msgid "Stripe Checkout is the hosted solution for checkouts using Stripe." -msgstr "" - -#: inc/managers/class-gateway-manager.php:421 -msgid "PayPal is the leading provider in checkout solutions and it is the easier way to get your network subscriptions going." -msgstr "" - -#: inc/managers/class-gateway-manager.php:427 -msgid "Use the Manual Gateway to allow users to pay you directly via bank transfers, checks, or other channels." -msgstr "" - -#: inc/managers/class-limitation-manager.php:149 -#: inc/managers/class-limitation-manager.php:531 -#: inc/managers/class-limitation-manager.php:537 -#: inc/managers/class-limitation-manager.php:538 -msgid "Reset Limitations" -msgstr "" - -#: inc/managers/class-limitation-manager.php:203 -msgid "Required parameters are missing." -msgstr "" - -#: inc/managers/class-limitation-manager.php:261 -msgid "Limitations are only available for customer-owned sites. You need to change the type to Customer-owned and save this site before the options are shown." -msgstr "" - -#: inc/managers/class-limitation-manager.php:264 -msgid "Limits" -msgstr "" - -#: inc/managers/class-limitation-manager.php:265 -msgid "Only customer-owned sites have limitations." -msgstr "" - -#: inc/managers/class-limitation-manager.php:281 -msgid "Control limitations imposed to the number of sites allowed for memberships attached to this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:296 -#: views/dashboard-statistics/widget-most-visited-sites.php:21 -#: views/dashboard-statistics/widget-most-visited-sites.php:58 -msgid "Visits" -msgstr "" - -#: inc/managers/class-limitation-manager.php:297 -msgid "Control limitations imposed to the number of unique visitors allowed for memberships attached to this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:306 -msgid "Limit Unique Visits" -msgstr "" - -#: inc/managers/class-limitation-manager.php:307 -msgid "Toggle this option to enable unique visits limitation." -msgstr "" - -#: inc/managers/class-limitation-manager.php:322 -msgid "Unique Visits Quota" -msgstr "" - -#: inc/managers/class-limitation-manager.php:323 -msgid "Set a top limit for the number of monthly unique visits. Leave empty or 0 to allow for unlimited visits." -msgstr "" - -#: inc/managers/class-limitation-manager.php:324 -msgid "e.g. 10000" -msgstr "" - -#: inc/managers/class-limitation-manager.php:346 -msgid "Current Unique Visits Count this Month" -msgstr "" - -#: inc/managers/class-limitation-manager.php:347 -msgid "Current visits count for this particular site." -msgstr "" - -#: inc/managers/class-limitation-manager.php:358 -#: views/ui/jumper.php:56 -msgid "Users" -msgstr "" - -#: inc/managers/class-limitation-manager.php:359 -msgid "Control limitations imposed to the number of user allowed for memberships attached to this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:368 -msgid "Limit User" -msgstr "" - -#: inc/managers/class-limitation-manager.php:369 -msgid "Enable user limitations for this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:384 -msgid "Post Types" -msgstr "" - -#: inc/managers/class-limitation-manager.php:385 -msgid "Control limitations imposed to the number of posts allowed for memberships attached to this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:394 -msgid "Limit Post Types" -msgstr "" - -#: inc/managers/class-limitation-manager.php:395 -msgid "Toggle this option to set limits to each post type." -msgstr "" - -#: inc/managers/class-limitation-manager.php:410 -msgid "Note: Using the fields below you can set a post limit for each of the post types activated.
Toggle the switch to deactivate the post type altogether. Leave 0 or blank for unlimited posts." -msgstr "" - -#: inc/managers/class-limitation-manager.php:420 -msgid "Disk Space" -msgstr "" - -#: inc/managers/class-limitation-manager.php:421 -msgid "Control limitations imposed to the disk space allowed for memberships attached to this entity." -msgstr "" - -#: inc/managers/class-limitation-manager.php:430 -msgid "Limit Disk Space per Site" -msgstr "" - -#: inc/managers/class-limitation-manager.php:431 -msgid "Enable disk space limitations for this entity." -msgstr "" - -#: inc/managers/class-limitation-manager.php:446 -msgid "Disk Space Allowance" -msgstr "" - -#: inc/managers/class-limitation-manager.php:447 -msgid "Set a limit in MBs for the disk space for each individual site." -msgstr "" - -#: inc/managers/class-limitation-manager.php:462 -msgid "Custom Domains" -msgstr "" - -#: inc/managers/class-limitation-manager.php:463 -#: inc/managers/class-limitation-manager.php:491 -msgid "Limit the number of users on each role, posts, pages, and more." -msgstr "" - -#: inc/managers/class-limitation-manager.php:472 -msgid "Allow Custom Domains" -msgstr "" - -#: inc/managers/class-limitation-manager.php:473 -msgid "Toggle this option on to allow this plan to enable custom domains for sign-ups on this plan." -msgstr "" - -#: inc/managers/class-limitation-manager.php:490 -#: inc/managers/class-limitation-manager.php:500 -msgid "Themes" -msgstr "" - -#: inc/managers/class-limitation-manager.php:501 -msgid "Select how the themes installed on the network should behave." -msgstr "" - -#: inc/managers/class-limitation-manager.php:508 -#: inc/managers/class-limitation-manager.php:515 -msgid "Plugins" -msgstr "" - -#: inc/managers/class-limitation-manager.php:509 -msgid "You can choose the behavior of each plugin installed on the platform." -msgstr "" - -#: inc/managers/class-limitation-manager.php:516 -msgid "Select how the plugins installed on the network should behave." -msgstr "" - -#: inc/managers/class-limitation-manager.php:532 -msgid "Reset the limitations applied to this element." -msgstr "" - -#: inc/managers/class-limitation-manager.php:537 -msgid "Use this option to reset the custom limitations applied to this object." -msgstr "" - -#: inc/managers/class-limitation-manager.php:557 -#: views/limitations/plugin-selector.php:96 -#: views/limitations/theme-selector.php:92 -msgid "This value is being applied only to this entity. Changes made to the membership or product permissions will not affect this particular value." -msgstr "" - -#. translators: %s is the user role name. -#: inc/managers/class-limitation-manager.php:592 -#, php-format -msgid "Limit %s Role" -msgstr "" - -#. translators: %s is the user role name. -#: inc/managers/class-limitation-manager.php:596 -#, php-format -msgid "The customer will be able to create %s users(s) of this user role." -msgstr "" - -#: inc/managers/class-limitation-manager.php:597 -#: inc/managers/class-limitation-manager.php:665 -msgid "unlimited" -msgstr "" - -#: inc/managers/class-limitation-manager.php:597 -#: inc/managers/class-limitation-manager.php:665 -msgid "no" -msgstr "" - -#. translators: %s is the user role name. -#: inc/managers/class-limitation-manager.php:609 -#, php-format -msgid "%s Role Quota. e.g. 10" -msgstr "" - -#. translators: %s is the post type name. -#: inc/managers/class-limitation-manager.php:661 -#, php-format -msgid "Limit %s" -msgstr "" - -#. translators: %s is the post type name. -#: inc/managers/class-limitation-manager.php:664 -#, php-format -msgid "The customer will be able to create %s post(s) of this post type." -msgstr "" - -#. translators: %s is the post type name. -#: inc/managers/class-limitation-manager.php:677 -#, php-format -msgid "%s Quota. e.g. 200" -msgstr "" - -#: inc/managers/class-limitation-manager.php:723 -msgid "Limit Sites" -msgstr "" - -#: inc/managers/class-limitation-manager.php:724 -msgid "Enable site limitations for this product." -msgstr "" - -#: inc/managers/class-limitation-manager.php:741 -msgid "The product type selection does not support allowing for the creating of extra sites." -msgstr "" - -#: inc/managers/class-limitation-manager.php:752 -msgid "Site Allowance" -msgstr "" - -#: inc/managers/class-limitation-manager.php:753 -msgid "This is the number of sites the customer will be able to create under this membership." -msgstr "" - -#: inc/managers/class-membership-manager.php:130 -#: inc/managers/class-membership-manager.php:154 -#: inc/managers/class-membership-manager.php:188 -#: inc/managers/class-membership-manager.php:194 -#: inc/managers/class-membership-manager.php:209 -#: inc/managers/class-membership-manager.php:214 -#: inc/managers/class-membership-manager.php:306 -#: inc/managers/class-membership-manager.php:378 -#: inc/managers/class-payment-manager.php:331 -#: inc/managers/class-payment-manager.php:376 -#: inc/ui/class-site-actions-element.php:587 -#: inc/ui/class-site-actions-element.php:929 -#: inc/ui/class-site-actions-element.php:1117 -msgid "An unexpected error happened." -msgstr "" - -#: inc/managers/class-notes-manager.php:145 -#: inc/managers/class-notes-manager.php:156 -#: inc/managers/class-notes-manager.php:319 -#: inc/managers/class-notes-manager.php:320 -msgid "Clear Notes" -msgstr "" - -#: inc/managers/class-notes-manager.php:164 -#: inc/managers/class-notes-manager.php:176 -msgid "Add new Note" -msgstr "" - -#: inc/managers/class-notes-manager.php:188 -msgid "Notes" -msgstr "" - -#: inc/managers/class-notes-manager.php:189 -msgid "Add notes to this model." -msgstr "" - -#: inc/managers/class-notes-manager.php:210 -msgid "Note Content" -msgstr "" - -#: inc/managers/class-notes-manager.php:211 -msgid "Basic formatting is supported." -msgstr "" - -#: inc/managers/class-notes-manager.php:223 -#: inc/managers/class-notes-manager.php:224 -msgid "Add Note" -msgstr "" - -#: inc/managers/class-notes-manager.php:311 -msgid "Confirm clear all notes?" -msgstr "" - -#: inc/managers/class-notes-manager.php:406 -msgid "Confirm clear the note?" -msgstr "" - -#: inc/managers/class-notes-manager.php:414 -#: inc/managers/class-notes-manager.php:415 -#: views/base/edit/display-notes.php:82 -msgid "Clear Note" -msgstr "" - -#: inc/managers/class-notes-manager.php:478 -msgid "Note not found" -msgstr "" - -#: inc/managers/class-notification-manager.php:124 -msgid "Hide Admin Notices on Sites" -msgstr "" - -#: inc/managers/class-notification-manager.php:125 -msgid "Hide all admin notices on network sites, except for Multisite Ultimate broadcasts." -msgstr "" - -#: inc/managers/class-payment-manager.php:172 -msgid "Pending Payments" -msgstr "" - -#: inc/managers/class-payment-manager.php:228 -msgid "You have pending payments on your account!" -msgstr "" - -#: inc/managers/class-payment-manager.php:228 -msgid "You do not have pending payments on your account!" -msgstr "" - -#: inc/managers/class-payment-manager.php:255 -#: views/dashboard-widgets/invoices.php:60 -#: views/emails/customer/renewal-payment-created.php:14 -msgid "Pay Now" -msgstr "" - -#: inc/managers/class-payment-manager.php:299 -msgid "This invoice does not exist." -msgstr "" - -#: inc/managers/class-site-manager.php:117 -msgid "Site names can only contain lowercase letters (a-z) and numbers." -msgstr "" - -#: inc/managers/class-site-manager.php:134 -msgid "Site names can only contain lowercase letters (a-z), numbers, and hyphens." -msgstr "" - -#: inc/managers/class-site-manager.php:167 -msgid "You do not have the necessary permissions to create a site to this membership" -msgstr "" - -#. translators: %s: link to the login page -#: inc/managers/class-site-manager.php:318 -#, php-format -msgid "This site is not available at the moment.
If you are the site admin, click here to login." -msgstr "" - -#: inc/managers/class-site-manager.php:320 -msgid "Site not available" -msgstr "" - -#: inc/managers/class-site-manager.php:382 -msgid "We were not able to fetch the screenshot." -msgstr "" - -#: inc/managers/class-site-manager.php:421 -msgid "Multisite Ultimate - Search Engines" -msgstr "" - -#: inc/managers/class-site-manager.php:438 -msgid "Your Multisite Ultimate settings are configured to prevent search engines such as Google from indexing your template sites." -msgstr "" - -#. translators: %s: link to the settings page -#: inc/managers/class-site-manager.php:441 -#, php-format -msgid "If you are experiencing negative SEO impacts on other sites in your network, consider disabling this setting here." -msgstr "" - -#: inc/managers/class-site-manager.php:538 -msgid "Hey there! We highly recommend managing your network sites using the Multisite Ultimate → Sites page.
If you want to avoid confusion, you can also hide this page from the admin panel completely on the Multisite Ultimate → Settings → Whitelabel options." -msgstr "" - -#: inc/managers/class-site-manager.php:547 -msgid "Go to the Multisite Ultimate Sites page →" -msgstr "" - -#: inc/managers/class-site-manager.php:551 -msgid "Go to the Whitelabel Settings →" -msgstr "" - -#: inc/managers/class-visits-manager.php:72 -msgid "This site is not available at this time." -msgstr "" - -#: inc/managers/class-visits-manager.php:72 -msgid "Not available" -msgstr "" - -#: inc/managers/class-webhook-manager.php:198 -msgid "You do not have enough permissions to send a test event." -msgstr "" - -#: inc/models/class-base-model.php:186 -msgid "You can only use numeric fields to generate hashes." -msgstr "" - -#: inc/models/class-base-model.php:769 -msgid "This method expects an array as argument." -msgstr "" - -#: inc/models/class-checkout-form.php:605 -#: inc/models/class-checkout-form.php:754 -#: inc/models/class-checkout-form.php:1215 -#: inc/models/class-checkout-form.php:1409 -msgid "Your Order" -msgstr "" - -#: inc/models/class-checkout-form.php:619 -#: inc/models/class-checkout-form.php:768 -#: inc/models/class-checkout-form.php:1005 -#: inc/ui/class-billing-info-element.php:173 -#: inc/ui/class-billing-info-element.php:226 -#: views/dashboard-widgets/thank-you.php:455 -#: views/emails/admin/payment-received.php:149 -#: views/emails/admin/site-published.php:115 -msgid "Billing Address" -msgstr "" - -#: inc/models/class-checkout-form.php:671 -msgid "Site Info" -msgstr "" - -#: inc/models/class-checkout-form.php:705 -msgid "User Info" -msgstr "" - -#: inc/models/class-checkout-form.php:870 -msgid "Pricing Tables" -msgstr "" - -#: inc/models/class-checkout-form.php:974 -msgid "Continue to the Next Step" -msgstr "" - -#: inc/models/class-checkout-form.php:1018 -#: inc/ui/class-payment-methods-element.php:70 -msgid "Payment Methods" -msgstr "" - -#: inc/models/class-checkout-form.php:1025 -msgid "Pay & Create Account" -msgstr "" - -#: inc/models/class-checkout-form.php:1229 -msgid "Finish Payment" -msgstr "" - -#: inc/models/class-checkout-form.php:1423 -msgid "Complete Checkout" -msgstr "" - -#: inc/models/class-checkout-form.php:1546 -#: inc/models/class-checkout-form.php:1554 -msgid "Create Site" -msgstr "" - -#: inc/models/class-customer.php:206 -msgid "User Deleted" -msgstr "" - -#: inc/models/class-customer.php:262 -#: inc/models/class-customer.php:279 -msgid "none" -msgstr "" - -#: inc/models/class-discount-code.php:468 -#: inc/models/class-discount-code.php:490 -#: inc/models/class-discount-code.php:498 -#: inc/models/class-discount-code.php:516 -msgid "This coupon code is not valid." -msgstr "" - -#: inc/models/class-discount-code.php:475 -msgid "This discount code was already redeemed the maximum amount of times allowed." -msgstr "" - -#. translators: placeholder is the value off. Can be wither $X.XX or X% -#: inc/models/class-discount-code.php:641 -#, php-format -msgid "%1$s OFF on Subscriptions" -msgstr "" - -#. translators: placeholder is the value off. Can be wither $X.XX or X% -#: inc/models/class-discount-code.php:655 -#, php-format -msgid "%1$s OFF on Setup Fees" -msgstr "" - -#: inc/models/class-domain.php:535 -msgid "Domain deleted and logs cleared..." -msgstr "" - -#: inc/models/class-event.php:166 -msgid "Note" -msgstr "" - -#: inc/models/class-event.php:306 -msgid "The {{model}} #{{object_id}} was changed: {{payload}}" -msgstr "" - -#: inc/models/class-event.php:307 -msgid "The {{model}} #{{object_id}} was created." -msgstr "" - -#: inc/models/class-event.php:311 -msgid "No Message" -msgstr "" - -#: inc/models/class-membership.php:673 -#: inc/models/class-membership.php:750 -msgid "Swap Cart is invalid." -msgstr "" - -#: inc/models/class-membership.php:746 -msgid "Schedule date is invalid." -msgstr "" - -#. translators: times billed / subscription duration in cycles. e.g. 1/12 cycles -#: inc/models/class-membership.php:850 -#, php-format -msgid "%1$s / %2$s cycles" -msgstr "" - -#. translators: the place holder is the number of times the membership was billed. -#: inc/models/class-membership.php:855 -#, php-format -msgid "%1$s / until cancelled" -msgstr "" - -#. translators: %1$s is the formatted price, %2$s the duration, and %3$s the duration unit (day, week, month, etc) -#: inc/models/class-membership.php:875 -#: inc/models/class-product.php:712 -#, php-format -msgid "%1$s every %3$s" -msgid_plural "%1$s every %2$s %3$s" -msgstr[0] "" -msgstr[1] "" - -#. translators: %1$s is the formatted price of the product -#: inc/models/class-membership.php:895 -#: inc/models/class-product.php:732 -#, php-format -msgid "%1$s one time payment" -msgstr "" - -#: inc/models/class-payment.php:941 -msgid "(provisional)" -msgstr "" - -#: inc/models/class-payment.php:1061 -msgid "Full Refund" -msgstr "" - -#: inc/models/class-payment.php:1065 -msgid "Partial Refund" -msgstr "" - -#. translators: %s is the date of processing. -#: inc/models/class-payment.php:1075 -#, php-format -msgid "Processed on %s" -msgstr "" - -#: inc/models/class-product.php:700 -msgid "Contact us" -msgstr "" - -#. translators: %1$s is the formatted price of the setup fee -#: inc/models/class-product.php:740 -#, php-format -msgid "Setup Fee of %1$s" -msgstr "" - -#: inc/models/class-product.php:761 -msgid "one-time payment" -msgstr "" - -#: inc/objects/class-billing-address.php:262 -msgid "E.g. Google (optional)" -msgstr "" - -#: inc/objects/class-billing-address.php:268 -msgid "Billing Email" -msgstr "" - -#: inc/objects/class-billing-address.php:269 -msgid "E.g. john@company.com" -msgstr "" - -#: inc/objects/class-billing-address.php:276 -msgid "Address Line 1" -msgstr "" - -#: inc/objects/class-billing-address.php:277 -msgid "E.g. 555 1st Avenue" -msgstr "" - -#: inc/objects/class-billing-address.php:284 -msgid "Address Line 2" -msgstr "" - -#: inc/objects/class-billing-address.php:285 -msgid "E.g. Apartment 10a" -msgstr "" - -#: inc/objects/class-billing-address.php:292 -msgid "E.g. US" -msgstr "" - -#: inc/objects/class-billing-address.php:302 -msgid "E.g. NY" -msgstr "" - -#: inc/objects/class-billing-address.php:308 -msgid "City / Town" -msgstr "" - -#: inc/objects/class-billing-address.php:309 -msgid "E.g. New York City" -msgstr "" - -#: inc/objects/class-billing-address.php:315 -msgid "ZIP / Postal Code" -msgstr "" - -#: inc/objects/class-billing-address.php:316 -msgid "E.g. 10009" -msgstr "" - -#: inc/objects/class-note.php:203 -msgid "Author ID" -msgstr "" - -#: inc/objects/class-note.php:208 -msgid "Note ID" -msgstr "" - -#: inc/site-templates/class-template-placeholders.php:164 -msgid "You don't have permission to alter placeholders." -msgstr "" - -#: inc/site-templates/class-template-placeholders.php:180 -msgid "The JSON provided is invalid" -msgstr "" - -#: inc/site-templates/class-template-placeholders.php:198 -msgid "Placeholders successfully updated!" -msgstr "" - -#: inc/sso/class-sso.php:952 -msgid "SSO secret creation failed." -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:81 -msgid "You do not have tax support enabled yet..." -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:82 -msgid "If you need to collect taxes, you'll be glad to hear that Multisite Ultimate offers tax support!" -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:83 -msgid "Enable Tax Support" -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:153 -msgid "Taxes by Code" -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:155 -msgid "Taxes by Day" -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:214 -#: views/dashboard-statistics/widget-tax-by-day.php:23 -#: views/dashboard-statistics/widget-tax-by-day.php:56 -msgid "Net Profit" -msgstr "" - -#: inc/tax/class-dashboard-taxes-tab.php:215 -msgid "Taxes Collected" -msgstr "" - -#: inc/tax/class-tax.php:115 -msgid "Enable Taxes" -msgstr "" - -#: inc/tax/class-tax.php:116 -msgid "Enable this option to be able to collect sales taxes on your network payments." -msgstr "" - -#: inc/tax/class-tax.php:126 -msgid "Inclusive Tax" -msgstr "" - -#: inc/tax/class-tax.php:127 -msgid "Enable this option if your prices include taxes. In that case, Multisite Ultimate will calculate the included tax instead of adding taxes to the price." -msgstr "" - -#: inc/tax/class-tax.php:189 -msgid "Regular" -msgstr "" - -#: inc/tax/class-tax.php:295 -msgid "You don't have permission to alter tax rates" -msgstr "" - -#: inc/tax/class-tax.php:314 -msgid "No tax rates present in the request" -msgstr "" - -#: inc/tax/class-tax.php:346 -msgid "Tax Rates successfully updated!" -msgstr "" - -#: inc/tax/class-tax.php:386 -#: inc/tax/class-tax.php:390 -msgid "Manage Tax Rates" -msgstr "" - -#: inc/tax/class-tax.php:394 -msgid "Add different tax rates depending on the country of your customers." -msgstr "" - -#: inc/tax/class-tax.php:400 -msgid "You need to activate tax support first." -msgstr "" - -#: inc/tax/class-tax.php:408 -#: inc/tax/class-tax.php:414 -#: inc/tax/class-tax.php:418 -msgid "Manage Tax Rates →" -msgstr "" - -#: inc/traits/trait-wp-ultimo-coupon-deprecated.php:34 -msgid "Discount Code keys should not be set directly." -msgstr "" - -#. translators: the placeholder is the key. -#: inc/traits/trait-wp-ultimo-coupon-deprecated.php:60 -#, php-format -msgid "Discount Codes do not have a %s parameter" -msgstr "" - -#: inc/traits/trait-wp-ultimo-coupon-deprecated.php:72 -msgid "Discount Code keys should not be accessed directly" -msgstr "" - -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:85 -#: inc/traits/trait-wp-ultimo-site-deprecated.php:44 -msgid "Product keys should not be accessed directly" -msgstr "" - -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:147 -msgid "Contact Us to know more" -msgstr "" - -#. translators: %s is the setup fee wrapped in strong tag. -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:151 -#, php-format -msgid "Setup Fee: %s" -msgstr "" - -#. Translators: used as "No Posts" where a post type is disabled -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:175 -#, php-format -msgid "No %s" -msgstr "" - -#. translators: %s is the disk space with appropriate suffix, MB, GB KB etc. -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:217 -#, php-format -msgid "%s Disk Space" -msgstr "" - -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:230 -msgid "Visit per month" -msgid_plural "Visits per month" -msgstr[0] "" -msgstr[1] "" - -#. translators: %s is the number of days for the trial -#: inc/traits/trait-wp-ultimo-plan-deprecated.php:242 -#, php-format -msgid "%s day Free Trial" -msgstr "" - -#: inc/traits/trait-wp-ultimo-settings-deprecated.php:70 -msgid "Adding setting sections directly via filters is no longer supported." -msgstr "" - -#: inc/traits/trait-wp-ultimo-settings-deprecated.php:79 -#: inc/traits/trait-wp-ultimo-settings-deprecated.php:80 -#: inc/ui/class-site-actions-element.php:1039 -#: views/dashboard-statistics/widget-countries.php:95 -msgid "Other" -msgstr "" - -#: inc/traits/trait-wp-ultimo-subscription-deprecated.php:43 -msgid "Membership keys should not be accessed directly" -msgstr "" - -#: inc/ui/class-account-summary-element.php:110 -msgid "Account Summary" -msgstr "" - -#: inc/ui/class-account-summary-element.php:126 -msgid "Adds a account summary block to the page." -msgstr "" - -#: inc/ui/class-account-summary-element.php:159 -#: inc/ui/class-account-summary-element.php:211 -msgid "About this Site" -msgstr "" - -#: inc/ui/class-account-summary-element.php:160 -#: inc/ui/class-billing-info-element.php:174 -#: inc/ui/class-current-membership-element.php:183 -#: inc/ui/class-domain-mapping-element.php:147 -#: inc/ui/class-invoices-element.php:136 -#: inc/ui/class-limits-element.php:135 -#: inc/ui/class-thank-you-element.php:211 -msgid "Leave blank to hide the title completely." -msgstr "" - -#: inc/ui/class-account-summary-element.php:299 -#: inc/ui/class-billing-info-element.php:277 -#: inc/ui/class-current-site-element.php:357 -#: inc/ui/class-invoices-element.php:279 -#: inc/ui/class-limits-element.php:245 -msgid "setup() or setup_preview() must be called before output()." -msgstr "" - -#: inc/ui/class-base-element.php:747 -msgid "Result" -msgstr "" - -#: inc/ui/class-base-element.php:752 -msgid "Copy Shortcode" -msgstr "" - -#: inc/ui/class-base-element.php:801 -msgid "Hide Element" -msgstr "" - -#: inc/ui/class-base-element.php:802 -msgid "Be careful. Hiding an element from the account page might remove important functionality from your customers' reach." -msgstr "" - -#: inc/ui/class-base-element.php:1055 -msgid "An element can not be loaded as inline content unless the get_current_screen() function is already available." -msgstr "" - -#: inc/ui/class-base-element.php:1212 -msgid "Customize this element" -msgstr "" - -#: inc/ui/class-base-element.php:1214 -msgid ", or" -msgstr "" - -#: inc/ui/class-base-element.php:1216 -msgid "generate a shortcode" -msgstr "" - -#: inc/ui/class-base-element.php:1218 -msgid "to use it on the front-end!" -msgstr "" - -#: inc/ui/class-base-element.php:1219 -msgid "You are seeing this because you are a super admin" -msgstr "" - -#: inc/ui/class-billing-info-element.php:124 -msgid "Billing Information" -msgstr "" - -#: inc/ui/class-billing-info-element.php:140 -#: inc/ui/class-checkout-element.php:128 -#: inc/ui/class-current-membership-element.php:149 -#: inc/ui/class-invoices-element.php:102 -#: inc/ui/class-limits-element.php:101 -#: inc/ui/class-payment-methods-element.php:86 -#: inc/ui/class-site-actions-element.php:122 -#: inc/ui/class-thank-you-element.php:177 -msgid "Adds a checkout form block to the page." -msgstr "" - -#: inc/ui/class-billing-info-element.php:334 -msgid "Your Address" -msgstr "" - -#: inc/ui/class-billing-info-element.php:335 -msgid "Enter your billing address here. This info will be used on your invoices." -msgstr "" - -#: inc/ui/class-checkout-element.php:160 -msgid "The checkout form slug." -msgstr "" - -#. translators: %s the error message. -#: inc/ui/class-checkout-element.php:274 -#, php-format -msgid "An error occurred while compiling scss: %s" -msgstr "" - -#. Translators: Placeholder receives the customer display name -#: inc/ui/class-checkout-element.php:344 -#, php-format -msgid "Hi %s. You have a pending payment for your membership!" -msgstr "" - -#. Translators: The link to registration url with payment hash -#: inc/ui/class-checkout-element.php:354 -#, php-format -msgid "Click here to pay." -msgstr "" - -#. Translators: Placeholder receives the customer display name -#: inc/ui/class-checkout-element.php:375 -#, php-format -msgid "Hi %s. You cannot take action on your membership while it is not active!" -msgstr "" - -#: inc/ui/class-checkout-element.php:391 -#: inc/ui/class-thank-you-element.php:140 -msgid "Resending verification email..." -msgstr "" - -#: inc/ui/class-checkout-element.php:399 -msgid "Check your inbox and verify your email address." -msgstr "" - -#: inc/ui/class-checkout-element.php:401 -msgid "Resend verification email" -msgstr "" - -#: inc/ui/class-checkout-element.php:431 -msgid "You already have a membership!" -msgstr "" - -#: inc/ui/class-checkout-element.php:435 -msgid "Go to my account" -msgstr "" - -#: inc/ui/class-checkout-element.php:451 -msgid "You are not allowed to change this membership!" -msgstr "" - -#. Translators: Placeholder receives the limit name -#: inc/ui/class-checkout-element.php:490 -#, php-format -msgid "You reached your membership %s limit!" -msgstr "" - -#: inc/ui/class-checkout-element.php:496 -msgid "Buy a new membership" -msgstr "" - -#: inc/ui/class-checkout-element.php:522 -msgid "Upgrade your account" -msgstr "" - -#: inc/ui/class-checkout-element.php:546 -msgid "You need to be the account owner to complete this payment." -msgstr "" - -#: inc/ui/class-checkout-element.php:548 -msgid "You need to be logged in to complete a payment" -msgstr "" - -#. Translators: The link to login url with redirect_to url -#: inc/ui/class-checkout-element.php:551 -#, php-format -msgid "Click here sign in." -msgstr "" - -#. translators: %s is the id of the form. e.g. main-form -#: inc/ui/class-checkout-element.php:569 -#, php-format -msgid "Checkout form %s not found." -msgstr "" - -#. translators: %s is the id of the form. e.g. main-form -#: inc/ui/class-checkout-element.php:575 -#, php-format -msgid "Checkout form %s contains no fields." -msgstr "" - -#: inc/ui/class-checkout-element.php:579 -msgid "Registration is not available at this time." -msgstr "" - -#: inc/ui/class-checkout-element.php:586 -msgid "Registration is closed for your location." -msgstr "" - -#: inc/ui/class-current-membership-element.php:182 -#: inc/ui/class-current-membership-element.php:253 -msgid "Your Membership" -msgstr "" - -#: inc/ui/class-current-membership-element.php:189 -msgid "Display Product Images?" -msgstr "" - -#: inc/ui/class-current-membership-element.php:190 -msgid "Toggle to show/hide the product images on the element." -msgstr "" - -#: inc/ui/class-current-membership-element.php:197 -#: inc/ui/class-limits-element.php:141 -#: inc/ui/class-my-sites-element.php:194 -msgid "Columns" -msgstr "" - -#: inc/ui/class-current-membership-element.php:198 -#: inc/ui/class-limits-element.php:142 -#: inc/ui/class-my-sites-element.php:195 -msgid "How many columns to use." -msgstr "" - -#: inc/ui/class-current-membership-element.php:373 -#: inc/ui/class-site-actions-element.php:835 -#: inc/ui/class-site-actions-element.php:982 -msgid "Membership not selected." -msgstr "" - -#: inc/ui/class-current-membership-element.php:379 -msgid "Product not selected." -msgstr "" - -#: inc/ui/class-current-membership-element.php:385 -#: inc/ui/class-current-membership-element.php:540 -#: inc/ui/class-site-actions-element.php:496 -#: inc/ui/class-site-actions-element.php:593 -#: inc/ui/class-site-actions-element.php:841 -#: inc/ui/class-site-actions-element.php:939 -#: inc/ui/class-site-actions-element.php:988 -#: inc/ui/class-site-actions-element.php:1127 -msgid "You are not allowed to do this." -msgstr "" - -#: inc/ui/class-current-membership-element.php:442 -msgid "Quantity to Cancel" -msgstr "" - -#: inc/ui/class-current-membership-element.php:458 -msgid "Confirm Product Cancellation" -msgstr "" - -#: inc/ui/class-current-membership-element.php:471 -#: inc/ui/class-current-membership-element.php:472 -msgid "Cancel Product Subscription" -msgstr "" - -#: inc/ui/class-current-membership-element.php:516 -msgid "Please confirm the cancellation." -msgstr "" - -#. translators: %1$s is the quantity removed, %2$s is the product name. -#: inc/ui/class-current-membership-element.php:590 -#, php-format -msgid "remove %1$s %2$s from membership" -msgstr "" - -#: inc/ui/class-current-site-element.php:127 -msgid "Adds a block to display the current site being managed." -msgstr "" - -#: inc/ui/class-current-site-element.php:159 -msgid "Display Breadcrumbs?" -msgstr "" - -#: inc/ui/class-current-site-element.php:160 -msgid "Toggle to show/hide the breadcrumbs block." -msgstr "" - -#: inc/ui/class-current-site-element.php:173 -#: inc/ui/class-my-sites-element.php:174 -msgid "Current Page" -msgstr "" - -#: inc/ui/class-current-site-element.php:181 -msgid "My Sites Page" -msgstr "" - -#: inc/ui/class-current-site-element.php:183 -msgid "The page with the customer sites list." -msgstr "" - -#: inc/ui/class-current-site-element.php:189 -msgid "Display Site Description?" -msgstr "" - -#: inc/ui/class-current-site-element.php:190 -msgid "Toggle to show/hide the site description on the element." -msgstr "" - -#: inc/ui/class-current-site-element.php:197 -#: inc/ui/class-my-sites-element.php:204 -msgid "Display Site Screenshot?" -msgstr "" - -#: inc/ui/class-current-site-element.php:198 -#: inc/ui/class-my-sites-element.php:205 -msgid "Toggle to show/hide the site screenshots on the element." -msgstr "" - -#: inc/ui/class-current-site-element.php:205 -msgid "Screenshot Size" -msgstr "" - -#: inc/ui/class-current-site-element.php:218 -msgid "Screenshot Position" -msgstr "" - -#: inc/ui/class-current-site-element.php:233 -msgid "Show Admin Link?" -msgstr "" - -#: inc/ui/class-current-site-element.php:234 -msgid "Toggle to show/hide the WP admin link on the element." -msgstr "" - -#: inc/ui/class-current-site-element.php:383 -#: views/dashboard-widgets/thank-you.php:317 -#: views/emails/admin/domain-created.php:54 -#: views/emails/admin/domain-created.php:91 -#: views/emails/admin/domain-created.php:132 -#: views/emails/admin/payment-received.php:76 -#: views/emails/admin/payment-received.php:117 -#: views/emails/admin/payment-received.php:153 -#: views/emails/admin/site-published.php:42 -#: views/emails/admin/site-published.php:83 -#: views/emails/admin/site-published.php:119 -#: views/emails/customer/site-published.php:31 -msgid "Admin Panel" -msgstr "" - -#: inc/ui/class-current-site-element.php:421 -msgid "e.g. My Awesome Site" -msgstr "" - -#: inc/ui/class-current-site-element.php:430 -msgid "e.g. My Awesome Site description." -msgstr "" - -#: inc/ui/class-current-site-element.php:494 -msgid "Site title can not be empty." -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:113 -msgid "Adds the site's domains block." -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:294 -msgid "← Back to the Instructions" -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:332 -msgid "mydomain.com" -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:409 -msgid "You do not have permissions to perform this action." -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:558 -msgid "This action will also convert the previous primary domain (if any) to an alias to prevent unexpected behavior." -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:569 -#: inc/ui/class-domain-mapping-element.php:570 -msgid "Make it Primary" -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:645 -msgid "Something wrong happenned." -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:715 -msgid "Domain not secured with HTTPS" -msgstr "" - -#: inc/ui/class-domain-mapping-element.php:720 -msgid "Domain secured with HTTPS" -msgstr "" - -#. translators: The %1$s placeholder is the old type name, the second, the new type name. -#: inc/ui/class-field.php:175 -#, php-format -msgid "The field type \"%1$s\" is no longer supported, use \"%2$s\" instead." -msgstr "" - -#: inc/ui/class-invoices-element.php:142 -msgid "Limit" -msgstr "" - -#: inc/ui/class-invoices-element.php:144 -msgid "Limit the number of invoices to show." -msgstr "" - -#: inc/ui/class-jumper.php:188 -#: inc/ui/class-jumper.php:534 -msgid "Custom Links" -msgstr "" - -#: inc/ui/class-jumper.php:207 -msgid "Network Settings" -msgstr "" - -#: inc/ui/class-jumper.php:209 -msgid "Domain Mapping & SSL" -msgstr "" - -#: inc/ui/class-jumper.php:211 -msgid "Styling" -msgstr "" - -#: inc/ui/class-jumper.php:212 -#: inc/ui/class-jumper.php:489 -#: inc/ui/class-jumper.php:490 -msgid "Tools" -msgstr "" - -#: inc/ui/class-jumper.php:213 -msgid "Advanced" -msgstr "" - -#: inc/ui/class-jumper.php:214 -msgid "Activation & Support" -msgstr "" - -#. translators: The placeholder represents the title of the Settings tab. -#: inc/ui/class-jumper.php:221 -#, php-format -msgid "Settings: %s" -msgstr "" - -#: inc/ui/class-jumper.php:224 -msgid "Settings: Webhooks" -msgstr "" - -#: inc/ui/class-jumper.php:226 -msgid "System Info: Logs" -msgstr "" - -#: inc/ui/class-jumper.php:234 -msgid "Main Site Dashboard" -msgstr "" - -#. translators: the %s placeholder is the key combination to trigger the Jumper. -#: inc/ui/class-jumper.php:301 -#, php-format -msgid "Quick Tip: Use %s to jump between pages." -msgstr "" - -#: inc/ui/class-jumper.php:320 -msgid "Nothing found for" -msgstr "" - -#: inc/ui/class-jumper.php:409 -msgid "Regenerating Jumper menu items" -msgstr "" - -#: inc/ui/class-jumper.php:499 -#: views/ui/jumper-trigger.php:12 -#: views/ui/jumper-trigger.php:14 -#: views/ui/toolbox.php:84 -#: views/ui/toolbox.php:87 -msgid "Jumper" -msgstr "" - -#: inc/ui/class-jumper.php:500 -msgid "Spotlight-like search bar that allows you to easily access everything on your network." -msgstr "" - -#: inc/ui/class-jumper.php:509 -msgid "Enable Jumper" -msgstr "" - -#: inc/ui/class-jumper.php:510 -msgid "Turn this option on to make the Jumper available on your network." -msgstr "" - -#: inc/ui/class-jumper.php:520 -msgid "Trigger Key" -msgstr "" - -#: inc/ui/class-jumper.php:521 -msgid "Change the keyboard key used in conjunction with ctrl + alt (or cmd + option), to trigger the Jumper box." -msgstr "" - -#: inc/ui/class-jumper.php:535 -msgid "Use this textarea to add custom links to the Jumper. Add one per line, with the format \"Title : url\"." -msgstr "" - -#: inc/ui/class-jumper.php:536 -msgid "Tile of Custom Link : http://link.com" -msgstr "" - -#: inc/ui/class-limits-element.php:85 -msgid "Limits & Quotas" -msgstr "" - -#: inc/ui/class-limits-element.php:134 -#: inc/ui/class-limits-element.php:198 -msgid "Site Limits" -msgstr "" - -#: inc/ui/class-login-form-element.php:99 -msgid "Login Form" -msgstr "" - -#: inc/ui/class-login-form-element.php:115 -msgid "Adds a login form to the page." -msgstr "" - -#: inc/ui/class-login-form-element.php:147 -msgid "Display Title?" -msgstr "" - -#: inc/ui/class-login-form-element.php:148 -msgid "Toggle to show/hide the title element." -msgstr "" - -#: inc/ui/class-login-form-element.php:166 -msgid "Redirect Type" -msgstr "" - -#: inc/ui/class-login-form-element.php:167 -msgid "The behavior after login" -msgstr "" - -#: inc/ui/class-login-form-element.php:171 -msgid "Wordpress Default" -msgstr "" - -#: inc/ui/class-login-form-element.php:172 -msgid "Send To Customer Site" -msgstr "" - -#: inc/ui/class-login-form-element.php:173 -msgid "Send To Main Site" -msgstr "" - -#: inc/ui/class-login-form-element.php:179 -msgid "Customer Redirect Path" -msgstr "" - -#: inc/ui/class-login-form-element.php:180 -#: inc/ui/class-login-form-element.php:191 -msgid "/wp-admin" -msgstr "" - -#: inc/ui/class-login-form-element.php:181 -#: inc/ui/class-login-form-element.php:192 -msgid "e.g. /wp-admin" -msgstr "" - -#: inc/ui/class-login-form-element.php:190 -msgid "Main Site Redirect Path" -msgstr "" - -#: inc/ui/class-login-form-element.php:200 -#: inc/ui/class-login-form-element.php:201 -msgid "Username Field" -msgstr "" - -#: inc/ui/class-login-form-element.php:207 -msgid "Username Field Label" -msgstr "" - -#: inc/ui/class-login-form-element.php:208 -msgid "Username or Email Address" -msgstr "" - -#: inc/ui/class-login-form-element.php:209 -#: inc/ui/class-login-form-element.php:231 -msgid "Leave blank to hide." -msgstr "" - -#: inc/ui/class-login-form-element.php:215 -msgid "Username Field Placeholder" -msgstr "" - -#: inc/ui/class-login-form-element.php:216 -msgid "e.g. Username Here" -msgstr "" - -#: inc/ui/class-login-form-element.php:222 -#: inc/ui/class-login-form-element.php:223 -msgid "Password Field" -msgstr "" - -#: inc/ui/class-login-form-element.php:229 -msgid "Password Field Label" -msgstr "" - -#: inc/ui/class-login-form-element.php:237 -msgid "Password Field Placeholder" -msgstr "" - -#: inc/ui/class-login-form-element.php:238 -msgid "e.g. Your Password" -msgstr "" - -#: inc/ui/class-login-form-element.php:244 -#: inc/ui/class-login-form-element.php:245 -#: inc/ui/class-login-form-element.php:260 -msgid "Remember Me" -msgstr "" - -#: inc/ui/class-login-form-element.php:251 -msgid "Display Remember Toggle?" -msgstr "" - -#: inc/ui/class-login-form-element.php:252 -msgid "Toggle to show/hide the remember me checkbox." -msgstr "" - -#: inc/ui/class-login-form-element.php:259 -msgid "Remember Me Label" -msgstr "" - -#: inc/ui/class-login-form-element.php:270 -msgid "Remember Me Description" -msgstr "" - -#: inc/ui/class-login-form-element.php:271 -#: inc/ui/class-login-form-element.php:370 -msgid "Keep me logged in for two weeks." -msgstr "" - -#: inc/ui/class-login-form-element.php:287 -msgid "Submit Button Label" -msgstr "" - -#: inc/ui/class-login-form-element.php:288 -#: views/legacy/signup/signup-nav-links.php:35 -msgid "Log In" -msgstr "" - -#: inc/ui/class-my-sites-element.php:111 -msgid "Adds a block to display the sites owned by the current customer." -msgstr "" - -#: inc/ui/class-my-sites-element.php:143 -msgid "Site Manage Type" -msgstr "" - -#: inc/ui/class-my-sites-element.php:144 -msgid "The page to manage a site." -msgstr "" - -#: inc/ui/class-my-sites-element.php:148 -msgid "Same Page" -msgstr "" - -#: inc/ui/class-my-sites-element.php:149 -msgid "WP Admin" -msgstr "" - -#: inc/ui/class-my-sites-element.php:150 -msgid "Custom Page" -msgstr "" - -#: inc/ui/class-my-sites-element.php:156 -msgid "Which sites to show?" -msgstr "" - -#: inc/ui/class-my-sites-element.php:157 -msgid "Select which sites should be listed for user." -msgstr "" - -#: inc/ui/class-my-sites-element.php:162 -msgid "Owned" -msgstr "" - -#: inc/ui/class-my-sites-element.php:182 -msgid "Manage Redirect Page" -msgstr "" - -#: inc/ui/class-my-sites-element.php:184 -msgid "The page to redirect user after select a site." -msgstr "" - -#: inc/ui/class-payment-methods-element.php:118 -msgid "Password Strength Meter" -msgstr "" - -#: inc/ui/class-payment-methods-element.php:126 -msgid "Apply Styles" -msgstr "" - -#: inc/ui/class-simple-text-element.php:86 -msgid "Simple Text" -msgstr "" - -#: inc/ui/class-simple-text-element.php:102 -msgid "Adds a simple text block to the page." -msgstr "" - -#: inc/ui/class-simple-text-element.php:135 -msgid "E.g. Text, HTML or shortcode." -msgstr "" - -#: inc/ui/class-simple-text-element.php:136 -msgid "You can insert plain text, HTML or a shortcode in this block." -msgstr "" - -#: inc/ui/class-simple-text-element.php:203 -msgid "Text, HTML or shortcode." -msgstr "" - -#: inc/ui/class-site-actions-element.php:106 -#: views/dashboard-widgets/site-actions.php:20 -msgid "Actions" -msgstr "" - -#: inc/ui/class-site-actions-element.php:154 -msgid "Show Change Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:155 -msgid "Toggle to show/hide the password link." -msgstr "" - -#: inc/ui/class-site-actions-element.php:162 -msgid "Show Change Default Site" -msgstr "" - -#: inc/ui/class-site-actions-element.php:163 -msgid "Toggle to show/hide the change default site link." -msgstr "" - -#: inc/ui/class-site-actions-element.php:170 -msgid "Show Change Payment Method" -msgstr "" - -#: inc/ui/class-site-actions-element.php:171 -msgid "Toggle to show/hide the option to cancel the current payment method." -msgstr "" - -#: inc/ui/class-site-actions-element.php:192 -msgid "Redirect After Delete" -msgstr "" - -#: inc/ui/class-site-actions-element.php:194 -msgid "The page to redirect user after delete current site." -msgstr "" - -#: inc/ui/class-site-actions-element.php:374 -msgid "Change Site Template" -msgstr "" - -#: inc/ui/class-site-actions-element.php:387 -#: inc/ui/class-site-actions-element.php:765 -msgid "Change Default Site" -msgstr "" - -#: inc/ui/class-site-actions-element.php:396 -msgid "Change Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:407 -msgid "Cancel Current Payment Method" -msgstr "" - -#: inc/ui/class-site-actions-element.php:458 -#: inc/ui/class-site-actions-element.php:1074 -#: inc/ui/class-site-actions-element.php:1075 -msgid "Cancel Membership" -msgstr "" - -#: inc/ui/class-site-actions-element.php:490 -msgid "Site not selected." -msgstr "" - -#: inc/ui/class-site-actions-element.php:533 -msgid "Confirm Site Deletion" -msgstr "" - -#: inc/ui/class-site-actions-element.php:639 -msgid "Current Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:640 -#: inc/ui/class-site-actions-element.php:645 -#: inc/ui/class-site-actions-element.php:650 -msgid "******" -msgstr "" - -#: inc/ui/class-site-actions-element.php:644 -msgid "New Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:651 -msgid "Confirm New Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:655 -msgid "Reset Password" -msgstr "" - -#: inc/ui/class-site-actions-element.php:699 -msgid "Your current password is wrong." -msgstr "" - -#: inc/ui/class-site-actions-element.php:708 -msgid "The new password must be at least 6 characters long." -msgstr "" - -#: inc/ui/class-site-actions-element.php:714 -msgid "New passwords do not match." -msgstr "" - -#: inc/ui/class-site-actions-element.php:755 -msgid "Primary Site" -msgstr "" - -#: inc/ui/class-site-actions-element.php:756 -msgid "Change the primary site of your network." -msgstr "" - -#: inc/ui/class-site-actions-element.php:817 -msgid "You need to select a new primary site." -msgstr "" - -#: inc/ui/class-site-actions-element.php:878 -msgid "Confirm Payment Method Cancellation" -msgstr "" - -#: inc/ui/class-site-actions-element.php:886 -#: inc/ui/class-site-actions-element.php:887 -msgid "Cancel Payment Method" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1025 -msgid "Please tell us why you are cancelling." -msgstr "" - -#: inc/ui/class-site-actions-element.php:1026 -msgid "We would love your feedback." -msgstr "" - -#: inc/ui/class-site-actions-element.php:1032 -msgid "Select a reason" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1033 -#: inc/ui/class-site-actions-element.php:1135 -msgid "I no longer need it" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1034 -#: inc/ui/class-site-actions-element.php:1136 -msgid "It's too expensive" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1035 -#: inc/ui/class-site-actions-element.php:1137 -msgid "I need more features" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1036 -#: inc/ui/class-site-actions-element.php:1138 -msgid "Switched to another service" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1037 -#: inc/ui/class-site-actions-element.php:1139 -msgid "Customer support is less than expected" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1038 -#: inc/ui/class-site-actions-element.php:1140 -msgid "Too complex" -msgstr "" - -#: inc/ui/class-site-actions-element.php:1044 -msgid "Please provide additional details." -msgstr "" - -#: inc/ui/class-site-actions-element.php:1051 -msgid "Type CANCEL to confirm this membership cancellation." -msgstr "" - -#. translators: %s: Next charge date. -#: inc/ui/class-site-actions-element.php:1068 -#, php-format -msgid "Your sites will stay working until %s." -msgstr "" - -#: inc/ui/class-site-actions-element.php:1080 -msgid "CANCEL" -msgstr "" - -#: inc/ui/class-site-maintenance-element.php:91 -msgid "Site Maintenance" -msgstr "" - -#: inc/ui/class-site-maintenance-element.php:107 -msgid "Adds the toggle control to turn maintenance mode on." -msgstr "" - -#: inc/ui/class-site-maintenance-element.php:140 -#: inc/ui/class-site-maintenance-element.php:199 -msgid "Toggle Maintenance Mode" -msgstr "" - -#: inc/ui/class-site-maintenance-element.php:141 -msgid "e.g. Toggle Maintenance Mode" -msgstr "" - -#: inc/ui/class-site-maintenance-element.php:148 -#: inc/ui/class-site-maintenance-element.php:200 -msgid "Put your site on maintenance mode. When activated, the front-end will only be accessible to logged users." -msgstr "" - -#: inc/ui/class-template-previewer.php:259 -msgid "This template is not available" -msgstr "" - -#: inc/ui/class-template-switching-element.php:85 -msgid "Template Switching" -msgstr "" - -#: inc/ui/class-template-switching-element.php:96 -msgid "Adds the template switching form to this page." -msgstr "" - -#: inc/ui/class-template-switching-element.php:156 -msgid "Template Selector Layout" -msgstr "" - -#: inc/ui/class-template-switching-element.php:173 -msgid "Want to add customized template selection templates?
See how you can do that here." -msgstr "" - -#: inc/ui/class-template-switching-element.php:278 -msgid "You need to provide a valid template to duplicate." -msgstr "" - -#: inc/ui/class-template-switching-element.php:358 -msgid "← Back to Template Selection" -msgstr "" - -#: inc/ui/class-template-switching-element.php:379 -msgid "Confirm template switch?" -msgstr "" - -#: inc/ui/class-template-switching-element.php:380 -msgid "Switching your current template completely overwrites the content of your site with the contents of the newly chosen template. All customizations will be lost. This action cannot be undone." -msgstr "" - -#: inc/ui/class-template-switching-element.php:395 -msgid "Process Switch" -msgstr "" - -#: inc/ui/class-thank-you-element.php:217 -msgid "Thank You Message" -msgstr "" - -#: inc/ui/class-thank-you-element.php:218 -msgid "Shortcodes are supported." -msgstr "" - -#: inc/ui/class-thank-you-element.php:219 -#: inc/ui/class-thank-you-element.php:305 -msgid "Thank you for your payment! Your transaction has been completed and a receipt for your purchase has been emailed to you." -msgstr "" - -#: inc/ui/class-thank-you-element.php:228 -msgid "Title (Pending)" -msgstr "" - -#: inc/ui/class-thank-you-element.php:230 -msgid "Leave blank to hide the title completely. This title is used when the payment was not yet confirmed." -msgstr "" - -#: inc/ui/class-thank-you-element.php:236 -msgid "Thank You Message (Pending)" -msgstr "" - -#: inc/ui/class-thank-you-element.php:237 -msgid "This content is used when the payment was not yet confirmed. Shortcodes are supported." -msgstr "" - -#: inc/ui/class-thank-you-element.php:238 -#: inc/ui/class-thank-you-element.php:307 -msgid "Thank you for your order! We are waiting on the payment processor to confirm your payment, which can take up to 5 minutes. We will notify you via email when your site is ready." -msgstr "" - -#: inc/ui/class-thank-you-element.php:247 -msgid "No Sites Message" -msgstr "" - -#: inc/ui/class-thank-you-element.php:248 -msgid "A message to show if membership has no sites. Shortcodes are supported." -msgstr "" - -#: inc/ui/class-thank-you-element.php:249 -#: inc/ui/class-thank-you-element.php:308 -msgid "No sites found" -msgstr "" - -#: inc/ui/class-tours.php:100 -msgid "Next" -msgstr "" - -#: inc/ui/class-tours.php:101 -#: views/base/filter.php:65 -msgid "Close" -msgstr "" - -#. translators: 1: is a link to a support document. 2: closing link -#: multisite-ultimate.php:94 -#, php-format -msgid "Your installation of Multisite Ultimate is incomplete. If you installed from GitHub, %1$splease refer to this document%2$s to set up your development environment or download a pre-packaged ZIP release." -msgstr "" - -#: views/admin-pages/fields/field-dashicon.php:32 -msgid "No Icon" -msgstr "" - -#: views/admin-pages/fields/field-image.php:85 -msgid "Preview Image" -msgstr "" - -#: views/admin-pages/fields/field-image.php:91 -#: views/settings/fields/field-image.php:47 -msgid "Remove Image" -msgstr "" - -#: views/admin-pages/fields/field-image.php:107 -msgid "Upload Image" -msgstr "" - -#: views/admin-pages/fields/field-repeater.php:143 -msgid "Add new Line" -msgstr "" - -#: views/admin-pages/fields/field-text-display.php:59 -#: views/admin-pages/fields/field-text-edit.php:118 -#: views/email/widget-placeholders.php:49 -msgid "Copy" -msgstr "" - -#: views/base/addons.php:57 -#: views/base/settings.php:58 -msgid "Settings successfully saved." -msgstr "" - -#. translators: %1$s: the current user display name, %2$s: their password. -#: views/base/addons.php:64 -#, php-format -msgid "Connected to MultisiteUltimate.com as %1$s (%2$s)." -msgstr "" - -#. translators: %1$s: the current user display name, %2$s: their password. -#: views/base/addons.php:64 -msgid "Disconnect your site" -msgstr "" - -#. translators: %1$s: the current user display name, %2$s: their password. -#: views/base/addons.php:64 -msgid "Disconnect" -msgstr "" - -#: views/base/addons.php:68 -msgid "Multisite Ultimate might be at risk because it’s unable to automatically update add-ons. Please complete the connection to get updates and streamlined support." -msgstr "" - -#: views/base/addons.php:72 -msgid "Connect your site" -msgstr "" - -#: views/base/addons.php:72 -msgid "Connect your site to MultisiteUltimate.com" -msgstr "" - -#: views/base/addons.php:84 -msgid "add-ons" -msgstr "" - -#: views/base/addons.php:107 -msgid "Search add-ons..." -msgstr "" - -#: views/base/addons.php:121 -msgid "Loading add-ons..." -msgstr "" - -#: views/base/addons.php:135 -#: views/base/addons.php:216 -#: views/wizards/setup/requirements_table.php:22 -msgid "Installed" -msgstr "" - -#: views/base/addons.php:138 -msgid "Beta" -msgstr "" - -#: views/base/addons.php:141 -#: views/base/addons.php:240 -msgid "Coming Soon" -msgstr "" - -#: views/base/addons.php:163 -msgid "By" -msgstr "" - -#: views/base/addons.php:178 -msgid "Updated:" -msgstr "" - -#: views/base/addons.php:182 -msgid "installs" -msgstr "" - -#: views/base/addons.php:224 -#: views/base/addons/details.php:153 -msgid "Install Now" -msgstr "" - -#: views/base/addons.php:232 -msgid "Buy Now" -msgstr "" - -#: views/base/addons.php:245 -msgid "More information about" -msgstr "" - -#: views/base/addons.php:248 -#: views/dashboard-widgets/current-membership.php:290 -msgid "Details" -msgstr "" - -#: views/base/addons.php:265 -msgid "No add-ons found..." -msgstr "" - -#: views/base/addons.php:266 -msgid "Check the search terms or navigate between categories to see what add-ons we have available." -msgstr "" - -#: views/base/addons/details.php:50 -msgid "FAQ" -msgstr "" - -#: views/base/addons/details.php:56 -msgid "Changelog" -msgstr "" - -#: views/base/addons/details.php:62 -msgid "Screenshots" -msgstr "" - -#: views/base/addons/details.php:68 -msgid "Reviews" -msgstr "" - -#: views/base/addons/details.php:82 -msgid "Author:" -msgstr "" - -#: views/base/addons/details.php:89 -msgid "Requires Multisite Ultimate Version:" -msgstr "" - -#. translators: %s minimun required version number. -#: views/base/addons/details.php:91 -#, php-format -msgid "%s or higher" -msgstr "" - -#: views/base/addons/details.php:98 -msgid "See on the Official Site »" -msgstr "" - -#: views/base/addons/details.php:125 -msgid "This is a Premium Add-on." -msgstr "" - -#: views/base/addons/details.php:138 -msgid "Already Installed" -msgstr "" - -#: views/base/addons/details.php:162 -msgid "Purchase" -msgstr "" - -#: views/base/checkout-forms/js-templates.php:28 -msgid "Add the first field!" -msgstr "" - -#: views/base/checkout-forms/js-templates.php:53 -#: views/base/checkout-forms/js-templates.php:125 -msgid "Show more details" -msgstr "" - -#: views/base/checkout-forms/js-templates.php:62 -msgid "(no label)" -msgstr "" - -#: views/base/checkout-forms/js-templates.php:118 -#: views/base/checkout-forms/steps.php:158 -msgid "Confirm?" -msgstr "" - -#: views/base/checkout-forms/js-templates.php:139 -msgid "Move" -msgstr "" - -#. translators: %1$s: number of steps, %2$s: number of fields -#: views/base/checkout-forms/steps.php:21 -#: views/base/checkout-forms/steps.php:279 -#, php-format -msgid "%1$s steps and %2$s fields" -msgstr "" - -#: views/base/checkout-forms/steps.php:41 -#: views/base/checkout-forms/steps.php:299 -msgid "Editor" -msgstr "" - -#: views/base/checkout-forms/steps.php:47 -#: views/base/checkout-forms/steps.php:53 -#: views/base/checkout-forms/steps.php:305 -#: views/base/checkout-forms/steps.php:311 -msgid "Add new Checkout Step" -msgstr "" - -#. translators: % name of the step -#: views/base/checkout-forms/steps.php:97 -#, php-format -msgid "Step %s" -msgstr "" - -#: views/base/checkout-forms/steps.php:110 -msgid "This step is only visible for guests" -msgstr "" - -#: views/base/checkout-forms/steps.php:114 -msgid "This step is only visible for logged-in users" -msgstr "" - -#: views/base/checkout-forms/steps.php:148 -msgid "Delete Step" -msgstr "" - -#: views/base/checkout-forms/steps.php:165 -#: views/base/checkout-forms/steps.php:180 -msgid "Edit Section" -msgstr "" - -#: views/base/checkout-forms/steps.php:187 -#: views/base/checkout-forms/steps.php:202 -msgid "Add new Field" -msgstr "" - -#: views/base/checkout-forms/steps.php:224 -msgid "See as existing user" -msgstr "" - -#: views/base/checkout-forms/steps.php:228 -msgid "See as visitor" -msgstr "" - -#: views/base/checkout-forms/steps.php:237 -#: views/base/edit/editor-customizer.php:18 -msgid "Loading Preview..." -msgstr "" - -#: views/base/checkout-forms/steps.php:247 -msgid "Something wrong happened along the way =(" -msgstr "" - -#: views/base/checkout-forms/steps.php:258 -msgid "Your browser doesn't support iframes" -msgstr "" - -#: views/base/customers/grid-item.php:59 -msgid "No email address" -msgstr "" - -#: views/base/customers/grid-item.php:64 -msgid "VIP Customer" -msgstr "" - -#: views/base/customers/grid-item.php:64 -msgid "Regular Customer" -msgstr "" - -#: views/base/customers/grid-item.php:73 -msgid "Last Login:" -msgstr "" - -#: views/base/customers/grid-item.php:80 -#: views/base/customers/grid-item.php:92 -msgid "ago" -msgstr "" - -#: views/base/customers/grid-item.php:82 -msgid "Never logged in" -msgstr "" - -#: views/base/customers/grid-item.php:89 -msgid "Customer Since:" -msgstr "" - -#: views/base/customers/grid-item.php:98 -msgid "Memberships:" -msgstr "" - -#: views/base/customers/grid-item.php:120 -msgid "Actions:" -msgstr "" - -#: views/base/customers/grid-item.php:141 -msgid "Select Customer" -msgstr "" - -#: views/base/customers/grid-item.php:145 -#: views/base/sites/grid-item.php:69 -#: views/dashboard-widgets/my-sites.php:153 -msgid "Manage" -msgstr "" - -#: views/base/edit/display-notes.php:16 -msgid "No notes yet." -msgstr "" - -#: views/base/edit/display-notes.php:17 -msgid "Use the \"Add new Note\" to create the first one." -msgstr "" - -#: views/base/edit/editor-customizer.php:36 -msgid "Template Preview" -msgstr "" - -#. translators: %s: The title of the widget. -#: views/base/edit/widget-list-table.php:34 -#, php-format -msgid "%s will show up here once this item is saved." -msgstr "" - -#: views/base/edit/widget-tabs.php:38 -msgid "All Options" -msgstr "" - -#: views/base/edit/widget-tabs.php:84 -msgid "Display all fields" -msgstr "" - -#: views/base/edit/widget-tabs.php:90 -msgid "Hide other fields" -msgstr "" - -#: views/base/filter.php:52 -#: views/base/filter.php:56 -msgid "Advanced Filters" -msgstr "" - -#: views/base/filter.php:115 -msgid "Where" -msgstr "" - -#: views/base/filter.php:156 -msgid "is true." -msgstr "" - -#: views/base/filter.php:157 -msgid "is false." -msgstr "" - -#: views/base/filter.php:161 -msgid "is" -msgstr "" - -#: views/base/filter.php:162 -msgid "is not" -msgstr "" - -#: views/base/filter.php:163 -msgid "contains" -msgstr "" - -#: views/base/filter.php:164 -msgid "does not contain" -msgstr "" - -#: views/base/filter.php:165 -msgid "starts with" -msgstr "" - -#: views/base/filter.php:166 -msgid "ends with" -msgstr "" - -#: views/base/filter.php:167 -msgid "is empty." -msgstr "" - -#: views/base/filter.php:168 -msgid "is not empty." -msgstr "" - -#: views/base/filter.php:172 -msgid "is before" -msgstr "" - -#: views/base/filter.php:173 -msgid "is after" -msgstr "" - -#: views/base/filter.php:198 -msgid "Remove Filter" -msgstr "" - -#: views/base/filter.php:211 -msgid "Add new Filter" -msgstr "" - -#: views/base/products/grid-item.php:66 -#: views/base/sites/grid-item.php:54 -#: views/base/sites/grid-item.php:65 -msgid "Select Site" -msgstr "" - -#: views/base/sites/grid-item.php:57 -msgid "Publish pending site" -msgstr "" - -#: views/base/sites/grid-item.php:79 -msgid "See Main Site" -msgstr "" - -#: views/base/wizard/submit-box.php:14 -msgid "← Go Back" -msgstr "" - -#: views/base/wizard/submit-box.php:20 -#: views/wizards/host-integrations/activation.php:104 -msgid "Continue" -msgstr "" - -#: views/broadcast/widget-targets.php:58 -msgid "No Targets" -msgstr "" - -#: views/checkout/fields/field-password.php:36 -msgid "Strength Meter" -msgstr "" - -#: views/checkout/partials/pricing-table-list.php:19 -#: views/checkout/templates/pricing-table/legacy.php:106 -msgid "No Products Found." -msgstr "" - -#. translators: %1$s is the start date, %2$s is the subtotal amount, and %3$s is the description of how often. -#: views/checkout/paypal/confirm.php:40 -#, php-format -msgid "Your updated membership will start on $1$s, from that date you will be billed %2$s %3$s." -msgstr "" - -#. translators: %1$s is the membership level, %2$s is the initial amount, and %3$s is the currency description -#: views/checkout/paypal/confirm.php:49 -#, php-format -msgid "After the first payment of %1$s you will be billed %2$s %3$s." -msgstr "" - -#: views/checkout/paypal/confirm.php:75 -msgid "Please confirm your payment" -msgstr "" - -#: views/checkout/paypal/confirm.php:84 -msgid "PayPal Status:" -msgstr "" - -#: views/checkout/paypal/confirm.php:85 -msgid "Email:" -msgstr "" - -#. translators: %s: Tax rate. -#: views/checkout/paypal/confirm.php:129 -#: views/dashboard-widgets/thank-you.php:416 -#, php-format -msgid "Tax (%s%%)" -msgstr "" - -#: views/checkout/paypal/confirm.php:136 -#: views/checkout/templates/order-summary/simple.php:206 -msgid "Today's Grand Total" -msgstr "" - -#: views/checkout/paypal/confirm.php:167 -msgid "Confirm" -msgstr "" - -#: views/checkout/templates/order-bump/simple.php:45 -msgid "Add to Cart" -msgstr "" - -#: views/checkout/templates/order-summary/simple.php:14 -msgid "Generating Order Summary..." -msgstr "" - -#: views/checkout/templates/order-summary/simple.php:39 -msgid "Net Total" -msgstr "" - -#: views/checkout/templates/order-summary/simple.php:43 -#: views/checkout/templates/order-summary/simple.php:172 -msgid "Discounts" -msgstr "" - -#: views/checkout/templates/order-summary/simple.php:51 -msgid "Gross Total" -msgstr "" - -#: views/checkout/templates/order-summary/simple.php:66 -msgid "No products in shopping cart." -msgstr "" - -#. translators: %s: name of the subscription -#: views/checkout/templates/order-summary/simple.php:76 -#, php-format -msgid "Subscription - %s" -msgstr "" - -#. translators: %1$s relative date string -#: views/checkout/templates/order-summary/simple.php:230 -#, php-format -msgid "Total in %1$s - end of trial period." -msgstr "" - -#. translators: %1$s order total, %2$s relative date string. -#: views/checkout/templates/order-summary/simple.php:251 -#, php-format -msgid "Next fee of %1$s will be billed in %2$s." -msgstr "" - -#. translators: 1 is the discount name (e.g. Launch Promo). 2 is the coupon code (e.g PROMO10), 3 is the coupon amount and 4 is the discount total. -#: views/checkout/templates/order-summary/simple.php:259 -#, php-format -msgid "Discount applied: %1$s - %2$s (%3$s) %4$s" -msgstr "" - -#: views/checkout/templates/pricing-table/legacy.php:135 -#: views/legacy/signup/pricing-table/plan.php:46 -msgid "Featured Plan" -msgstr "" - -#: views/checkout/templates/pricing-table/legacy.php:261 -#: views/legacy/signup/pricing-table/plan.php:74 -msgid "/mo" -msgstr "" - -#: views/checkout/templates/pricing-table/legacy.php:309 -#: views/legacy/signup/pricing-table/plan.php:92 -msgid "every 3 months" -msgstr "" - -#: views/checkout/templates/pricing-table/legacy.php:310 -#: views/legacy/signup/pricing-table/plan.php:93 -msgid "yearly" -msgstr "" - -#. translators: %1$s: the price, %2$s: the period. -#: views/checkout/templates/pricing-table/legacy.php:320 -#: views/legacy/signup/pricing-table/plan.php:98 -#, php-format -msgid "%1$s, billed %2$s" -msgstr "" - -#: views/checkout/templates/pricing-table/legacy.php:350 -#: views/checkout/templates/pricing-table/legacy.php:360 -#: views/legacy/signup/pricing-table/plan.php:119 -msgid "Select Plan" -msgstr "" - -#: views/checkout/templates/steps/clean.php:25 -#: views/checkout/templates/steps/minimal.php:25 -msgid "Progress" -msgstr "" - -#. translators: %d is a placeholder for the current step number. -#: views/checkout/templates/steps/clean.php:53 -#: views/checkout/templates/steps/minimal.php:51 -#, php-format -msgid "Step %d" -msgstr "" - -#: views/checkout/templates/template-selection/clean.php:112 -#: views/checkout/templates/template-selection/minimal.php:114 -msgid "View Template Preview" -msgstr "" - -#: views/checkout/templates/template-selection/clean.php:139 -#: views/checkout/templates/template-selection/legacy.php:232 -msgid "Selected" -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:40 -msgid "No Site Templates Found." -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:60 -msgid "Pick your Template" -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:80 -#: views/checkout/templates/template-selection/legacy.php:121 -msgid "All Templates" -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:213 -msgid "View Template" -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:213 -msgid "View Site" -msgstr "" - -#: views/checkout/templates/template-selection/legacy.php:258 -msgid "No Templates Found" -msgstr "" - -#: views/checkout/templates/template-selection/minimal.php:125 -msgid "Select this Template" -msgstr "" - -#: views/customers/widget-avatar.php:56 -msgid "Send an email to this customer." -msgstr "" - -#: views/customers/widget-avatar.php:71 -#: views/customers/widget-avatar.php:78 -msgid "Switch To →" -msgstr "" - -#: views/customers/widget-avatar.php:77 -msgid "Switching to your own account is not possible." -msgstr "" - -#: views/customers/widget-avatar.php:86 -msgid "Visit Profile →" -msgstr "" - -#: views/dashboard-statistics/widget-countries.php:20 -#: views/dashboard-statistics/widget-countries.php:55 -msgid "Customer Count" -msgstr "" - -#: views/dashboard-statistics/widget-countries.php:112 -msgid "No countries registered yet." -msgstr "" - -#: views/dashboard-statistics/widget-forms.php:20 -#: views/dashboard-statistics/widget-forms.php:54 -msgid "Signups" -msgstr "" - -#: views/dashboard-statistics/widget-forms.php:66 -msgid "Customers created via the admin panel, by super admins." -msgstr "" - -#: views/dashboard-statistics/widget-forms.php:84 -msgid "No data yet." -msgstr "" - -#. translators: %s number of visitors. -#: views/dashboard-statistics/widget-most-visited-sites.php:92 -#, php-format -msgid "%d visit" -msgid_plural "%d visits" -msgstr[0] "" -msgstr[1] "" - -#: views/dashboard-statistics/widget-most-visited-sites.php:108 -msgid "No visits registered in this period." -msgstr "" - -#: views/dashboard-statistics/widget-new-accounts.php:27 -msgid "Product Name" -msgstr "" - -#: views/dashboard-statistics/widget-new-accounts.php:42 -#: views/dashboard-statistics/widget-revenue.php:96 -msgid "No Products found." -msgstr "" - -#: views/dashboard-statistics/widget-revenue.php:14 -#: views/dashboard-widgets/summary.php:29 -msgid "MRR stands for Monthly Recurring Revenue" -msgstr "" - -#: views/dashboard-statistics/widget-revenue.php:25 -#: views/dashboard-widgets/summary.php:40 -msgid "MRR" -msgstr "" - -#: views/dashboard-statistics/widget-revenue.php:41 -msgid "Gross Revenue" -msgstr "" - -#: views/dashboard-statistics/widget-tax-by-code.php:20 -#: views/dashboard-statistics/widget-tax-by-code.php:51 -msgid "Rate" -msgstr "" - -#: views/dashboard-statistics/widget-tax-by-code.php:21 -#: views/dashboard-statistics/widget-tax-by-code.php:52 -#: views/dashboard-statistics/widget-tax-by-day.php:20 -#: views/dashboard-statistics/widget-tax-by-day.php:53 -msgid "Orders" -msgstr "" - -#: views/dashboard-statistics/widget-tax-by-code.php:22 -#: views/dashboard-statistics/widget-tax-by-code.php:53 -#: views/dashboard-statistics/widget-tax-by-day.php:22 -#: views/dashboard-statistics/widget-tax-by-day.php:55 -msgid "Tax Total" -msgstr "" - -#: views/dashboard-statistics/widget-tax-by-code.php:76 -#: views/dashboard-statistics/widget-tax-by-day.php:80 -msgid "No Taxes found." -msgstr "" - -#: views/dashboard-statistics/widget-tax-by-day.php:21 -#: views/dashboard-statistics/widget-tax-by-day.php:54 -msgid "Total Sales" -msgstr "" - -#: views/dashboard-widgets/account-summary.php:32 -#: views/dashboard-widgets/account-summary.php:37 -msgid "See More" -msgstr "" - -#: views/dashboard-widgets/account-summary.php:65 -msgid "Your current plan" -msgstr "" - -#: views/dashboard-widgets/account-summary.php:66 -msgid "Manage →" -msgstr "" - -#. translators: %s: Number of days. -#: views/dashboard-widgets/account-summary.php:81 -#, php-format -msgid "%s day" -msgid_plural "%s days" -msgstr[0] "" -msgstr[1] "" - -#: views/dashboard-widgets/account-summary.php:87 -msgid "Remaining time in trial" -msgstr "" - -#: views/dashboard-widgets/account-summary.php:88 -#: views/dashboard-widgets/account-summary.php:120 -msgid "Upgrade →" -msgstr "" - -#: views/dashboard-widgets/account-summary.php:119 -msgid "Disk space used" -msgstr "" - -#: views/dashboard-widgets/activity-stream.php:20 -msgid "No more items to display" -msgstr "" - -#. translators: %s: the event name -#: views/dashboard-widgets/activity-stream.php:64 -#, php-format -msgid "with %s" -msgstr "" - -#. translators: %s name of the author -#: views/dashboard-widgets/activity-stream.php:74 -#: views/limitations/plugin-selector.php:53 -#: views/limitations/theme-selector.php:53 -#, php-format -msgid "by %s" -msgstr "" - -#: views/dashboard-widgets/activity-stream.php:98 -msgid "Refresh" -msgstr "" - -#: views/dashboard-widgets/activity-stream.php:103 -msgid "Previous Page" -msgstr "" - -#: views/dashboard-widgets/activity-stream.php:108 -msgid "Next Page" -msgstr "" - -#. translators: %s: Billing address link. -#: views/dashboard-widgets/billing-info.php:34 -#: views/dashboard-widgets/billing-info.php:55 -#: views/dashboard-widgets/billing-info.php:114 -#: views/dashboard-widgets/login-form.php:49 -msgid "Update Billing Address" -msgstr "" - -#: views/dashboard-widgets/billing-info.php:39 -#: views/dashboard-widgets/billing-info.php:119 -msgid "Update" -msgstr "" - -#. translators: %s: Billing address link. -#: views/dashboard-widgets/billing-info.php:55 -#, php-format -msgid "No billing address found. Click here to add one." -msgstr "" - -#: views/dashboard-widgets/current-membership-product-details.php:43 -msgid "Product Description:" -msgstr "" - -#: views/dashboard-widgets/current-membership-product-details.php:53 -msgid "Product Characteristics:" -msgstr "" - -#: views/dashboard-widgets/current-membership.php:32 -msgid "Update your membership" -msgstr "" - -#: views/dashboard-widgets/current-membership.php:37 -msgid "Change" -msgstr "" - -#. translators: %1$s: date, %2$s: amount. -#: views/dashboard-widgets/current-membership.php:98 -#, php-format -msgid "There's a pending change for this membership, scheduled to take place on %1$s. Changing to %2$s." -msgstr "" - -#: views/dashboard-widgets/current-membership.php:231 -msgid "Additional Packages & Services" -msgstr "" - -#: views/dashboard-widgets/current-membership.php:273 -msgid "Product Details" -msgstr "" - -#. Translators: %s is the name of the product being canceled. -#: views/dashboard-widgets/current-membership.php:297 -#, php-format -msgid "Cancel %s" -msgstr "" - -#: views/dashboard-widgets/current-membership.php:315 -msgid "Cancel" -msgstr "" - -#: views/dashboard-widgets/current-membership.php:334 -msgid "No packages or services found." -msgstr "" - -#: views/dashboard-widgets/current-site.php:22 -msgid "Breadcrumb" -msgstr "" - -#: views/dashboard-widgets/current-site.php:35 -msgid "Home" -msgstr "" - -#. translators: %s: Site Title -#: views/dashboard-widgets/current-site.php:84 -#: views/dashboard-widgets/my-sites.php:92 -#, php-format -msgid "Site Image: %s" -msgstr "" - -#: views/dashboard-widgets/domain-mapping.php:77 -msgid "Make Primary" -msgstr "" - -#: views/dashboard-widgets/domain-mapping.php:101 -msgid "All other mapped domains will redirect to the primary domain." -msgstr "" - -#: views/dashboard-widgets/domain-mapping.php:124 -msgid "No domains added." -msgstr "" - -#: views/dashboard-widgets/first-steps.php:17 -msgid "Your network is taking shape!" -msgstr "" - -#: views/dashboard-widgets/first-steps.php:21 -msgid "Here are the next steps to keep you on that streak!" -msgstr "" - -#: views/dashboard-widgets/first-steps.php:29 -msgid "done" -msgstr "" - -#: views/dashboard-widgets/first-steps.php:97 -msgid "Dismiss" -msgstr "" - -#: views/dashboard-widgets/invoices.php:52 -#: views/emails/admin/payment-received.php:13 -#: views/emails/customer/payment-received.php:14 -msgid "Download Invoice" -msgstr "" - -#: views/dashboard-widgets/invoices.php:59 -msgid "Go to payment" -msgstr "" - -#: views/dashboard-widgets/limits-and-quotas.php:118 -msgid "Unique Visits" -msgstr "" - -#. translators: %s is the next reset date -#: views/dashboard-widgets/limits-and-quotas.php:120 -#, php-format -msgid "Next Reset: %s" -msgstr "" - -#. translators: 1$s is the display name of the user currently logged in. -#: views/dashboard-widgets/login-form.php:21 -#, php-format -msgid "Not %1$s? Log in using your account." -msgstr "" - -#: views/dashboard-widgets/login-form.php:54 -msgid "Create an Account" -msgstr "" - -#: views/dashboard-widgets/my-sites.php:144 -#: views/ui/toolbox.php:30 -#: views/ui/toolbox.php:45 -#: views/ui/toolbox.php:62 -msgid "Current Site" -msgstr "" - -#: views/dashboard-widgets/site-actions.php:65 -msgid "Danger Zone" -msgstr "" - -#: views/dashboard-widgets/summary.php:24 -msgid "Signups today" -msgstr "" - -#: views/dashboard-widgets/summary.php:56 -msgid "Today's gross revenue" -msgstr "" - -#: views/dashboard-widgets/thank-you.php:49 -#: views/dashboard-widgets/thank-you.php:145 -msgid "Order ID" -msgstr "" - -#: views/dashboard-widgets/thank-you.php:306 -msgid "Check Status" -msgstr "" - -#: views/dashboard-widgets/thank-you.php:310 -msgid "Creating" -msgstr "" - -#: views/dashboard-widgets/thank-you.php:322 -msgid "Visit" -msgstr "" - -#: views/dashboard-widgets/thank-you.php:361 -msgid "Order Details" -msgstr "" - -#. translators: %s: Discount code. -#: views/dashboard-widgets/thank-you.php:425 -#, php-format -msgid "Discount (%s)" -msgstr "" - -#: views/domain/dns-table.php:15 -msgid "Host" -msgstr "" - -#: views/domain/dns-table.php:17 -msgid "IP / Target" -msgstr "" - -#: views/domain/dns-table.php:18 -msgid "TTL" -msgstr "" - -#: views/domain/dns-table.php:28 -msgid "Loading DNS entries..." -msgstr "" - -#: views/domain/dns-table.php:74 -msgid "Your Network IP" -msgstr "" - -#: views/domain/log.php:12 -msgid "Loading log contents..." -msgstr "" - -#: views/domain/log.php:20 -msgid "Refresh Logs" -msgstr "" - -#: views/email/widget-placeholders.php:17 -msgid "Search Placeholders" -msgstr "" - -#: views/emails/admin/domain-created.php:9 -#: views/emails/admin/payment-received.php:9 -#: views/emails/admin/site-published.php:9 -msgid "Hey there" -msgstr "" - -#. translators: %1$s: Customer Name, %2$s: Domain, %3$s: Site Title -#: views/emails/admin/domain-created.php:11 -#, php-format -msgid "A new domain, %2$s, was added to the site %3$s." -msgstr "" - -#: views/emails/admin/domain-created.php:30 -msgid "Domain Stage" -msgstr "" - -#: views/emails/admin/domain-created.php:48 -msgid "Secure" -msgstr "" - -#: views/emails/admin/domain-created.php:56 -msgid "Go to Domain →" -msgstr "" - -#: views/emails/admin/domain-created.php:81 -msgid "Visit Site →" -msgstr "" - -#: views/emails/admin/domain-created.php:85 -#: views/emails/admin/site-published.php:36 -msgid "Site Admin Panel" -msgstr "" - -#: views/emails/admin/domain-created.php:87 -msgid "Visit Admin Panel →" -msgstr "" - -#: views/emails/admin/domain-created.php:93 -msgid "Go to Site Management →" -msgstr "" - -#: views/emails/admin/domain-created.php:134 -#: views/emails/admin/payment-received.php:119 -msgid "Go to Membership →" -msgstr "" - -#. translators: %1$s: Customer name, %2$s: Customer email, %3$s: Customer user email, %4$s: Payment total. -#: views/emails/admin/payment-received.php:11 -#, php-format -msgid "We have great news! You received %1$s from %2$s (%3$s) for %4$s." -msgstr "" - -#: views/emails/admin/payment-received.php:44 -msgid "Paid with" -msgstr "" - -#: views/emails/admin/payment-received.php:60 -#: views/emails/customer/payment-received.php:45 -msgid "Processed at" -msgstr "" - -#: views/emails/admin/payment-received.php:67 -#: views/emails/customer/payment-received.php:52 -msgid "Download PDF" -msgstr "" - -#: views/emails/admin/payment-received.php:78 -msgid "Go to Payment →" -msgstr "" - -#: views/emails/admin/payment-received.php:155 -msgid "Go to Customer →" -msgstr "" - -#. translators: %1$s: Site Title, %2$s: Site Url -#: views/emails/admin/site-published.php:11 -#, php-format -msgid "A new website, %1$s (%2$s), was created successfully on your network!" -msgstr "" - -#: views/emails/admin/site-published.php:32 -#: views/emails/customer/site-published.php:27 -msgid "Visit Site →" -msgstr "" - -#: views/emails/admin/site-published.php:38 -#: views/emails/customer/site-published.php:33 -msgid "Visit Admin Panel →" -msgstr "" - -#: views/emails/admin/site-published.php:44 -msgid "Go to Site Management →" -msgstr "" - -#: views/emails/admin/site-published.php:85 -msgid "Go to Membership →" -msgstr "" - -#: views/emails/admin/site-published.php:121 -msgid "Go to Customer →" -msgstr "" - -#. translators: %s: Customer Name -#: views/emails/customer/confirm-email-address.php:10 -#: views/emails/customer/payment-received.php:10 -#: views/emails/customer/renewal-payment-created.php:10 -#: views/emails/customer/site-published.php:10 -#, php-format -msgid "Hey %s," -msgstr "" - -#: views/emails/customer/confirm-email-address.php:12 -msgid "Thanks for creating an account! You're only a step away from being ready." -msgstr "" - -#: views/emails/customer/confirm-email-address.php:14 -msgid "In order to complete the activation of your account, you need to confirm your email address by clicking on the link below." -msgstr "" - -#: views/emails/customer/confirm-email-address.php:17 -msgid "Verify Email Address →" -msgstr "" - -#. translators: %s: Verification Link -#: views/emails/customer/confirm-email-address.php:20 -#, php-format -msgid "or copy the link %s and paste it onto your browser" -msgstr "" - -#. translators: %1$s: payment amount. -#: views/emails/customer/payment-received.php:12 -#, php-format -msgid "We have great news! We successfully processed your payment of %1$s for %2$s." -msgstr "" - -#. translators: %1$s: total payment ammount. -#: views/emails/customer/renewal-payment-created.php:12 -#, php-format -msgid "You have a new pending payment of %1$s for your membership." -msgstr "" - -#. translators: %1$s: Site Title, %2$s: Site Url -#: views/emails/customer/site-published.php:12 -#, php-format -msgid "We have great news! The site %1$s (%2$s) was created successfully and is ready!" -msgstr "" - -#: views/emails/customer/site-published.php:14 -msgid "Your Site" -msgstr "" - -#. translators: %s is a placeholder for the object type name. -#: views/events/widget-initiator.php:92 -#, php-format -msgid "Target %s" -msgstr "" - -#: views/invoice/template.php:42 -msgid "Invoice #" -msgstr "" - -#. translators: %s is the payment creation date -#: views/invoice/template.php:46 -#, php-format -msgid "Created: %s" -msgstr "" - -#: views/invoice/template.php:48 -msgid "Due on Receipt" -msgstr "" - -#: views/invoice/template.php:84 -msgid "Bill to" -msgstr "" - -#: views/invoice/template.php:103 -#: views/wizards/setup/installation_steps.php:16 -#: views/wizards/setup/requirements_table.php:19 -#: views/wizards/setup/requirements_table.php:60 -msgid "Item" -msgstr "" - -#: views/invoice/template.php:163 -msgid "Tax included in price." -msgstr "" - -#. translators: %s is the total amount in currency format. -#: views/invoice/template.php:169 -#, php-format -msgid "Total: %s" -msgstr "" - -#: views/legacy/signup/pricing-table/no-plans.php:25 -msgid "There are no Plans created in the platform." -msgstr "" - -#: views/legacy/signup/pricing-table/plan.php:119 -msgid "This is your current plan" -msgstr "" - -#. translators: %s title of the current site -#: views/legacy/signup/signup-main.php:64 -#: views/legacy/signup/signup-main.php:102 -#, php-format -msgid "%s - Signup" -msgstr "" - -#: views/legacy/signup/signup-nav-links.php:34 -msgid "Return to Home" -msgstr "" - -#: views/legacy/signup/signup-steps-navigation.php:75 -msgid "← Go Back to Previous Step" -msgstr "" - -#: views/legacy/signup/steps/step-domain-url-preview.php:26 -msgid "Your URL will be" -msgstr "" - -#: views/legacy/signup/steps/step-domain-url-preview.php:33 -msgid "yoursite" -msgstr "" - -#: views/limitations/plugin-selector.php:29 -msgid "Network Active" -msgstr "" - -#. translators: %s current version. -#: views/limitations/plugin-selector.php:48 -#: views/limitations/theme-selector.php:48 -#: views/ui/branding/footer.php:15 -#, php-format -msgid "Version %s" -msgstr "" - -#: views/limitations/plugin-selector.php:69 -#: views/limitations/theme-selector.php:69 -msgid "Visible" -msgstr "" - -#: views/limitations/plugin-selector.php:70 -#: views/limitations/theme-selector.php:70 -msgid "Hidden" -msgstr "" - -#: views/limitations/plugin-selector.php:75 -#: views/limitations/site-template-selector.php:56 -#: views/limitations/theme-selector.php:75 -msgid "Behavior" -msgstr "" - -#: views/limitations/plugin-selector.php:81 -#: views/limitations/theme-selector.php:82 -msgid "Force Activate" -msgstr "" - -#: views/limitations/plugin-selector.php:82 -msgid "Force Inactivate" -msgstr "" - -#: views/limitations/plugin-selector.php:83 -msgid "Force Activate & Lock" -msgstr "" - -#: views/limitations/plugin-selector.php:84 -msgid "Force Inactivate & Lock" -msgstr "" - -#: views/limitations/site-template-selector.php:46 -msgid "No categories" -msgstr "" - -#: views/limitations/site-template-selector.php:65 -#: views/limitations/theme-selector.php:80 -msgid "Available" -msgstr "" - -#: views/limitations/site-template-selector.php:67 -msgid "Pre-Selected" -msgstr "" - -#: views/payments/line-item-actions.php:45 -msgid "Refunds:" -msgstr "" - -#: views/payments/line-item-actions.php:61 -msgid "Total:" -msgstr "" - -#: views/payments/tax-details.php:34 -msgid "No tax rates." -msgstr "" - -#: views/settings/fields/field-multi_checkbox.php:61 -msgid "Check / Uncheck All" -msgstr "" - -#: views/shortcodes/shortcodes.php:47 -msgid "Parameter" -msgstr "" - -#: views/shortcodes/shortcodes.php:53 -msgid "Accepted Values" -msgstr "" - -#: views/sites/edit-placeholders.php:13 -msgid "Template Placeholders" -msgstr "" - -#: views/sites/edit-placeholders.php:31 -#: views/taxes/list.php:83 -msgid "item(s)" -msgstr "" - -#: views/sites/edit-placeholders.php:77 -msgid "Loading Template Placeholders..." -msgstr "" - -#: views/sites/edit-placeholders.php:91 -#: views/taxes/list.php:144 -msgid "No items to display" -msgstr "" - -#: views/sites/edit-placeholders.php:209 -#: views/taxes/list.php:342 -msgid "Add new Row" -msgstr "" - -#: views/sites/edit-placeholders.php:215 -#: views/taxes/list.php:348 -msgid "Delete Selected Rows" -msgstr "" - -#: views/sites/edit-placeholders.php:241 -#: views/taxes/list.php:374 -msgid "Save your changes!" -msgstr "" - -#: views/sites/edit-placeholders.php:245 -#: views/taxes/list.php:378 -msgid "Saving..." -msgstr "" - -#: views/sites/edit-placeholders.php:254 -msgid "Save Template Placeholders" -msgstr "" - -#: views/system-info/system-info-table.php:16 -msgid "No items found." -msgstr "" - -#: views/system-info/system-info.php:31 -msgid "Copy Data to Clipboard" -msgstr "" - -#: views/system-info/system-info.php:39 -msgid "Download File" -msgstr "" - -#: views/taxes/list.php:16 -msgid "Go to the Tax Settings Page" -msgstr "" - -#: views/taxes/list.php:31 -msgid "Tax Category Name" -msgstr "" - -#: views/taxes/list.php:34 -msgid "Create" -msgstr "" - -#: views/taxes/list.php:38 -#: views/taxes/list.php:46 -msgid "← Back" -msgstr "" - -#: views/taxes/list.php:62 -msgid "Switch" -msgstr "" - -#: views/taxes/list.php:72 -msgid "Add new Tax Category" -msgstr "" - -#: views/taxes/list.php:130 -msgid "Loading Tax Rates..." -msgstr "" - -#: views/taxes/list.php:244 -#: views/taxes/list.php:259 -msgid "Leave blank to apply to all" -msgstr "" - -#: views/taxes/list.php:388 -msgid "Save Tax Rates" -msgstr "" - -#: views/ui/branding/footer.php:47 -msgid "Job Queue" -msgstr "" - -#: views/ui/branding/header.php:62 -msgid "Server Clock" -msgstr "" - -#: views/ui/container-toggle.php:11 -msgid "Toggle container" -msgstr "" - -#: views/ui/container-toggle.php:13 -#: views/ui/container-toggle.php:15 -#: views/ui/container-toggle.php:18 -msgid "Boxed" -msgstr "" - -#: views/ui/container-toggle.php:20 -msgid "Wide" -msgstr "" - -#: views/ui/jumper.php:16 -msgid "Search Anything..." -msgstr "" - -#: views/ui/jumper.php:28 -msgid "Click to rebuild menu list" -msgstr "" - -#: views/ui/jumper.php:95 -msgid "Redirecting you to the target page..." -msgstr "" - -#: views/ui/jumper.php:101 -msgid "Searching Results..." -msgstr "" - -#: views/ui/selectize-templates.php:24 -#: views/ui/selectize-templates.php:48 -msgid "Undefined" -msgstr "" - -#: views/ui/selectize-templates.php:184 -msgid "Network Admin" -msgstr "" - -#: views/ui/selectize-templates.php:220 -msgid "Mapped Domain" -msgstr "" - -#: views/ui/selectize-templates.php:328 -msgid "Nothing Found..." -msgstr "" - -#: views/ui/template-previewer.php:88 -msgid "Select template..." -msgstr "" - -#: views/ui/template-previewer.php:129 -msgid "View Desktop Version" -msgstr "" - -#: views/ui/template-previewer.php:131 -msgid "View Tablet Landscape (1024x768)" -msgstr "" - -#: views/ui/template-previewer.php:133 -msgid "View Tablet Portrait (768x1024)" -msgstr "" - -#: views/ui/template-previewer.php:135 -msgid "View Mobile Landscape (800x360)" -msgstr "" - -#: views/ui/template-previewer.php:137 -msgid "View Mobile Portrait (360x800)" -msgstr "" - -#: views/ui/template-previewer.php:197 -msgid "Loading template preview..." -msgstr "" - -#: views/ui/template-previewer.php:210 -msgid "Site Template Preview will go here!" -msgstr "" - -#: views/ui/toolbox.php:20 -msgid "Toggle Toolbox" -msgstr "" - -#. translators: %s is the integration name -#: views/wizards/host-integrations/activation.php:11 -#, php-format -msgid "Activate %s Integration" -msgstr "" - -#: views/wizards/host-integrations/activation.php:37 -msgid "This integration will:" -msgstr "" - -#: views/wizards/host-integrations/activation.php:59 -msgid "This integration will not:" -msgstr "" - -#: views/wizards/host-integrations/activation.php:84 -#: views/wizards/host-integrations/configuration-results.php:45 -#: views/wizards/host-integrations/configuration.php:37 -msgid "← Cancel" -msgstr "" - -#: views/wizards/host-integrations/activation.php:91 -msgid "Integration already activated." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:14 -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "You’ll need to get your" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:14 -msgid "for your Cloudflare DNS zone." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:19 -msgid "Before we start..." -msgstr "" - -#. translators: %s the url -#: views/wizards/host-integrations/cloudflare-instructions.php:21 -#, php-format -msgid "This integration is really aimed at people that do not have access to an Enterprise Cloudflare account, since that particular tier supports proxying on wildcard DNS entries, which makes adding each subdomain unecessary. If you own an enterprise tier account, you can simply follow this tutorial to create the wildcard entry and deactivate this integration entirely." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:25 -msgid "Getting the Zone ID and API Key" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:29 -msgid "On the Cloudflare overview page of your Zone (the domain managed), you'll see a block on the sidebar containing the Zone ID. Copy that value." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:32 -msgid "DNS Zone ID on the Sidebar" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:34 -msgid "On that same sidebar block, you will see the Get your API token link. Click on it to go to the token generation screen." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:36 -msgid "Go to the API Tokens tab, then click on Create Token" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:38 -msgid "We want an API token that will allow us to edit DNS records, so select the Edit zone DNS template." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:40 -msgid "Use the Edit Zone DNS template" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:42 -msgid "On the next screen, set the permissions to Edit, and select the zone that corresponds to your target domain. Then, move to the next step." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:44 -msgid "Permission and Zone Settings" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:46 -msgid "Finally, click Create Token." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:48 -msgid "Finishing up." -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:50 -msgid "Copy the API Token (it won't be shown again, so you need to copy it now!). We will use it on the next step alongside with the Zone ID" -msgstr "" - -#: views/wizards/host-integrations/cloudflare-instructions.php:52 -msgid "Done!" -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:10 -#: views/wizards/host-integrations/configuration.php:10 -msgid "We are almost there!" -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:14 -#: views/wizards/host-integrations/configuration.php:14 -msgid "You should have all the information we need in hand right now. The next step is to configure it." -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:24 -msgid "All set! We have made all the adjustments to and the Integration should work." -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:31 -msgid "You will need to edit your wp-config.php file manually. Copy the contents of the box below and paste it on your wp-config.php file, right before the line containing:" -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:34 -msgid "Your wp-config.php settings:" -msgstr "" - -#: views/wizards/host-integrations/configuration-results.php:50 -msgid "Test Integration →" -msgstr "" - -#: views/wizards/host-integrations/configuration.php:43 -msgid "Add manually" -msgstr "" - -#: views/wizards/host-integrations/configuration.php:47 -msgid "Add automatically" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:11 -msgid "Setting up GridPane with WP Ultimo is as easy as toggling a switch" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:14 -msgid "On the GridPane panel, go to" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:14 -msgid "Click on your network site to bring up the options modal" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:23 -msgid "Go to the" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:23 -msgid "Multisite" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:23 -msgid "tab and toggle the" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:23 -msgid "WP Ultimo Integration" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:23 -msgid "switch" -msgstr "" - -#: views/wizards/host-integrations/gridpane-instructions.php:32 -msgid "You're all set" -msgstr "" - -#: views/wizards/host-integrations/ready.php:14 -msgid "That's it! We are ready!" -msgstr "" - -#. translators: % site title -#: views/wizards/host-integrations/ready.php:18 -#, php-format -msgid "The integration with %s was correctly setup and is now ready! Now, every time a new domain is added to your platform, Multisite Ultimate will sync that with your application automatically." -msgstr "" - -#: views/wizards/host-integrations/ready.php:30 -msgid "Finish!" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "as well as find the" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "Server ID" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "APP ID" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:12 -msgid "for your WordPress application" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:16 -msgid "Getting the API Key and API Secret" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:20 -msgid "On your RunCloud admin panel, click the cog icon (settings) to go to the settings page" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:27 -msgid "Settings Page Link" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:29 -msgid "On the new page, click in the" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:29 -msgid "menu item on the left" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:34 -msgid "API Key page link" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:35 -msgid "Copy the" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:35 -msgid "API Key and Secret values" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:35 -msgid "we will need them in the next steps" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:35 -msgid "Make sure the RunCloud API toggle is turned ON" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:35 -msgid "otherwise RunCloud won’t accept Multisite Ultimate API calls" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:39 -msgid "Copy the API Key and API Secret values" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:42 -msgid "Getting the Server and App IDs" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:44 -msgid "To find what are the server and app ids for your application, navigate to your web application manage page inside the RunCloud panel. Once you are there, you’ll be able to extract the values from the URL" -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:48 -msgid "Server ID is the first one, the second one is App ID." -msgstr "" - -#: views/wizards/host-integrations/runcloud-instructions.php:49 -msgid "Save the Server and APP id values as they will be necessary in the next step" -msgstr "" - -#: views/wizards/host-integrations/test.php:9 -msgid "Testing the Integration" -msgstr "" - -#. translators: %s: name of integration. -#: views/wizards/host-integrations/test.php:13 -#, php-format -msgid "We will send a test API call to %s to make sure we are able to connect. This will confirm if everything we did so far have worked." -msgstr "" - -#: views/wizards/host-integrations/test.php:21 -msgid "Sending API call..." -msgstr "" - -#: views/wizards/host-integrations/test.php:28 -msgid "Yey! Everything seems to be working!" -msgstr "" - -#: views/wizards/host-integrations/test.php:35 -msgid "Something wrong happened... We might need to make some adjustments to make this work." -msgstr "" - -#: views/wizards/host-integrations/test.php:39 -#: views/wizards/host-integrations/test.php:85 -msgid "Waiting for results..." -msgstr "" - -#: views/wizards/host-integrations/test.php:43 -msgid "Troubleshooting" -msgstr "" - -#. translators: %1$s and %2$s are and wrapping the word Configuration -#: views/wizards/host-integrations/test.php:48 -#, php-format -msgid "Go back to the %1$sConfiguration%2$s step - if available - and make sure you entered all the necessary information correctly;" -msgstr "" - -#: views/wizards/host-integrations/test.php:51 -msgid "If you have added the constants to your wp-config.php file manually, double check to make sure you've added them to the right wp-config.php file and in the right place (just above the /* That's all, stop editing! Happy publishing. */)" -msgstr "" - -#: views/wizards/host-integrations/test.php:54 -msgid "If you are sure everything is right, take a screenshot of this screen and contact support." -msgstr "" - -#: views/wizards/setup/alert.php:14 -msgid "Caution!" -msgstr "" - -#: views/wizards/setup/alert.php:17 -msgid "This action is irreversible and may cause unexpected behavior in your data, be sure of what you are doing and have a backup in case of some trouble!" -msgstr "" - -#: views/wizards/setup/alert.php:20 -msgid "This will forcely rerun our Migration Wizard on your installation. If you tried to migrate after install but your v1 data is missing, this can resolve." -msgstr "" - -#: views/wizards/setup/alert.php:28 -msgid "Proceed" -msgstr "" - -#: views/wizards/setup/installation_steps.php:41 -msgid "Completed!" -msgstr "" - -#. translators: %s customer's name -#: views/wizards/setup/ready.php:17 -#, php-format -msgid "We are ready, %s!" -msgstr "" - -#. translators: %s customer's name -#: views/wizards/setup/ready.php:17 -msgid "my friend" -msgstr "" - -#. translators: %1$s developer's name, %2$s company name -#: views/wizards/setup/ready.php:22 -#, php-format -msgid "Multisite Ultimate would not be possible without the work of %1$s and %2$s." -msgstr "" - -#. translators: %s GitHub link -#: views/wizards/setup/ready.php:27 -#, php-format -msgid "Multisite Ultimate is maintained by volunteer open source developers. Please consider sponsoring the project on %s." -msgstr "" - -#. translators: %s support page link -#: views/wizards/setup/ready.php:32 -#, php-format -msgid "Paid support is available. Go to %s to find an expert who can assist in setting up Multisite Ultimate or custom development." -msgstr "" - -#. translators: %s support page link -#: views/wizards/setup/ready.php:32 -msgid "The Support Page" -msgstr "" - -#: views/wizards/setup/ready.php:36 -msgid "You now have everything you need in place to start building your Website as a Service business!" -msgstr "" - -#: views/wizards/setup/ready.php:49 -msgid "Thanks!" -msgstr "" - -#: views/wizards/setup/requirements_table.php:12 -msgid "Multisite Ultimate Requires:" -msgstr "" - -#: views/wizards/setup/requirements_table.php:20 -msgid "Minimum Version" -msgstr "" - -#: views/wizards/setup/requirements_table.php:21 -msgid "Recommended" -msgstr "" - -#. translators: %s is the requirement version -#: views/wizards/setup/requirements_table.php:31 -#, php-format -msgid "%s or later" -msgstr "" - -#: views/wizards/setup/requirements_table.php:38 -#: views/wizards/setup/requirements_table.php:74 -msgid "Help" -msgstr "" - -#: views/wizards/setup/requirements_table.php:53 -msgid "And" -msgstr "" - -#: views/wizards/setup/requirements_table.php:61 -msgid "Condition" -msgstr "" - -#: views/wizards/setup/requirements_table.php:91 -msgid "It looks like your hosting environment does not support the current version of Multisite Ultimate. Visit the Read More links on each item to see what steps you need to take to bring your environment up to the Multisite Ultimate current requirements." -msgstr "" - -#: views/wizards/setup/support_terms.php:10 -msgid "This plugin comes with support for issues you may have. Support can be requested via email on support@wpultimo.com and includes:" -msgstr "" - -#: views/wizards/setup/support_terms.php:15 -msgid "Availability of the author to answer questions" -msgstr "" - -#: views/wizards/setup/support_terms.php:19 -msgid "Answering technical questions about item features" -msgstr "" - -#: views/wizards/setup/support_terms.php:23 -msgid "Assistance with reported bugs and issues" -msgstr "" - -#: views/wizards/setup/support_terms.php:27 -msgid "Support DOES NOT Include:" -msgstr "" - -#: views/wizards/setup/support_terms.php:32 -msgid "Customization services" -msgstr "" - -#: views/wizards/setup/support_terms.php:36 -msgid "Installation services" -msgstr "" - -#: views/wizards/setup/support_terms.php:40 -msgid "Support for 3rd party plugins (i.e. plugins you install yourself later on)" -msgstr "" diff --git a/loco.xml b/loco.xml index c12818bb3..661154dfa 100644 --- a/loco.xml +++ b/loco.xml @@ -1,7 +1,7 @@ - - - + + + . @@ -9,7 +9,7 @@ lang diff --git a/package.json b/package.json index 9fe0897d9..a7a6f4a32 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "version": "2.4.3", - "name": "multisite-ultimate", - "title": "Multisite Ultimate", - "homepage": "https://multisiteultimate.com/", + "version": "2.4.4", + "name": "ultimate-multisite", + "title": "Ultimate Multisite", + "homepage": "https://ultimatemultisite.com/", "authors": [{ "name": "David Stone", - "email": "david@multisiteultimate.com" + "email": "david@ultimatemultisite.com" }], "repository": { "type": "git", @@ -23,11 +23,12 @@ "translate": true }, "scripts": { - "prebuild": "npm run makepot &&composer install -o --no-dev", + "prebuild": "npm run makepot && composer install -o --no-dev", "prebuild:dev": "composer install", "copylibs": "node scripts/copy-libs.js", "build": "npm run copylibs && npm run uglify && npm run cleancss && npm run archive", "build:dev": "npm run copylibs && npm run uglify && npm run cleancss && npm run makepot", + "build:translate": "npm run copylibs && npm run uglify && npm run cleancss && npm run makepot && npm run translate", "prearchive": "php encrypt-sectrets.php", "archive": "node scripts/archive.js", "postarchive": "node scripts/post-archive.js", @@ -36,6 +37,8 @@ "precleancss": "node scripts/clean-css.js", "cleancss": "node scripts/cleancss.js", "makepot": "node scripts/makepot.js", + "translate": "php scripts/translate.php", + "translate:force": "php scripts/translate.php --force", "env:start": "wp-env start", "env:stop": "wp-env stop", "env:clean": "wp-env clean all", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 45938f4e5..b54b92b40 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -5,7 +5,7 @@ parameters: paths: - ./views - ./inc - - ./multisite-ultimate.php + - ./ultimate-multisite.php ignoreErrors: - message: '#Variable \$.* might not be defined.#' diff --git a/readme.txt b/readme.txt index b06eaf238..e87ac6820 100644 --- a/readme.txt +++ b/readme.txt @@ -1,4 +1,4 @@ -=== Multisite Ultimate === +=== Ultimate Multisite === Contributors: aanduque, superdav42 Donate link: https://github.com/sponsors/superdav42/ Tags: multisite, waas, membership, domain-mapping, subscription @@ -14,7 +14,7 @@ The Complete Network Solution for transforming your WordPress Multisite into a W == Description == -**Multisite Ultimate** helps you transform your WordPress Multisite installation into a powerful Website as a Service (WaaS) platform. This plugin enables you to offer website creation, hosting, and management services to your customers through a streamlined interface. +**Ultimate Multisite** helps you transform your WordPress Multisite installation into a powerful Website as a Service (WaaS) platform. This plugin enables you to offer website creation, hosting, and management services to your customers through a streamlined interface. This plugin was formerly known as WP Ultimo and is now community maintained. @@ -31,113 +31,18 @@ This plugin was formerly known as WP Ultimo and is now community maintained. = Where to find help = -* [GitHub Repository](https://github.com/superdav42/wp-multisite-waas) * [Issue Tracker](https://github.com/superdav42/wp-multisite-waas/issues) +* Paid support at [the official Ultimate Multisite website](https://ultimatemultisite.com) = Contributing = -We welcome contributions to Multisite Ultimate! To contribute effectively: - -**Development Workflow:** - -1. Fork the repository on GitHub -2. Create a feature branch from main -3. Run `npm install` and `composer install` to set up dependencies -4. Make your changes -5. Before committing, run `npm run build` to: - * Generate translation POT files - * Minify CSS and JS assets - * Process and optimize other assets -6. **Important:** Update both README.md and readme.txt files when making changes that affect: - * Version numbers - * Required WordPress/PHP versions - * Feature additions or changes - * Installation instructions - * Documentation - * Changelog entries -7. Open a Pull Request with your changes - -**Pull Request Guidelines:** - -Please include a clear description of your changes and their purpose, reference any related issues, and ensure your code follows existing style conventions. Always verify that both README.md and readme.txt are updated and synchronized before submitting your PR. - -**Release Process:** - -Releases are automated using GitHub Actions workflows that trigger when a version tag is pushed. - -To trigger a new release build, push a tag following the semantic versioning format: -`git tag v2.3.5` (for version 2.3.5) and then `git push origin v2.3.5` - -The tag must begin with "v" followed by the version number (v*.*.*). - -When preparing for a release: -1. Update the version number in the main plugin file and readme.txt -2. Update the changelog in readme.txt -3. Ensure README.md and readme.txt are synchronized with the latest information -4. Create and push the appropriate version tag - -For more detailed contribution guidelines, see the [GitHub repository](https://github.com/superdav42/wp-multisite-waas). - -== Installation == - -There are two recommended ways to install Multisite Ultimate: - -= Method 1: Using the pre-packaged release (Recommended) = - -1. Download the latest release ZIP from the [Releases page](https://github.com/superdav42/wp-multisite-waas/releases) -2. Log in to your WordPress Network Admin dashboard -3. Navigate to Plugins > Add New > Upload Plugin -4. Choose the downloaded ZIP file and click "Install Now" -5. Network Activate the plugin through the 'Plugins' menu in WordPress -6. Follow the step by step Wizard to set the plugin up - -= Method 2: Using Git and Composer (For developers) = - -This method requires command-line access to your server and familiarity with Git and Composer. - -1. Clone the repository to your plugins directory: - ``` - cd wp-content/plugins/ - git clone https://github.com/superdav42/wp-multisite-waas.git - cd wp-multisite-waas - ``` - -2. Install the required dependencies using Composer: - ``` - composer install - ``` - -3. Network Activate the plugin in your WordPress Network Admin dashboard -4. Follow the setup wizard to complete the installation - -= Common Installation Issues = - -**"Failed opening required [...]/vendor/autoload_packages.php"** - -This error occurs when the required vendor files are missing. This typically happens when: -- You've downloaded the repository directly from GitHub without using a release package -- The composer dependencies haven't been installed - -Solution: Use the pre-packaged release from the [Releases page](https://github.com/superdav42/wp-multisite-waas/releases) or run `composer install` in the plugin directory. - -**"Cannot declare class ComposerAutoloaderInitWPUltimoDependencies, because the name is already in use"** - -This error usually occurs when updating from an older version of WP Ultimo or when multiple versions of the plugin are installed. - -Solution: Deactivate and remove any older versions of WP Ultimo or Multisite Ultimate before activating the new version. - -**"Class 'WP_Ultimo\Database\Sites\Site_Query' not found"** - -This error can occur if the plugin's autoloader isn't properly loading all the necessary classes. - -Solution: Use the pre-packaged release from the [Releases page](https://github.com/superdav42/wp-multisite-waas/releases) which includes all required files. +We welcome contributions to Ultimate Multisite! To contribute see the [GitHub repository](https://github.com/superdav42/wp-multisite-waas). == Requirements == * WordPress Multisite 5.3 or higher * PHP 7.4.30 or higher * MySQL 5.6 or higher -* HTTPS enabled (recommended for secure checkout) == Frequently Asked Questions == @@ -147,7 +52,7 @@ No, this plugin specifically requires WordPress Multisite to function properly. = Does this plugin support custom domains? = -Yes, Multisite Ultimate includes robust domain mapping functionality that allows your customers to use their own domains for their websites within your network. +Yes, Ultimate Multisite includes robust domain mapping functionality that allows your customers to use their own domains for their websites within your network. = Which payment gateways are supported? = @@ -155,7 +60,7 @@ The plugin supports multiple payment gateways including Stripe, PayPal, and manu = Can I migrate from WP Ultimo to this plugin? = -Yes, Multisite Ultimate is a community-maintained fork of WP Ultimo. The plugin includes migration tools to help you transition from WP Ultimo. +Yes, Ultimate Multisite is a community-maintained fork of WP Ultimo. The plugin includes migration tools to help you transition from WP Ultimo. == External Services == @@ -185,7 +90,7 @@ This plugin connects to several external services to provide its functionality. = Plugin Updates and Add-ons = -**Multisite Ultimate Update Server** +**Ultimate Multisite Update Server** - Service: Official update server for the plugin and its add-ons (multisiteultimate.com) - Data sent: Site URL, plugin version, license keys, authentication tokens - When: During plugin/add-on updates and license checks @@ -259,7 +164,7 @@ This plugin connects to several external services to provide its functionality. = Newsletter and Analytics = -**Multisite Ultimate Newsletter Service** +**Ultimate Multisite Newsletter Service** - Service: Newsletter subscription for product updates (multisiteultimate.com) - Data sent: Company email, name, country information - When: During initial plugin setup (optional) @@ -296,6 +201,7 @@ Version [2.4.4] - Released on 2025-08-XX - Improved: Lazy load limitations for better performance and compatibility - New: Add Admin Notice if sunrise.php is not setup - New: Option to not always create www. subdomains with hosting integrations +- Improved: Plugin renamed to Ultimate Multisite Version [2.4.3] - Released on 2025-08-15 - Fixed: Bug in Slim SEO plugin diff --git a/scripts/README-TRANSLATION.md b/scripts/README-TRANSLATION.md new file mode 100644 index 000000000..0f47104c0 --- /dev/null +++ b/scripts/README-TRANSLATION.md @@ -0,0 +1,192 @@ +# Ultimate Multisite Translation System + +This directory contains the automated translation system for Ultimate Multisite using potrans and DeepL API. + +## Overview + +The translation system automatically translates the main POT file into all languages supported by DeepL API, generating WordPress-compatible PO and MO files. + +## Supported Languages + +The script translates to 31 languages supported by DeepL (excluding English variants): + +- Arabic (ar) +- Bulgarian (bg_BG) +- Chinese Simplified (zh_CN) +- Chinese Traditional (zh_TW) +- Czech (cs_CZ) +- Danish (da_DK) +- Dutch (nl_NL) +- Estonian (et) +- Finnish (fi) +- French (fr_FR) +- German (de_DE) +- Greek (el) +- Hungarian (hu_HU) +- Indonesian (id_ID) +- Italian (it_IT) +- Japanese (ja) +- Korean (ko_KR) +- Latvian (lv) +- Lithuanian (lt_LT) +- Norwegian (nb_NO) +- Polish (pl_PL) +- Portuguese Brazilian (pt_BR) +- Portuguese European (pt_PT) +- Romanian (ro_RO) +- Russian (ru_RU) +- Slovak (sk_SK) +- Slovenian (sl_SI) +- Spanish (es_ES) +- Swedish (sv_SE) +- Turkish (tr_TR) +- Ukrainian (uk) + +## Setup + +### 1. Install potrans + +You have several options to install potrans: + +**Option A: Global installation (recommended)** +```bash +composer global require om/potrans +``` + +**Option B: Local project installation** +```bash +composer require --dev om/potrans +``` + +**Option C: Custom path** +Set the `POTRANS_PATH` environment variable to point to your potrans binary: +```bash +export POTRANS_PATH="/path/to/potrans" +``` + +### 2. Get DeepL API Key + +1. Sign up for a DeepL API account at https://www.deepl.com/pro-api +2. Get your API key from the account dashboard +3. Set the API key as an environment variable: + +```bash +export DEEPL_API_KEY="your-api-key-here" +``` + +Or pass it directly to the script using the `--api-key` parameter. + +## Usage + +### NPM Scripts + +```bash +# Translate all languages (skip existing files) +npm run translate + +# Force re-translation of all languages +npm run translate:force + +# Build with translations included +npm run build:translate +``` + +### Direct PHP Script Usage + +```bash +# Basic translation +php scripts/translate.php + +# With API key parameter +php scripts/translate.php --api-key=your-key-here + +# Force re-translation of existing files +php scripts/translate.php --force + +# Show help +php scripts/translate.php --help +``` + +## What the Script Does + +1. **Reads the source POT file** (`lang/ultimate-multisite.pot`) +2. **Translates to each DeepL language** using the potrans library +3. **Generates PO files** with WordPress-compatible locale names +4. **Creates MO files** from the PO files using msgfmt +5. **Outputs all files** to the `lang/` directory + +## File Naming Convention + +The script generates files following WordPress naming conventions: + +- `ultimate-multisite-{wp_locale}.po` - Translation files +- `ultimate-multisite-{wp_locale}.mo` - Compiled translation files + +Examples: +- `ultimate-multisite-fr_FR.po` - French translation +- `ultimate-multisite-de_DE.po` - German translation +- `ultimate-multisite-pt_BR.po` - Brazilian Portuguese translation + +## Integration with Build Process + +The translation system integrates with the existing build process: + +- `npm run build:dev` - Standard development build (no translation) +- `npm run build:translate` - Development build with translations +- Regular `npm run build` - Production build (no translation by default) + +## Requirements + +- PHP 7.4+ (same as plugin requirement) +- Composer dependencies installed +- DeepL API key +- `msgfmt` command available (part of gettext tools) + +## Error Handling + +The script includes comprehensive error handling: + +- Validates API key presence +- Checks for required files and directories +- Reports translation failures +- Continues processing even if individual languages fail + +## Cost Considerations + +DeepL API charges per character translated. The script: + +- Skips existing files by default (use `--force` to override) +- Only translates when the POT file is updated +- Provides progress feedback to monitor usage + +## Troubleshooting + +### Common Issues + +1. **"DeepL API key is required"** + - Set the `DEEPL_API_KEY` environment variable + - Or use `--api-key` parameter + +2. **"potrans binary not found"** + - Install potrans globally: `composer global require om/potrans` + - Or set `POTRANS_PATH` environment variable to the potrans binary location + - Or install locally: `composer require --dev om/potrans` + +3. **"msgfmt command not found"** + - Install gettext tools: `sudo apt-get install gettext` (Ubuntu/Debian) + +4. **Translation fails for specific language** + - Check DeepL API limits and quotas + - Verify the language code is supported + - Check internet connection + +### Debug Output + +The script provides detailed output showing: +- Which languages are being processed +- Success/failure status for each translation +- Final statistics + +## License + +This translation system is part of Ultimate Multisite and follows the same GPL-3.0-or-later license. \ No newline at end of file diff --git a/scripts/translate.php b/scripts/translate.php new file mode 100644 index 000000000..f9b3c3994 --- /dev/null +++ b/scripts/translate.php @@ -0,0 +1,317 @@ + 'Arabic', + 'bg' => 'Bulgarian', + 'cs' => 'Czech', + 'da' => 'Danish', + 'de' => 'German', + 'el' => 'Greek', + 'en-GB' => 'English (British)', + 'en-US' => 'English (American)', + 'es' => 'Spanish', + 'et' => 'Estonian', + 'fi' => 'Finnish', + 'fr' => 'French', + 'hu' => 'Hungarian', + 'id' => 'Indonesian', + 'it' => 'Italian', + 'ja' => 'Japanese', + 'ko' => 'Korean', + 'lt' => 'Lithuanian', + 'lv' => 'Latvian', + 'nb' => 'Norwegian (Bokmål)', + 'nl' => 'Dutch', + 'pl' => 'Polish', + 'pt-BR' => 'Portuguese (Brazilian)', + 'pt-PT' => 'Portuguese (European)', + 'ro' => 'Romanian', + 'ru' => 'Russian', + 'sk' => 'Slovak', + 'sl' => 'Slovenian', + 'sv' => 'Swedish', + 'tr' => 'Turkish', + 'uk' => 'Ukrainian', + 'zh-CN' => 'Chinese (Simplified)', + 'zh-TW' => 'Chinese (Traditional)' + ]; + + /** + * WordPress locale mapping for DeepL language codes + */ + private $wp_locale_mapping = [ + 'ar' => 'ar', + 'bg' => 'bg_BG', + 'cs' => 'cs_CZ', + 'da' => 'da_DK', + 'de' => 'de_DE', + 'el' => 'el', + 'en-GB' => 'en_GB', + 'en-US' => 'en_US', + 'es' => 'es_ES', + 'et' => 'et', + 'fi' => 'fi', + 'fr' => 'fr_FR', + 'hu' => 'hu_HU', + 'id' => 'id_ID', + 'it' => 'it_IT', + 'ja' => 'ja', + 'ko' => 'ko_KR', + 'lt' => 'lt_LT', + 'lv' => 'lv', + 'nb' => 'nb_NO', + 'nl' => 'nl_NL', + 'pl' => 'pl_PL', + 'pt-BR' => 'pt_BR', + 'pt-PT' => 'pt_PT', + 'ro' => 'ro_RO', + 'ru' => 'ru_RU', + 'sk' => 'sk_SK', + 'sl' => 'sl_SI', + 'sv' => 'sv_SE', + 'tr' => 'tr_TR', + 'uk' => 'uk', + 'zh-CN' => 'zh_CN', + 'zh-TW' => 'zh_TW' + ]; + + private $source_pot_file; + private $lang_dir; + private $api_key; + private $force; + private $vendor_dir; + + public function __construct($api_key = null, $force = false) { + $this->source_pot_file = dirname(__DIR__) . '/lang/ultimate-multisite.pot'; + $this->lang_dir = dirname(__DIR__) . '/lang'; + $this->vendor_dir = dirname(__DIR__) . '/vendor'; + $this->api_key = $api_key ?: getenv('DEEPL_API_KEY'); + $this->force = $force; + + if (!$this->api_key) { + throw new Exception('DeepL API key is required. Set DEEPL_API_KEY environment variable or use --api-key parameter.'); + } + + if (!file_exists($this->source_pot_file)) { + throw new Exception("Source POT file not found: {$this->source_pot_file}"); + } + + if (!is_dir($this->vendor_dir)) { + throw new Exception("Vendor directory not found. Run 'composer install' first."); + } + } + + public function translateAll() { + echo "Starting translation process for Ultimate Multisite\n"; + echo "Source POT: {$this->source_pot_file}\n"; + echo "Output directory: {$this->lang_dir}\n\n"; + + $success_count = 0; + $total_count = count($this->deepl_languages); + + foreach ($this->deepl_languages as $deepl_code => $language_name) { + // Skip English since that's our source language + if (strpos($deepl_code, 'en') === 0) { + continue; + } + + $wp_locale = $this->wp_locale_mapping[$deepl_code]; + $output_file = $this->lang_dir . '/ultimate-multisite-' . $wp_locale . '.po'; + + echo "Translating to {$language_name} ({$deepl_code} -> {$wp_locale})... "; + + // Skip if file exists and we're not forcing re-translation + if (file_exists($output_file) && !$this->force) { + echo "SKIPPED (file exists, use --force to overwrite)\n"; + continue; + } + + try { + $result = $this->translateLanguage($deepl_code, $output_file); + if ($result) { + echo "SUCCESS\n"; + $success_count++; + } else { + echo "FAILED\n"; + } + } catch (Exception $e) { + echo "ERROR: " . $e->getMessage() . "\n"; + } + } + + echo "\nTranslation complete!\n"; + echo "Successfully translated: {$success_count}/" . ($total_count - 2) . " languages\n"; // -2 for English variants + } + + private function translateLanguage($deepl_code, $output_file) { + // Try to find potrans binary in multiple locations + $potrans_binary = $this->findPotrancBinary(); + + if (!$potrans_binary) { + throw new Exception("potrans binary not found. Install it globally via 'composer global require om/potrans' or set POTRANS_PATH environment variable."); + } + + $cmd = sprintf( + 'php %s deepl %s %s --apikey=%s --target-lang=%s --source-lang=EN', + escapeshellarg($potrans_binary), + escapeshellarg($this->source_pot_file), + escapeshellarg(dirname($output_file)), + escapeshellarg($this->api_key), + escapeshellarg($deepl_code) + ); + + if ($this->force) { + $cmd .= ' --force'; + } + + // Execute the translation command + $output = []; + $return_code = 0; + exec($cmd . ' 2>&1', $output, $return_code); + + if ($return_code !== 0) { + throw new Exception("potrans command failed: " . implode("\n", $output)); + } + + // potrans outputs with different naming, we need to rename the file + $potrans_output = dirname($output_file) . '/' . basename($this->source_pot_file, '.pot') . '-' . strtolower(str_replace('-', '_', $deepl_code)) . '.po'; + + if (file_exists($potrans_output) && $potrans_output !== $output_file) { + rename($potrans_output, $output_file); + } + + return file_exists($output_file); + } + + public function generateMoFiles() { + echo "Generating .mo files from .po files...\n"; + + $po_files = glob($this->lang_dir . '/ultimate-multisite-*.po'); + $success_count = 0; + + foreach ($po_files as $po_file) { + $mo_file = str_replace('.po', '.mo', $po_file); + echo "Generating " . basename($mo_file) . "... "; + + $cmd = sprintf('msgfmt %s -o %s', escapeshellarg($po_file), escapeshellarg($mo_file)); + $output = []; + $return_code = 0; + exec($cmd . ' 2>&1', $output, $return_code); + + if ($return_code === 0 && file_exists($mo_file)) { + echo "SUCCESS\n"; + $success_count++; + } else { + echo "FAILED\n"; + } + } + + echo "Generated {$success_count} .mo files\n"; + } + + private function findPotrancBinary() { + // 1. Check POTRANS_PATH environment variable + $env_path = getenv('POTRANS_PATH'); + if ($env_path && file_exists($env_path)) { + return $env_path; + } + + // 2. Check vendor/bin/potrans (local installation) + $local_path = $this->vendor_dir . '/bin/potrans'; + if (file_exists($local_path)) { + return $local_path; + } + + // 3. Check global composer installation + $home = getenv('HOME') ?: getenv('USERPROFILE'); + if ($home) { + $global_vendor_path = $home . '/.composer/vendor/bin/potrans'; + if (file_exists($global_vendor_path)) { + return $global_vendor_path; + } + + // Alternative global composer path + $global_vendor_path2 = $home . '/.config/composer/vendor/bin/potrans'; + if (file_exists($global_vendor_path2)) { + return $global_vendor_path2; + } + } + + // 4. Check if potrans is in PATH + $which_result = null; + $return_code = 0; + exec('which potrans 2>/dev/null', $which_result, $return_code); + if ($return_code === 0 && !empty($which_result[0]) && file_exists($which_result[0])) { + return $which_result[0]; + } + + // 5. Try whereis on Linux systems + $whereis_result = null; + $return_code = 0; + exec('whereis potrans 2>/dev/null', $whereis_result, $return_code); + if ($return_code === 0 && !empty($whereis_result[0])) { + $parts = explode(' ', $whereis_result[0]); + if (count($parts) > 1 && file_exists($parts[1])) { + return $parts[1]; + } + } + + return false; + } +} + +// Parse command line arguments +$api_key = null; +$force = false; +$help = false; + +for ($i = 1; $i < $argc; $i++) { + $arg = $argv[$i]; + + if (strpos($arg, '--api-key=') === 0) { + $api_key = substr($arg, strlen('--api-key=')); + } elseif ($arg === '--force') { + $force = true; + } elseif ($arg === '--help' || $arg === '-h') { + $help = true; + } +} + +if ($help) { + echo "Ultimate Multisite Translation Script\n"; + echo "=====================================\n\n"; + echo "Usage: php scripts/translate.php [options]\n\n"; + echo "Options:\n"; + echo " --api-key=KEY DeepL API key (or set DEEPL_API_KEY environment variable)\n"; + echo " --force Force re-translation of existing files\n"; + echo " --help Show this help message\n\n"; + echo "This script will:\n"; + echo "1. Translate the main POT file to all DeepL supported languages\n"; + echo "2. Generate .mo files from the translated .po files\n\n"; + exit(0); +} + +try { + $translator = new MultisiteUltimateTranslator($api_key, $force); + $translator->translateAll(); + $translator->generateMoFiles(); + + echo "\nAll done! 🎉\n"; +} catch (Exception $e) { + echo "Error: " . $e->getMessage() . "\n"; + exit(1); +} \ No newline at end of file diff --git a/sunrise.php b/sunrise.php index cf7fc050c..3903d0c29 100644 --- a/sunrise.php +++ b/sunrise.php @@ -1,9 +1,9 @@

- Multisite Ultimate is deactivated, yet its sunrise.php file is still being loaded. If you have no intentions of continuing to use Multisite Ultimate and this was not a temporary deactivation, we recommend removing the define('SUNRISE', true); line from your wp-config.php file. Keeping Multisite Ultimate sunrise.php file active without Multisite Ultimate can lead to unexpected behaviors and it is not advised. + Ultimate Multisite is deactivated, yet its sunrise.php file is still being loaded. If you have no intentions of continuing to use Ultimate Multisite and this was not a temporary deactivation, we recommend removing the define('SUNRISE', true); line from your wp-config.php file. Keeping Ultimate Multisite sunrise.php file active without Ultimate Multisite can lead to unexpected behaviors and it is not advised.

diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 68567a448..401e39442 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -29,7 +29,7 @@ * Manually load the plugin being tested. */ function _manually_load_plugin() { - require dirname(__DIR__) . '/multisite-ultimate.php'; + require dirname(__DIR__) . '/ultimate-multisite.php'; } tests_add_filter('muplugins_loaded', '_manually_load_plugin'); diff --git a/tests/e2e/cypress/integration/plugin.spec.js b/tests/e2e/cypress/integration/plugin.spec.js index 2ccab0fcb..cf8c76d8a 100644 --- a/tests/e2e/cypress/integration/plugin.spec.js +++ b/tests/e2e/cypress/integration/plugin.spec.js @@ -9,14 +9,14 @@ describe("Plugin", () => { it("Should be able to deactivate the plugin", () => { cy.visit("/wp-admin/network/plugins.php"); cy.location("pathname").should("equal", "/wp-admin/network/plugins.php"); - cy.get("#deactivate-multisite-ultimate").scrollIntoView().should("be.visible").click(); - cy.get("#activate-multisite-ultimate").scrollIntoView().should("be.visible"); + cy.get("#deactivate-ultimate-multisite").scrollIntoView().should("be.visible").click(); + cy.get("#activate-ultimate-multisite").scrollIntoView().should("be.visible"); }); it("Should be able to activate the plugin", () => { cy.visit("/wp-admin/network/plugins.php"); cy.location("pathname").should("equal", "/wp-admin/network/plugins.php"); - cy.get("#activate-multisite-ultimate").scrollIntoView().should("be.visible").click(); + cy.get("#activate-ultimate-multisite").scrollIntoView().should("be.visible").click(); cy.location("pathname").should("eq", "/wp-admin/network/admin.php"); cy.location("search").should("include", "page=wp-ultimo-setup"); }); diff --git a/multisite-ultimate.php b/ultimate-multisite.php similarity index 80% rename from multisite-ultimate.php rename to ultimate-multisite.php index 0aa0cf756..ab1035ecc 100644 --- a/multisite-ultimate.php +++ b/ultimate-multisite.php @@ -1,11 +1,11 @@ . + * along with Ultimate Multisite. If not, see . * - * @author Arindo Duque and NextPress and the Multisite Ultimate Community + * @author Arindo Duque and NextPress and the Ultimate Multisite Community * @category Core * @package WP_Ultimo - * @version 2.4.3 + * @version 2.4.4 */ // Exit if accessed directly @@ -39,7 +39,7 @@ if (defined('WP_SANDBOX_SCRAPING') && WP_SANDBOX_SCRAPING) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; $wu_possible_conflicts = false; - foreach ( ['wp-ultimo/wp-ultimo.php', 'wp-multisite-waas/wp-multisite-waas.php'] as $plugin_file ) { + foreach ( ['wp-ultimo/wp-ultimo.php', 'wp-multisite-waas/wp-multisite-waas.php', 'multisite-ultimate/multisite-ultimate.php'] as $plugin_file ) { if ( is_plugin_active($plugin_file) ) { // old plugin still installed and active with the old name and path // and the user is trying to activate this plugin. So deactivate and return. @@ -79,7 +79,7 @@ if ( defined('WP_DEBUG') && WP_DEBUG ) { // This message is not translated as at this point it's too early to load translations. error_log( // phpcs:ignore - esc_html('Your installation of Multisite Ultimate is incomplete. If you installed Multisite Ultimate from GitHub, please refer to this document to set up your development environment: https://github.com/superdav42/wp-multisite-waas?tab=readme-ov-file#method-2-using-git-and-composer-for-developers') + esc_html('Your installation of Ultimate Multisite is incomplete. If you installed Ultimate Multisite from GitHub, please refer to this document to set up your development environment: https://github.com/superdav42/wp-multisite-waas?tab=readme-ov-file#method-2-using-git-and-composer-for-developers') ); } add_action( @@ -91,7 +91,7 @@ function () { ', '' ); diff --git a/uninstall.php b/uninstall.php index 7ec68e0e3..910fa071d 100644 --- a/uninstall.php +++ b/uninstall.php @@ -1,6 +1,6 @@ "$PHP_FILE" - - echo "The file $PHP_FILE has been updated with the fixed code." -#done \ No newline at end of file diff --git a/utils/ollama/src/refactor.php b/utils/ollama/src/refactor.php deleted file mode 100644 index 018af2607..000000000 --- a/utils/ollama/src/refactor.php +++ /dev/null @@ -1,227 +0,0 @@ -apiKey = 'sk-12df7cbb1e3c42aabc7828db0d9e4f18'; -//$config->url = 'https://mc.stonefamily.ro/openai'; -//$config->model = 'qwen2.5-coder'; -//$chat = new OpenAIChat($config); -//$response = $chat->generateText('what is one + one ?'); // will return something like "Two" -//var_dump($response); -//die(); -//$client = \ArdaGnsrn\Ollama\Ollama::client('https://mc.stonefamily.ro/ollama'); -$client = new \ArdaGnsrn\Ollama\OllamaClient('http://nas:11434', 'sk-12df7cbb1e3c42aabc7828db0d9e4f18' ); -//sk-12df7cbb1e3c42aabc7828db0d9e4f18 -$files = [ -// 'views/emails/admin/payment-received.php', -// 'views/emails/admin/domain-created.php', -// 'views/checkout/fields/field-password.php', -// 'views/checkout/paypal/confirm.php', -// 'views/checkout/templates/pricing-table/legacy.php', -// 'views/checkout/templates/order-summary/simple.php', -// 'views/checkout/templates/template-selection/clean.php', -// 'views/checkout/templates/template-selection/legacy.php', -// 'views/checkout/templates/template-selection/minimal.php', -// 'views/checkout/templates/order-bump/simple.php', -// 'views/checkout/templates/steps/clean.php', -// 'views/checkout/templates/steps/minimal.php', -// 'views/checkout/partials/pricing-table-list.php', -// 'views/checkout/register.php', -// 'views/dashboard-statistics/widget-mrr-growth.php', -// 'views/dashboard-statistics/widget-taxes.php', -// 'views/dashboard-statistics/widget-tax-by-code.php', -// 'views/dashboard-statistics/widget-tax-graph.php', -// 'views/dashboard-statistics/widget-new-accounts.php', -// 'views/dashboard-statistics/widget-revenue.php', -// 'views/dashboard-statistics/widget-tax-by-day.php', - 'views/dashboard-statistics/widget-countries.php', - 'views/dashboard-statistics/widget-forms.php', - 'views/settings/fields/field-multi_checkbox.php', - 'views/settings/fields/field-image.php', - 'views/memberships/product-list.php', - 'views/taxes/list.php', - 'views/system-info/system-info.php', - 'views/system-info/system-info-table.php', - 'views/events/widget-payload.php', - 'views/events/widget-message.php', - 'views/events/widget-initiator.php', - 'views/about.php', - 'views/domain/dns-table.php', - 'views/domain/log.php', - 'views/ui/selectize-templates.php', - 'views/ui/template-previewer.php', - 'views/ui/branding/footer.php', - 'views/ui/branding/header.php', - 'views/ui/jumper-trigger.php', - 'views/ui/container-toggle.php', - 'views/ui/toolbox.php', - 'views/ui/jumper.php', - 'views/broadcast/widget-targets.php', - 'views/sites/edit-placeholders.php', - 'views/payments/line-item-actions.php', - 'views/payments/tax-details.php', - 'views/wizards/setup/requirements_table.php', - 'views/wizards/setup/installation_steps.php', - 'views/wizards/setup/support_terms.php', - 'views/wizards/setup/ready.php', - 'views/wizards/host-integrations/cloudflare-instructions.php', - 'views/wizards/host-integrations/runcloud-instructions.php', - 'views/wizards/host-integrations/configuration.php', - 'views/wizards/host-integrations/configuration-results.php', - 'views/wizards/host-integrations/test.php', - 'views/wizards/host-integrations/activation.php', - 'views/wizards/host-integrations/ready.php', - 'views/wizards/host-integrations/gridpane-instructions.php', - 'views/email/widget-placeholders.php', - 'views/legacy/signup/signup-steps-navigation.php', - 'views/legacy/signup/signup-nav-links.php', - 'views/legacy/signup/pricing-table/coupon-code.php', - 'views/legacy/signup/pricing-table/frequency-selector.php', - 'views/legacy/signup/pricing-table/no-plans.php', - 'views/legacy/signup/pricing-table/plan.php', - 'views/legacy/signup/steps/step-domain-url-preview.php', - 'views/legacy/signup/signup-main.php', - 'views/admin-notices.php', - 'views/checkout/fields/field-group.php', - 'views/checkout/fields/field-products.php', - 'views/checkout/fields/field-checkbox-multi.php', - 'views/checkout/fields/field-select.php', - 'views/checkout/fields/form.php', - 'views/checkout/fields/field-hidden.php', - 'views/checkout/fields/field-submit.php', - 'views/checkout/fields/field-checkbox.php', - 'views/checkout/fields/partials/field-description.php', - 'views/checkout/fields/partials/field-title.php', - 'views/checkout/fields/field-toggle.php', - 'views/checkout/fields/field-radio.php', - 'views/checkout/fields/field-payment-methods.php', - 'views/checkout/fields/field-html.php', - 'views/checkout/fields/field-text.php', - 'views/checkout/fields/field-note.php', - 'views/checkout/templates/pricing-table/list.php', - 'views/checkout/templates/steps/legacy.php', - 'views/checkout/templates/period-selection/clean.php', - 'views/checkout/templates/period-selection/legacy.php', - 'views/dashboard-statistics/filter.php', - 'views/settings/fields/field-wp_editor.php', - 'views/settings/fields/field-heading.php', - 'views/settings/fields/field-select.php', - 'views/settings/fields/field-heading_collapsible.php', - 'views/settings/fields/field-select2.php', - 'views/settings/fields/field-checkbox.php', - 'views/settings/fields/field-textarea.php', - 'views/settings/fields/field-color.php', - 'views/settings/fields/field-ajax_button.php', - 'views/settings/fields/field-text.php', - 'views/settings/fields/field-note.php', - 'views/base/edit/widget-save.php', - 'views/base/dash.php', - 'views/base/list.php', - 'views/base/edit.php', - 'views/base/wizard.php', - 'views/base/grid.php', - 'views/base/empty-state.php', - 'views/dashboard-widgets/site-maintenance.php', - 'views/broadcast/emails/base.php', - 'views/wizards/setup/default.php', - 'views/wizards/host-integrations/serverpilot-instructions.php', - 'views/dynamic-styles/template-previewer.php', - 'views/legacy/signup/pricing-table/pricing-table.php', - 'views/legacy/signup/steps/step-default.php', - 'views/wizards/host-integrations/cloudways-instructions.php', - 'views/settings/widget-settings-body.php', - 'views/base/wizard-body.php', - 'views/events/ascii-badge.php', - 'views/classes.php', -]; -$chat = new Chat($client); - -//foreach ( $files as $file) { - echo 'php ' . __DIR__ . '/../../../vendor/bin/phpcs -q --parallel=4 --report=json ' . __DIR__ . '/../../../'; - $json = shell_exec( 'php ' . __DIR__ . '/../../../vendor/bin/phpcs -q --parallel=4 --report=json ' . __DIR__ . '/../../../' ); -// $output = explode( "\n", $json ); -// $lines = file_get_contents( __DIR__ . '/../../../' . $file); -// $prompt = "```\n" . $lines . "```\n\n"; - - $problems = json_decode( $json, true ); -// var_dump( $problems ); - if(!$problems) { - var_dump($json); - die(); - } - foreach ( $problems['files'] as $file => $f ) { - $file_changed = false; - $lines = file( __DIR__ . '/../../../' . $file ); - - foreach ( $f['messages'] as $message ) { - if ( 'WordPress.WP.I18n.MissingTranslatorsComment' !== $message['source'] ) { - continue; - } - $context = ''; - for ( $i = 1; $i > 0; $i -- ) { - $context .= $lines [ $message['line'] - $i ]; - } - $prompt = "I am working on a WordPress plugin and I am using PHP Code Sniffer to check for errors.\nPlease fix the following error reported by PHP Code Sniffer in the below code:\n"; - $prompt .= " Error: " . $message['source'] . ':' . " " . $message['message'] . "\n```\n" . $context . "\n```"; - - echo $prompt; - $response = $chat->create( - [ - 'model' => 'qwen2.5-coder:latest', - 'messages' => [ - [ - 'role' => 'system', - 'content' => 'You are an expert PHP programming specializing in WordPress development. You will take PHP code and input and respond with the PHP code fixed and enhanced. You only produce valid PHP 7.4+ code. Please do not explain the code only output the fixed code if necessary. When adding a translators: comment use the short // comment syntax and place the comment in the line immediately before the translated string. If the translated string is wrapped in `.', - ], - [ - 'role' => 'user', - 'content' => $prompt, - ], - ], - ] - ); - - preg_match( '/```php(.*?)```/s', $response->message->content, $matches ); - $newcode = $matches[1] ?? ''; - echo $newcode; - $lines [ $message['line'] - 1 ] = $newcode; - - $descriptorspec = array( - 0 => array( "pipe", "r" ), // stdout is a pipe that the child will write to - ); - - $cwd = '/tmp'; - $env = array( 'some_option' => 'aeiou' ); - - $process = proc_open( 'php -l', $descriptorspec, $pipes ); - - if ( is_resource( $process ) ) { - fwrite( $pipes[0], join( '', $lines ) ); - $return_value = proc_close( $process ); - - echo "command returned $return_value\n"; - if ( $return_value != 0 ) { - // bad code - $lines[ $message['line'] - 1 ] = $context; - } else { - $file_changed = true; - } - } - - } - - if ( $file_changed ) { - file_put_contents( __DIR__ . '/../../../' . $file . '_qwen.php', join( '', $lines ) ); - passthru( 'php ' . __DIR__ . '/../../../vendor/bin/phpcbf ' . __DIR__ . '/../../../' . $file . '_qwen.php' ); - } - } -//} -// -// echo "processing $file of " . strlen($code) . "\n"; - - -// file_put_contents(__DIR__ . '/../../../' . $file . '.new.php', $newcode); -//} \ No newline at end of file diff --git a/views/admin-pages/fields/field-dashicon.php b/views/admin-pages/fields/field-dashicon.php index b10c22cc8..55ec07acb 100644 --- a/views/admin-pages/fields/field-dashicon.php +++ b/views/admin-pages/fields/field-dashicon.php @@ -29,7 +29,7 @@
@@ -123,7 +123,7 @@ class="wu-w-64 wu-px-3 wu-py-2 wu-text-sm wu-border wu-border-gray-300 wu-rounde - +
@@ -137,16 +137,16 @@ class="wu-bg-white wu-border wu-border-gray-200 wu-rounded-lg wu-shadow-sm wu-ov
- +
- +
- +
- +
@@ -165,7 +165,7 @@ class="wu-w-full wu-rounded-lg wu-bg-gray-100 wu-border wu-border-gray-200 wu-r

{{ addon.name }}

- {{ addon.extensions['wp-update-server-plugin'].author.display_name }} + {{ addon.extensions['wp-update-server-plugin'].author.display_name }}

@@ -180,11 +180,11 @@ class="wu-w-full wu-rounded-lg wu-bg-gray-100 wu-border wu-border-gray-200 wu-r
- + {{ addon.last_updated }}
- {{ addon.active_installs }}+ + {{ addon.active_installs }}+
@@ -205,7 +205,7 @@ class="wu-w-full wu-rounded-lg wu-bg-gray-100 wu-border wu-border-gray-200 wu-r
- + @@ -218,7 +218,7 @@ class="wu-px-4 wu-py-2 wu-text-sm wu-font-medium wu-text-gray-500 wu-bg-gray-100 disabled > - + - + - + - +
@@ -267,8 +267,8 @@ class="wu-text-center wu-py-12"
-

-

+

+

diff --git a/views/base/addons/details.php b/views/base/addons/details.php index 31de25832..8106a5d09 100644 --- a/views/base/addons/details.php +++ b/views/base/addons/details.php @@ -28,32 +28,32 @@ - + =' + step_name + '&field=' + field.id" > - + | @@ -105,38 +105,38 @@ class="wubox" + > + >
- + {{ field.type }} - + {{ field.id }} - + diff --git a/views/base/checkout-forms/steps.php b/views/base/checkout-forms/steps.php index 3124c0f01..1aa909aa5 100644 --- a/views/base/checkout-forms/steps.php +++ b/views/base/checkout-forms/steps.php @@ -18,7 +18,7 @@ - + @@ -30,27 +30,27 @@
  • - - + +
  • - +
  • @@ -94,7 +94,7 @@ class="postbox wu-my-4"

    - {{ step.name }} + {{ step.name }}

    @@ -107,11 +107,11 @@ class="postbox wu-my-4" - guests', 'multisite-ultimate')); ?> + guests', 'ultimate-multisite')); ?> - logged-in users', 'multisite-ultimate')); ?> + logged-in users', 'ultimate-multisite')); ?> @@ -141,28 +141,28 @@ class="wu-bg-gray-100 wu-px-4 wu-py-3 wu--m-3 wu-mt-3 wu-border-t wu-border-l-0 - + - +
  • - - +
  • - =' + step.id" type="button" class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none hover:wu-shadow-none focus:wu-shadow-none wu-text-gray-600 hover:wu-text-gray-800 wubox wu-p-4 md:wu-p-0 wu-inline-block"> - +
  • @@ -221,11 +221,11 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none @@ -234,7 +234,7 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none
    - +
    @@ -244,7 +244,7 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none
    - +
    @@ -255,7 +255,7 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none
    @@ -276,7 +276,7 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none - + @@ -288,27 +288,27 @@ class="wu-uppercase wu-text-2xs wu-font-semibold wu-no-underline wu-outline-none
  • - - + +
  • - +
  • diff --git a/views/base/customers/grid-item.php b/views/base/customers/grid-item.php index c4f4a9d5b..8c1adbc1b 100644 --- a/views/base/customers/grid-item.php +++ b/views/base/customers/grid-item.php @@ -56,12 +56,12 @@ class="wu--mt-8 wu-py-8 wu-bg-gray-100 wu-bg-cover wu-bg-center" get_email_address()); ?> - +
    - is_vip() ? esc_html__('VIP Customer', 'multisite-ultimate') : esc_html__('Regular Customer', 'multisite-ultimate'); ?> + is_vip() ? esc_html__('VIP Customer', 'ultimate-multisite') : esc_html__('Regular Customer', 'ultimate-multisite'); ?>
    @@ -70,32 +70,32 @@ class="wu--mt-8 wu-py-8 wu-bg-gray-100 wu-bg-cover wu-bg-center"
    - + is_online()) { - echo '' . esc_html__('Online', 'multisite-ultimate'); + echo '' . esc_html__('Online', 'ultimate-multisite'); } elseif ( '0000-00-00 00:00:00' !== $item->get_last_login() ) { - echo esc_html(human_time_diff(strtotime($item->get_last_login()), time())) . ' ' . esc_html__('ago', 'multisite-ultimate'); + echo esc_html(human_time_diff(strtotime($item->get_last_login()), time())) . ' ' . esc_html__('ago', 'ultimate-multisite'); } else { - esc_html_e('Never logged in', 'multisite-ultimate'); + esc_html_e('Never logged in', 'ultimate-multisite'); } ?>
    - + - get_date_registered()), time()) . ' ' . __('ago', 'multisite-ultimate')); ?> + get_date_registered()), time()) . ' ' . __('ago', 'ultimate-multisite')); ?>
    - +
    @@ -106,7 +106,7 @@ class="wu--mt-8 wu-py-8 wu-bg-gray-100 wu-bg-cover wu-bg-center" if ( ! empty($item->get_memberships())) { ?> - + - +
    @@ -126,7 +126,7 @@ class="wu--mt-8 wu-py-8 wu-bg-gray-100 wu-bg-cover wu-bg-center" // Concatenate switch to url $is_modal_switch_to = \WP_Ultimo\User_Switching::get_instance()->check_user_switching_is_activated() ? '' : 'wubox'; - echo $item->get_user_id() !== get_current_user_id() ? sprintf('%s', esc_html__('Switch To', 'multisite-ultimate'), esc_attr($is_modal_switch_to), esc_attr(\WP_Ultimo\User_Switching::get_instance()->render($item->get_user_id())), esc_html__('Switch To', 'multisite-ultimate')) : esc_html__('None', 'multisite-ultimate'); + echo $item->get_user_id() !== get_current_user_id() ? sprintf('%s', esc_html__('Switch To', 'ultimate-multisite'), esc_attr($is_modal_switch_to), esc_attr(\WP_Ultimo\User_Switching::get_instance()->render($item->get_user_id())), esc_html__('Switch To', 'ultimate-multisite')) : esc_html__('None', 'ultimate-multisite'); ?>
    @@ -138,11 +138,11 @@ class="wu--mt-8 wu-py-8 wu-bg-gray-100 wu-bg-cover wu-bg-center" - +
    diff --git a/views/base/dash.php b/views/base/dash.php index 98db63bf4..95bf01bf8 100644 --- a/views/base/dash.php +++ b/views/base/dash.php @@ -44,7 +44,7 @@ * Allow plugin developers to add additional buttons to list pages * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_dash_after_title', $page); ?> diff --git a/views/base/edit.php b/views/base/edit.php index 539897994..1beb6d171 100644 --- a/views/base/edit.php +++ b/views/base/edit.php @@ -79,7 +79,7 @@ * * @since 1.8.2 * @param object Object holding the information - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_edit_page_after_title_input', $object, $page); ?> @@ -213,7 +213,7 @@ * * @since 1.8.2 * @param object Object holding the information - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_edit_footer', $object, $page); ?> diff --git a/views/base/edit/display-notes.php b/views/base/edit/display-notes.php index 6b39a18a1..d9f2685e5 100644 --- a/views/base/edit/display-notes.php +++ b/views/base/edit/display-notes.php @@ -13,8 +13,8 @@ __('No notes yet.', 'multisite-ultimate'), - 'sub_message' => __('Use the "Add new Note" to create the first one.', 'multisite-ultimate'), + 'message' => __('No notes yet.', 'ultimate-multisite'), + 'sub_message' => __('Use the "Add new Note" to create the first one.', 'ultimate-multisite'), 'link_url' => false, 'display_background_image' => false, ] @@ -79,7 +79,7 @@ + title=""> diff --git a/views/base/edit/editor-customizer.php b/views/base/edit/editor-customizer.php index 3a493d44d..75a9a4fe9 100644 --- a/views/base/edit/editor-customizer.php +++ b/views/base/edit/editor-customizer.php @@ -15,7 +15,7 @@ - + @@ -33,7 +33,7 @@ - + diff --git a/views/base/edit/widget-list-table.php b/views/base/edit/widget-list-table.php index a40df68ad..4a43b5fde 100644 --- a/views/base/edit/widget-list-table.php +++ b/views/base/edit/widget-list-table.php @@ -31,7 +31,7 @@ - + diff --git a/views/base/edit/widget-tabs.php b/views/base/edit/widget-tabs.php index 88fc647cd..7c3bbc405 100644 --- a/views/base/edit/widget-tabs.php +++ b/views/base/edit/widget-tabs.php @@ -35,7 +35,7 @@ class="wu-block md:wu-px-3 wu-w-full md:wu-w-1/4 wu-bg-gray-100 md:wu-border-sol   - + @@ -81,13 +81,13 @@ class="wu-cursor-pointer wu-block md:wu-py-2 md:wu-px-4 wu-p-4 wu-no-underline w - + - + @@ -103,7 +103,7 @@ class="wu-cursor-pointer wu-block md:wu-py-2 md:wu-px-4 wu-p-4 wu-no-underline w - + diff --git a/views/base/filter.php b/views/base/filter.php index b22652ca1..f55afc444 100644 --- a/views/base/filter.php +++ b/views/base/filter.php @@ -49,11 +49,11 @@ class=" - +
    - +
    @@ -112,7 +112,7 @@ class="wu-row wu-flex wu-p-4 wu-mt-0 wu-my-3 wu-bg-gray-100 wu-rounded wu-border class="wu-uppercase wu-font-semibold wu-text-gray-600 wu-text-xs" v-if="index === 0" > - + - - + + @@ -153,24 +153,24 @@ class="wu-uppercase wu-font-semibold wu-text-gray-600 wu-text-xs"
    @@ -180,7 +180,7 @@ class="wu-uppercase wu-font-semibold wu-text-gray-600 wu-text-xs" @@ -195,7 +195,7 @@ class="form-control wu-w-full" class="button" v-show="index > 0" > - + @@ -208,7 +208,7 @@ class="button" class="button button-primary wu-float-right" v-show="index === filters.length - 1" > - + diff --git a/views/base/list.php b/views/base/list.php index 9fc652e3a..61ee39402 100644 --- a/views/base/list.php +++ b/views/base/list.php @@ -45,7 +45,7 @@ * Allow plugin developers to add additional buttons to list pages * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_list_after_title', $page); ?> @@ -110,7 +110,7 @@ * Allow plugin developers to add scripts to the bottom of the page * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_list_footer', $page); ?> diff --git a/views/base/products/grid-item.php b/views/base/products/grid-item.php index 4c69ed0d2..e3e17efdc 100644 --- a/views/base/products/grid-item.php +++ b/views/base/products/grid-item.php @@ -63,11 +63,11 @@ class="wu-w-full" - + diff --git a/views/base/responsive-table-row.php b/views/base/responsive-table-row.php index f380ac725..1c5c77b4a 100644 --- a/views/base/responsive-table-row.php +++ b/views/base/responsive-table-row.php @@ -129,7 +129,7 @@
    - + diff --git a/views/base/settings.php b/views/base/settings.php index 953816e65..fb5cd4b4a 100644 --- a/views/base/settings.php +++ b/views/base/settings.php @@ -45,7 +45,7 @@ * Allow plugin developers to add additional buttons to list pages * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_wizard_after_title', $page); ?> @@ -55,7 +55,7 @@
    -

    +

    @@ -90,7 +90,7 @@ class="wu-w-full"
  • - +
  • @@ -185,7 +185,7 @@ class="wu-block wu-py-2 wu-px-4 wu-no-underline wu-text-sm wu-rounded
  • - +
  • $section) : ?> @@ -291,7 +291,7 @@ class="wu-block wu-py-2 wu-px-4 wu-no-underline wu-text-sm wu-rounded diff --git a/views/base/sites/grid-item.php b/views/base/sites/grid-item.php index 4c6da7d29..08815c584 100644 --- a/views/base/sites/grid-item.php +++ b/views/base/sites/grid-item.php @@ -51,22 +51,22 @@ class="wu-w-full wu-h-auto wu-image-preview" -
    - + + - + @@ -76,7 +76,7 @@ class="wu-w-full wu-h-auto wu-image-preview"   - + diff --git a/views/base/wizard.php b/views/base/wizard.php index 981ef084b..fcf721b63 100644 --- a/views/base/wizard.php +++ b/views/base/wizard.php @@ -50,7 +50,7 @@ * Allow plugin developers to add additional buttons to list pages * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_wizard_after_title', $page); ?> @@ -162,7 +162,7 @@ * Allow plugin developers to add scripts to the bottom of the page * * @since 1.8.2 - * @param WU_Page Multisite Ultimate Page instance + * @param WU_Page Ultimate Multisite Page instance */ do_action('wu_page_wizard_footer', $page); ?> diff --git a/views/base/wizard/submit-box.php b/views/base/wizard/submit-box.php index fa31aac5e..7552e94da 100644 --- a/views/base/wizard/submit-box.php +++ b/views/base/wizard/submit-box.php @@ -11,13 +11,13 @@
    - + diff --git a/views/broadcast/emails/base.php b/views/broadcast/emails/base.php index 64a7fce61..3fedd22bd 100644 --- a/views/broadcast/emails/base.php +++ b/views/broadcast/emails/base.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/emails/base.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/broadcast/emails/plain.php b/views/broadcast/emails/plain.php index d050fe7d9..c97679e92 100644 --- a/views/broadcast/emails/plain.php +++ b/views/broadcast/emails/plain.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/emails/plain.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/broadcast/widget-targets.php b/views/broadcast/widget-targets.php index 1bea71ff0..20198ba4a 100644 --- a/views/broadcast/widget-targets.php +++ b/views/broadcast/widget-targets.php @@ -55,7 +55,7 @@ - + diff --git a/views/checkout/fields/field-html.php b/views/checkout/fields/field-html.php index bb2716dc2..d0e79d278 100644 --- a/views/checkout/fields/field-html.php +++ b/views/checkout/fields/field-html.php @@ -4,7 +4,7 @@ * * @since 2.0.0 */ -defined( 'ABSPATH' ) || exit; +defined('ABSPATH') || exit; ?> @@ -12,19 +12,19 @@
    - $field, - ] - ); + /** + * Adds the partial title template. + * + * @since 2.0.0 + */ + wu_get_template( + 'checkout/fields/partials/field-title', + [ + 'field' => $field, + ] + ); /** * Adds the partial description template. @@ -40,12 +40,12 @@ ?>
    - content, wu_kses_allowed_html()); ?> + content ? wp_kses($field->content, wu_kses_allowed_html()) : ''; ?>
    wrapper_classes)); ?>" print_wrapper_html_attributes(); ?>> - desc, wu_kses_allowed_html()); ?> + desc ?? '', wu_kses_allowed_html()); ?>
    diff --git a/views/checkout/fields/field-password.php b/views/checkout/fields/field-password.php index a916537b1..b4dc1a182 100644 --- a/views/checkout/fields/field-password.php +++ b/views/checkout/fields/field-password.php @@ -33,7 +33,7 @@ meter) : ?> - + diff --git a/views/checkout/fields/form.php b/views/checkout/fields/form.php index 9fde4829b..f64793dc9 100644 --- a/views/checkout/fields/form.php +++ b/views/checkout/fields/form.php @@ -24,7 +24,7 @@ - + render_fields(); ?> wrap_in_form_tag) : ?> @@ -32,6 +32,6 @@ - wrap_tag); ?>> + wrap_tag); ?>> diff --git a/views/checkout/partials/pricing-table-list.php b/views/checkout/partials/pricing-table-list.php index a6622da9f..598687d24 100644 --- a/views/checkout/partials/pricing-table-list.php +++ b/views/checkout/partials/pricing-table-list.php @@ -16,7 +16,7 @@
    - +
    @@ -35,7 +35,7 @@
    - +
    diff --git a/views/checkout/paypal/confirm.php b/views/checkout/paypal/confirm.php index 7e5fa0db5..8aaa5faa7 100644 --- a/views/checkout/paypal/confirm.php +++ b/views/checkout/paypal/confirm.php @@ -16,7 +16,7 @@ $date = wp_date(get_option('date_format'), strtotime($membership->get_date_trial_end(), wu_get_current_time('timestamp', true))); // translators: %1$s is the date it will end - $notes[] = sprintf(__('Your trial period will end on %1$s.', 'multisite-ultimate'), $date); + $notes[] = sprintf(__('Your trial period will end on %1$s.', 'ultimate-multisite'), $date); } $original_cart = $payment->get_meta('wu_original_cart'); @@ -37,29 +37,29 @@ $subtotal = wu_format_currency($payment->get_subtotal(), $payment->get_currency()); if ($is_trial_setup) { // translators: %1$s is the start date, %2$s is the subtotal amount, and %3$s is the description of how often. - $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s %3$s.', 'multisite-ultimate'), $date, $subtotal, $desc); + $notes[] = sprintf(__('Your updated membership will start on $1$s, from that date you will be billed %2$s %3$s.', 'ultimate-multisite'), $date, $subtotal, $desc); } else { $date_renew = wp_date(get_option('date_format'), strtotime($membership->get_date_expiration(), wu_get_current_time('timestamp', true))); // translators: $1$s the date membership will start, $2$s amount to be billed, %3$s the description of how often. - $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'multisite-ultimate'), $date_renew, $subtotal, $desc); + $notes[] = sprintf(__('Your updated membership will start on %1$s, from that date you will be billed %2$s %3$s.', 'ultimate-multisite'), $date_renew, $subtotal, $desc); } } elseif ($is_trial_setup) { $initial_amount_format = wu_format_currency($membership->get_initial_amount(), $payment->get_currency()); // translators: %1$s is the membership level, %2$s is the initial amount, and %3$s is the currency description - $notes[] = sprintf(__('After the first payment of %1$s you will be billed %2$s %3$s.', 'multisite-ultimate'), $initial_amount_format, $recurring_total_format, $desc); + $notes[] = sprintf(__('After the first payment of %1$s you will be billed %2$s %3$s.', 'ultimate-multisite'), $initial_amount_format, $recurring_total_format, $desc); } else { // translators: $1$s amount to be billed, $2$s how often - $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'multisite-ultimate'), $recurring_total_format, $desc); + $notes[] = sprintf(__('After this payment you will be billed %1$s %2$s.', 'ultimate-multisite'), $recurring_total_format, $desc); } } else { $recurring_total_format = wu_format_currency($recurring_total, $payment->get_currency()); if ($is_trial_setup) { // translators: $1$s amount to be billed, $2$s how often - $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'multisite-ultimate'), $recurring_total_format, $desc); + $notes[] = sprintf(__('From that date, you will be billed %1$s %2$s.', 'ultimate-multisite'), $recurring_total_format, $desc); } else { // translators: $1$s how often - $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'multisite-ultimate'), $desc); + $notes[] = sprintf(__('After this payment you will be billed %1$s.', 'ultimate-multisite'), $desc); } } } @@ -72,7 +72,7 @@
    -

    +

    @@ -81,8 +81,8 @@

    - -
    + +

    @@ -91,8 +91,8 @@ - - + + @@ -118,7 +118,7 @@ - + @@ -126,14 +126,14 @@ - + - + @@ -164,7 +164,7 @@
    diff --git a/views/checkout/register.php b/views/checkout/register.php index bf80c1a05..1e8238285 100644 --- a/views/checkout/register.php +++ b/views/checkout/register.php @@ -14,7 +14,7 @@ 'product-fields', $product_fields, [ - 'title' => __('Products', 'multisite-ultimate'), + 'title' => __('Products', 'ultimate-multisite'), 'views' => 'checkout/fields', ] ); diff --git a/views/checkout/templates/order-bump/simple.php b/views/checkout/templates/order-bump/simple.php index 9efa01c0d..c7e5025c1 100644 --- a/views/checkout/templates/order-bump/simple.php +++ b/views/checkout/templates/order-bump/simple.php @@ -42,11 +42,11 @@
    - +
    - +
    diff --git a/views/checkout/templates/order-summary/simple.php b/views/checkout/templates/order-summary/simple.php index 1418e16e4..4a95c7f73 100644 --- a/views/checkout/templates/order-summary/simple.php +++ b/views/checkout/templates/order-summary/simple.php @@ -11,7 +11,7 @@
    - +
    @@ -24,31 +24,31 @@ @@ -63,7 +63,7 @@ @@ -73,13 +73,13 @@ @@ -185,7 +185,7 @@ @@ -203,7 +203,7 @@ @@ -227,7 +227,7 @@ - + @@ -248,7 +248,7 @@
  • - +
  • @@ -256,12 +256,12 @@ - + diff --git a/views/checkout/templates/period-selection/clean.php b/views/checkout/templates/period-selection/clean.php index 684f6bf0d..b544fd738 100644 --- a/views/checkout/templates/period-selection/clean.php +++ b/views/checkout/templates/period-selection/clean.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/pricing-table/frequency-selector.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/checkout/templates/period-selection/legacy.php b/views/checkout/templates/period-selection/legacy.php index 4c71662cf..7e5445749 100644 --- a/views/checkout/templates/period-selection/legacy.php +++ b/views/checkout/templates/period-selection/legacy.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/pricing-table/frequency-selector.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/checkout/templates/pricing-table/legacy.php b/views/checkout/templates/pricing-table/legacy.php index 0174c6796..a6a518bf1 100644 --- a/views/checkout/templates/pricing-table/legacy.php +++ b/views/checkout/templates/pricing-table/legacy.php @@ -103,7 +103,7 @@ function ($all_have_same_duration, $product) use ($first_recurring_product) {
    - +
    @@ -132,7 +132,7 @@ class="get_id()}"); ?> lift wu-plan p /** * Featured tag. */ - echo esc_html(apply_filters('wu_featured_plan_label', __('Featured Plan', 'multisite-ultimate'), $product)); + echo esc_html(apply_filters('wu_featured_plan_label', __('Featured Plan', 'ultimate-multisite'), $product)); ?> @@ -160,7 +160,7 @@ class="get_id()}"); ?> lift wu-plan p - + @@ -180,7 +180,7 @@ class="get_id()}"); ?> lift wu-plan p - + @@ -258,7 +258,7 @@ class="get_id()}"); ?> lift wu-plan p /** * Period Unit. */ - $symbol = $product->is_recurring() ? __('/mo', 'multisite-ultimate') : ''; + $symbol = $product->is_recurring() ? __('/mo', 'ultimate-multisite') : ''; echo esc_html((! $symbol_left ? wu_get_currency_symbol() : '') . ' ' . $symbol); @@ -306,8 +306,8 @@ class="get_id()}"); ?> lift wu-plan p * Display quarterly and Annually plans, to be hidden. */ $prices_total = [ - 3 => __('every 3 months', 'multisite-ultimate'), - 12 => __('yearly', 'multisite-ultimate'), + 3 => __('every 3 months', 'ultimate-multisite'), + 12 => __('yearly', 'ultimate-multisite'), ]; foreach ($prices_total as $freq => $string) { @@ -317,7 +317,7 @@ class="get_id()}"); ?> lift wu-plan p echo "
  • -
  • "; } else { // translators: %1$s: the price, %2$s: the period. - $text = sprintf(__('%1$s, billed %2$s', 'multisite-ultimate'), wu_format_currency($price_variation['amount']), $string); + $text = sprintf(__('%1$s, billed %2$s', 'ultimate-multisite'), wu_format_currency($price_variation['amount']), $string); $extra_check_for_annual = ''; @@ -347,7 +347,7 @@ class="get_id()}"); ?> lift wu-plan p value="get_id()); ?>" class="button button-primary button-next" > - + diff --git a/views/checkout/templates/steps/clean.php b/views/checkout/templates/steps/clean.php index 2b21f024f..3e47cca9b 100644 --- a/views/checkout/templates/steps/clean.php +++ b/views/checkout/templates/steps/clean.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/signup-steps-navigation.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -22,7 +22,7 @@ ?> - - - + + @@ -92,7 +92,7 @@ = 0) : ?> - + @@ -109,7 +109,7 @@
    - +
    diff --git a/views/dashboard-statistics/widget-forms.php b/views/dashboard-statistics/widget-forms.php index 2788cb865..279030b55 100644 --- a/views/dashboard-statistics/widget-forms.php +++ b/views/dashboard-statistics/widget-forms.php @@ -16,8 +16,8 @@ $data = []; $slug = 'signup_forms'; $headers = [ - __('Checkout Form', 'multisite-ultimate'), - __('Signups', 'multisite-ultimate'), + __('Checkout Form', 'ultimate-multisite'), + __('Signups', 'ultimate-multisite'), ]; foreach ($forms as $form) { @@ -50,8 +50,8 @@
    - - + + @@ -63,7 +63,7 @@ @@ -81,7 +81,7 @@
    - +
    diff --git a/views/dashboard-statistics/widget-most-visited-sites.php b/views/dashboard-statistics/widget-most-visited-sites.php index cc3fe1cdc..211f4444c 100644 --- a/views/dashboard-statistics/widget-most-visited-sites.php +++ b/views/dashboard-statistics/widget-most-visited-sites.php @@ -17,8 +17,8 @@ $data = []; $slug = 'most_visited_sites'; $headers = [ - __('Site', 'multisite-ultimate'), - __('Visits', 'multisite-ultimate'), + __('Site', 'ultimate-multisite'), + __('Visits', 'ultimate-multisite'), ]; foreach ($sites as $site_visits) { @@ -54,8 +54,8 @@
    - - + + @@ -71,17 +71,17 @@
    - + - + - + - + @@ -89,7 +89,7 @@
    @@ -105,7 +105,7 @@
    - +
    diff --git a/views/dashboard-statistics/widget-mrr-growth.php b/views/dashboard-statistics/widget-mrr-growth.php index f2b676902..b23c49a8b 100644 --- a/views/dashboard-statistics/widget-mrr-growth.php +++ b/views/dashboard-statistics/widget-mrr-growth.php @@ -13,7 +13,7 @@ - + diff --git a/views/dashboard-statistics/widget-new-accounts.php b/views/dashboard-statistics/widget-new-accounts.php index c0b5aad8a..e8fa7ee52 100644 --- a/views/dashboard-statistics/widget-new-accounts.php +++ b/views/dashboard-statistics/widget-new-accounts.php @@ -16,7 +16,7 @@
    - +
    @@ -24,8 +24,8 @@
    get_currency())); ?>
    get_currency())); ?>
    get_total(), $payment->get_currency())); ?>
    - + - + - + - + - + - + - + - + - + @@ -95,7 +95,7 @@ - + @@ -169,7 +169,7 @@ - + - + - +
    |⟶ |⟶
    signup_form); ?> signup_form) : ?> - + count); ?>
    - count, 'multisite-ultimate')), esc_html($site_visits->count)); ?> + count, 'ultimate-multisite')), esc_html($site_visits->count)); ?>
    - - + + @@ -39,7 +39,7 @@ diff --git a/views/dashboard-statistics/widget-revenue.php b/views/dashboard-statistics/widget-revenue.php index 391082272..15110c34a 100644 --- a/views/dashboard-statistics/widget-revenue.php +++ b/views/dashboard-statistics/widget-revenue.php @@ -11,7 +11,7 @@
      -
    • > +
    • >
      @@ -22,7 +22,7 @@
      - +
    • @@ -38,7 +38,7 @@
      - +
      @@ -54,7 +54,7 @@
      - +
      @@ -67,8 +67,8 @@
    - - + + @@ -93,7 +93,7 @@ diff --git a/views/dashboard-statistics/widget-tax-by-code.php b/views/dashboard-statistics/widget-tax-by-code.php index 14da96877..425a4fe6f 100644 --- a/views/dashboard-statistics/widget-tax-by-code.php +++ b/views/dashboard-statistics/widget-tax-by-code.php @@ -16,10 +16,10 @@ $data = []; $slug = 'taxes_by_code'; $headers = [ - __('Tax', 'multisite-ultimate'), - __('Rate', 'multisite-ultimate'), - __('Orders', 'multisite-ultimate'), - __('Tax Total', 'multisite-ultimate'), + __('Tax', 'ultimate-multisite'), + __('Rate', 'ultimate-multisite'), + __('Orders', 'ultimate-multisite'), + __('Tax Total', 'ultimate-multisite'), ]; foreach ($taxes_by_rate as $tax_line) { @@ -47,10 +47,10 @@ - - - - + + + + @@ -73,7 +73,7 @@ diff --git a/views/dashboard-statistics/widget-tax-by-day.php b/views/dashboard-statistics/widget-tax-by-day.php index b93180888..5beae6f27 100644 --- a/views/dashboard-statistics/widget-tax-by-day.php +++ b/views/dashboard-statistics/widget-tax-by-day.php @@ -16,11 +16,11 @@ $data = []; $slug = 'taxes_by_day'; $headers = [ - __('Day', 'multisite-ultimate'), - __('Orders', 'multisite-ultimate'), - __('Total Sales', 'multisite-ultimate'), - __('Tax Total', 'multisite-ultimate'), - __('Net Profit', 'multisite-ultimate'), + __('Day', 'ultimate-multisite'), + __('Orders', 'ultimate-multisite'), + __('Total Sales', 'ultimate-multisite'), + __('Tax Total', 'ultimate-multisite'), + __('Net Profit', 'ultimate-multisite'), ]; foreach ($taxes_by_day as $day => $tax_line) { @@ -49,11 +49,11 @@ - - - - - + + + + + @@ -77,7 +77,7 @@ diff --git a/views/dashboard-statistics/widget-tax-graph.php b/views/dashboard-statistics/widget-tax-graph.php index f2b676902..b23c49a8b 100644 --- a/views/dashboard-statistics/widget-tax-graph.php +++ b/views/dashboard-statistics/widget-tax-graph.php @@ -13,7 +13,7 @@ - + diff --git a/views/dashboard-statistics/widget-taxes.php b/views/dashboard-statistics/widget-taxes.php index f2b676902..b23c49a8b 100644 --- a/views/dashboard-statistics/widget-taxes.php +++ b/views/dashboard-statistics/widget-taxes.php @@ -13,7 +13,7 @@ - + diff --git a/views/dashboard-widgets/account-summary.php b/views/dashboard-widgets/account-summary.php index 41af05161..8c780cda8 100644 --- a/views/dashboard-widgets/account-summary.php +++ b/views/dashboard-widgets/account-summary.php @@ -29,12 +29,12 @@
    - + @@ -62,8 +62,8 @@ class="wu-text-sm wu-no-underline button"
    - - + +
    @@ -78,14 +78,14 @@ class="wu-text-sm wu-no-underline button" - +
    - - + +
    @@ -116,8 +116,8 @@ class="wu-text-sm wu-no-underline button"
    - - + +
    diff --git a/views/dashboard-widgets/activity-stream.php b/views/dashboard-widgets/activity-stream.php index 8fa4c79c4..d486793b7 100644 --- a/views/dashboard-widgets/activity-stream.php +++ b/views/dashboard-widgets/activity-stream.php @@ -13,11 +13,11 @@
    - +
    - +
    @@ -61,7 +61,7 @@ class="wu-absolute wu-rounded-full wu--mb-2 wu--mr-2 wu-flex wu-items-center wu-

    {{ event.object_type }}

    - +

    @@ -71,7 +71,7 @@ class="wu-absolute wu-rounded-full wu--mb-2 wu--mr-2 wu-flex wu-items-center wu- {{ $moment(event.date_created, "YYYYMMDD").fromNow() }} - +

    @@ -95,17 +95,17 @@ class="wu-absolute wu-rounded-full wu--mb-2 wu--mr-2 wu-flex wu-items-center wu- class='wu-feed-pagination wu-m-0 wu-flex wu-justify-between'>
  • - +
  • - ← + ←
  • - +
  • diff --git a/views/dashboard-widgets/billing-info.php b/views/dashboard-widgets/billing-info.php index e57ba7cae..5f9d9a00f 100644 --- a/views/dashboard-widgets/billing-info.php +++ b/views/dashboard-widgets/billing-info.php @@ -31,12 +31,12 @@
    - + @@ -52,7 +52,7 @@ class="wu-text-sm wu-no-underline wubox button"
    - here to add one.', 'multisite-ultimate')), esc_html__('Update Billing Address', 'multisite-ultimate'), esc_url($update_billing_address_link)); ?> + here to add one.', 'ultimate-multisite')), esc_html__('Update Billing Address', 'ultimate-multisite'), esc_url($update_billing_address_link)); ?>
    @@ -102,7 +102,7 @@ class="wu-text-sm wu-no-underline wubox button"

    - +

    @@ -111,12 +111,12 @@ class="wu-text-sm wu-no-underline wubox button"
    - + diff --git a/views/dashboard-widgets/current-membership-product-details.php b/views/dashboard-widgets/current-membership-product-details.php index d525e1d02..f0aa9dcad 100644 --- a/views/dashboard-widgets/current-membership-product-details.php +++ b/views/dashboard-widgets/current-membership-product-details.php @@ -40,7 +40,7 @@ class="wu-h-12 wu-w-12 wu-rounded" - + @@ -50,7 +50,7 @@ class="wu-h-12 wu-w-12 wu-rounded" - + diff --git a/views/dashboard-widgets/current-membership.php b/views/dashboard-widgets/current-membership.php index 293c4a327..1c8e385ee 100644 --- a/views/dashboard-widgets/current-membership.php +++ b/views/dashboard-widgets/current-membership.php @@ -29,12 +29,12 @@
    - + @@ -95,7 +95,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - ' . esc_html($pending_change_date) . '', '' . esc_html($pending_change) . ''); ?> + ' . esc_html($pending_change_date) . '', '' . esc_html($pending_change) . ''); ?>
    @@ -118,7 +118,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - +
    @@ -136,7 +136,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - +
    @@ -150,7 +150,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - +
    @@ -166,7 +166,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - +
    @@ -228,7 +228,7 @@ class="wu-h-8 wu-w-8 wu-rounded"

    - +

    @@ -270,7 +270,7 @@ class="wu-h-8 wu-w-8 wu-rounded"
    - + is_recurring() && (! $pending_products || wu_get_isset($pending_products, $addon['product']->get_id()))) : ?> - title="get_name())); ?>" + title="get_name())); ?>" href=" - + @@ -331,7 +331,7 @@ class="wubox wu-ml-4 wu-no-underline delete wu-text-red-500 hover:wu-text-red-60
    - +
    @@ -346,7 +346,7 @@ class="wubox wu-ml-4 wu-no-underline delete wu-text-red-500 hover:wu-text-red-60
    - + diff --git a/views/dashboard-widgets/current-site.php b/views/dashboard-widgets/current-site.php index b517d3973..e02751111 100644 --- a/views/dashboard-widgets/current-site.php +++ b/views/dashboard-widgets/current-site.php @@ -19,7 +19,7 @@
    @@ -44,7 +44,7 @@ class="wu-border wu-rounded wu-border-solid wu-flex wu-px-4 - +
    @@ -81,7 +81,7 @@ class="wu-border wu-rounded wu-border-solid wu-flex wu-px-4 " src="get_featured_image()); ?>" - alt="get_title())); ?>" + alt="get_title())); ?>" >
    diff --git a/views/dashboard-widgets/domain-mapping.php b/views/dashboard-widgets/domain-mapping.php index 7d3f5747a..46a2947c1 100644 --- a/views/dashboard-widgets/domain-mapping.php +++ b/views/dashboard-widgets/domain-mapping.php @@ -26,9 +26,9 @@
    - + - + @@ -59,7 +59,7 @@ $label = $item->get_stage_label(); if ( ! $item->is_active()) { - $label = sprintf('%s (%s)', $label, __('Inactive', 'multisite-ultimate')); + $label = sprintf('%s (%s)', $label, __('Inactive', 'ultimate-multisite')); } $class = $item->get_stage_class(); @@ -74,7 +74,7 @@ 'icon' => 'dashicons-wu-edit1 wu-align-middle wu-mr-1', 'label' => '', 'url' => $domain['primary_link'], - 'value' => __('Make Primary', 'multisite-ultimate'), + 'value' => __('Make Primary', 'ultimate-multisite'), ]; } @@ -82,7 +82,7 @@ 'wrapper_classes' => 'wu-text-red-500 wubox', 'icon' => 'dashicons-wu-trash-2 wu-align-middle wu-mr-1', 'label' => '', - 'value' => __('Delete', 'multisite-ultimate'), + 'value' => __('Delete', 'ultimate-multisite'), 'url' => $domain['delete_link'], ]; @@ -98,13 +98,13 @@ 'wrapper_classes' => $item->is_primary_domain() ? 'wu-text-blue-600' : '', 'icon' => $item->is_primary_domain() ? 'dashicons-wu-filter_1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-plus-square wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_primary_domain() ? __('Primary', 'multisite-ultimate') . wu_tooltip(__('All other mapped domains will redirect to the primary domain.', 'multisite-ultimate'), 'dashicons-editor-help wu-align-middle wu-ml-1') : __('Alias', 'multisite-ultimate'), + 'value' => $item->is_primary_domain() ? __('Primary', 'ultimate-multisite') . wu_tooltip(__('All other mapped domains will redirect to the primary domain.', 'ultimate-multisite'), 'dashicons-editor-help wu-align-middle wu-ml-1') : __('Alias', 'ultimate-multisite'), ], 'secure' => [ 'wrapper_classes' => $item->is_secure() ? 'wu-text-green-500' : '', 'icon' => $item->is_secure() ? 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1' : 'dashicons-wu-lock1 wu-align-text-bottom wu-mr-1', 'label' => '', - 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'multisite-ultimate') : __('Not Secure (HTTP)', 'multisite-ultimate'), + 'value' => $item->is_secure() ? __('Secure (HTTPS)', 'ultimate-multisite') : __('Not Secure (HTTP)', 'ultimate-multisite'), ], ], $second_row_actions @@ -121,7 +121,7 @@
    - +
    diff --git a/views/dashboard-widgets/first-steps.php b/views/dashboard-widgets/first-steps.php index 35a32e41e..273f22285 100644 --- a/views/dashboard-widgets/first-steps.php +++ b/views/dashboard-widgets/first-steps.php @@ -14,11 +14,11 @@
    - + - +
    @@ -26,7 +26,7 @@
    - +
    @@ -94,7 +94,7 @@ class="sm:wu-flex wu-py-2 wu-px-4 wu-content-center wu-items-center wu-m-0 wu-bo class="button wu-text-center hide-postbox-tog" id="wp-ultimo-setup-hide" > - +
    diff --git a/views/dashboard-widgets/invoices.php b/views/dashboard-widgets/invoices.php index 2d0655f17..a4d7c83b9 100644 --- a/views/dashboard-widgets/invoices.php +++ b/views/dashboard-widgets/invoices.php @@ -49,15 +49,15 @@ ', $payment->get_invoice_url(), - esc_html__('Download Invoice', 'multisite-ultimate') + esc_html__('Download Invoice', 'ultimate-multisite') ); $payment_column = $payment->get_status() === 'pending' ? [ 'pay_now' => [ 'url' => add_query_arg(['payment' => $payment->get_hash()], wu_get_registration_url()), 'icon' => 'dashicons-wu-credit-card wu-align-middle wu-mr-1', - 'label' => esc_html__('Go to payment', 'multisite-ultimate'), - 'value' => esc_html__('Pay Now', 'multisite-ultimate'), + 'label' => esc_html__('Go to payment', 'ultimate-multisite'), + 'value' => esc_html__('Pay Now', 'ultimate-multisite'), ], ] : []; diff --git a/views/dashboard-widgets/limits-and-quotas.php b/views/dashboard-widgets/limits-and-quotas.php index ecd2aaab1..00b8e9f69 100644 --- a/views/dashboard-widgets/limits-and-quotas.php +++ b/views/dashboard-widgets/limits-and-quotas.php @@ -76,7 +76,7 @@ / - {$post_type_slug}->number) ? esc_html__('Unlimited', 'multisite-ultimate') : esc_html($post_type_limits->{$post_type_slug}->number); ?> + {$post_type_slug}->number) ? esc_html__('Unlimited', 'ultimate-multisite') : esc_html($post_type_limits->{$post_type_slug}->number); ?>
    @@ -115,9 +115,9 @@
    - + - +
    @@ -131,7 +131,7 @@ / - get_limit() == 0 ? esc_html__('Unlimited', 'multisite-ultimate') : esc_html(number_format((int) $visit_limitations->get_limit())); ?> + get_limit() == 0 ? esc_html__('Unlimited', 'ultimate-multisite') : esc_html(number_format((int) $visit_limitations->get_limit())); ?>
    diff --git a/views/dashboard-widgets/login-form.php b/views/dashboard-widgets/login-form.php index 0be554134..6ea54de2c 100644 --- a/views/dashboard-widgets/login-form.php +++ b/views/dashboard-widgets/login-form.php @@ -18,7 +18,7 @@ Log in using your account.', 'multisite-ultimate')), esc_html(wp_get_current_user()->display_name), esc_url($login_url)); + printf(wp_kses_post(__('Not %1$s? Log in using your account.', 'ultimate-multisite')), esc_html(wp_get_current_user()->display_name), esc_url($login_url)); ?> @@ -46,12 +46,12 @@
    - + diff --git a/views/dashboard-widgets/my-sites.php b/views/dashboard-widgets/my-sites.php index adb80d344..b5628dcac 100644 --- a/views/dashboard-widgets/my-sites.php +++ b/views/dashboard-widgets/my-sites.php @@ -53,7 +53,7 @@ class="wu-shadow-sm wu-inline-flex wu-items-center wu-px-2 wu-py-1 wu-rounded wu - + @@ -70,7 +70,7 @@ class="wu-shadow-sm wu-inline-flex wu-items-center wu-px-2 wu-py-1 wu-rounded wu - + @@ -89,7 +89,7 @@ class="wu-shadow-sm wu-inline-flex wu-items-center wu-px-2 wu-py-1 wu-rounded wu class="wu-h-48 wu-w-full wu-object-cover wu-block" src="get_featured_image()); ?>" - alt="get_title())); ?>" + alt="get_title())); ?>" style="background-color: rgba(255, 255, 255, 0.5)" > @@ -108,7 +108,7 @@ class="wu-h-48 wu-w-full wu-object-cover wu-block" get_id()) : ?> - > + > get_title()); ?> @@ -141,7 +141,7 @@ class="wu-p-0 wu-m-0 wu-px-4 wu-text-center wu-py-2 wu-my-0 wu-bg-gray-100 wu-bo
  • - +
  • @@ -150,7 +150,7 @@ class="wu-w-full wu-no-underline
    - + @@ -172,7 +172,7 @@ class="wu-no-underline wu-text-gray-600 wu-flex wu-flex-col wu-rounded-lg wu-bor - + diff --git a/views/dashboard-widgets/site-actions.php b/views/dashboard-widgets/site-actions.php index d30351608..346d1957a 100644 --- a/views/dashboard-widgets/site-actions.php +++ b/views/dashboard-widgets/site-actions.php @@ -17,7 +17,7 @@

    - +

    @@ -62,7 +62,7 @@ class="

    - +

    diff --git a/views/dashboard-widgets/summary.php b/views/dashboard-widgets/summary.php index e50355001..5b6df5570 100644 --- a/views/dashboard-widgets/summary.php +++ b/views/dashboard-widgets/summary.php @@ -21,12 +21,12 @@
    - +
    -
  • > +
  • >
    @@ -37,7 +37,7 @@
    - +
  • @@ -53,7 +53,7 @@
    - +
    diff --git a/views/dashboard-widgets/thank-you.php b/views/dashboard-widgets/thank-you.php index 8fb8b2d91..47fb4226f 100644 --- a/views/dashboard-widgets/thank-you.php +++ b/views/dashboard-widgets/thank-you.php @@ -46,7 +46,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -142,7 +142,7 @@ - + @@ -160,7 +160,7 @@ - + @@ -178,7 +178,7 @@ - + @@ -196,7 +196,7 @@ - + @@ -228,7 +228,7 @@

    - +

    @@ -278,7 +278,7 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded" - + @@ -303,23 +303,23 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded" - +
    - +
    - + - + @@ -358,7 +358,7 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded"

    - +

    @@ -375,8 +375,8 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded"
    - - + + @@ -405,7 +405,7 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded" - + @@ -413,7 +413,7 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded" - + @@ -422,13 +422,13 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded" get_discount_total()) : ?> - + - + @@ -452,7 +452,7 @@ class="sm:wu-w-12 sm:wu-h-12 wu-mb-4 sm:wu-mb-0 wu-rounded"

    - +

    diff --git a/views/domain/dns-table.php b/views/domain/dns-table.php index 5d424cda3..bfbf76fc0 100644 --- a/views/domain/dns-table.php +++ b/views/domain/dns-table.php @@ -12,10 +12,10 @@ - - - - + + + + @@ -25,7 +25,7 @@ @@ -71,7 +71,7 @@ - + diff --git a/views/domain/log.php b/views/domain/log.php index 779016b00..9c28fd31c 100644 --- a/views/domain/log.php +++ b/views/domain/log.php @@ -9,7 +9,7 @@
    -	
    +	
     	
    @@ -17,7 +17,7 @@
    diff --git a/views/email/widget-placeholders.php b/views/email/widget-placeholders.php index 56e0688df..e1e722508 100644 --- a/views/email/widget-placeholders.php +++ b/views/email/widget-placeholders.php @@ -14,7 +14,7 @@
    - +
    @@ -26,9 +26,9 @@ - + - + @@ -46,7 +46,7 @@ @@ -160,13 +160,13 @@ @@ -174,7 +174,7 @@ diff --git a/views/legacy/signup/pricing-table/frequency-selector.php b/views/legacy/signup/pricing-table/frequency-selector.php index c27f2f090..6641fc8ea 100644 --- a/views/legacy/signup/pricing-table/frequency-selector.php +++ b/views/legacy/signup/pricing-table/frequency-selector.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/pricing-table/frequency-selector.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -28,9 +28,9 @@ __('Monthly', 'multisite-ultimate'), - 3 => __('Quarterly', 'multisite-ultimate'), - 12 => __('Yearly', 'multisite-ultimate'), + 1 => __('Monthly', 'ultimate-multisite'), + 3 => __('Quarterly', 'ultimate-multisite'), + 12 => __('Yearly', 'ultimate-multisite'), ]; $first = true; diff --git a/views/legacy/signup/pricing-table/no-plans.php b/views/legacy/signup/pricing-table/no-plans.php index 84d3d167b..260da864c 100644 --- a/views/legacy/signup/pricing-table/no-plans.php +++ b/views/legacy/signup/pricing-table/no-plans.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/no-plan.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -22,5 +22,5 @@ ?>
    -


    +


    diff --git a/views/legacy/signup/pricing-table/plan.php b/views/legacy/signup/pricing-table/plan.php index c61ad543f..4bfc64c58 100644 --- a/views/legacy/signup/pricing-table/plan.php +++ b/views/legacy/signup/pricing-table/plan.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/plan.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -26,7 +26,7 @@ free ? __('Free!', 'multisite-ultimate') : str_replace(wu_get_currency_symbol(), '', wu_format_currency((((float) $plan->{'price_' . $type}) / $type))); + $price = $plan->free ? __('Free!', 'ultimate-multisite') : str_replace(wu_get_currency_symbol(), '', wu_format_currency((((float) $plan->{'price_' . $type}) / $type))); printf(" data-price-%s='%s'", esc_attr($type), esc_attr($price)); } @@ -35,7 +35,7 @@ class="get_id()}"); ?> lift wu-plan plan is_featured_plan()) : ?> -
    +
    @@ -45,13 +45,13 @@ class="get_id()}"); ?> lift wu-plan plan is_free()) : ?>
    - +
    is_contact_us()) : ?>
    - +
    @@ -63,7 +63,7 @@ class="get_id()}"); ?> lift wu-plan plan ?> price_1))); ?> - + @@ -81,13 +81,13 @@ class="get_id()}"); ?> lift wu-plan plan * Display quarterly and Annually plans, to be hidden */ $prices_total = [ - 3 => __('every 3 months', 'multisite-ultimate'), - 12 => __('yearly', 'multisite-ultimate'), + 3 => __('every 3 months', 'ultimate-multisite'), + 12 => __('yearly', 'ultimate-multisite'), ]; foreach ($prices_total as $freq => $string) { // translators: %1$s: the price, %2$s: the period. - $text = sprintf(__('%1$s, billed %2$s', 'multisite-ultimate'), wu_format_currency($plan->{"price_$freq"}), $string); + $text = sprintf(__('%1$s, billed %2$s', 'ultimate-multisite'), wu_format_currency($plan->{"price_$freq"}), $string); if ($plan->free || $plan->is_contact_us()) { echo "
  • -
  • "; @@ -108,7 +108,7 @@ class="get_id()}"); ?> lift wu-plan plan get_id() == $current_plan->id ? __('This is your current plan', 'multisite-ultimate') : __('Select Plan', 'multisite-ultimate'); + $button_label = null != $current_plan && $plan->get_id() == $current_plan->id ? __('This is your current plan', 'ultimate-multisite') : __('Select Plan', 'ultimate-multisite'); $button_label = apply_filters('wu_plan_select_button_label', $button_label, $plan, $current_plan); ?> diff --git a/views/legacy/signup/pricing-table/pricing-table.php b/views/legacy/signup/pricing-table/pricing-table.php index d2d11d398..1b5354c8d 100644 --- a/views/legacy/signup/pricing-table/pricing-table.php +++ b/views/legacy/signup/pricing-table/pricing-table.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/princing-table/princing-table.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/legacy/signup/signup-main.php b/views/legacy/signup/signup-main.php index 2b97c7d49..1c9c833d8 100644 --- a/views/legacy/signup/signup-main.php +++ b/views/legacy/signup/signup-main.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/signup-header.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -61,7 +61,7 @@ <?php // translators: %s title of the current site ?> - <?php echo esc_html(apply_filters('wu_signup_page_title', sprintf(__('%s - Signup', 'multisite-ultimate'), get_bloginfo('Name'), get_bloginfo('Name')))); ?> + <?php echo esc_html(apply_filters('wu_signup_page_title', sprintf(__('%s - Signup', 'ultimate-multisite'), get_bloginfo('Name'), get_bloginfo('Name')))); ?> @@ -99,7 +99,7 @@

    - +

    diff --git a/views/legacy/signup/signup-nav-links.php b/views/legacy/signup/signup-nav-links.php index cba692e80..54d8625c3 100644 --- a/views/legacy/signup/signup-nav-links.php +++ b/views/legacy/signup/signup-nav-links.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/signup-nav-links.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -31,8 +31,8 @@ $nav_links = apply_filters( 'wu_signup_form_nav_links', [ - home_url() => __('Return to Home', 'multisite-ultimate'), - wp_login_url() => sprintf('%s', esc_html__('Log In', 'multisite-ultimate')), + home_url() => __('Return to Home', 'ultimate-multisite'), + wp_login_url() => sprintf('%s', esc_html__('Log In', 'ultimate-multisite')), ] ); diff --git a/views/legacy/signup/signup-steps-navigation.php b/views/legacy/signup/signup-steps-navigation.php index 3220512b2..8fbb5ee62 100644 --- a/views/legacy/signup/signup-steps-navigation.php +++ b/views/legacy/signup/signup-steps-navigation.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/signup-steps-navigation.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -72,7 +72,7 @@ diff --git a/views/legacy/signup/steps/step-default.php b/views/legacy/signup/steps/step-default.php index d8e48dff4..bb4f1dad2 100644 --- a/views/legacy/signup/steps/step-default.php +++ b/views/legacy/signup/steps/step-default.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/steps/step-default.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/legacy/signup/steps/step-domain-url-preview.php b/views/legacy/signup/steps/step-domain-url-preview.php index 23405a70e..0a59a3467 100644 --- a/views/legacy/signup/steps/step-domain-url-preview.php +++ b/views/legacy/signup/steps/step-domain-url-preview.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/steps/step-domain-url-preview.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and @@ -23,14 +23,14 @@
    -
    +
    results['blogname'] ?? __('yoursite', 'multisite-ultimate'); + $dynamic_part = $signup->results['blogname'] ?? __('yoursite', 'ultimate-multisite'); $site_url = preg_replace('#^https?://#', '', WU_Signup()->get_site_url_for_previewer()); $site_url = str_replace('www.', '', $site_url); diff --git a/views/legacy/signup/steps/step-plans.php b/views/legacy/signup/steps/step-plans.php index 812d2747e..99844e5f2 100644 --- a/views/legacy/signup/steps/step-plans.php +++ b/views/legacy/signup/steps/step-plans.php @@ -4,7 +4,7 @@ * * This template can be overridden by copying it to yourtheme/wp-ultimo/signup/steps/step-plans.php. * - * HOWEVER, on occasion Multisite Ultimate will need to update template files and you + * HOWEVER, on occasion Ultimate Multisite will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and diff --git a/views/limitations/plugin-selector.php b/views/limitations/plugin-selector.php index c1a6443c2..46ebcd3d8 100644 --- a/views/limitations/plugin-selector.php +++ b/views/limitations/plugin-selector.php @@ -26,7 +26,7 @@ - + @@ -45,12 +45,12 @@ - + - +
    @@ -61,27 +61,27 @@

    - +

    - +

    @@ -93,7 +93,7 @@ model && $object->get_limitations(false)->plugins->exists($plugin_path)) : ?>

    - +

    diff --git a/views/limitations/site-template-selector.php b/views/limitations/site-template-selector.php index 2ed122724..703da4beb 100644 --- a/views/limitations/site-template-selector.php +++ b/views/limitations/site-template-selector.php @@ -43,7 +43,7 @@ - get_categories() ? esc_html__('No categories', 'multisite-ultimate') : esc_html(implode(', ', $site_template->get_categories())); ?> + get_categories() ? esc_html__('No categories', 'ultimate-multisite') : esc_html(implode(', ', $site_template->get_categories())); ?> @@ -53,7 +53,7 @@

    - +

    @@ -62,9 +62,9 @@ name="modules[site_templates][limit][get_id()); ?>][behavior]" class="wu-w-full" > - - - + + + diff --git a/views/limitations/theme-selector.php b/views/limitations/theme-selector.php index 0daf446dd..c93a83e1f 100644 --- a/views/limitations/theme-selector.php +++ b/views/limitations/theme-selector.php @@ -45,12 +45,12 @@ - + - + @@ -62,24 +62,24 @@

    - +

    - +

    @@ -89,7 +89,7 @@ model && $object->get_limitations(false)->themes->exists($theme_path)) : ?>

    - +

    diff --git a/views/memberships/product-list.php b/views/memberships/product-list.php index a1595ec4a..7f184938a 100644 --- a/views/memberships/product-list.php +++ b/views/memberships/product-list.php @@ -14,11 +14,11 @@ - + diff --git a/views/payments/line-item-actions.php b/views/payments/line-item-actions.php index 7c6065828..bf54b9d83 100644 --- a/views/payments/line-item-actions.php +++ b/views/payments/line-item-actions.php @@ -42,7 +42,7 @@ - + @@ -58,7 +58,7 @@ - + diff --git a/views/payments/tax-details.php b/views/payments/tax-details.php index b8f305cbe..00fd1f94d 100644 --- a/views/payments/tax-details.php +++ b/views/payments/tax-details.php @@ -22,7 +22,7 @@ - + @@ -31,7 +31,7 @@ diff --git a/views/settings/fields/field-image.php b/views/settings/fields/field-image.php index b853bf891..6f1af266b 100644 --- a/views/settings/fields/field-image.php +++ b/views/settings/fields/field-image.php @@ -44,7 +44,7 @@ - + diff --git a/views/settings/fields/field-multi_checkbox.php b/views/settings/fields/field-multi_checkbox.php index 260de1e8c..8e1db2167 100644 --- a/views/settings/fields/field-multi_checkbox.php +++ b/views/settings/fields/field-multi_checkbox.php @@ -58,7 +58,7 @@
    diff --git a/views/settings/widget-settings-body.php b/views/settings/widget-settings-body.php index 5667d5700..c935bd6b1 100644 --- a/views/settings/widget-settings-body.php +++ b/views/settings/widget-settings-body.php @@ -99,7 +99,7 @@ class="wu-bg-gray-100 wu--mt-1 wu--mx-3 wu-p-4 wu-border-solid wu-border-b wu-bo

    - Select the currency symbol to be used in Multisite Ultimate + Select the currency symbol to be used in Ultimate Multisite

    @@ -265,7 +265,7 @@ class="wu-bg-gray-100 wu--mt-1 wu--mx-3 wu-p-4 wu-border-solid wu-border-b wu-bo

    Error Reporting

    -

    Help us make Multisite Ultimate better by automatically reporting fatal errors and warnings so we can fix them as +

    Help us make Ultimate Multisite better by automatically reporting fatal errors and warnings so we can fix them as soon as possible.

    @@ -275,15 +275,15 @@ class="wu-bg-gray-100 wu--mt-1 wu--mx-3 wu-p-4 wu-border-solid wu-border-b wu-bo - + diff --git a/views/shortcodes/shortcodes.php b/views/shortcodes/shortcodes.php index 4243d3bbb..2385e14d4 100644 --- a/views/shortcodes/shortcodes.php +++ b/views/shortcodes/shortcodes.php @@ -9,7 +9,7 @@
    -

    +

    @@ -25,10 +25,10 @@ - +

    @@ -44,16 +44,16 @@ class="wu-float-right wubox wu-no-underline wu-text-gray-600"

    - +
    - +
    - +
    - +
    get_subtotal(), $payment->get_currency())); ?>
    get_currency())); ?>
    get_discount_code())); ?>get_discount_code())); ?> get_discount_total(), $payment->get_currency())); ?>
    get_total(), $payment->get_currency())); ?>
    - +
    {{ results.network_ip }}
    - class="wu-no-underline wp-ui-text-highlight wu-copy" href="#" data-clipboard-action="copy" :data-clipboard-target="'#payload_event_placeholder_' + placeholder.placeholder"> + class="wu-no-underline wp-ui-text-highlight wu-copy" href="#" data-clipboard-action="copy" :data-clipboard-target="'#payload_event_placeholder_' + placeholder.placeholder"> diff --git a/views/emails/admin/domain-created.php b/views/emails/admin/domain-created.php index 76964d1f2..91deccc47 100644 --- a/views/emails/admin/domain-created.php +++ b/views/emails/admin/domain-created.php @@ -6,132 +6,132 @@ */ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    +

    -

    +

    - + - + - + - + - + - + - +
    {{domain_domain}}
    {{domain_id}}
    {{domain_stage}}
    {{domain_active}}
    {{domain_primary}}
    {{domain_secure}}
    - +
    -

    +

    - + - + - + - + - +
    {{site_title}}
    {{site_id}}
    - +
    - +
    - +
    -

    +

    - + - + - + - + - + - + diff --git a/views/emails/admin/payment-received.php b/views/emails/admin/payment-received.php index ab1c57c5d..7163e6908 100644 --- a/views/emails/admin/payment-received.php +++ b/views/emails/admin/payment-received.php @@ -6,153 +6,153 @@ */ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    +

    -

    +

    -

    +

    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    - + - + - + - + - + - + - + - + - + - + - +
    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_gateway}}
    {{payment_id}}
    {{payment_reference_code}}
    {{payment_date_created}}
    - +
    Initial Payment
    - +
    -

    +

    - + - + - + - + - + - +
    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    -

    +

    - + - + - + - + - + diff --git a/views/emails/admin/site-published.php b/views/emails/admin/site-published.php index 43f86b39e..d56578717 100644 --- a/views/emails/admin/site-published.php +++ b/views/emails/admin/site-published.php @@ -6,119 +6,119 @@ */ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    %1$s (%2$s), was created successfully on your network!', 'multisite-ultimate'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    +

    %1$s (%2$s), was created successfully on your network!', 'ultimate-multisite'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    -

    +

    {{customer_avatar}}
    {{customer_name}}
    {{customer_user_email}}
    {{customer_id}}
    {{customer_billing_address}}
    - +
    - + - + - + - + - +
    {{site_title}}
    {{site_id}}
    - +
    - +
    - +
    -

    +

    - + - + - + - + - + - +
    {{membership_description}}
    {{membership_initial_amount}}
    {{membership_id}}
    {{membership_reference_code}}
    {{membership_date_expiration}}
    - +
    -

    +

    - + - + - + - + - + diff --git a/views/emails/customer/confirm-email-address.php b/views/emails/customer/confirm-email-address.php index 94e67a261..25f539f85 100644 --- a/views/emails/customer/confirm-email-address.php +++ b/views/emails/customer/confirm-email-address.php @@ -7,15 +7,15 @@ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    +

    -

    +

    - +
    - {{verification_link}}'), ''); ?> + {{verification_link}}'), ''); ?>

    diff --git a/views/emails/customer/payment-received.php b/views/emails/customer/payment-received.php index 2c0d3ba98..7e60f6c41 100644 --- a/views/emails/customer/payment-received.php +++ b/views/emails/customer/payment-received.php @@ -7,54 +7,54 @@ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    +

    -

    +

    -

    +

    {{customer_avatar}}
    {{customer_name}}
    {{customer_user_email}}
    {{customer_id}}
    {{customer_billing_address}}
    - +
    - + - + - + - + - + - + - + diff --git a/views/emails/customer/renewal-payment-created.php b/views/emails/customer/renewal-payment-created.php index 42caf0e1c..232a1a566 100644 --- a/views/emails/customer/renewal-payment-created.php +++ b/views/emails/customer/renewal-payment-created.php @@ -7,42 +7,42 @@ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    +

    -

    +

    -

    +

    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_date_created}}
    - +
    Initial Payment
    - + - + - + - + - + diff --git a/views/emails/customer/site-published.php b/views/emails/customer/site-published.php index c7cd22b69..ced81fd77 100644 --- a/views/emails/customer/site-published.php +++ b/views/emails/customer/site-published.php @@ -7,30 +7,30 @@ defined( 'ABSPATH' ) || exit; ?> -

    +

    -

    %1$s (%2$s) was created successfully and is ready!', 'multisite-ultimate'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    +

    %1$s (%2$s) was created successfully and is ready!', 'ultimate-multisite'), '{{site_title}}', '{{site_url}}'), 'pre_user_description'); ?>

    -

    +

    {{payment_product_names}}
    {{payment_subtotal}}
    {{payment_tax_total}}
    {{payment_total}}
    {{payment_date_created}}
    - + - + - + diff --git a/views/events/widget-initiator.php b/views/events/widget-initiator.php index 82dde0778..34f83f0a4 100644 --- a/views/events/widget-initiator.php +++ b/views/events/widget-initiator.php @@ -12,7 +12,7 @@
  • -

    +

    get_initiator() == 'manual') : ?> @@ -73,7 +73,7 @@ get_initiator())); ?> - + @@ -87,7 +87,7 @@
  • -

    get_object_type()))); ?>

    +

    get_object_type()))); ?>

    -

    +

    get_message(), wu_kses_allowed_html()); ?> diff --git a/views/events/widget-payload.php b/views/events/widget-payload.php index 62b5d1789..b6c00aebd 100644 --- a/views/events/widget-payload.php +++ b/views/events/widget-payload.php @@ -32,7 +32,7 @@ diff --git a/views/invoice/template.php b/views/invoice/template.php index 0923dc017..871d47ef4 100644 --- a/views/invoice/template.php +++ b/views/invoice/template.php @@ -39,13 +39,13 @@
  • {{site_title}}
    - +
    - +
    -
    +
    get_invoice_number()); ?>
    - get_date_created())))); ?>
    + get_date_created())))); ?>
    -
    +
    @@ -81,7 +81,7 @@
    - +
    - + - + - + - + - +
    - * + * - get_total(), $payment->get_currency()))); ?> + get_total(), $payment->get_currency()))); ?>
    - +
    get_tax_total())); ?>
    - +
    + Send Error Data to Ultimate Multisite Developers

    - With this option enabled, every time your installation runs into an error related to Multisite Ultimate, + With this option enabled, every time your installation runs into an error related to Ultimate Multisite, that error data will be sent to us. That way we can review, debug, and fix issues without you having to manually report anything. No sensitive data gets collected, only environmental stuff (e.g. if this is @@ -315,7 +315,7 @@ class="wu-bg-gray-100 wu--mt-1 wu--mx-3 wu-p-4 wu-border-solid wu-border-b wu-bo Remove Data on Uninstall

    - Remove all saved data for Multisite Ultimate when the plugin is uninstalled. + Remove all saved data for Ultimate Multisite when the plugin is uninstalled.

    $value) { ?> diff --git a/views/sites/edit-placeholders.php b/views/sites/edit-placeholders.php index ff2ee2cb9..589210d6b 100644 --- a/views/sites/edit-placeholders.php +++ b/views/sites/edit-placeholders.php @@ -10,7 +10,7 @@

    - +

    @@ -28,7 +28,7 @@ - {{data.placeholders.length}} + {{data.placeholders.length}} @@ -46,7 +46,7 @@ diff --git a/views/system-info/system-info.php b/views/system-info/system-info.php index d7135bebf..4729a160e 100644 --- a/views/system-info/system-info.php +++ b/views/system-info/system-info.php @@ -11,7 +11,7 @@
    -

    +

    - + - + - + - +
    - + @@ -88,7 +88,7 @@
    - +
    @@ -102,7 +102,7 @@ @@ -174,7 +174,7 @@ class="wu-bg-transparent wu-p-4 wu-border-none wu-w-full hover:wu-bg-gray-200 ho @@ -206,13 +206,13 @@ class="wu-bg-transparent wu-p-4 wu-border-none wu-w-full hover:wu-bg-gray-200 ho @@ -238,11 +238,11 @@ class="wu-bg-transparent wu-p-4 wu-border-none wu-w-full hover:wu-bg-gray-200 ho - + - + - + diff --git a/views/system-info/system-info-table.php b/views/system-info/system-info-table.php index 5355ccb62..385f1c86c 100644 --- a/views/system-info/system-info-table.php +++ b/views/system-info/system-info-table.php @@ -13,7 +13,7 @@
    - +