From 8a2daf4463b23470da7740e3e36e1091e8b1f181 Mon Sep 17 00:00:00 2001 From: Vara Date: Wed, 19 Feb 2025 18:16:43 +0530 Subject: [PATCH] Add Translation Workflows --- .github/workflows/crowdin-download.yml | 39 +++++ .github/workflows/crowdin-upload.yml | 37 +++++ crowdin.yml | 23 +++ languages/wp-module-staging-de_DE.po | 211 ++++++++++++++++++++++-- languages/wp-module-staging-en_AU.po | 214 +++++++++++++++++++++++-- languages/wp-module-staging-en_GB.po | 214 +++++++++++++++++++++++-- languages/wp-module-staging-es_ES.po | 211 ++++++++++++++++++++++-- languages/wp-module-staging-fr_FR.po | 211 ++++++++++++++++++++++-- languages/wp-module-staging-it_IT.po | 211 ++++++++++++++++++++++-- languages/wp-module-staging-nl_NL.po | 211 ++++++++++++++++++++++-- languages/wp-module-staging.pot | 208 ++++++++++++++++++++++-- 11 files changed, 1692 insertions(+), 98 deletions(-) create mode 100644 .github/workflows/crowdin-download.yml create mode 100644 .github/workflows/crowdin-upload.yml create mode 100644 crowdin.yml diff --git a/.github/workflows/crowdin-download.yml b/.github/workflows/crowdin-download.yml new file mode 100644 index 0000000..f51f5ac --- /dev/null +++ b/.github/workflows/crowdin-download.yml @@ -0,0 +1,39 @@ +name: Crowdin Download Action + +on: + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + synchronize-with-crowdin: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: crowdin action + uses: crowdin/github-action@v2 + with: + upload_sources: false + upload_translations: false + download_translations: true + localization_branch_name: l10n_crowdin_translations + create_pull_request: true + auto_approve_imported: true + pull_request_title: 'New Crowdin Translations' + pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' + pull_request_base_branch_name: 'main' + + env: + # A classic GitHub Personal Access Token with the 'repo' scope selected (the user should have write access to the repository). + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # A numeric ID, found at https://crowdin.com/project//tools/api + CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} + + # Visit https://crowdin.com/settings#api-key to create this token + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/crowdin-upload.yml b/.github/workflows/crowdin-upload.yml new file mode 100644 index 0000000..5046c6a --- /dev/null +++ b/.github/workflows/crowdin-upload.yml @@ -0,0 +1,37 @@ +name: Crowdin Upload Action + +on: + workflow_dispatch: + +permissions: + contents: write + pull-requests: write + +jobs: + synchronize-with-crowdin: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: crowdin action + uses: crowdin/github-action@v2 + with: + upload_sources: true + upload_translations: true + download_translations: false + # localization_branch_name: l10n_crowdin_translations + # create_pull_request: true + # auto_approve_imported: true + # pull_request_title: 'New Crowdin Translations' + # pull_request_body: 'New Crowdin translations by [Crowdin GH Action](https://github.com/crowdin/github-action)' + # pull_request_base_branch_name: 'main' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # A numeric ID, found at https://crowdin.com/project//tools/api + CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} + + # Visit https://crowdin.com/settings#api-key to create this token + CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} \ No newline at end of file diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 0000000..11a4210 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,23 @@ +"project_id_env": "CROWDIN_PROJECT_ID" +"api_token_env": "CROWDIN_PERSONAL_TOKEN" +"base_path": "." + +"preserve_hierarchy": true + +"files": [ + { + "source": "/languages/wp-module-staging.pot", + "translation": "/languages/wp-module-staging-%locale%.po", + "languages_mapping": { + "locale": { + "de": "de_DE", + "en-AU": "en_AU", + "en-GB": "en_GB", + "es-ES": "es_ES", + "fr": "fr_FR", + "it": "it_IT", + "nl": "nl_NL" + } + } + } +] \ No newline at end of file diff --git a/languages/wp-module-staging-de_DE.po b/languages/wp-module-staging-de_DE.po index 81aeb25..ccbbb78 100644 --- a/languages/wp-module-staging-de_DE.po +++ b/languages/wp-module-staging-de_DE.po @@ -9,46 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: de\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -63,3 +62,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-en_AU.po b/languages/wp-module-staging-en_AU.po index 336ecc9..21dce58 100644 --- a/languages/wp-module-staging-en_AU.po +++ b/languages/wp-module-staging-en_AU.po @@ -9,47 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: en_AU\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: en_AU\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "Cloning can only be done from the production environment." -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "Staging environment already exists!" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." -msgstr "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." +msgstr "You must switch to the production environment before destroying staging." -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "Switch to an environment you are already in, you cannot." -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "Invalid staging CLI command." #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "Invalid character (%s) in command." -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "Unable to execute script (disabled_function)." -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "Unable to execute script (permission error)." -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "Unable to parse JSON" @@ -64,3 +62,191 @@ msgstr "Staging Environment" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "Staging Actions" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-en_GB.po b/languages/wp-module-staging-en_GB.po index 621db9b..7957fa2 100644 --- a/languages/wp-module-staging-en_GB.po +++ b/languages/wp-module-staging-en_GB.po @@ -9,47 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:39+0530\n" +"Language: en_GB\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: en_GB\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "Cloning can only be done from the production environment." -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "Staging environment already exists!" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." -msgstr "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." +msgstr "You must switch to the production environment before destroying staging." -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "Switch to an environment you are already in, you cannot." -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "Invalid staging CLI command." #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "Invalid character (%s) in command." -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "Unable to execute script (disabled_function)." -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "Unable to execute script (permission error)." -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "Unable to parse JSON" @@ -64,3 +62,191 @@ msgstr "Staging Environment" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "Staging Actions" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-es_ES.po b/languages/wp-module-staging-es_ES.po index 30e332c..fb3a6da 100644 --- a/languages/wp-module-staging-es_ES.po +++ b/languages/wp-module-staging-es_ES.po @@ -9,46 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: es\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: es\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -63,3 +62,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-fr_FR.po b/languages/wp-module-staging-fr_FR.po index 3e3c04b..47dc03d 100644 --- a/languages/wp-module-staging-fr_FR.po +++ b/languages/wp-module-staging-fr_FR.po @@ -9,46 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: fr\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -63,3 +62,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-it_IT.po b/languages/wp-module-staging-it_IT.po index 5010628..294d0c3 100644 --- a/languages/wp-module-staging-it_IT.po +++ b/languages/wp-module-staging-it_IT.po @@ -9,46 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: it\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: it\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -63,3 +62,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging-nl_NL.po b/languages/wp-module-staging-nl_NL.po index e250e6f..607b4b3 100644 --- a/languages/wp-module-staging-nl_NL.po +++ b/languages/wp-module-staging-nl_NL.po @@ -9,46 +9,45 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" "PO-Revision-Date: 2025-02-13 19:40+0530\n" +"Language: nl\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 -msgid "" -"You must switch to the production environment before destroying staging." +#: includes/Staging.php:315 +msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -63,3 +62,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr "" diff --git a/languages/wp-module-staging.pot b/languages/wp-module-staging.pot index 5418176..2147805 100644 --- a/languages/wp-module-staging.pot +++ b/languages/wp-module-staging.pot @@ -7,45 +7,45 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2025-02-13T11:02:08+00:00\n" +"POT-Creation-Date: 2025-02-19T11:37:53+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: wp-module-staging\n" -#: includes/Staging.php:240 +#: includes/Staging.php:256 msgid "Cloning can only be done from the production environment." msgstr "" -#: includes/Staging.php:265 +#: includes/Staging.php:281 msgid "Staging environment already exists!" msgstr "" -#: includes/Staging.php:299 +#: includes/Staging.php:315 msgid "You must switch to the production environment before destroying staging." msgstr "" -#: includes/Staging.php:321 +#: includes/Staging.php:337 msgid "Switch to an environment you are already in, you cannot." msgstr "" -#: includes/Staging.php:358 +#: includes/Staging.php:374 msgid "Invalid staging CLI command." msgstr "" #. translators: Invalid character that was entered -#: includes/Staging.php:408 +#: includes/Staging.php:424 msgid "Invalid character (%s) in command." msgstr "" -#: includes/Staging.php:417 +#: includes/Staging.php:433 msgid "Unable to execute script (disabled_function)." msgstr "" -#: includes/Staging.php:425 +#: includes/Staging.php:441 msgid "Unable to execute script (permission error)." msgstr "" -#: includes/Staging.php:438 +#: includes/Staging.php:454 msgid "Unable to parse JSON" msgstr "" @@ -60,3 +60,191 @@ msgstr "" #: includes/StagingMenu.php:33 msgid "Staging Actions" msgstr "" + +#: components/staging/defaultText.js:4 +msgid "Cancel" +msgstr "" + +#: components/staging/defaultText.js:5 +msgid "Clone" +msgstr "" + +#: components/staging/defaultText.js:6 +msgid "Confirm Clone Action" +msgstr "" + +#: components/staging/defaultText.js:7 +msgid "This will overwrite anything in staging and update it to an exact clone of the current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:8 +msgid "Cloned to Staging" +msgstr "" + +#: components/staging/defaultText.js:9 +msgid "Cloning production to staging, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:10 +msgid "Clone to staging" +msgstr "" + +#: components/staging/defaultText.js:11 +msgid "Created" +msgstr "" + +#: components/staging/defaultText.js:12 +msgid "Staging Created" +msgstr "" + +#: components/staging/defaultText.js:13 +msgid "Creating a staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:14 +msgid "Create staging site" +msgstr "" + +#: components/staging/defaultText.js:15 +msgid "Currently editing" +msgstr "" + +#: components/staging/defaultText.js:16 +msgid "Delete" +msgstr "" + +#: components/staging/defaultText.js:17 +msgid "Confirm Delete" +msgstr "" + +#: components/staging/defaultText.js:18 +msgid "This will permanently delete staging site. Are you sure you want to proceed? You can recreate another staging site at any time, but any specific changes you've made to this staging site will be lost." +msgstr "" + +#: components/staging/defaultText.js:19 +msgid "Deleted Staging" +msgstr "" + +#: components/staging/defaultText.js:20 +msgid "Deleting the staging site, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:21 +msgid "Delete Staging Site" +msgstr "" + +#: components/staging/defaultText.js:22 +msgid "Deploy" +msgstr "" + +#: components/staging/defaultText.js:23 +msgid "Deploy all changes" +msgstr "" + +#: components/staging/defaultText.js:24 +msgid "Confirm Deployment" +msgstr "" + +#: components/staging/defaultText.js:25 +msgid "Deploy database only" +msgstr "" + +#: components/staging/defaultText.js:26 +msgid "This will deploy staging to production and overwrite current production site. Are you sure you want to proceed?" +msgstr "" + +#: components/staging/defaultText.js:27 +msgid "Deploy files only" +msgstr "" + +#: components/staging/defaultText.js:28 +msgid "Deployed" +msgstr "" + +#: components/staging/defaultText.js:29 +msgid "Deploying from staging to production, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:30 +msgid "Deploy Site" +msgstr "" + +#: components/staging/defaultText.js:31 +msgid "Error" +msgstr "" + +#: components/staging/defaultText.js:32 +msgid "You don't have a staging site yet." +msgstr "" + +#: components/staging/defaultText.js:33 +msgid "Not currently editing" +msgstr "" + +#: components/staging/defaultText.js:34 +msgid "Proceed" +msgstr "" + +#: components/staging/defaultText.js:35 +msgid "Production Site" +msgstr "" + +#: components/staging/defaultText.js:36 +msgid "Staging Site" +msgstr "" + +#: components/staging/defaultText.js:37 +msgid "A staging site is a duplicate of your live site, offering a secure environment to experiment, test updates, and deploy when ready." +msgstr "" + +#: components/staging/defaultText.js:38 +msgid "Switch" +msgstr "" + +#: components/staging/defaultText.js:39 +msgid "Switching" +msgstr "" + +#: components/staging/defaultText.js:40 +msgid "Switch to Production" +msgstr "" + +#: components/staging/defaultText.js:41 +msgid "This will navigate you to the production environment" +msgstr "" + +#: components/staging/defaultText.js:42 +msgid "Loading the production environment now." +msgstr "" + +#: components/staging/defaultText.js:43 +msgid "Switching to the production environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:44 +msgid "Switch to Staging" +msgstr "" + +#: components/staging/defaultText.js:45 +msgid "This will navigate you to the staging environment" +msgstr "" + +#: components/staging/defaultText.js:46 +msgid "Loading the staging environment now." +msgstr "" + +#: components/staging/defaultText.js:47 +msgid "Switching to the staging environment, this should take about a minute." +msgstr "" + +#: components/staging/defaultText.js:48 +msgid "Staging" +msgstr "" + +#: components/staging/defaultText.js:49 +msgid "An unknown error has occurred." +msgstr "" + +#: components/staging/defaultText.js:50 +msgid "Working..." +msgstr ""