mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-15 19:05:14 +00:00
Harmonize en texts (#4716)
This commit is contained in:
parent
6c0f1c145d
commit
c4fc4dea71
2 changed files with 42 additions and 44 deletions
|
@ -35,21 +35,21 @@
|
||||||
"variables": {
|
"variables": {
|
||||||
"delete": "Delete variable",
|
"delete": "Delete variable",
|
||||||
"title": "Additional pipeline variables",
|
"title": "Additional pipeline variables",
|
||||||
"desc": "Specify additional variables to use in your pipeline. Variables with the same name will be overwritten.",
|
"desc": "Specify additional variables to be used in your pipeline. Variables with the same name are overwritten.",
|
||||||
"name": "Variable name",
|
"name": "Variable name",
|
||||||
"value": "Variable value"
|
"value": "Variable value"
|
||||||
},
|
},
|
||||||
"show_pipelines": "Show pipelines"
|
"show_pipelines": "Show pipelines"
|
||||||
},
|
},
|
||||||
"deploy_pipeline": {
|
"deploy_pipeline": {
|
||||||
"title": "Trigger a 'deployment' event for current pipeline #{pipelineId}",
|
"title": "Trigger a deployment for current pipeline #{pipelineId}",
|
||||||
"enter_target": "Target 'deployment' environment",
|
"enter_target": "Target environment for deployment",
|
||||||
"enter_task": "Deployment task",
|
"enter_task": "Deployment task",
|
||||||
"trigger": "Deploy",
|
"trigger": "Deploy",
|
||||||
"variables": {
|
"variables": {
|
||||||
"delete": "Delete variable",
|
"delete": "Delete variable",
|
||||||
"title": "Additional pipeline variables",
|
"title": "Additional pipeline variables",
|
||||||
"desc": "Specify additional variables to use in your pipeline. Variables with the same name will be overwritten.",
|
"desc": "Specify additional variables to be used in your pipeline. Variables with the same name are overwritten.",
|
||||||
"name": "Variable name",
|
"name": "Variable name",
|
||||||
"value": "Variable value"
|
"value": "Variable value"
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
"branches": "Branches",
|
"branches": "Branches",
|
||||||
"pull_requests": "Pull requests",
|
"pull_requests": "Pull requests",
|
||||||
"add": "Add repository",
|
"add": "Add repository",
|
||||||
"user_none": "This organization / user does not have any projects yet.",
|
"user_none": "This organization/user has no projects yet",
|
||||||
"not_allowed": "You are not allowed to access this repository",
|
"not_allowed": "You are not allowed to access this repository",
|
||||||
"enable": {
|
"enable": {
|
||||||
"enable": "Enable",
|
"enable": "Enable",
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
"visibility": "Project visibility",
|
"visibility": "Project visibility",
|
||||||
"public": {
|
"public": {
|
||||||
"public": "Public",
|
"public": "Public",
|
||||||
"desc": "Every user can see your project without being logged in."
|
"desc": "Anyone can see your project without being logged in."
|
||||||
},
|
},
|
||||||
"private": {
|
"private": {
|
||||||
"private": "Private",
|
"private": "Private",
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"not_allowed": "You are not allowed to access this repository's settings",
|
"not_allowed": "You are not allowed to access the settings of this repository",
|
||||||
"general": {
|
"general": {
|
||||||
"general": "General",
|
"general": "General",
|
||||||
"project": "Project settings",
|
"project": "Project settings",
|
||||||
|
@ -97,15 +97,15 @@
|
||||||
},
|
},
|
||||||
"allow_pr": {
|
"allow_pr": {
|
||||||
"allow": "Allow Pull Requests",
|
"allow": "Allow Pull Requests",
|
||||||
"desc": "Allow pipelines to run on pull requests."
|
"desc": "Allow the execution of pipelines on pull requests."
|
||||||
},
|
},
|
||||||
"allow_deploy": {
|
"allow_deploy": {
|
||||||
"allow": "Allow 'deployment' events.",
|
"allow": "Allow Deployments",
|
||||||
"desc": "Permit 'deployment' runs for successful pipelines. All users with with push permissions can trigger these, so use with caution."
|
"desc": "Allow deployments for successful pipelines. All users with push permissions can trigger these, so use with caution."
|
||||||
},
|
},
|
||||||
"netrc_only_trusted": {
|
"netrc_only_trusted": {
|
||||||
"netrc_only_trusted": "Custom trusted clone plugins",
|
"netrc_only_trusted": "Custom trusted clone plugins",
|
||||||
"desc": "Plugins listed here will get access to netrc credentials that can be used to clone repositories from the forge or push to it."
|
"desc": "Plugins that get access to netrc credentials that can be used to clone repositories from the forge or push them into the forge."
|
||||||
},
|
},
|
||||||
"trusted": {
|
"trusted": {
|
||||||
"trusted": "Trusted",
|
"trusted": "Trusted",
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
},
|
},
|
||||||
"cancel_prev": {
|
"cancel_prev": {
|
||||||
"cancel": "Cancel previous pipelines",
|
"cancel": "Cancel previous pipelines",
|
||||||
"desc": "Selected event triggers will cancel pending and running pipelines of the same event before starting the most recent one."
|
"desc": "Selected event triggers cancel pending and running pipelines of the same event before starting the next one."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crons": {
|
"crons": {
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"delete": "Delete repository",
|
"delete": "Delete repository",
|
||||||
"confirm": "All data will be lost after this action!!!\n\nDo you really want to proceed?",
|
"confirm": "All data will be lost after this action!\n\nDo you really want to proceed?",
|
||||||
"success": "Repository deleted"
|
"success": "Repository deleted"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -202,9 +202,9 @@
|
||||||
"no_logs": "No logs",
|
"no_logs": "No logs",
|
||||||
"pipeline": "Pipeline #{pipelineId}",
|
"pipeline": "Pipeline #{pipelineId}",
|
||||||
"log_title": "Step Logs",
|
"log_title": "Step Logs",
|
||||||
"log_download_error": "There was an error while downloading the log file",
|
"log_download_error": "An error occurred while downloading the log file",
|
||||||
"log_delete_confirm": "Do you really want to delete logs of this step?",
|
"log_delete_confirm": "Do you really want to delete the step logs?",
|
||||||
"log_delete_error": "There was an error while deleting the step logs",
|
"log_delete_error": "An error occurred when deleting the step logs",
|
||||||
"actions": {
|
"actions": {
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"restart": "Restart",
|
"restart": "Restart",
|
||||||
|
@ -214,11 +214,11 @@
|
||||||
"restart_success": "Pipeline restarted",
|
"restart_success": "Pipeline restarted",
|
||||||
"log_download": "Download",
|
"log_download": "Download",
|
||||||
"log_delete": "Delete",
|
"log_delete": "Delete",
|
||||||
"log_auto_scroll": "Automatically scroll down",
|
"log_auto_scroll": "Enable automatic scrolling",
|
||||||
"log_auto_scroll_off": "Turn off automatic scrolling"
|
"log_auto_scroll_off": "Disable automatic scrolling"
|
||||||
},
|
},
|
||||||
"protected": {
|
"protected": {
|
||||||
"awaits": "This pipeline is awaiting approval by a maintainer!",
|
"awaits": "This pipeline is awaiting approval from a maintainer!",
|
||||||
"approve": "Approve",
|
"approve": "Approve",
|
||||||
"decline": "Decline",
|
"decline": "Decline",
|
||||||
"declined": "This pipeline has been declined!",
|
"declined": "This pipeline has been declined!",
|
||||||
|
@ -229,7 +229,7 @@
|
||||||
"push": "Push",
|
"push": "Push",
|
||||||
"tag": "Tag",
|
"tag": "Tag",
|
||||||
"pr": "Pull Request",
|
"pr": "Pull Request",
|
||||||
"pr_closed": "Pull Request merged / closed",
|
"pr_closed": "Pull Request merged/closed",
|
||||||
"deploy": "Deploy",
|
"deploy": "Deploy",
|
||||||
"cron": "Cron",
|
"cron": "Cron",
|
||||||
"manual": "Manual",
|
"manual": "Manual",
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
"errors": "Errors",
|
"errors": "Errors",
|
||||||
"warnings": "Warnings",
|
"warnings": "Warnings",
|
||||||
"show_errors": "Show errors",
|
"show_errors": "Show errors",
|
||||||
"we_got_some_errors": "Oh no, we got some errors!",
|
"we_got_some_errors": "Oh no, an error occurred!",
|
||||||
"duration": "Pipeline duration",
|
"duration": "Pipeline duration",
|
||||||
"created": "Created: {created}",
|
"created": "Created: {created}",
|
||||||
"debug": {
|
"debug": {
|
||||||
|
@ -259,7 +259,7 @@
|
||||||
"download_metadata": "Download metadata",
|
"download_metadata": "Download metadata",
|
||||||
"metadata_download_error": "Error downloading metadata",
|
"metadata_download_error": "Error downloading metadata",
|
||||||
"metadata_download_successful": "Metadata downloaded successfully",
|
"metadata_download_successful": "Metadata downloaded successfully",
|
||||||
"no_permission": "You don't have permission to access debug information.",
|
"no_permission": "You are not allowed to access the debug information",
|
||||||
"metadata_exec_title": "Rerun pipeline locally",
|
"metadata_exec_title": "Rerun pipeline locally",
|
||||||
"metadata_exec_desc": "Download this pipeline's metadata to run it locally. This allows you to troubleshoot issues and test changes before committing them. `woodpecker-cli` matching the Woodpecker Server version must be installed locally."
|
"metadata_exec_desc": "Download this pipeline's metadata to run it locally. This allows you to troubleshoot issues and test changes before committing them. `woodpecker-cli` matching the Woodpecker Server version must be installed locally."
|
||||||
}
|
}
|
||||||
|
@ -267,9 +267,9 @@
|
||||||
},
|
},
|
||||||
"org": {
|
"org": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"not_allowed": "You are not allowed to access this organization's settings",
|
"not_allowed": "You are not allowed to access the settings of this organization",
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"desc": "Organization secrets can be passed to all organization's repository's pipeline steps as environmental variables."
|
"desc": "Organization secrets can be used in the pipelines of all repositories owned by the organization."
|
||||||
},
|
},
|
||||||
"registries": {
|
"registries": {
|
||||||
"desc": "Organization registry credentials can be added to use private images for all pipelines of an organization."
|
"desc": "Organization registry credentials can be added to use private images for all pipelines of an organization."
|
||||||
|
@ -281,14 +281,14 @@
|
||||||
},
|
},
|
||||||
"admin": {
|
"admin": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"not_allowed": "You are not allowed to access server settings.",
|
"not_allowed": "You are not allowed to access server settings",
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"desc": "Global secrets can be passed to all repository's pipeline steps as environmental variables.",
|
"desc": "Global secrets can be used in the pipelines of all repositories.",
|
||||||
"warning": "These secrets will be available for all users."
|
"warning": "These secrets are available to all users."
|
||||||
},
|
},
|
||||||
"registries": {
|
"registries": {
|
||||||
"desc": "Global registry credentials can be added to use private images for all pipelines.",
|
"desc": "Global registry credentials can be added to use private images for all pipelines.",
|
||||||
"warning": "These registry credentials will be available for all users."
|
"warning": "These registry credentials are available to all users."
|
||||||
},
|
},
|
||||||
"agents": {
|
"agents": {
|
||||||
"agents": "Agents",
|
"agents": "Agents",
|
||||||
|
@ -320,7 +320,7 @@
|
||||||
},
|
},
|
||||||
"capacity": {
|
"capacity": {
|
||||||
"capacity": "Capacity",
|
"capacity": "Capacity",
|
||||||
"desc": "The max amount of parallel pipelines executed by this agent.",
|
"desc": "The maximum amount of parallel pipelines executed by this agent.",
|
||||||
"badge": "capacity"
|
"badge": "capacity"
|
||||||
},
|
},
|
||||||
"custom_labels": {
|
"custom_labels": {
|
||||||
|
@ -333,13 +333,13 @@
|
||||||
"version": "Version",
|
"version": "Version",
|
||||||
"last_contact": "Last contact",
|
"last_contact": "Last contact",
|
||||||
"never": "Never",
|
"never": "Never",
|
||||||
"delete_confirm": "Do you really want to delete this agent? It will not be able to connect to the server anymore.",
|
"delete_confirm": "Do you really want to delete this agent? It will no longer be able to connect to the server.",
|
||||||
"edit_agent": "Edit agent",
|
"edit_agent": "Edit agent",
|
||||||
"delete_agent": "Delete agent"
|
"delete_agent": "Delete agent"
|
||||||
},
|
},
|
||||||
"queue": {
|
"queue": {
|
||||||
"queue": "Queue",
|
"queue": "Queue",
|
||||||
"desc": "Tasks waiting to be executed by agents",
|
"desc": "Tasks waiting to be executed by agents.",
|
||||||
"pause": "Pause",
|
"pause": "Pause",
|
||||||
"resume": "Resume",
|
"resume": "Resume",
|
||||||
"paused": "Queue is paused",
|
"paused": "Queue is paused",
|
||||||
|
@ -360,7 +360,7 @@
|
||||||
},
|
},
|
||||||
"users": {
|
"users": {
|
||||||
"users": "Users",
|
"users": "Users",
|
||||||
"desc": "Users registered for this server",
|
"desc": "Users registered for this server.",
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"email": "Email",
|
"email": "Email",
|
||||||
"avatar_url": "Avatar URL",
|
"avatar_url": "Avatar URL",
|
||||||
|
@ -392,7 +392,7 @@
|
||||||
},
|
},
|
||||||
"repos": {
|
"repos": {
|
||||||
"repos": "Repositories",
|
"repos": "Repositories",
|
||||||
"desc": "Repositories that are or have been enabled on this server.",
|
"desc": "Repositories that are or were activated on this server.",
|
||||||
"none": "There are no repositories yet.",
|
"none": "There are no repositories yet.",
|
||||||
"view": "View repository",
|
"view": "View repository",
|
||||||
"settings": "Repository settings",
|
"settings": "Repository settings",
|
||||||
|
@ -418,7 +418,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"desc": "User secrets can be passed to personal pipeline steps as environmental variables."
|
"desc": "User secrets can be used in the pipelines of all repositories owned by the user."
|
||||||
},
|
},
|
||||||
"registries": {
|
"registries": {
|
||||||
"desc": "User registry credentials can be added to use private images for all personal pipelines."
|
"desc": "User registry credentials can be added to use private images for all personal pipelines."
|
||||||
|
@ -440,7 +440,7 @@
|
||||||
},
|
},
|
||||||
"secrets": {
|
"secrets": {
|
||||||
"secrets": "Secrets",
|
"secrets": "Secrets",
|
||||||
"desc": "Secrets can be passed to individual pipeline steps as environmental variables.",
|
"desc": "Secrets can be used in all pipelines of this repository.",
|
||||||
"none": "There are no secrets yet.",
|
"none": "There are no secrets yet.",
|
||||||
"add": "Add secret",
|
"add": "Add secret",
|
||||||
"save": "Save secret",
|
"save": "Save secret",
|
||||||
|
@ -453,11 +453,11 @@
|
||||||
"saved": "Secret saved",
|
"saved": "Secret saved",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"images": "Available only for the following plugins",
|
"images": "Available only for the following plugins",
|
||||||
"desc": "List of plugin images where this secret is available. Leave empty to allow for all plugins and normal steps."
|
"desc": "List of plugin images where this secret is available. Leave empty to allow all plugins and normal steps."
|
||||||
},
|
},
|
||||||
"events": {
|
"events": {
|
||||||
"events": "Available at the following events",
|
"events": "Available at the following events",
|
||||||
"pr_warning": "Please be careful with this option: a bad actor can submit a malicious pull request that exposes your secrets."
|
"warning": "Exposing secrets to pull requests could allow bad actors to steal your secrets with a malicious pull request."
|
||||||
},
|
},
|
||||||
"edit": "Edit secret",
|
"edit": "Edit secret",
|
||||||
"delete": "Delete secret"
|
"delete": "Delete secret"
|
||||||
|
@ -489,7 +489,7 @@
|
||||||
"global_level_secret": "global secret",
|
"global_level_secret": "global secret",
|
||||||
"org_level_secret": "organization secret",
|
"org_level_secret": "organization secret",
|
||||||
"login_to_cli": "Login to CLI",
|
"login_to_cli": "Login to CLI",
|
||||||
"login_to_cli_description": "By continuing you will be logged into the CLI.",
|
"login_to_cli_description": "If you continue, you will be logged in to the CLI.",
|
||||||
"abort": "Abort",
|
"abort": "Abort",
|
||||||
"cli_login_success": "Login to CLI successful",
|
"cli_login_success": "Login to CLI successful",
|
||||||
"cli_login_failed": "Login to CLI failed",
|
"cli_login_failed": "Login to CLI failed",
|
||||||
|
@ -497,7 +497,7 @@
|
||||||
"return_to_cli": "You can now close this tab and return to the CLI.",
|
"return_to_cli": "You can now close this tab and return to the CLI.",
|
||||||
"settings": "Settings",
|
"settings": "Settings",
|
||||||
"oauth_error": "Error while authenticating against OAuth provider",
|
"oauth_error": "Error while authenticating against OAuth provider",
|
||||||
"internal_error": "Some internal error occurred",
|
"internal_error": "Internal error occurred",
|
||||||
"registration_closed": "The registration is closed",
|
"registration_closed": "The registration is closed",
|
||||||
"access_denied": "You are not allowed to access this instance",
|
"access_denied": "You are not allowed to access this instance",
|
||||||
"invalid_state": "The OAuth state is invalid",
|
"invalid_state": "The OAuth state is invalid",
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
</InputField>
|
</InputField>
|
||||||
|
|
||||||
<InputField :label="$t('secrets.events.events')">
|
<InputField :label="$t('secrets.events.events')">
|
||||||
|
<Warning class="mb-4 text-sm" :text="$t('secrets.events.warning')" />
|
||||||
<CheckboxesField v-model="innerValue.events" :options="secretEventsOptions" />
|
<CheckboxesField v-model="innerValue.events" :options="secretEventsOptions" />
|
||||||
</InputField>
|
</InputField>
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ import { computed, ref, toRef } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
import Button from '~/components/atomic/Button.vue';
|
import Button from '~/components/atomic/Button.vue';
|
||||||
|
import Warning from '~/components/atomic/Warning.vue';
|
||||||
import CheckboxesField from '~/components/form/CheckboxesField.vue';
|
import CheckboxesField from '~/components/form/CheckboxesField.vue';
|
||||||
import type { CheckboxOption } from '~/components/form/form.types';
|
import type { CheckboxOption } from '~/components/form/form.types';
|
||||||
import InputField from '~/components/form/InputField.vue';
|
import InputField from '~/components/form/InputField.vue';
|
||||||
|
@ -102,11 +104,7 @@ const secretEventsOptions: CheckboxOption[] = [
|
||||||
{ value: WebhookEvents.Push, text: i18n.t('repo.pipeline.event.push') },
|
{ value: WebhookEvents.Push, text: i18n.t('repo.pipeline.event.push') },
|
||||||
{ value: WebhookEvents.Tag, text: i18n.t('repo.pipeline.event.tag') },
|
{ value: WebhookEvents.Tag, text: i18n.t('repo.pipeline.event.tag') },
|
||||||
{ value: WebhookEvents.Release, text: i18n.t('repo.pipeline.event.release') },
|
{ value: WebhookEvents.Release, text: i18n.t('repo.pipeline.event.release') },
|
||||||
{
|
{ value: WebhookEvents.PullRequest, text: i18n.t('repo.pipeline.event.pr') },
|
||||||
value: WebhookEvents.PullRequest,
|
|
||||||
text: i18n.t('repo.pipeline.event.pr'),
|
|
||||||
description: i18n.t('secrets.events.pr_warning'),
|
|
||||||
},
|
|
||||||
{ value: WebhookEvents.Deploy, text: i18n.t('repo.pipeline.event.deploy') },
|
{ value: WebhookEvents.Deploy, text: i18n.t('repo.pipeline.event.deploy') },
|
||||||
{ value: WebhookEvents.Cron, text: i18n.t('repo.pipeline.event.cron') },
|
{ value: WebhookEvents.Cron, text: i18n.t('repo.pipeline.event.cron') },
|
||||||
{ value: WebhookEvents.Manual, text: i18n.t('repo.pipeline.event.manual') },
|
{ value: WebhookEvents.Manual, text: i18n.t('repo.pipeline.event.manual') },
|
||||||
|
|
Loading…
Reference in a new issue