The Unified and Autonomous Development Platform
refactor: Replace RegistryToolStep with CraneStep and enhance Docker command handling
Robin Shen93e56e964060
diff --git a/server-core/src/main/java/io/onedev/server/buildspec/step/CraneStep.java b/server-core/src/main/java/io/onedev/server/buildspec/step/CraneStep.javaindex f68c99ac6a..7b12509fd3 100644--- a/server-core/src/main/java/io/onedev/server/buildspec/step/CraneStep.java+++ b/server-core/src/main/java/io/onedev/server/buildspec/step/CraneStep.java@@ -1,15 +1,122 @@package io.onedev.server.buildspec.step;+import static io.onedev.agent.AgentUtils.buildAuthConfig;+import static io.onedev.k8shelper.RegistryLoginFacade.merge;++import java.util.HashMap;+import java.util.List;+import java.util.Map;++import com.fasterxml.jackson.core.JsonProcessingException;+import com.fasterxml.jackson.databind.ObjectMapper;++import io.onedev.commons.codeassist.InputSuggestion;+import io.onedev.k8shelper.CommandFacade;+import io.onedev.k8shelper.RegistryLoginFacade;+import io.onedev.k8shelper.StepFacade;import io.onedev.server.annotation.Editable;+import io.onedev.server.annotation.Interpolative;+import io.onedev.server.annotation.Multiline;+import io.onedev.server.buildspec.BuildSpec;+import io.onedev.server.buildspec.param.ParamCombination;+import io.onedev.server.buildspec.step.commandinterpreter.PosixInterpreter;+import io.onedev.server.buildspec.step.commandinterpreter.Interpreter;+import io.onedev.server.model.Build;+import io.onedev.server.model.support.administration.DockerAware;+import io.onedev.server.model.support.administration.jobexecutor.JobExecutor;-public abstract class CraneStep extends RegistryToolStep {+public abstract class CraneStep extends CommandStep {private static final long serialVersionUID = 1L;+ private String trustCertificates;++ @Editable+ @Override+ public boolean isRunInContainer() {+ return true;+ }+@Editable@Overridepublic String getImage() {return "1dev/crane:1.0.0";}+ @Override+ public boolean isUseTTY() {+ return true;+ }++ @Override+ public String getRunAs() {+ return "0:0";+ }++ @Editable(order=1000, name="Certificates to Trust", group = "More Settings", placeholder = "Base64 encoded PEM format, starting with " ++ "-----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----",+ description = "Specify certificates to trust if you are using self-signed certificates for your docker registries")+ @Multiline(monospace = true)+ @Interpolative(variableSuggester="suggestVariables")+ public String getTrustCertificates() {+ return trustCertificates;+ }++ public void setTrustCertificates(String trustCertificates) {+ this.trustCertificates = trustCertificates;+ }++ @Editable(order=1100, group="More Settings", description="Optionally specify registry logins to override " ++ "those defined in job executor. For built-in registry, use <code>@server_url@</code> for registry url, " ++ "<code>@job_token@</code> for user name, and access token secret for password secret")+ @Override+ public List<RegistryLogin> getRegistryLogins() {+ return super.getRegistryLogins();+ }++ @Override+ public void setRegistryLogins(List<RegistryLogin> registryLogins) {+ super.setRegistryLogins(registryLogins);+ }++ static List<InputSuggestion> suggestVariables(String matchWith) {+ return BuildSpec.suggestVariables(matchWith, true, true, false);+ }++ @Override+ public Interpreter getInterpreter() {+ return new PosixInterpreter();+ }++ @Override+ public StepFacade getFacade(Build build, JobExecutor jobExecutor, String jobToken, ParamCombination paramCombination,+ List<RegistryLoginFacade> registryLogins, Map<String, String> envMap) {+ var commandsBuilder = new StringBuilder();+ if (jobExecutor instanceof DockerAware) {+ DockerAware registryLoginAware = (DockerAware) jobExecutor;+ commandsBuilder.append("mkdir /root/.docker\n");+ commandsBuilder.append("cat <<EOF>> /root/.docker/config.json\n");+ var mergedRegistryLogins = merge(registryLogins, registryLoginAware.getRegistryLogins(jobToken));+ var configMap = new HashMap<String, Object>();+ configMap.put("auths", buildAuthConfig(mergedRegistryLogins));+ try {+ commandsBuilder.append(new ObjectMapper().writeValueAsString(configMap)).append("\n");+ } catch (JsonProcessingException e) {+ throw new RuntimeException(e);+ }+ commandsBuilder.append("EOF\n");+ }+ if (getTrustCertificates() != null) {+ commandsBuilder.append("cat <<EOF>> /root/trust-certs.crt\n");+ commandsBuilder.append(getTrustCertificates().replace("\r\n", "\n")).append("\n");+ commandsBuilder.append("EOF\n");+ commandsBuilder.append("export SSL_CERT_FILE=/root/trust-certs.crt\n");+ }+ commandsBuilder.append(getCommand());+ return new CommandFacade(getEffectiveImage(), getRunAs(), registryLogins,+ envMap, isUseTTY(), commandsBuilder.toString());+ }++ protected abstract String getCommand();+}diff --git a/server-core/src/main/java/io/onedev/server/buildspec/step/RegistryToolStep.java b/server-core/src/main/java/io/onedev/server/buildspec/step/RegistryToolStep.javadeleted file mode 100644index 516d7d4a2e..0000000000--- a/server-core/src/main/java/io/onedev/server/buildspec/step/RegistryToolStep.java+++ /dev/null@@ -1,120 +0,0 @@-package io.onedev.server.buildspec.step;--import static io.onedev.agent.AgentUtils.buildAuthConfig;-import static io.onedev.k8shelper.RegistryLoginFacade.merge;--import java.util.HashMap;-import java.util.List;-import java.util.Map;--import com.fasterxml.jackson.core.JsonProcessingException;-import com.fasterxml.jackson.databind.ObjectMapper;--import io.onedev.commons.codeassist.InputSuggestion;-import io.onedev.k8shelper.CommandFacade;-import io.onedev.k8shelper.RegistryLoginFacade;-import io.onedev.k8shelper.StepFacade;-import io.onedev.server.annotation.Editable;-import io.onedev.server.annotation.Interpolative;-import io.onedev.server.annotation.Multiline;-import io.onedev.server.buildspec.BuildSpec;-import io.onedev.server.buildspec.param.ParamCombination;-import io.onedev.server.buildspec.step.commandinterpreter.PosixInterpreter;-import io.onedev.server.buildspec.step.commandinterpreter.Interpreter;-import io.onedev.server.model.Build;-import io.onedev.server.model.support.administration.DockerAware;-import io.onedev.server.model.support.administration.jobexecutor.JobExecutor;--public abstract class RegistryToolStep extends CommandStep {-- private static final long serialVersionUID = 1L;-- private String trustCertificates;-- @Editable- @Override- public boolean isRunInContainer() {- return true;- }-- @Editable- @Override- public abstract String getImage();-- @Override- public boolean isUseTTY() {- return true;- }-- @Override- public String getRunAs() {- return "0:0";- }-- @Editable(order=1000, name="Certificates to Trust", group = "More Settings", placeholder = "Base64 encoded PEM format, starting with " +- "-----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----",- description = "Specify certificates to trust if you are using self-signed certificates for your docker registries")- @Multiline(monospace = true)- @Interpolative(variableSuggester="suggestVariables")- public String getTrustCertificates() {- return trustCertificates;- }-- public void setTrustCertificates(String trustCertificates) {- this.trustCertificates = trustCertificates;- }-- @Editable(order=1100, group="More Settings", description="Optionally specify registry logins to override " +- "those defined in job executor. For built-in registry, use <code>@server_url@</code> for registry url, " +- "<code>@job_token@</code> for user name, and access token secret for password secret")- @Override- public List<RegistryLogin> getRegistryLogins() {- return super.getRegistryLogins();- }-- @Override- public void setRegistryLogins(List<RegistryLogin> registryLogins) {- super.setRegistryLogins(registryLogins);- }-- static List<InputSuggestion> suggestVariables(String matchWith) {- return BuildSpec.suggestVariables(matchWith, true, true, false);- }-- @Override- public Interpreter getInterpreter() {- return new PosixInterpreter();- }-- @Override- public StepFacade getFacade(Build build, JobExecutor jobExecutor, String jobToken, ParamCombination paramCombination,- List<RegistryLoginFacade> registryLogins, Map<String, String> envMap) {- var commandsBuilder = new StringBuilder();- if (jobExecutor instanceof DockerAware) {- DockerAware registryLoginAware = (DockerAware) jobExecutor;- commandsBuilder.append("mkdir -p /root/.docker\n");- commandsBuilder.append("cat <<'EOF' > /root/.docker/config.json\n");- var mergedRegistryLogins = merge(registryLogins, registryLoginAware.getRegistryLogins(jobToken));- var configMap = new HashMap<String, Object>();- configMap.put("auths", buildAuthConfig(mergedRegistryLogins));- try {- commandsBuilder.append(new ObjectMapper().writeValueAsString(configMap)).append("\n");- } catch (JsonProcessingException e) {- throw new RuntimeException(e);- }- commandsBuilder.append("EOF\n");- }- if (getTrustCertificates() != null) {- commandsBuilder.append("cat <<'EOF' > /root/trust-certs.crt\n");- commandsBuilder.append(getTrustCertificates().replace("\r\n", "\n")).append("\n");- commandsBuilder.append("EOF\n");- commandsBuilder.append("export SSL_CERT_FILE=/root/trust-certs.crt\n");- }- commandsBuilder.append(getCommand());- return new CommandFacade(getEffectiveImage(), getRunAs(), registryLogins,- envMap, isUseTTY(), commandsBuilder.toString());- }-- protected abstract String getCommand();--}diff --git a/server-core/src/main/java/io/onedev/server/web/page/simple/simple.css b/server-core/src/main/java/io/onedev/server/web/page/simple/simple.cssindex 2b6609b2c5..d22e8a0e0b 100644--- a/server-core/src/main/java/io/onedev/server/web/page/simple/simple.css+++ b/server-core/src/main/java/io/onedev/server/web/page/simple/simple.css@@ -71,7 +71,8 @@box-shadow: inset 0 0 0 1000px var(--simple-input-background),0 0 0 3px rgba(54, 153, 255, 0.14) !important;}-.SimplePage .main .text-muted {+.SimplePage .main .text-muted,+.SimplePage .main .wizard>.head>.title {color: #667085 !important;}.SimplePage.dark-mode {@@ -90,7 +91,8 @@.SimplePage.dark-mode:not(.force-ordinary-style) .main .form-control:focus {border-color: var(--primary);}-.SimplePage.dark-mode .main .text-muted {+.SimplePage.dark-mode .main .text-muted,+.SimplePage.dark-mode .main .wizard>.head>.title {color: #a8adc1 !important;}@@ -154,8 +156,9 @@margin-bottom: 24px;}.SimplePage .main .wizard>.head>.title {- font-size: 18px;- font-weight: 600;+ font-size: 16px;+ font-weight: 400;+ line-height: 1.5;margin: 0 0 8px;}.SimplePage .main .error-detail,diff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_de.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_de.javaindex 35d2e7fb03..46735b0624 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_de.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_de.java@@ -565,7 +565,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Build Description", "Build-Beschreibung");m.put("Build Failure Issue Prompt", "Build-Fehler Problemaufforderung");m.put("Build Filter", "Build-Filter");- m.put("Build Image", "Build-Image");m.put("Build Image (Kaniko)", "Build-Image (Kaniko)");m.put("Build Management", "Build-Management");m.put("Build Notification", "Build-Benachrichtigung");@@ -585,8 +584,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Build Volume Storage Size", "Build-Volume-Speichergröße");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","Build-Administrationsberechtigung für alle Jobs innerhalb eines Projekts, einschließlich Batch-Operationen über mehrere Builds");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "Build-Docker-Image mit Docker Buildx. Dieser Schritt kann nur vom Server-Docker-Executor oder Remote-Docker-Executor ausgeführt werden und verwendet den in diesen Executoren angegebenen Buildx-Builder, um die Aufgabe auszuführen. Um ein Image mit Kubernetes-Executor zu erstellen, verwenden Sie bitte stattdessen den Kaniko-Schritt");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","Build-Docker-Image mit Kaniko. Dieser Schritt muss vom Server-Docker-Executor, Remote-Docker-Executor oder Kubernetes-Executor ausgeführt werden");m.put("Build duration statistics", "Build-Dauerstatistiken");@@ -1352,6 +1349,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("Editor", "Editor");m.put("Either specify value or secret value of the environment variable", "Entweder Wert oder geheimen Wert der Umgebungsvariable angeben");m.put("Either target branch or source branch has new commits just now, please re-check.", "Entweder der Ziel-Branch oder der Quell-Branch hat gerade neue Commits, bitte erneut überprüfen.");+ m.put("Elapsed time: {0}", "Verstrichene Zeit: {0}");m.put("Email", "E-Mail");m.put("Email Address", "E-Mail-Adresse");m.put("Email Address Privacy", "E-Mail-Adressenschutz");@@ -1398,10 +1396,6 @@ public class Translation_de extends TranslationResourceBundle {"Aktivieren Sie dies, wenn die Spezifikation vom KI-Benutzer verwendet werden kann, um Workspaces zu erstellen, um zugewiesene Aufgaben auszuführen");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","Aktivieren Sie diese Option, um den Pull-Request automatisch zu mergen, wenn er bereit ist (alle Gutachter haben zugestimmt, alle erforderlichen Jobs sind abgeschlossen usw.)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Aktivieren Sie dies, um den Schritt zur Veröffentlichung des HTML-Berichts auszuführen. Um XSS-Angriffe zu vermeiden, stellen Sie sicher, dass dieser Executor nur von vertrauenswürdigen Jobs verwendet werden kann");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Aktivieren Sie dies, um den Site-Veröffentlichungsschritt auszuführen. OneDev wird Projekt-Site-Dateien unverändert bereitstellen. Um XSS-Angriffe zu vermeiden, stellen Sie sicher, dass dieser Executor nur von vertrauenswürdigen Jobs verwendet werden kann");m.put("Enable this to process issue or pull request comments posted via email", "Aktivieren Sie dies, um Kommentare zu Problemen oder Pull-Requests zu verarbeiten, die per E-Mail gepostet wurden");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","Aktivieren Sie dies, um Kommentare zu Problemen oder Pull-Requests zu verarbeiten, die per E-Mail gepostet wurden. <b class='text-danger'>HINWEIS:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub-Addressing</a> muss für die oben angegebene System-E-Mail-Adresse aktiviert sein, da OneDev diese verwendet, um Problem- und Pull-Request-Kontexte zu verfolgen");@@ -1471,6 +1465,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("Estimated progress", "Geschätzter Fortschritt");m.put("Estimated progress based on the running time of the last successful build in the same stream","Geschätzter Fortschritt basierend auf der Laufzeit des letzten erfolgreichen Builds im selben Stream");+ m.put("Estimated remaining time: {0}", "Geschätzte verbleibende Zeit: {0}");m.put("Estimated time", "Geschätzte Zeit");m.put("Estimated/Spent time. Click for details", "Geschätzte/Verbrauchte Zeit. Klicken Sie für Details");m.put("Evaluate script to get choices", "Script auswerten, um Auswahlmöglichkeiten zu erhalten");@@ -2825,7 +2820,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","Optional geben Sie den Namen des Attributs innerhalb des Benutzer-LDAP-Eintrags an, dessen Werte als Benutzer-SSH-Schlüssel verwendet werden. SSH-Schlüssel werden nur von LDAP verwaltet, wenn dieses Feld gesetzt ist");m.put("Optionally specify node selector of the job pods", "Optional geben Sie den Node-Selector der Job-Pods an");- m.put("Optionally specify options for docker builder prune command", "Optional geben Sie Optionen für den Docker-Builder-Prune-Befehl an");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","Optional geben Sie Optionen für den SCP-Befehl an. Mehrere Optionen müssen durch Leerzeichen getrennt werden");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Provisioner", "Provisionierer");m.put("Proxy", "Proxy");m.put("Prune Builder Cache", "Builder-Cache bereinigen");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Bild-Cache des Docker-Buildx-Builders bereinigen. Dieser Schritt ruft den Docker-Builder-Prune-Befehl auf, um den Cache des angegebenen Buildx-Builders im Server-Docker-Executor oder Remote-Docker-Executor zu entfernen");m.put("Public Key", "Öffentlicher Schlüssel");m.put("Public Roles", "Öffentliche Rollen");m.put("Publish", "Veröffentlichen");@@ -3924,8 +3916,6 @@ public class Translation_de extends TranslationResourceBundle {"Gibt den absoluten Pfad zur Konfigurationsdatei an, die von kubectl verwendet wird, um auf den Cluster zuzugreifen. Lassen Sie das Feld leer, damit kubectl die Cluster-Zugriffsinformationen automatisch bestimmt");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","Gibt den absoluten Pfad zum kubectl-Dienstprogramm an, z. B. <i>/usr/bin/kubectl</i>. Falls leer gelassen, versucht OneDev, das Dienstprogramm aus dem Systempfad zu finden");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "Geben Sie ein Zugriffstoken mit Upload-Cache-Berechtigung für das oben genannte Projekt an.\nBeachten Sie, dass diese Eigenschaft nicht erforderlich ist, wenn der Cache in das aktuelle Projekt hochgeladen wird");m.put("Specify account name to login to Gmail to send/receive email", "Gibt den Kontonamen an, um sich bei Gmail anzumelden, um E-Mails zu senden/empfangen");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","Gibt zusätzliche Benutzer an, die auf dieses vertrauliche Issue zugreifen können, zusätzlich zu denjenigen, die über die Rolle berechtigt sind. Benutzer, die im Issue erwähnt werden, werden automatisch autorisiert");@@ -4010,8 +4000,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","Geben Sie ein Verzeichnis relativ zum <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>Job-Arbeitsbereich</a> an, um das OCI-Layout zu speichern.");m.put("Specify docker image of the service", "Geben Sie das Docker-Image des Dienstes an.");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Geben Sie den dockerx-Builder an, der zum Erstellen des Docker-Images verwendet wird. OneDev erstellt den Builder automatisch, wenn er nicht existiert. Weitere Informationen zur Anpassung des Builders, beispielsweise um das Veröffentlichen in unsicheren Registries zu ermöglichen, finden Sie in <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>diesem Tutorial</a>.");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","Geben Sie die Domain verschiedener noreply-E-Mail-Adressen für Git-Operationen an, wenn Benutzer\nihre eigenen E-Mail-Adressen privat halten möchten");m.put("Specify email addresses to send invitations, with one per line", "Geben Sie E-Mail-Adressen an, um Einladungen zu senden, jeweils eine pro Zeile.");@@ -4968,8 +4956,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","Ob dieses Feld einbezogen werden soll, wenn das Problem ursprünglich geöffnet wird oder nicht. Wenn nicht, können Sie dieses Feld später einbeziehen, wenn das Problem durch eine Problemübergangsregel in andere Zustände überführt wird");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "Ob geschätzte/aufgewendete Zeit nur in Stunden/Minuten eingegeben und angezeigt werden soll oder nicht");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "Ob der Docker-Sock in den Job-Container eingebunden werden soll, um Docker-Operationen in Job-Befehlen zu unterstützen<br><b class='text-danger'>WARNUNG</b>: Bösartige Jobs können die Kontrolle über das gesamte OneDev übernehmen, indem sie den eingebundenen Docker-Sock verwenden. Stellen Sie sicher, dass dieser Executor nur von vertrauenswürdigen Jobs verwendet werden kann, wenn diese Option aktiviert ist");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","Ob der Docker-Sock in den Workspace-Container eingebunden werden soll, um Docker-Operationen im Workspace zu unterstützen<br><b class='text-danger'>WARNUNG</b>: Bösartige Arbeitsbereiche können die Kontrolle über das gesamte OneDev übernehmen, indem sie den eingebundenen Docker-Sock betreiben. Stellen Sie sicher, dass dieser Provisioner nur von vertrauenswürdigen Arbeitsbereichen verwendet werden kann, wenn diese Option aktiviert ist");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_de extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} wird beim Commit in UTF-8 transkodiert");m.put("{0}d", "{0}d");m.put("{0}h", "{0}h");+ m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");m.put("{0}m", "{0}m");+ m.put("{0}m {1}s", "{0}m {1}s");m.put("{0}s", "{0}s");m.put("{0}w", "{0}w");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "Verstrichene Zeit: {0}");- m.put("Estimated remaining time: {0}", "Geschätzte verbleibende Zeit: {0}");- m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");- m.put("{0}m {1}s", "{0}m {1}s");+ m.put("Build Image (Buildx)", "Image erstellen (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "Docker-Image mit Buildx erstellen. Dieser Schritt kann nur vom Server-Docker-Executor oder Remote-Docker-Executor ausgeführt werden und verwendet den in diesen Executoren angegebenen Buildx-Builder, um die Aufgabe auszuführen. Um ein Image mit dem Kubernetes-Executor zu erstellen, verwenden Sie stattdessen den Kaniko-Schritt.");+ m.put("Enable Builder Cache Prune", "Builder-Cache-Bereinigung aktivieren");+ m.put("Enable Buildx Image Build", "Buildx-Image-Erstellung aktivieren");+ m.put("Enable Buildx Image Tools", "Buildx-Image-Tools aktivieren");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Aktivieren Sie dies, um den Schritt zum Veröffentlichen von HTML-Berichten auszuführen. Um XSS-Angriffe zu vermeiden,\nstellen Sie sicher, dass der Executor mit dieser Option nur von vertrauenswürdigen Jobs verwendet werden kann.");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Aktivieren Sie dies, um den Schritt zur Bereinigung des Builder-Caches auszuführen. Um zu vermeiden, dass der gemeinsame Builder-Cache\nvon böswilligen Jobs gelöscht wird, stellen Sie sicher, dass der Executor mit dieser Option nur von\nvertrauenswürdigen Jobs verwendet werden kann.");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "Aktivieren Sie dies, um den Schritt zur Veröffentlichung der Website auszuführen. OneDev wird die Projekt\nWebsite-Dateien unverändert bereitstellen. Um XSS-Angriffe zu vermeiden, stellen Sie sicher, dass der Executor mit dieser\nOption nur von vertrauenswürdigen Jobs verwendet werden kann.");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Aktivieren Sie dies, um den Schritt für Buildx-Image-Tools auszuführen.\nUm zu vermeiden, dass böswillige Jobs durch Ausführen dieses Schritts beliebige Host-Dateien lesen oder schreiben,\nstellen Sie sicher, dass der Executor mit dieser Option nur von vertrauenswürdigen Jobs verwendet werden kann.");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Aktivieren Sie dies, um den Schritt zur Image-Erstellung mit Buildx auszuführen.\nDer Schritt zur Image-Erstellung mit Kaniko kann weiterhin verwendet werden, auch wenn diese Option deaktiviert ist.\nUm zu vermeiden, dass böswillige Jobs durch Ausführen dieses Schritts beliebige Host-Dateien lesen,\nstellen Sie sicher, dass der Executor mit dieser Option nur von vertrauenswürdigen Jobs verwendet werden kann.");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "Optional Docker-Optionen angeben, um den Container auszuführen. Mehrere Optionen sollten durch Leerzeichen getrennt werden, und einzelne Optionen, die Leerzeichen enthalten, sollten in Anführungszeichen gesetzt werden. Dateipfade müssen relativ zum Arbeitsverzeichnis des Jobs sein, ohne '..' oder symbolische Links. Volume- und Geräte-Mount-Optionen sind nicht erlaubt.");+ m.put("Optionally specify options for docker buildx prune command", "Optional Optionen für den Docker-Buildx-Prune-Befehl angeben");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Image-Cache des Docker-Buildx-Builders bereinigen. Dieser Schritt ruft den Docker-Buildx-Prune-Befehl auf, um den Cache des in Server-Docker-Executor oder Remote-Docker-Executor angegebenen Buildx-Builders zu entfernen.");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Buildx-Builder angeben, der zum Erstellen des Docker-Images verwendet wird. OneDev erstellt den Builder automatisch, wenn er nicht existiert. Lesen Sie <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>dieses Tutorial</a>, um zu erfahren, wie der Builder beispielsweise angepasst werden kann, um das Veröffentlichen in unsicheren Registries zu ermöglichen.");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "Zugriffstoken mit Berechtigung zum Hochladen des Caches für das oben genannte Projekt angeben.\nDiese Eigenschaft ist nicht erforderlich, wenn der Arbeitsbereichsbesitzer die Berechtigung zum Hochladen des Caches für das oben genannte Projekt hat.");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Ob der Docker-Sock in den Job-Container eingebunden werden soll, um\nDocker-Operationen in Job-Befehlen zu unterstützen. Um zu vermeiden, dass böswillige Jobs die Kontrolle über das gesamte OneDev\ndurch die Bedienung des eingebundenen Docker-Socks übernehmen, stellen Sie sicher, dass der Executor mit dieser Option nur von\nvertrauenswürdigen Jobs verwendet werden kann.");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_es.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_es.javaindex f096381e2d..bebc368ffc 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_es.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_es.java@@ -565,7 +565,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Build Description", "Descripción de construcción");m.put("Build Failure Issue Prompt", "Problema de Fallo de Construcción");m.put("Build Filter", "Filtro de construcción");- m.put("Build Image", "Imagen de construcción");m.put("Build Image (Kaniko)", "Imagen de construcción (Kaniko)");m.put("Build Management", "Gestión de construcción");m.put("Build Notification", "Notificación de construcción");@@ -585,8 +584,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Build Volume Storage Size", "Tamaño de almacenamiento de volumen de construcción");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","Permiso administrativo de construcción para todos los trabajos dentro de un proyecto, incluidas las operaciones en lote sobre múltiples construcciones");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "Construir imagen de Docker con docker buildx. Este paso solo puede ser ejecutado por el ejecutor de Docker del servidor o el ejecutor de Docker remoto, y utiliza el constructor buildx especificado en estos ejecutores para realizar el trabajo. Para construir una imagen con el ejecutor de Kubernetes, utilice el paso kaniko en su lugar");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","Construir imagen de Docker con kaniko. Este paso necesita ser ejecutado por el ejecutor de Docker del servidor, el ejecutor de Docker remoto o el ejecutor de Kubernetes");m.put("Build duration statistics", "Estadísticas de duración de construcción");@@ -1352,6 +1349,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("Editor", "Editor");m.put("Either specify value or secret value of the environment variable", "Especifica el valor o el valor secreto de la variable de entorno");m.put("Either target branch or source branch has new commits just now, please re-check.", "La rama objetivo o la rama fuente tienen nuevos commits justo ahora, por favor vuelva a verificar.");+ m.put("Elapsed time: {0}", "Tiempo transcurrido: {0}");m.put("Email", "Correo electrónico");m.put("Email Address", "Dirección de correo electrónico");m.put("Email Address Privacy", "Privacidad de la dirección de correo electrónico");@@ -1398,10 +1396,6 @@ public class Translation_es extends TranslationResourceBundle {"Habilita esto si la especificación puede ser utilizada por el usuario de IA para crear espacios de trabajo y ejecutar tareas asignadas");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","Habilitar esta opción para fusionar automáticamente la solicitud de extracción cuando esté lista (todos los revisores aprobaron, todos los trabajos requeridos pasaron, etc.)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Habilite esto para permitir ejecutar el paso de publicación del informe html. Para evitar ataques XSS, asegúrese de que este ejecutor solo pueda ser utilizado por trabajos confiables");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Habilitar esto para permitir ejecutar el paso de publicación del sitio. OneDev servirá los archivos del sitio del proyecto tal como están. Para evitar ataques XSS, asegúrese de que este ejecutor solo pueda ser utilizado por trabajos confiables");m.put("Enable this to process issue or pull request comments posted via email", "Habilitar esto para procesar comentarios de problemas o solicitudes de extracción publicados por correo electrónico");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","Habilitar esto para procesar comentarios de problemas o solicitudes de extracción publicados por correo electrónico. <b class='text-danger'>NOTA:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>El subdireccionamiento</a> debe estar habilitado para la dirección de correo electrónico del sistema anterior, ya que OneDev lo utiliza para rastrear contextos de problemas y solicitudes de extracción");@@ -1471,6 +1465,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("Estimated progress", "Progreso estimado");m.put("Estimated progress based on the running time of the last successful build in the same stream","Progreso estimado basado en el tiempo de ejecución de la última compilación exitosa en el mismo flujo");+ m.put("Estimated remaining time: {0}", "Tiempo estimado restante: {0}");m.put("Estimated time", "Tiempo estimado");m.put("Estimated/Spent time. Click for details", "Tiempo estimado/gastado. Haga clic para más detalles");m.put("Evaluate script to get choices", "Evaluar script para obtener opciones");@@ -2825,7 +2820,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","Opcionalmente especifique el nombre del atributo dentro de la entrada LDAP del usuario cuyos valores se tomarán como claves SSH del usuario. Las claves SSH serán gestionadas por LDAP solo si este campo está configurado.");m.put("Optionally specify node selector of the job pods", "Opcionalmente especifique el selector de nodo de los pods del trabajo.");- m.put("Optionally specify options for docker builder prune command", "Opcionalmente especifique opciones para el comando docker builder prune.");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","Opcionalmente especifique opciones para el comando scp. Las múltiples opciones deben estar separadas por espacio.");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Provisioner", "Provisionador");m.put("Proxy", "Proxy");m.put("Prune Builder Cache", "Limpiar caché del constructor");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Limpiar la caché de imágenes del constructor de docker buildx. Este paso ejecuta el comando docker builder prune para eliminar la caché del constructor buildx especificado en el ejecutor docker del servidor o el ejecutor docker remoto");m.put("Public Key", "Clave pública");m.put("Public Roles", "Roles Públicos");m.put("Publish", "Publicar");@@ -3924,8 +3916,6 @@ public class Translation_es extends TranslationResourceBundle {"Especifica la ruta absoluta al archivo de configuración utilizado por kubectl para acceder al clúster. Déjalo vacío para que kubectl determine automáticamente la información de acceso al clúster");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","Especifica la ruta absoluta a la utilidad kubectl, por ejemplo: <i>/usr/bin/kubectl</i>. Si se deja vacío, OneDev intentará encontrar la utilidad desde la ruta del sistema");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "Especifique un token de acceso con permiso para cargar caché para el proyecto anterior.\nTenga en cuenta que esta propiedad no es necesaria si se carga la caché al proyecto actual");m.put("Specify account name to login to Gmail to send/receive email", "Especifica el nombre de cuenta para iniciar sesión en Gmail para enviar/recibir correos");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","Especifica usuarios adicionales que pueden acceder a este problema confidencial además de aquellos autorizados mediante roles. Los usuarios mencionados en el problema se autorizarán automáticamente");@@ -4010,8 +4000,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","Especifique el directorio relativo al <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>espacio de trabajo del trabajo</a> para almacenar el diseño OCI");m.put("Specify docker image of the service", "Especifique la imagen de Docker del servicio");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Especifique el constructor dockerx utilizado para construir la imagen de Docker. OneDev creará el constructor automáticamente si no existe. Consulte <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>este tutorial</a> sobre cómo personalizar el constructor, por ejemplo, para permitir la publicación en registros inseguros");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","Especifique el dominio de varias direcciones de correo electrónico noreply para operaciones git si los usuarios desean\nmantener privadas sus propias direcciones de correo electrónico");m.put("Specify email addresses to send invitations, with one per line", "Especifique las direcciones de correo electrónico para enviar invitaciones, una por línea");@@ -4968,8 +4956,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","Si se debe incluir este campo cuando el problema se abre inicialmente o no. Si no, puedes incluir este campo más tarde cuando el problema se transite a otros estados mediante la regla de transición de problemas");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "Si se debe ingresar y mostrar el tiempo estimado/gastado solo en horas/minutos o no");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "Si se debe montar o no el socket de Docker en el contenedor del trabajo para admitir operaciones de Docker en los comandos del trabajo<br><b class='text-danger'>ADVERTENCIA</b>: Los trabajos maliciosos pueden tomar el control de todo OneDev operando el socket de Docker montado. Asegúrese de que este ejecutor solo pueda ser utilizado por trabajos confiables si esta opción está habilitada");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","Si se debe montar el socket de docker en el contenedor del espacio de trabajo para soportar operaciones de docker en el espacio de trabajo o no<br><b class='text-danger'>ADVERTENCIA</b>: Los espacios de trabajo maliciosos pueden tomar control de todo OneDev operando el socket de docker montado. Asegúrese de que este aprovisionador solo pueda ser utilizado por espacios de trabajo de confianza si esta opción está habilitada");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_es extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} será transcodificado a UTF-8 al momento del commit");m.put("{0}d", "{0}d");m.put("{0}h", "{0}h");+ m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");m.put("{0}m", "{0}m");+ m.put("{0}m {1}s", "{0}m {1}s");m.put("{0}s", "{0}s");m.put("{0}w", "{0}w");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "Tiempo transcurrido: {0}");- m.put("Estimated remaining time: {0}", "Tiempo estimado restante: {0}");- m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");- m.put("{0}m {1}s", "{0}m {1}s");+ m.put("Build Image (Buildx)", "Construir Imagen (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "Construir imagen de Docker con buildx. Este paso solo puede ser ejecutado por el ejecutor docker del servidor o el ejecutor docker remoto, y utiliza el constructor buildx especificado en estos ejecutores para realizar el trabajo. Para construir imágenes con el ejecutor de Kubernetes, utilice el paso kaniko en su lugar");+ m.put("Enable Builder Cache Prune", "Habilitar Limpieza de Caché del Constructor");+ m.put("Enable Buildx Image Build", "Habilitar Construcción de Imágenes con Buildx");+ m.put("Enable Buildx Image Tools", "Habilitar Herramientas de Imágenes con Buildx");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite esto para permitir ejecutar el paso de publicación de informes HTML. Para evitar ataques XSS,\nasegúrese de que el ejecutor con esta opción habilitada solo pueda ser utilizado por trabajos confiables");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Habilite esto para permitir ejecutar el paso de limpieza de caché del constructor. Para evitar que trabajos maliciosos borren la caché compartida del constructor, asegúrese de que el ejecutor con esta opción habilitada solo pueda ser utilizado\npor trabajos confiables");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "Habilite esto para permitir ejecutar el paso de publicación del sitio. OneDev servirá los archivos del sitio del proyecto tal como están. Para evitar ataques XSS, asegúrese de que el ejecutor con esta\nopción habilitada solo pueda ser utilizado por trabajos confiables");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite esto para permitir ejecutar el paso de herramientas de imágenes con buildx.\nPara evitar que trabajos maliciosos lean o escriban archivos arbitrarios del host al ejecutar este paso,\nasegúrese de que el ejecutor con esta opción habilitada solo pueda ser utilizado por trabajos confiables");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite esto para permitir ejecutar el paso de construcción de imágenes usando buildx.\nEl paso de construcción de imágenes usando kaniko aún puede ser utilizado incluso si esta opción está deshabilitada.\nPara evitar que trabajos maliciosos lean archivos arbitrarios del host al ejecutar este paso,\nasegúrese de que el ejecutor con esta opción habilitada solo pueda ser utilizado por trabajos confiables");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "Opcionalmente, especifique opciones de Docker para ejecutar el contenedor. Varias opciones deben estar separadas por espacios, y una sola opción que contenga espacios debe estar entre comillas. Las rutas de archivo deben ser relativas al directorio de trabajo del trabajo, sin '..' ni enlaces simbólicos. No se permiten opciones de montaje de volúmenes ni dispositivos");+ m.put("Optionally specify options for docker buildx prune command", "Opcionalmente, especifique opciones para el comando docker buildx prune");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Limpiar la caché de imágenes del constructor docker buildx. Este paso ejecuta el comando docker buildx prune para eliminar la caché del constructor buildx especificado en el ejecutor docker del servidor o el ejecutor docker remoto");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Especifique el constructor Buildx utilizado para construir la imagen de Docker. OneDev creará el constructor automáticamente si no existe. Consulte <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>este tutorial</a> para aprender cómo personalizar el constructor, por ejemplo, para permitir la publicación en registros inseguros");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "Especifique el token de acceso con permiso para cargar la caché para el proyecto mencionado.\nEsta propiedad no es necesaria si el propietario del espacio de trabajo tiene permiso para cargar la caché para el proyecto mencionado");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Indique si se debe montar el socket de Docker en el contenedor del trabajo para\nadmitir operaciones de Docker en los comandos del trabajo. Para evitar que trabajos maliciosos tomen control de todo OneDev\noperando el socket de Docker montado, asegúrese de que el ejecutor con esta opción habilitada solo pueda ser utilizado\npor trabajos confiables");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_fr.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_fr.javaindex dfddd7db53..820f796ab2 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_fr.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_fr.java@@ -565,7 +565,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Build Description", "Description de la construction");m.put("Build Failure Issue Prompt", "Invite de problème d'échec de build");m.put("Build Filter", "Filtre de construction");- m.put("Build Image", "Image de construction");m.put("Build Image (Kaniko)", "Image de construction (Kaniko)");m.put("Build Management", "Gestion de la construction");m.put("Build Notification", "Notification de construction");@@ -585,8 +584,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Build Volume Storage Size", "Taille de stockage du volume de construction");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","Permission administrative de construction pour tous les travaux à l'intérieur d'un projet, y compris les opérations en lot sur plusieurs constructions");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "Construire une image docker avec docker buildx. Cette étape ne peut être exécutée que par l'exécuteur docker du serveur ou l'exécuteur docker distant, et elle utilise le constructeur buildx spécifié dans ces exécuteurs pour effectuer le travail. Pour construire une image avec l'exécuteur Kubernetes, veuillez utiliser l'étape kaniko à la place");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","Construire une image docker avec kaniko. Cette étape doit être exécutée par l'exécuteur docker du serveur, l'exécuteur docker distant ou l'exécuteur Kubernetes");m.put("Build duration statistics", "Statistiques de durée de construction");@@ -1352,6 +1349,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Editor", "Éditeur");m.put("Either specify value or secret value of the environment variable", "Spécifiez soit la valeur soit la valeur secrète de la variable d'environnement");m.put("Either target branch or source branch has new commits just now, please re-check.", "La branche cible ou la branche source a de nouveaux commits à l'instant, veuillez revérifier.");+ m.put("Elapsed time: {0}", "Temps écoulé : {0}");m.put("Email", "Email");m.put("Email Address", "Adresse email");m.put("Email Address Privacy", "Confidentialité de l'Adresse Email");@@ -1398,10 +1396,6 @@ public class Translation_fr extends TranslationResourceBundle {"Activez ceci si la spécification peut être utilisée par l'utilisateur AI pour créer des espaces de travail afin d'exécuter les tâches assignées");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","Activer cette option pour fusionner automatiquement la demande de tirage lorsqu'elle est prête (tous les examinateurs ont approuvé, tous les travaux requis ont réussi, etc.)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Activez cette option pour permettre l'exécution de l'étape de publication du rapport html. Pour éviter les attaques XSS, assurez-vous que cet exécuteur ne peut être utilisé que par des travaux de confiance");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Activer ceci pour permettre l'exécution de l'étape de publication du site. OneDev servira les fichiers du site du projet tels quels. Pour éviter les attaques XSS, assurez-vous que cet exécuteur ne peut être utilisé que par des travaux de confiance");m.put("Enable this to process issue or pull request comments posted via email", "Activer ceci pour traiter les commentaires sur les problèmes ou les demandes de tirage publiés par e-mail");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","Activer ceci pour traiter les commentaires sur les problèmes ou les demandes de tirage publiés par e-mail. <b class='text-danger'>REMARQUE :</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Le sous-adressage</a> doit être activé pour l'adresse e-mail système ci-dessus, car OneDev l'utilise pour suivre les contextes des problèmes et des demandes de tirage");@@ -1471,6 +1465,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Estimated progress", "Progression estimée");m.put("Estimated progress based on the running time of the last successful build in the same stream","Progression estimée basée sur le temps d'exécution de la dernière construction réussie dans le même flux");+ m.put("Estimated remaining time: {0}", "Temps restant estimé : {0}");m.put("Estimated time", "Temps estimé");m.put("Estimated/Spent time. Click for details", "Temps estimé/dépensé. Cliquez pour plus de détails");m.put("Evaluate script to get choices", "Évaluer le script pour obtenir des choix");@@ -2825,7 +2820,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","Spécifiez éventuellement le nom de l'attribut à l'intérieur de l'entrée LDAP utilisateur dont les valeurs seront prises comme clés SSH utilisateur. Les clés SSH seront gérées par LDAP uniquement si ce champ est défini.");m.put("Optionally specify node selector of the job pods", "Spécifiez éventuellement le sélecteur de nœud des pods de tâche.");- m.put("Optionally specify options for docker builder prune command", "Spécifiez éventuellement les options pour la commande docker builder prune.");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","Spécifiez éventuellement les options pour la commande scp. Plusieurs options doivent être séparées par des espaces.");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Provisioner", "Provisionneur");m.put("Proxy", "Proxy");m.put("Prune Builder Cache", "Nettoyer le cache du constructeur");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Nettoyer le cache d'image du constructeur docker buildx. Cette étape appelle la commande docker builder prune pour supprimer le cache du constructeur buildx spécifié dans l'exécuteur docker du serveur ou l'exécuteur docker distant");m.put("Public Key", "Clé publique");m.put("Public Roles", "Rôles publics");m.put("Publish", "Publier");@@ -3924,8 +3916,6 @@ public class Translation_fr extends TranslationResourceBundle {"Spécifie le chemin absolu vers le fichier de configuration utilisé par kubectl pour accéder au cluster. Laissez vide pour que kubectl détermine automatiquement les informations d'accès au cluster");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","Spécifie le chemin absolu vers l'utilitaire kubectl, par exemple : <i>/usr/bin/kubectl</i>. Si laissé vide, OneDev essaiera de trouver l'utilitaire dans le chemin système");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "Spécifiez un jeton d'accès avec la permission de télécharger le cache pour le projet ci-dessus.\nNotez que cette propriété n'est pas requise si le cache est téléchargé vers le projet actuel");m.put("Specify account name to login to Gmail to send/receive email", "Spécifie le nom de compte pour se connecter à Gmail pour envoyer/recevoir des emails");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","Spécifie des utilisateurs supplémentaires pouvant accéder à ce problème confidentiel en plus de ceux autorisés via le rôle. Les utilisateurs mentionnés dans le problème seront automatiquement autorisés");@@ -4010,8 +4000,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","Spécifiez le répertoire relatif à <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>l'espace de travail du job</a> pour stocker la disposition OCI");m.put("Specify docker image of the service", "Spécifiez l'image Docker du service");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Spécifiez le builder dockerx utilisé pour construire l'image Docker. OneDev créera automatiquement le builder s'il n'existe pas. Consultez <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>ce tutoriel</a> pour savoir comment personnaliser le builder, par exemple pour permettre la publication dans des registres non sécurisés");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","Spécifiez le domaine des différentes adresses email noreply pour les opérations git si les utilisateurs souhaitent\ngarder leurs propres adresses email privées");m.put("Specify email addresses to send invitations, with one per line", "Spécifiez les adresses email pour envoyer les invitations, une par ligne");@@ -4968,8 +4956,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","Si ce champ doit être inclus lors de l'ouverture initiale de l'issue ou non. Sinon, vous pouvez inclure ce champ plus tard lorsque l'issue est transité vers d'autres états via une règle de transition d'issue");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "Si le temps estimé/dépensé doit être saisi et affiché uniquement en heures/minutes ou non");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "Monter ou non le socket docker dans le conteneur de travail pour prendre en charge les opérations docker dans les commandes de travail<br><b class='text-danger'>AVERTISSEMENT</b> : Des travaux malveillants peuvent prendre le contrôle de l'ensemble de OneDev en opérant sur le socket docker monté. Assurez-vous que cet exécuteur ne peut être utilisé que par des travaux de confiance si cette option est activée");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","Si le socket docker doit être monté dans le conteneur de l'espace de travail pour prendre en charge les opérations docker dans l'espace de travail ou non<br><b class='text-danger'>AVERTISSEMENT</b> : Les espaces de travail malveillants peuvent prendre le contrôle de l'ensemble de OneDev en opérant le socket docker monté. Assurez-vous que ce provisionneur ne peut être utilisé que par des espaces de travail de confiance si cette option est activée");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_fr extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} sera transcodé en UTF-8 lors du commit");m.put("{0}d", "{0}j");m.put("{0}h", "{0}h");+ m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");m.put("{0}m", "{0}m");+ m.put("{0}m {1}s", "{0}m {1}s");m.put("{0}s", "{0}s");m.put("{0}w", "{0}sem");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "Temps écoulé : {0}");- m.put("Estimated remaining time: {0}", "Temps restant estimé : {0}");- m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");- m.put("{0}m {1}s", "{0}m {1}s");+ m.put("Build Image (Buildx)", "Construire une image (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "Construire une image docker avec buildx. Cette étape peut uniquement être exécutée par un exécuteur docker serveur ou un exécuteur docker distant, et utilise le constructeur buildx spécifié dans ces exécuteurs pour effectuer le travail. Pour construire une image avec un exécuteur Kubernetes, veuillez utiliser l'étape kaniko à la place");+ m.put("Enable Builder Cache Prune", "Activer le nettoyage du cache du constructeur");+ m.put("Enable Buildx Image Build", "Activer la construction d'image avec Buildx");+ m.put("Enable Buildx Image Tools", "Activer les outils d'image Buildx");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Activez cette option pour permettre l'exécution de l'étape de publication du rapport HTML. Pour éviter les attaques XSS,\nassurez-vous que l'exécuteur avec cette option activée ne peut être utilisé que par des tâches de confiance");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Activez cette option pour permettre l'exécution de l'étape de nettoyage du cache du constructeur. Pour éviter que le cache partagé du constructeur ne soit\neffacé par des tâches malveillantes, assurez-vous que l'exécuteur avec cette option activée ne peut être utilisé\nque par des tâches de confiance");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "Activez cette option pour permettre l'exécution de l'étape de publication du site. OneDev servira les fichiers du site du projet\ntels quels. Pour éviter les attaques XSS, assurez-vous que l'exécuteur avec cette\noption activée ne peut être utilisé que par des tâches de confiance");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Activez cette option pour permettre l'exécution de l'étape des outils d'image buildx.\nPour éviter que des tâches malveillantes ne lisent ou n'écrivent des fichiers hôtes arbitraires en exécutant cette étape,\nassurez-vous que l'exécuteur avec cette option activée ne peut être utilisé que par des tâches de confiance");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Activez cette option pour permettre l'exécution de l'étape de construction d'image en utilisant buildx.\nL'étape de construction d'image utilisant kaniko peut toujours être utilisée même si cette option est désactivée.\nPour éviter que des tâches malveillantes ne lisent des fichiers hôtes arbitraires en exécutant cette étape,\nassurez-vous que l'exécuteur avec cette option activée ne peut être utilisé que par des tâches de confiance");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "Spécifiez éventuellement des options docker pour exécuter le conteneur. Plusieurs options doivent être séparées par un espace, et une seule option contenant des espaces doit être entre guillemets. Les chemins de fichiers doivent être relatifs au répertoire de travail de la tâche, sans '..' ni liens symboliques. Les options de montage de volumes et de périphériques ne sont pas autorisées");+ m.put("Optionally specify options for docker buildx prune command", "Spécifiez éventuellement des options pour la commande docker buildx prune");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Nettoyer le cache d'image du constructeur docker buildx. Cette étape appelle la commande docker buildx prune pour supprimer le cache du constructeur buildx spécifié dans l'exécuteur docker serveur ou l'exécuteur docker distant");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Spécifiez le constructeur Buildx utilisé pour construire l'image docker. OneDev créera automatiquement le constructeur s'il n'existe pas. Consultez <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>ce tutoriel</a> pour savoir comment personnaliser le constructeur, par exemple pour permettre la publication dans des registres non sécurisés");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "Spécifiez un jeton d'accès avec la permission de téléverser le cache pour le projet ci-dessus.\nCette propriété n'est pas requise si le propriétaire de l'espace de travail a la permission de téléverser le cache pour le projet ci-dessus");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Indiquez si le socket docker doit être monté dans le conteneur de la tâche pour\nprendre en charge les opérations docker dans les commandes de la tâche. Pour éviter que des tâches malveillantes ne prennent le contrôle de l'ensemble de OneDev\nen opérant sur le socket docker monté, assurez-vous que l'exécuteur avec cette option activée ne peut être utilisé\nque par des tâches de confiance");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_it.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_it.javaindex eaae6661b6..bd74cfdab9 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_it.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_it.java@@ -565,7 +565,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Build Description", "Descrizione della build");m.put("Build Failure Issue Prompt", "Problema di Errore di Build");m.put("Build Filter", "Filtro di build");- m.put("Build Image", "Immagine di build");m.put("Build Image (Kaniko)", "Immagine di build (Kaniko)");m.put("Build Management", "Gestione della build");m.put("Build Notification", "Notifica di build");@@ -585,8 +584,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Build Volume Storage Size", "Dimensione dello storage del volume di build");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","Permesso amministrativo di build per tutti i job all'interno di un progetto, incluse operazioni batch su più build");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "Costruisci immagine docker con docker buildx. Questo step può essere eseguito solo da un executor docker server o un executor docker remoto, e utilizza il builder buildx specificato in questi executor per svolgere il lavoro. Per costruire immagini con l'executor Kubernetes, utilizza invece lo step kaniko");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","Costruisci immagine docker con kaniko. Questo step deve essere eseguito da un executor docker server, un executor docker remoto o un executor Kubernetes");m.put("Build duration statistics", "Statistiche sulla durata della build");@@ -1352,6 +1349,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("Editor", "Editor");m.put("Either specify value or secret value of the environment variable", "Specifica il valore o il valore segreto della variabile d'ambiente");m.put("Either target branch or source branch has new commits just now, please re-check.", "Il branch di destinazione o il branch sorgente ha nuovi commit appena ora, per favore ricontrolla.");+ m.put("Elapsed time: {0}", "Tempo trascorso: {0}");m.put("Email", "Email");m.put("Email Address", "Indirizzo Email");m.put("Email Address Privacy", "Privacy Indirizzo Email");@@ -1398,10 +1396,6 @@ public class Translation_it extends TranslationResourceBundle {"Abilita questa opzione se la specifica può essere utilizzata dall'utente AI per creare workspaces per eseguire i task assegnati");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","Abilita questa opzione per unire automaticamente la pull request quando pronta (tutti i revisori hanno approvato, tutti i lavori richiesti sono passati, ecc.)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Abilita questa opzione per consentire l'esecuzione del passaggio di pubblicazione del report html. Per evitare attacchi XSS, assicurati che questo executor possa essere utilizzato solo da lavori fidati");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Abilita questa opzione per consentire l'esecuzione del passaggio di pubblicazione del sito. OneDev servirà i file del sito del progetto così come sono. Per evitare attacchi XSS, assicurati che questo executor possa essere utilizzato solo da lavori fidati");m.put("Enable this to process issue or pull request comments posted via email", "Abilita questa opzione per elaborare commenti su problemi o pull request inviati via email");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","Abilita questa opzione per elaborare commenti su problemi o pull request inviati via email. <b class='text-danger'>NOTA:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Il sub addressing</a> deve essere abilitato per l'indirizzo email di sistema sopra, poiché OneDev lo utilizza per tracciare contesti di problemi e pull request");@@ -1471,6 +1465,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("Estimated progress", "Progresso stimato");m.put("Estimated progress based on the running time of the last successful build in the same stream","Progresso stimato basato sul tempo di esecuzione dell'ultima build riuscita nello stesso stream");+ m.put("Estimated remaining time: {0}", "Tempo stimato rimanente: {0}");m.put("Estimated time", "Tempo stimato");m.put("Estimated/Spent time. Click for details", "Tempo Stimato/Trascorso. Clicca per i dettagli");m.put("Evaluate script to get choices", "Valuta script per ottenere scelte");@@ -2825,7 +2820,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","Specifica facoltativamente il nome dell'attributo all'interno della voce LDAP dell'utente i cui valori verranno presi come chiavi SSH dell'utente. Le chiavi SSH verranno gestite da LDAP solo se questo campo è impostato");m.put("Optionally specify node selector of the job pods", "Specifica facoltativamente il selettore del nodo dei pod del job");- m.put("Optionally specify options for docker builder prune command", "Specifica facoltativamente le opzioni per il comando docker builder prune");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","Specifica facoltativamente le opzioni per il comando scp. Più opzioni devono essere separate da spazio");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Provisioner", "Provisioner");m.put("Proxy", "Proxy");m.put("Prune Builder Cache", "Cache del builder potata");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Potare la cache delle immagini del builder docker buildx. Questo passaggio chiama il comando docker builder prune per rimuovere la cache del builder buildx specificato nell'executor docker del server o nell'executor docker remoto");m.put("Public Key", "Chiave pubblica");m.put("Public Roles", "Ruoli Pubblici");m.put("Publish", "Pubblica");@@ -3924,8 +3916,6 @@ public class Translation_it extends TranslationResourceBundle {"Specifica il percorso assoluto al file di configurazione utilizzato da kubectl per accedere al cluster. Lascia vuoto per consentire a kubectl di determinare automaticamente le informazioni di accesso al cluster");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","Specifica il percorso assoluto all'utilità kubectl, ad esempio: <i>/usr/bin/kubectl</i>. Se lasciato vuoto, OneDev cercherà di trovare l'utilità dal percorso di sistema");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "Specifica il token di accesso con permesso di caricamento della cache per il progetto sopra.\nNota che questa proprietà non è richiesta se si carica la cache nel progetto corrente");m.put("Specify account name to login to Gmail to send/receive email", "Specifica il nome dell'account per accedere a Gmail per inviare/ricevere email");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","Specifica utenti aggiuntivi in grado di accedere a questo problema confidenziale oltre a quelli autorizzati tramite ruolo. Gli utenti menzionati nel problema saranno autorizzati automaticamente");@@ -4010,8 +4000,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","Specifica la directory relativa a <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> per archiviare il layout OCI");m.put("Specify docker image of the service", "Specifica l'immagine Docker del servizio");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Specifica il builder dockerx utilizzato per costruire l'immagine Docker. OneDev creerà automaticamente il builder se non esiste. Controlla <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>questo tutorial</a> su come personalizzare il builder, ad esempio per consentire la pubblicazione su registri non sicuri");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","Specifica il dominio di vari indirizzi email noreply per operazioni git se gli utenti vogliono\nmantenere privati i propri indirizzi email");m.put("Specify email addresses to send invitations, with one per line", "Specifica gli indirizzi email a cui inviare gli inviti, uno per riga");@@ -4968,8 +4956,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","Se includere questo campo quando il problema è inizialmente aperto o meno. In caso contrario, puoi includere questo campo successivamente quando il problema viene transitato ad altri stati tramite regola di transizione del problema");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "Se inserire e visualizzare il tempo stimato/speso solo in ore/minuti o meno");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "Se montare o meno il socket docker nel container del lavoro per supportare le operazioni docker nei comandi del lavoro<br><b class='text-danger'>ATTENZIONE</b>: I lavori dannosi possono prendere il controllo dell'intero OneDev operando sul socket docker montato. Assicurati che questo executor possa essere utilizzato solo da lavori fidati se questa opzione è abilitata");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","Se montare o meno il socket docker nel container del workspace per supportare le operazioni docker nel workspace<br><b class='text-danger'>ATTENZIONE</b>: I workspace dannosi possono prendere il controllo di tutto OneDev operando il socket docker montato. Assicurati che questo provisioner possa essere utilizzato solo da workspace fidati se questa opzione è abilitata");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_it extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} sarà transcodificato in UTF-8 al momento del commit");m.put("{0}d", "{0}g");m.put("{0}h", "{0}o");+ m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");m.put("{0}m", "{0}m");+ m.put("{0}m {1}s", "{0}m {1}s");m.put("{0}s", "{0}s");m.put("{0}w", "{0}w");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "Tempo trascorso: {0}");- m.put("Estimated remaining time: {0}", "Tempo stimato rimanente: {0}");- m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");- m.put("{0}m {1}s", "{0}m {1}s");+ m.put("Build Image (Buildx)", "Costruisci Immagine (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "Costruisci immagine docker con buildx. Questo passaggio può essere eseguito solo da un executor docker del server o un executor docker remoto, e utilizza il builder buildx specificato in questi executor per svolgere il lavoro. Per costruire immagini con l'executor Kubernetes, utilizzare invece il passaggio kaniko");+ m.put("Enable Builder Cache Prune", "Abilita Pulizia Cache del Builder");+ m.put("Enable Buildx Image Build", "Abilita Costruzione Immagine Buildx");+ m.put("Enable Buildx Image Tools", "Abilita Strumenti Immagine Buildx");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Abilita questa opzione per consentire l'esecuzione del passaggio di pubblicazione del report HTML. Per evitare attacchi XSS,\nassicurati che l'executor con questa opzione abilitata possa essere utilizzato solo da job fidati");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Abilita questa opzione per consentire l'esecuzione del passaggio di pulizia della cache del builder. Per evitare che la cache condivisa del builder venga\ncancellata da job malevoli, assicurati che l'executor con questa opzione abilitata possa essere utilizzato\nsolo da job fidati");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "Abilita questa opzione per consentire l'esecuzione del passaggio di pubblicazione del sito. OneDev servirà i file del sito del progetto\ncosì come sono. Per evitare attacchi XSS, assicurati che l'executor con questa\nopzione abilitata possa essere utilizzato solo da job fidati");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Abilita questa opzione per consentire l'esecuzione del passaggio degli strumenti immagine buildx.\nPer evitare che job malevoli leggano o scrivano file arbitrari dell'host eseguendo questo passaggio,\nassicurati che l'executor con questa opzione abilitata possa essere utilizzato solo da job fidati");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Abilita questa opzione per consentire l'esecuzione del passaggio di costruzione dell'immagine utilizzando buildx.\nIl passaggio di costruzione dell'immagine utilizzando kaniko può essere comunque utilizzato anche se questa opzione è disabilitata.\nPer evitare che job malevoli leggano file arbitrari dell'host eseguendo questo passaggio,\nassicurati che l'executor con questa opzione abilitata possa essere utilizzato solo da job fidati");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "Specifica facoltativamente opzioni docker per eseguire il container. Più opzioni devono essere separate da uno spazio, e una singola opzione contenente spazi deve essere racchiusa tra virgolette. I percorsi dei file devono essere relativi alla directory di lavoro del job, senza '..' o collegamenti simbolici. Le opzioni di montaggio di volumi e dispositivi non sono consentite");+ m.put("Optionally specify options for docker buildx prune command", "Specifica facoltativamente opzioni per il comando docker buildx prune");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Pulisci la cache delle immagini del builder docker buildx. Questo passaggio chiama il comando docker buildx prune per rimuovere la cache del builder buildx specificato nell'executor docker del server o nell'executor docker remoto");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Specifica il builder Buildx utilizzato per costruire l'immagine docker. OneDev creerà automaticamente il builder se non esiste. Consulta <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>questo tutorial</a> per sapere come personalizzare il builder, ad esempio per consentire la pubblicazione su registri insicuri");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "Specifica il token di accesso con permesso di caricamento della cache per il progetto sopra.\nQuesta proprietà non è necessaria se il proprietario dello spazio di lavoro ha il permesso di caricamento della cache per il progetto sopra");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Se montare o meno il socket docker nel container del job per\nsupportare le operazioni docker nei comandi del job. Per evitare che job malevoli prendano il controllo di tutto OneDev\noperando sul socket docker montato, assicurati che l'executor con questa opzione abilitata possa essere utilizzato\nsolo da job fidati");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_ja.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_ja.javaindex 6be97f452d..e50ece7925 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_ja.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_ja.java@@ -565,7 +565,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Build Description", "ビルド説明");m.put("Build Failure Issue Prompt", "ビルド失敗問題プロンプト");m.put("Build Filter", "ビルドフィルター");- m.put("Build Image", "ビルドイメージ");m.put("Build Image (Kaniko)", "ビルドイメージ(Kaniko)");m.put("Build Management", "ビルド管理");m.put("Build Notification", "ビルド通知");@@ -585,8 +584,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Build Volume Storage Size", "ビルドボリュームストレージサイズ");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","プロジェクト内のすべてのジョブに対するビルド管理権限、複数のビルドに対する一括操作を含む");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "docker buildxを使用してDockerイメージをビルドします。このステップはサーバーDockerエグゼキューターまたはリモートDockerエグゼキューターによってのみ実行可能で、これらのエグゼキューターで指定されたbuildxビルダーを使用してジョブを実行します。Kubernetesエグゼキューターでイメージをビルドするには、kanikoステップを使用してください");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","kanikoを使用してDockerイメージをビルドします。このステップはサーバーDockerエグゼキューター、リモートDockerエグゼキューター、またはKubernetesエグゼキューターによって実行する必要があります");m.put("Build duration statistics", "ビルド時間統計");@@ -1352,6 +1349,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Editor", "エディター");m.put("Either specify value or secret value of the environment variable", "環境変数の値または秘密の値を指定してください");m.put("Either target branch or source branch has new commits just now, please re-check.", "ターゲットブランチまたはソースブランチに新しいコミットが今追加されました。再確認してください。");+ m.put("Elapsed time: {0}", "経過時間: {0}");m.put("Email", "メール");m.put("Email Address", "メールアドレス");m.put("Email Address Privacy", "メールアドレスのプライバシー");@@ -1398,10 +1396,6 @@ public class Translation_ja extends TranslationResourceBundle {"この仕様がAIユーザーによってワークスペースを作成し、割り当てられたタスクを実行するために使用できる場合は有効にします");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","このオプションを有効にすると、準備が整ったときにプルリクエストを自動的にマージできます (すべてのレビューアが承認し、すべての必要なジョブが成功するなど)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "HTMLレポート公開ステップを実行できるようにするにはこれを有効化してください。XSS攻撃を防ぐため、このエグゼキュータが信頼できるジョブでのみ使用されることを確認してください");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "サイト公開ステップを実行できるようにするにはこれを有効にします。OneDevはプロジェクトサイトファイルをそのまま提供します。XSS攻撃を防ぐため、このエグゼキュータが信頼できるジョブでのみ使用されることを確認してください");m.put("Enable this to process issue or pull request comments posted via email", "メール経由で投稿された問題やプルリクエストのコメントを処理するにはこれを有効にします");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","メール経由で投稿された問題やプルリクエストのコメントを処理するにはこれを有効にします。<b class='text-danger'>注意:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>サブアドレス</a>を上記のシステムメールアドレスに対して有効にする必要があります。OneDevはこれを使用して問題やプルリクエストのコンテキストを追跡します");@@ -1471,6 +1465,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Estimated progress", "進行状況の推定");m.put("Estimated progress based on the running time of the last successful build in the same stream","同じストリーム内で最後に成功したビルドの実行時間に基づく進行状況の推定");+ m.put("Estimated remaining time: {0}", "推定残り時間: {0}");m.put("Estimated time", "推定時間");m.put("Estimated/Spent time. Click for details", "推定/消費時間。詳細をクリックしてください");m.put("Evaluate script to get choices", "選択肢を取得するためにスクリプトを評価する");@@ -2825,7 +2820,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","オプションで、ユーザーLDAPエントリ内の属性名を指定してください。その値がユーザーSSHキーとして使用されます。このフィールドが設定されている場合、SSHキーはLDAPによってのみ管理されます。");m.put("Optionally specify node selector of the job pods", "オプションで、ジョブポッドのノードセレクターを指定してください。");- m.put("Optionally specify options for docker builder prune command", "オプションで、Dockerビルダープルーンコマンドのオプションを指定してください。");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","オプションで、scpコマンドのオプションを指定してください。複数のオプションはスペースで区切る必要があります。");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Provisioner", "プロビジョナー");m.put("Proxy", "プロキシ");m.put("Prune Builder Cache", "ビルダーキャッシュの削除");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Docker buildxビルダーのイメージキャッシュを削除します。このステップは、サーバーDockerエグゼキューターまたはリモートDockerエグゼキューターで指定されたbuildxビルダーのキャッシュを削除するためにdocker builder pruneコマンドを呼び出します");m.put("Public Key", "公開鍵");m.put("Public Roles", "公開の役割");m.put("Publish", "公開");@@ -3924,8 +3916,6 @@ public class Translation_ja extends TranslationResourceBundle {"クラスターにアクセスするために kubectl が使用する設定ファイルの絶対パスを指定します。空欄の場合、kubectl はクラスターアクセス情報を自動的に決定します");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","kubectl ユーティリティの絶対パスを指定します。例: <i>/usr/bin/kubectl</i>。空欄の場合、OneDev はシステムパスからユーティリティを探します");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "上記のプロジェクトに対するキャッシュアップロード権限を持つアクセストークンを指定します。\n現在のプロジェクトにキャッシュをアップロードする場合、このプロパティは必要ありません");m.put("Specify account name to login to Gmail to send/receive email", "Gmail にログインしてメールを送受信するためのアカウント名を指定します");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","役割を通じて付与されたユーザー以外でこの機密課題にアクセスできる追加ユーザーを指定します。課題に記載されたユーザーは自動的に承認されます");@@ -4010,8 +4000,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","<a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>ジョブワークスペース</a>に対するOCIレイアウトを保存するディレクトリを指定してください。");m.put("Specify docker image of the service", "サービスのDockerイメージを指定してください。");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Dockerイメージをビルドするために使用するdockerxビルダーを指定してください。OneDevはビルダーが存在しない場合、自動的に作成します。例えば、非セキュアなレジストリへの公開を許可するためにビルダーをカスタマイズする方法については<a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>このチュートリアル</a>を確認してください。");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","ユーザーが自身のメールアドレスを非公開にしたい場合、Git操作用のさまざまなnoreplyメールアドレスのドメインを指定してください\n");m.put("Specify email addresses to send invitations, with one per line", "招待を送るメールアドレスを指定してください。1行につき1つのアドレスを記載してください。");@@ -4968,8 +4956,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","課題が最初に開かれたときにこのフィールドを含めるかどうか。含めない場合は、課題が課題遷移ルールを介して他の状態に遷移したときに後でこのフィールドを含めることができます");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "推定時間/消費時間を時間/分単位でのみ入力および表示するかどうか");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "ジョブコマンドでのDocker操作をサポートするために、Dockerソケットをジョブコンテナにマウントするかどうか<br><b class='text-danger'>警告</b>: 悪意のあるジョブがマウントされたDockerソケットを操作することでOneDev全体を制御する可能性があります。このオプションを有効にする場合、このエグゼキュータが信頼できるジョブでのみ使用されることを確認してください");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","ワークスペース内でのDocker操作をサポートするために、Dockerソックをワークスペースコンテナにマウントするかどうか<br><b class='text-danger'>警告</b>: 悪意のあるワークスペースは、マウントされたDockerソックを操作することでOneDev全体を制御することができます。このオプションが有効な場合、このプロビジョナーが信頼できるワークスペースでのみ使用できるようにしてください");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_ja extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0}はコミット時にUTF-8にトランスコードされます");m.put("{0}d", "{0}日");m.put("{0}h", "{0}時間");+ m.put("{0}h {1}m {2}s", "{0}時間 {1}分 {2}秒");m.put("{0}m", "{0}分");+ m.put("{0}m {1}s", "{0}分 {1}秒");m.put("{0}s", "{0}秒");m.put("{0}w", "{0}週");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "経過時間: {0}");- m.put("Estimated remaining time: {0}", "推定残り時間: {0}");- m.put("{0}h {1}m {2}s", "{0}時間 {1}分 {2}秒");- m.put("{0}m {1}s", "{0}分 {1}秒");+ m.put("Build Image (Buildx)", "イメージをビルド (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "buildxを使用してDockerイメージをビルドします。このステップはサーバーDockerエグゼキューターまたはリモートDockerエグゼキューターでのみ実行可能で、これらのエグゼキューターで指定されたbuildxビルダーを使用してジョブを実行します。Kubernetesエグゼキューターでイメージをビルドするには、代わりにkanikoステップを使用してください");+ m.put("Enable Builder Cache Prune", "ビルダーキャッシュのプルーンを有効化");+ m.put("Enable Buildx Image Build", "Buildxイメージビルドを有効化");+ m.put("Enable Buildx Image Tools", "Buildxイメージツールを有効化");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "HTMLレポート公開ステップを実行できるようにするにはこれを有効化してください。XSS攻撃を防ぐために、\nこのオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "ビルダーキャッシュのプルーンステップを実行できるようにするにはこれを有効化してください。共有ビルダーキャッシュが\n悪意のあるジョブによってクリアされるのを防ぐために、このオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください\n");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "サイト公開ステップを実行できるようにするにはこれを有効化してください。OneDevはプロジェクト\nサイトファイルをそのまま提供します。XSS攻撃を防ぐために、このオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください\n");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Buildxイメージツールステップを実行できるようにするにはこれを有効化してください。\nこのステップを実行することで悪意のあるジョブが任意のホストファイルを読み書きするのを防ぐために、\nこのオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Buildxを使用したイメージビルドステップを実行できるようにするにはこれを有効化してください。\nこのオプションが無効でもkanikoを使用したイメージビルドステップは引き続き使用可能です。\nこのステップを実行することで悪意のあるジョブが任意のホストファイルを読み取るのを防ぐために、\nこのオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "コンテナを実行するためのDockerオプションを任意で指定してください。複数のオプションはスペースで区切り、スペースを含む単一のオプションは引用符で囲む必要があります。ファイルパスはジョブ作業ディレクトリに対して相対的であり、「..」やシンボリックリンクを含めることはできません。ボリュームおよびデバイスマウントオプションは許可されていません");+ m.put("Optionally specify options for docker buildx prune command", "Docker buildx pruneコマンドのオプションを任意で指定してください");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Docker buildxビルダーのイメージキャッシュをプルーンします。このステップは、サーバーDockerエグゼキューターまたはリモートDockerエグゼキューターで指定されたbuildxビルダーのキャッシュを削除するためにdocker buildx pruneコマンドを呼び出します");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Dockerイメージをビルドするために使用されるBuildxビルダーを指定してください。OneDevはビルダーが存在しない場合、自動的に作成します。例えば、安全でないレジストリへの公開を許可するためにビルダーをカスタマイズする方法については、<a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>このチュートリアル</a>を確認してください");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "上記のプロジェクトに対するキャッシュアップロード権限を持つアクセストークンを指定してください。\nこのプロパティは、ワークスペース所有者が上記のプロジェクトに対するキャッシュアップロード権限を持っている場合は必要ありません");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "ジョブコンテナにDockerソケットをマウントして\nジョブコマンドでDocker操作をサポートするかどうかを指定します。マウントされたDockerソケットを操作することで悪意のあるジョブがOneDev全体を制御するのを防ぐために、\nこのオプションを有効にしたエグゼキューターは信頼できるジョブでのみ使用されるようにしてください\n");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_ko.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_ko.javaindex c4ca01f80d..4478c484ae 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_ko.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_ko.java@@ -565,7 +565,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Build Description", "빌드 설명");m.put("Build Failure Issue Prompt", "빌드 실패 문제 프롬프트");m.put("Build Filter", "빌드 필터");- m.put("Build Image", "빌드 이미지");m.put("Build Image (Kaniko)", "빌드 이미지 (Kaniko)");m.put("Build Management", "빌드 관리");m.put("Build Notification", "빌드 알림");@@ -585,8 +584,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Build Volume Storage Size", "빌드 볼륨 저장소 크기");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","프로젝트 내 모든 작업에 대한 빌드 관리 권한, 여러 빌드에 대한 일괄 작업 포함");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "docker buildx로 도커 이미지를 빌드합니다. 이 단계는 서버 도커 실행기 또는 원격 도커 실행기에 의해 실행될 수 있으며, 이 실행기에서 지정된 buildx 빌더를 사용하여 작업을 수행합니다. Kubernetes 실행기로 이미지를 빌드하려면 kaniko 단계를 사용하세요.");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","kaniko로 도커 이미지를 빌드합니다. 이 단계는 서버 도커 실행기, 원격 도커 실행기 또는 Kubernetes 실행기에 의해 실행되어야 합니다.");m.put("Build duration statistics", "빌드 지속 시간 통계");@@ -1352,6 +1349,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Editor", "편집기");m.put("Either specify value or secret value of the environment variable", "환경 변수의 값 또는 비밀 값을 지정하십시오");m.put("Either target branch or source branch has new commits just now, please re-check.", "대상 브랜치 또는 소스 브랜치에 방금 새로운 커밋이 추가되었습니다. 다시 확인하세요.");+ m.put("Elapsed time: {0}", "경과 시간: {0}");m.put("Email", "이메일");m.put("Email Address", "이메일 주소");m.put("Email Address Privacy", "이메일 주소 개인정보 보호");@@ -1398,10 +1396,6 @@ public class Translation_ko extends TranslationResourceBundle {"AI 사용자가 지정된 작업을 실행하기 위해 워크스페이스를 생성할 수 있도록 이 스펙을 사용할 수 있는 경우 활성화하세요");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","준비되었을 때(모든 리뷰어 승인, 모든 필수 작업 통과 등) 풀 리퀘스트를 자동으로 병합하도록 이 옵션을 활성화합니다");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "HTML 보고서 게시 단계를 실행할 수 있도록 활성화합니다. XSS 공격을 방지하려면 이 실행자가 신뢰할 수 있는 작업에서만 사용되도록 해야 합니다");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "사이트 게시 단계를 실행할 수 있도록 허용하려면 이를 활성화합니다. OneDev는 프로젝트 사이트 파일을 그대로 제공합니다. XSS 공격을 방지하려면 이 실행자가 신뢰할 수 있는 작업에서만 사용되도록 해야 합니다");m.put("Enable this to process issue or pull request comments posted via email", "이메일을 통해 게시된 이슈 또는 풀 리퀘스트 댓글을 처리하려면 이를 활성화합니다");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","이메일을 통해 게시된 이슈 또는 풀 리퀘스트 댓글을 처리하려면 이를 활성화합니다. <b class='text-danger'>참고:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>서브 어드레싱</a>이 위 시스템 이메일 주소에 대해 활성화되어야 합니다. OneDev는 이를 사용하여 이슈 및 풀 리퀘스트 컨텍스트를 추적합니다");@@ -1471,6 +1465,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Estimated progress", "예상 진행률");m.put("Estimated progress based on the running time of the last successful build in the same stream","같은 스트림에서 마지막으로 성공한 빌드의 실행 시간을 기준으로 한 예상 진행률");+ m.put("Estimated remaining time: {0}", "예상 남은 시간: {0}");m.put("Estimated time", "예상 시간");m.put("Estimated/Spent time. Click for details", "예상/소요 시간. 세부 사항을 보려면 클릭하세요");m.put("Evaluate script to get choices", "선택지를 얻기 위해 스크립트를 평가합니다");@@ -2825,7 +2820,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","선택적으로 사용자 LDAP 항목 내부의 속성 이름을 지정하세요. 해당 값은 사용자 SSH 키로 사용됩니다. 이 필드가 설정된 경우 SSH 키는 LDAP에서만 관리됩니다.");m.put("Optionally specify node selector of the job pods", "선택적으로 작업 포드의 노드 선택기를 지정하세요.");- m.put("Optionally specify options for docker builder prune command", "선택적으로 Docker 빌더 정리 명령의 옵션을 지정하세요.");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","선택적으로 scp 명령의 옵션을 지정하세요. 여러 옵션은 공백으로 구분해야 합니다.");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Provisioner", "프로비저너");m.put("Proxy", "프록시");m.put("Prune Builder Cache", "빌더 캐시 정리");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "도커 buildx 빌더의 이미지 캐시를 정리합니다. 이 단계는 서버 도커 실행자 또는 원격 도커 실행자에서 지정된 buildx 빌더의 캐시를 제거하기 위해 도커 빌더 정리 명령을 호출합니다");m.put("Public Key", "공개 키");m.put("Public Roles", "공개 역할");m.put("Publish", "게시");@@ -3924,8 +3916,6 @@ public class Translation_ko extends TranslationResourceBundle {"클러스터에 접근하기 위해 kubectl이 사용하는 구성 파일의 절대 경로를 지정합니다. 비워두면 kubectl이 클러스터 접근 정보를 자동으로 결정합니다");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","kubectl 유틸리티의 절대 경로를 지정합니다. 예: <i>/usr/bin/kubectl</i>. 비워두면 OneDev가 시스템 경로에서 유틸리티를 찾으려고 시도합니다");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "위의 프로젝트에 대한 업로드 캐시 권한이 있는 액세스 토큰을 지정하십시오.\n현재 프로젝트에 캐시를 업로드하는 경우 이 속성은 필요하지 않습니다");m.put("Specify account name to login to Gmail to send/receive email", "이메일을 보내고/받기 위해 Gmail에 로그인할 계정 이름을 지정합니다");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","역할을 통해 권한이 부여된 사용자 외에 이 기밀 이슈에 접근할 수 있는 추가 사용자를 지정합니다. 이슈에 언급된 사용자는 자동으로 권한이 부여됩니다");@@ -4010,8 +4000,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","<a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>작업 공간</a> 기준으로 OCI 레이아웃을 저장할 디렉터리를 지정하세요.");m.put("Specify docker image of the service", "서비스의 도커 이미지를 지정하세요.");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "도커 이미지를 빌드하는 데 사용되는 dockerx 빌더를 지정하세요. OneDev는 빌더가 존재하지 않을 경우 자동으로 생성합니다. 예를 들어 비보안 레지스트리에 게시를 허용하도록 빌더를 사용자 정의하는 방법에 대한 <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>이 튜토리얼</a>을 확인하세요.");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","사용자가 자신의 이메일 주소를 비공개로 유지하려는 경우 Git 작업을 위한 다양한 noreply 이메일 주소의 도메인을 지정하십시오\n");m.put("Specify email addresses to send invitations, with one per line", "초대장을 보낼 이메일 주소를 한 줄에 하나씩 지정하세요.");@@ -4968,8 +4956,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","문제가 처음 열릴 때 이 필드를 포함할지 여부. 포함하지 않을 경우, 문제가 다른 상태로 전환될 때 문제 전환 규칙을 통해 나중에 이 필드를 포함할 수 있습니다");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "예상/소요 시간을 시간/분 단위로만 입력하고 표시할지 여부");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "작업 명령에서 도커 작업을 지원하기 위해 도커 소켓을 작업 컨테이너에 마운트할지 여부<br><b class='text-danger'>경고</b>: 악의적인 작업은 마운트된 도커 소켓을 조작하여 전체 OneDev를 제어할 수 있습니다. 이 옵션이 활성화된 경우 이 실행자가 신뢰할 수 있는 작업에서만 사용되도록 해야 합니다");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","워크스페이스 컨테이너에 도커 소켓을 마운트하여 워크스페이스에서 도커 작업을 지원할지 여부<br><b class='text-danger'>경고</b>: 악의적인 워크스페이스가 마운트된 도커 소켓을 조작하여 전체 OneDev를 제어할 수 있습니다. 이 옵션이 활성화된 경우 이 프로비저너가 신뢰할 수 있는 워크스페이스에서만 사용되도록 하십시오");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_ko extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0}은 커밋 시 UTF-8로 트랜스코딩됩니다.");m.put("{0}d", "{0}일");m.put("{0}h", "{0}시간");+ m.put("{0}h {1}m {2}s", "{0}시간 {1}분 {2}초");m.put("{0}m", "{0}분");+ m.put("{0}m {1}s", "{0}분 {1}초");m.put("{0}s", "{0}초");m.put("{0}w", "{0}주");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "경과 시간: {0}");- m.put("Estimated remaining time: {0}", "예상 남은 시간: {0}");- m.put("{0}h {1}m {2}s", "{0}시간 {1}분 {2}초");- m.put("{0}m {1}s", "{0}분 {1}초");+ m.put("Build Image (Buildx)", "이미지 빌드 (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "buildx를 사용하여 도커 이미지를 빌드합니다. 이 단계는 서버 도커 실행기 또는 원격 도커 실행기에서만 실행할 수 있으며, 해당 실행기에 지정된 buildx 빌더를 사용하여 작업을 수행합니다. Kubernetes 실행기로 이미지를 빌드하려면 대신 kaniko 단계를 사용하세요.");+ m.put("Enable Builder Cache Prune", "빌더 캐시 정리 활성화");+ m.put("Enable Buildx Image Build", "Buildx 이미지 빌드 활성화");+ m.put("Enable Buildx Image Tools", "Buildx 이미지 도구 활성화");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "HTML 보고서 게시 단계를 실행할 수 있도록 활성화합니다. XSS 공격을 방지하려면,\n이 옵션이 활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "빌더 캐시 정리 단계를 실행할 수 있도록 활성화합니다. 공유 빌더 캐시가\n악의적인 작업에 의해 삭제되지 않도록, 이 옵션이 활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.\n");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "사이트 게시 단계를 실행할 수 있도록 활성화합니다. OneDev는 프로젝트\n사이트 파일을 그대로 제공합니다. XSS 공격을 방지하려면, 이 옵션이\n활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Buildx 이미지 도구 단계를 실행할 수 있도록 활성화합니다.\n이 단계를 실행하여 악의적인 작업이 임의의 호스트 파일을 읽거나 쓰는 것을 방지하려면,\n이 옵션이 활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Buildx를 사용하여 이미지 빌드 단계를 실행할 수 있도록 활성화합니다.\n이 옵션이 비활성화되어도 kaniko를 사용한 이미지 빌드 단계는 여전히 사용할 수 있습니다.\n이 단계를 실행하여 악의적인 작업이 임의의 호스트 파일을 읽는 것을 방지하려면,\n이 옵션이 활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "컨테이너를 실행하기 위한 도커 옵션을 선택적으로 지정하세요. 여러 옵션은 공백으로 구분해야 하며, 공백이 포함된 단일 옵션은 따옴표로 묶어야 합니다. 파일 경로는 작업 디렉토리를 기준으로 상대 경로여야 하며, '..' 또는 심볼릭 링크를 포함해서는 안 됩니다. 볼륨 및 장치 마운트 옵션은 허용되지 않습니다.");+ m.put("Optionally specify options for docker buildx prune command", "docker buildx prune 명령어에 대한 옵션을 선택적으로 지정하세요.");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "docker buildx 빌더의 이미지 캐시를 정리합니다. 이 단계는 서버 도커 실행기 또는 원격 도커 실행기에 지정된 buildx 빌더의 캐시를 제거하기 위해 docker buildx prune 명령어를 호출합니다.");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "도커 이미지를 빌드하는 데 사용되는 Buildx 빌더를 지정하세요. 빌더가 존재하지 않을 경우 OneDev가 자동으로 생성합니다. 신뢰할 수 없는 레지스트리에 게시를 허용하도록 빌더를 사용자 정의하는 방법에 대한 자세한 내용은 <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>이 튜토리얼</a>을 확인하세요.");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "위 프로젝트에 대한 캐시 업로드 권한이 있는 액세스 토큰을 지정하세요.\n위 프로젝트에 대해 작업 공간 소유자가 캐시 업로드 권한을 가지고 있는 경우 이 속성은 필요하지 않습니다.");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "작업 명령에서 도커 작업을 지원하기 위해 도커 소켓을 작업 컨테이너에 마운트할지 여부를 선택하세요.\n마운트된 도커 소켓을 조작하여 악의적인 작업이 OneDev 전체를 제어하지 못하도록 하려면,\n이 옵션이 활성화된 실행기가 신뢰할 수 있는 작업에서만 사용되도록 하세요.");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_pt.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_pt.javaindex 988b972f11..c0b0779bec 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_pt.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_pt.java@@ -565,7 +565,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Build Description", "Descrição de Build");m.put("Build Failure Issue Prompt", "Prompt de Problema de Falha na Build");m.put("Build Filter", "Filtro de Build");- m.put("Build Image", "Imagem de Build");m.put("Build Image (Kaniko)", "Imagem de Build (Kaniko)");m.put("Build Management", "Gerenciamento de Build");m.put("Build Notification", "Notificação de Build");@@ -585,8 +584,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Build Volume Storage Size", "Tamanho de Armazenamento de Volume de Build");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","Permissão administrativa de build para todos os jobs dentro de um projeto, incluindo operações em lote sobre múltiplos builds");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "Build de imagem docker com docker buildx. Esta etapa só pode ser executada pelo executor docker do servidor ou executor docker remoto, e utiliza o builder buildx especificado nesses executores para realizar o trabalho. Para build de imagem com executor Kubernetes, use a etapa kaniko");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","Build de imagem docker com kaniko. Esta etapa precisa ser executada pelo executor docker do servidor, executor docker remoto ou executor Kubernetes");m.put("Build duration statistics", "Estatísticas de duração de build");@@ -1352,6 +1349,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Editor", "Editor");m.put("Either specify value or secret value of the environment variable", "Especifique o valor ou o valor secreto da variável de ambiente");m.put("Either target branch or source branch has new commits just now, please re-check.", "Ou a branch de destino ou a branch de origem tem novos commits agora, por favor, verifique novamente.");+ m.put("Elapsed time: {0}", "Tempo decorrido: {0}");m.put("Email", "Email");m.put("Email Address", "Endereço de Email");m.put("Email Address Privacy", "Privacidade do Endereço de Email");@@ -1398,10 +1396,6 @@ public class Translation_pt extends TranslationResourceBundle {"Habilite isso se a especificação puder ser usada pelo usuário de IA para criar workspaces para executar tarefas atribuídas");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","Habilitar esta opção para mesclar automaticamente o pull request quando estiver pronto (todos os revisores aprovados, todos os trabalhos necessários concluídos, etc.)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Habilite isso para permitir a execução da etapa de publicação de relatório html. Para evitar ataques XSS, certifique-se de que este executor só possa ser usado por trabalhos confiáveis");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "Habilitar isto para permitir a execução da etapa de publicação de site. O OneDev servirá os arquivos do site do projeto como estão. Para evitar ataques XSS, certifique-se de que este executor só possa ser usado por trabalhos confiáveis");m.put("Enable this to process issue or pull request comments posted via email", "Habilitar isto para processar comentários de problemas ou pull requests postados via e-mail");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","Habilitar isto para processar comentários de problemas ou pull requests postados via e-mail. <b class='text-danger'>NOTA:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Subendereçamento</a> precisa ser habilitado para o endereço de e-mail do sistema acima, pois o OneDev o utiliza para rastrear contextos de problemas e pull requests");@@ -1471,6 +1465,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Estimated progress", "Progresso estimado");m.put("Estimated progress based on the running time of the last successful build in the same stream","Progresso estimado com base no tempo de execução da última build bem-sucedida no mesmo fluxo");+ m.put("Estimated remaining time: {0}", "Tempo estimado restante: {0}");m.put("Estimated time", "Tempo estimado");m.put("Estimated/Spent time. Click for details", "Tempo estimado/gasto. Clique para detalhes");m.put("Evaluate script to get choices", "Avaliar script para obter escolhas");@@ -2825,7 +2820,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","Opcionalmente especifique o nome do atributo dentro da entrada LDAP do usuário cujos valores serão usados como chaves SSH do usuário. Chaves SSH serão gerenciadas pelo LDAP apenas se este campo for configurado");m.put("Optionally specify node selector of the job pods", "Opcionalmente especifique o seletor de nó dos pods de trabalho");- m.put("Optionally specify options for docker builder prune command", "Opcionalmente especifique opções para o comando docker builder prune");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","Opcionalmente especifique opções para o comando scp. Múltiplas opções precisam ser separadas por espaço");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3229,8 +3223,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Provisioner", "Provisionador");m.put("Proxy", "Proxy");m.put("Prune Builder Cache", "Limpar Cache do Builder");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "Limpar cache de imagem do builder do docker buildx. Esta etapa chama o comando docker builder prune para remover o cache do builder buildx especificado no executor docker do servidor ou executor docker remoto");m.put("Public Key", "Chave Pública");m.put("Public Roles", "Funções Públicas");m.put("Publish", "Publicar");@@ -3924,8 +3916,6 @@ public class Translation_pt extends TranslationResourceBundle {"Especifique o caminho absoluto para o arquivo de configuração usado pelo kubectl para acessar o cluster. Deixe vazio para que o kubectl determine automaticamente as informações de acesso ao cluster");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","Especifique o caminho absoluto para a utilidade kubectl, por exemplo: <i>/usr/bin/kubectl</i>. Se deixado vazio, o OneDev tentará encontrar a utilidade no caminho do sistema");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "Especifique um token de acesso com permissão para carregar cache para o projeto acima.\nNote que esta propriedade não é necessária se o cache for carregado para o projeto atual");m.put("Specify account name to login to Gmail to send/receive email", "Especifique o nome da conta para fazer login no Gmail para enviar/receber email");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","Especifique usuários adicionais capazes de acessar esta issue confidencial além daqueles concedidos via função. Usuários mencionados na issue serão autorizados automaticamente");@@ -4010,8 +4000,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","Especifique o diretório relativo ao <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>espaço de trabalho do trabalho</a> para armazenar o layout OCI");m.put("Specify docker image of the service", "Especifique a imagem do docker do serviço");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "Especifique o builder dockerx usado para construir a imagem do docker. O OneDev criará o builder automaticamente se ele não existir. Verifique <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>este tutorial</a> sobre como personalizar o builder, por exemplo, para permitir a publicação em registros inseguros");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","Especifique o domínio de vários endereços de email noreply para operações git se os usuários quiserem\nmanter seus próprios endereços de email privados");m.put("Specify email addresses to send invitations, with one per line", "Especifique os endereços de email para enviar convites, com um por linha");@@ -4968,8 +4956,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","Se incluir este campo ao abrir a issue inicialmente ou não. Caso contrário, você pode incluir este campo mais tarde quando a issue for transicionada para outros estados via regra de transição de issue");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "Se inserir e exibir tempo estimado/gasto apenas em horas/minutos ou não");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "Se deve ou não montar o docker sock no contêiner do trabalho para suportar operações docker nos comandos do trabalho<br><b class='text-danger'>AVISO</b>: Trabalhos maliciosos podem assumir o controle de todo o OneDev operando o docker sock montado. Certifique-se de que este executor só possa ser usado por trabalhos confiáveis se esta opção estiver habilitada");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","Se deve ou não montar o docker sock no contêiner do workspace para suportar operações docker no workspace<br><b class='text-danger'>AVISO</b>: Workspaces maliciosos podem assumir o controle de todo o OneDev operando o docker sock montado. Certifique-se de que este provisionador só possa ser usado por workspaces confiáveis se esta opção estiver habilitada");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5320,16 +5306,41 @@ public class Translation_pt extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} será transcodificado para UTF-8 no momento do commit");m.put("{0}d", "{0}d");m.put("{0}h", "{0}h");+ m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");m.put("{0}m", "{0}m");+ m.put("{0}m {1}s", "{0}m {1}s");m.put("{0}s", "{0}s");m.put("{0}w", "{0}w");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "Tempo decorrido: {0}");- m.put("Estimated remaining time: {0}", "Tempo estimado restante: {0}");- m.put("{0}h {1}m {2}s", "{0}h {1}m {2}s");- m.put("{0}m {1}s", "{0}m {1}s");+ m.put("Build Image (Buildx)", "Construir Imagem (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "Construir imagem docker com buildx. Esta etapa só pode ser executada por executor docker do servidor ou executor docker remoto, e utiliza o builder buildx especificado nesses executores para realizar o trabalho. Para construir imagem com executor Kubernetes, use a etapa kaniko em vez disso");+ m.put("Enable Builder Cache Prune", "Habilitar Limpeza de Cache do Builder");+ m.put("Enable Buildx Image Build", "Habilitar Construção de Imagem com Buildx");+ m.put("Enable Buildx Image Tools", "Habilitar Ferramentas de Imagem Buildx");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite isso para permitir a execução da etapa de publicação de relatório HTML. Para evitar ataques XSS,\ncertifique-se de que o executor com esta opção habilitada só possa ser usado por jobs confiáveis");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Habilite isso para permitir a execução da etapa de limpeza de cache do builder. Para evitar que o cache compartilhado do builder seja\nlimpo por jobs maliciosos, certifique-se de que o executor com esta opção habilitada só possa ser usado\npor jobs confiáveis");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "Habilite isso para permitir a execução da etapa de publicação do site. O OneDev irá servir os arquivos do site do projeto\ncomo estão. Para evitar ataques XSS, certifique-se de que o executor com esta\nopção habilitada só possa ser usado por jobs confiáveis");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite isso para permitir a execução da etapa de ferramentas de imagem buildx.\nPara evitar que jobs maliciosos leiam ou escrevam arquivos arbitrários do host ao executar esta etapa,\ncertifique-se de que o executor com esta opção habilitada só possa ser usado por jobs confiáveis");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "Habilite isso para permitir a execução da etapa de construção de imagem usando buildx.\nA etapa de construção de imagem usando kaniko ainda pode ser usada mesmo que esta opção esteja desabilitada.\nPara evitar que jobs maliciosos leiam arquivos arbitrários do host ao executar esta etapa,\ncertifique-se de que o executor com esta opção habilitada só possa ser usado por jobs confiáveis");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "Opcionalmente, especifique opções do docker para executar o contêiner. Múltiplas opções devem ser separadas por espaço, e uma única opção contendo espaços deve ser colocada entre aspas. Os caminhos de arquivos devem ser relativos ao diretório de trabalho do job, sem '..' ou links simbólicos. Opções de montagem de volume e dispositivo não são permitidas");+ m.put("Optionally specify options for docker buildx prune command", "Opcionalmente, especifique opções para o comando docker buildx prune");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "Limpar o cache de imagem do builder docker buildx. Esta etapa chama o comando docker buildx prune para remover o cache do builder buildx especificado no executor docker do servidor ou executor docker remoto");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "Especifique o builder Buildx usado para construir a imagem docker. O OneDev criará o builder automaticamente se ele não existir. Consulte <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>este tutorial</a> para saber como personalizar o builder, por exemplo, para permitir a publicação em registries inseguros");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "Especifique o token de acesso com permissão para upload de cache para o projeto acima.\nEsta propriedade não é necessária se o proprietário do workspace tiver permissão para upload de cache para o projeto acima");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "Se deve ou não montar o docker sock no contêiner do job para\nsuportar operações docker nos comandos do job. Para evitar que jobs maliciosos assumam o controle de todo o OneDev\noperando o docker sock montado, certifique-se de que o executor com esta opção habilitada só possa ser usado\npor jobs confiáveis");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/web/translation/Translation_zh.java b/server-core/src/main/java/io/onedev/server/web/translation/Translation_zh.javaindex e01804278b..481fdc0211 100644--- a/server-core/src/main/java/io/onedev/server/web/translation/Translation_zh.java+++ b/server-core/src/main/java/io/onedev/server/web/translation/Translation_zh.java@@ -591,7 +591,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Build Description", "构建描述");m.put("Build Failure Issue Prompt", "构建失败工单提示");m.put("Build Filter", "构建筛选器");- m.put("Build Image", "构建镜像");m.put("Build Image (Kaniko)", "构建镜像(Kaniko)");m.put("Build Management", "构建管理");m.put("Build Notification", "构建通知");@@ -611,8 +610,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Build Volume Storage Size", "构建卷存储大小");m.put("Build administrative permission for all jobs inside a project, including batch operations over multiple builds","项目中所有任务的构建管理权限,包括多个构建的批量操作");- m.put("Build docker image with docker buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",- "使用docker buildx构建docker镜像。此步骤只能由服务器docker执行器或远程docker执行器执行,并使用这些执行器中指定的buildx构建器进行构建。如需使用Kubernetes执行器构建镜像,请改用kaniko步骤");m.put("Build docker image with kaniko. This step needs to be executed by server docker executor, remote docker executor, or Kubernetes executor","使用kaniko构建docker镜像。此步骤需由服务器docker执行器、远程docker执行器或Kubernetes执行器执行");m.put("Build duration statistics", "构建时长统计");@@ -1378,6 +1375,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Editor", "编辑器");m.put("Either specify value or secret value of the environment variable", "指定环境变量的值或秘密值");m.put("Either target branch or source branch has new commits just now, please re-check.", "目标分支或源分支有新的提交,请重新检查。");+ m.put("Elapsed time: {0}", "耗时: {0}");m.put("Email", "邮箱");m.put("Email Address", "邮箱地址");m.put("Email Address Privacy", "邮箱地址隐私");@@ -1424,10 +1422,6 @@ public class Translation_zh extends TranslationResourceBundle {"启用此选项,如果该规范可以被 AI 用户用来创建工作区以运行分配的任务");m.put("Enable this option to merge the pull request automatically when ready (all reviewers approved, all required jobs passed etc.)","启用此选项以在准备好时自动合并合并请求(所有审查者批准,所有必需的任务通过等)");- m.put("Enable this to allow to run html report publish step. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "启用此选项以允许运行 HTML 报告发布步骤。为避免 XSS 攻击,请确保此执行器只能由受信任的任务使用");- m.put("Enable this to allow to run site publish step. OneDev will serve project site files as is. To avoid XSS attack, make sure this executor can only be used by trusted jobs",- "启用此选项以允许运行站点发布步骤。OneDev 将按原样提供项目站点文件。为避免 XSS 攻击,请确保此执行器只能由受信任的任务使用");m.put("Enable this to process issue or pull request comments posted via email", "启用此选项以处理通过电子邮件发布的工单或合并请求评论");m.put("Enable this to process issue or pull request comments posted via email. <b class='text-danger'>NOTE:</b> <a href='https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/plus-addressing-in-exchange-online' target='_blank'>Sub addressing</a> needs to be enabled for system email address above, as OneDev uses it to track issue and pull request contexts","启用此选项以处理通过电子邮件发布的工单或合并请求评论。<b class='text-danger'>注意:</b> <a href='https://en.wikipedia.org/wiki/Email_address#Subaddressing' target='_blank'>Sub addressing</a> 需要为系统电子邮件地址启用,因为 OneDev 使用它来跟踪工单和合并请求上下文");@@ -1497,6 +1491,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Estimated progress", "估算进度");m.put("Estimated progress based on the running time of the last successful build in the same stream","基于同一流中上次成功构建的运行时间估算进度");+ m.put("Estimated remaining time: {0}", "预计剩余时间: {0}");m.put("Estimated time", "预计时间");m.put("Estimated/Spent time. Click for details", "预计/已用时间。点击查看详情");m.put("Evaluate script to get choices", "运行脚本以获取选项");@@ -2851,7 +2846,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Optionally specify name of the attribute inside the user LDAP entry whose values will be taken as user SSH keys. SSH keys will be managed by LDAP only if this field is set","可选择指定用户 LDAP 条目中属性的名称,其值将被用作用户 SSH 密钥。只有设置了此字段,SSH 密钥才会由 LDAP 管理");m.put("Optionally specify node selector of the job pods", "可选择指定任务 pod 的节点选择器");- m.put("Optionally specify options for docker builder prune command", "可选择为 docker builder prune 命令指定选项");m.put("Optionally specify options for scp command. Multiple options need to be separated with space","可选择为 scp 命令指定选项。多个选项需要用空格分隔");m.put("Optionally specify options for ssh command. Multiple options need to be separated with space",@@ -3255,8 +3249,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Provisioner", "配置器");m.put("Proxy", "代理");m.put("Prune Builder Cache", "清理构建器缓存");- m.put("Prune image cache of docker buildx builder. This step calls docker builder prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",- "此步骤调用 docker builder prune 命令来删除服务器 docker 执行器或远程 docker 执行器中指定的 buildx 构建器缓存");m.put("Public Key", "公钥");m.put("Public Roles", "公共角色");m.put("Publish", "发布");@@ -3950,8 +3942,6 @@ public class Translation_zh extends TranslationResourceBundle {"指定 kubectl 用于访问集群的配置文件的绝对路径。留空让 kubectl 自动确定集群访问信息");m.put("Specify absolute path to the kubectl utility, for instance: <i>/usr/bin/kubectl</i>. If left empty, OneDev will try to find the utility from system path","指定 kubectl 工具的绝对路径,例如:<i>/usr/bin/kubectl</i>。如果留空,OneDev 将尝试从系统路径中查找该工具");- m.put("Specify access token with upload cache permission for above project.\nNote that this property is not required if upload cache to current project",- "指定具有上传缓存权限的访问令牌,用于上述项目。\n请注意,如果上传缓存到当前项目,则不需要此属性。");m.put("Specify account name to login to Gmail to send/receive email", "指定用于登录 Gmail 发送/接收电子邮件的账户名");m.put("Specify additional users able to access this confidential issue besides those granted via role. Users mentioned in the issue will be authorized automatically","指定额外用户可以访问此机密工单,除了通过角色授予的用户。提及在工单中的用户将自动被授权");@@ -4036,8 +4026,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Specify directory relative to <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>job working directory</a> to store OCI layout","指定相对于 <a href='https://docs.onedev.io/concepts#job-workdir' target='_blank'>任务工作区</a> 的目录以存储 OCI 布局");m.put("Specify docker image of the service", "指定服务的 Docker 镜像");- m.put("Specify dockerx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",- "指定用于构建 Docker 镜像的 dockerx 构建器。如果不存在,OneDev 将自动创建构建器。查看<a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>此教程</a>了解如何自定义构建器,例如允许发布到不安全的注册表");m.put("Specify domain of various noreply email addresses for git operations if users want\nto keep their own email addresses private","指定用于 Git 操作的各种 noreply 邮箱地址的域,如果用户希望\n保持自己的邮箱地址私密");m.put("Specify email addresses to send invitations, with one per line", "指定要发送邀请的电子邮件地址,每行一个");@@ -4994,8 +4982,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Whether or not to include this field when issue is initially opened. If not, you may include this field later when issue is transited to other states via issue transition rule","在工单首次打开时是否包含此字段。如果不包含,您可以在工单通过工单转换规则转换到其他状态时再包含此字段");m.put("Whether or not to input and display estimated/spent time in hours/minutes only", "是否仅以小时/分钟输入和显示估计/耗费时间");- m.put("Whether or not to mount docker sock into job container to support docker operations in job commands<br><b class='text-danger'>WARNING</b>: Malicious jobs can take control of whole OneDev by operating the mounted docker sock. Make sure this executor can only be used by trusted jobs if this option is enabled",- "是否将 docker sock 挂载到作业容器中以支持作业命令中的 docker 操作<br><b class='text-danger'>警告</b>:恶意作业可以通过操作挂载的 docker sock 控制整个 OneDev。请确保如果启用此选项,此执行器仅能被可信的作业使用");m.put("Whether or not to mount docker sock into workspace container to support docker operations in workspace<br><b class='text-danger'>WARNING</b>: Malicious workspaces can take control of whole OneDev by operating the mounted docker sock. Make sure this provisioner can only be used by trusted workspaces if this option is enabled","是否将 docker sock 挂载到工作区容器中以支持工作区中的 docker 操作<br><b class='text-danger'>警告</b>:恶意工作区可以通过操作挂载的 docker sock 来控制整个 OneDev。如果启用此选项,请确保此配置器只能被可信工作区使用");m.put("Whether or not to pre-populate tag mappings in next page. You may want to disable this if there are too many tags to display",@@ -5346,16 +5332,41 @@ public class Translation_zh extends TranslationResourceBundle {m.put("{0} will be transcoded to UTF-8 upon commit", "{0} 将在提交时转码为 UTF-8");m.put("{0}d", "{0} 天");m.put("{0}h", "{0} 小时");+ m.put("{0}h {1}m {2}s", "{0}小时 {1}分钟 {2}秒");m.put("{0}m", "{0} 分钟");+ m.put("{0}m {1}s", "{0}分钟 {1}秒");m.put("{0}s", "{0} 秒");m.put("{0}w", "{0}周");m.put("{jakarta.validation.constraints.NotEmpty.message}", "{jakarta.validation.constraints.NotEmpty.message}");m.put("{jakarta.validation.constraints.NotNull.message}", "{jakarta.validation.constraints.NotNull.message}");m.put("{jakarta.validation.constraints.Size.message}", "{jakarta.validation.constraints.Size.message}");- m.put("Elapsed time: {0}", "耗时: {0}");- m.put("Estimated remaining time: {0}", "预计剩余时间: {0}");- m.put("{0}h {1}m {2}s", "{0}小时 {1}分钟 {2}秒");- m.put("{0}m {1}s", "{0}分钟 {1}秒");+ m.put("Build Image (Buildx)", "构建镜像 (Buildx)");+ m.put("Build docker image with buildx. This step can only be executed by server docker executor or remote docker executor, and it uses the buildx builder specified in these executors to do the job. To build image with Kubernetes executor, please use kaniko step instead",+ "使用 buildx 构建 docker 镜像。此步骤只能由服务器 docker 执行器或远程 docker 执行器执行,并使用这些执行器中指定的 buildx 构建器来完成任务。要使用 Kubernetes 执行器构建镜像,请改用 kaniko 步骤");+ m.put("Enable Builder Cache Prune", "启用构建器缓存清理");+ m.put("Enable Buildx Image Build", "启用 Buildx 镜像构建");+ m.put("Enable Buildx Image Tools", "启用 Buildx 镜像工具");+ m.put("Enable this to allow to run html report publish step. To avoid XSS attack,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "启用此选项以允许运行 html 报告发布步骤。为避免 XSS 攻击,\n请确保启用此选项的执行器只能被可信任务使用");+ m.put("Enable this to allow to run prune builder cache step. To avoid shared builder cache being\ncleared by malicious jobs, make sure executor with this option enabled can only be used\nby trusted jobs",+ "启用此选项以允许运行清理构建器缓存步骤。为避免共享构建器缓存被\n恶意任务清理,请确保启用此选项的执行器只能被可信任务使用");+ m.put("Enable this to allow to run site publish step. OneDev will serve project\nsite files as is. To avoid XSS attack, make sure executor with this\noption enabled can only be used by trusted jobs",+ "启用此选项以允许运行站点发布步骤。OneDev 将按原样提供项目\n站点文件。为避免 XSS 攻击,请确保启用此选项的执行器只能被可信任务使用");+ m.put("Enable this to allow to run the buildx image tools step.\nTo avoid malicious jobs reading or writing arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "启用此选项以允许运行 buildx 镜像工具步骤。\n为避免恶意任务通过运行此步骤读取或写入任意主机文件,\n请确保启用此选项的执行器只能被可信任务使用");+ m.put("Enable this to allow to run the image build step using buildx.\nThe image build step using kaniko can still be used even this option is disabled.\nTo avoid malicious jobs reading arbitrary host files by running this step,\nmake sure executor with this option enabled can only be used by trusted jobs",+ "启用此选项以允许使用 buildx 运行镜像构建步骤。\n即使禁用此选项,仍然可以使用 kaniko 的镜像构建步骤。\n为避免恶意任务通过运行此步骤读取任意主机文件,\n请确保启用此选项的执行器只能被可信任务使用");+ m.put("Optionally specify docker options to run container. Multiple options should be separated by space, and single option containing spaces should be quoted. File paths must be relative to the job working directory, without '..' or symbolic links. Volume and device mount options are not allowed",+ "可选地指定运行容器的 docker 选项。多个选项应以空格分隔,包含空格的单个选项应加引号。文件路径必须相对于任务工作目录,且不能包含 '..' 或符号链接。不允许使用卷和设备挂载选项");+ m.put("Optionally specify options for docker buildx prune command", "可选地为 docker buildx prune 命令指定选项");+ m.put("Prune image cache of docker buildx builder. This step calls docker buildx prune command to remove cache of buildx builder specified in server docker executor or remote docker executor",+ "清理 docker buildx 构建器的镜像缓存。此步骤调用 docker buildx prune 命令以移除服务器 docker 执行器或远程 docker 执行器中指定的 buildx 构建器的缓存");+ m.put("Specify Buildx builder used to build docker image. OneDev will create the builder automatically if it does not exist. Check <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>this tutorial</a> on how to customize the builder for instance to allow publishing to insecure registries",+ "指定用于构建 docker 镜像的 Buildx 构建器。如果构建器不存在,OneDev 将自动创建。查看 <a href='https://docs.onedev.io/tutorials/cicd/insecure-docker-registry' target='_blank'>此教程</a>,了解如何自定义构建器,例如允许发布到不安全的注册表");+ m.put("Specify access token with upload cache permission for above project.\nThis property is not required if the workspace owner has upload cache permission for above project",+ "为上述项目指定具有上传缓存权限的访问令牌。\n如果工作区所有者对上述项目具有上传缓存权限,则此属性不是必需的");+ m.put("Whether or not to mount docker sock into job container to\nsupport docker operations in job commands. To avoid malicious jobs taking control of whole OneDev\nby operating the mounted docker sock, make sure executor with this option enabled can only be used\nby trusted jobs",+ "是否将 docker sock 挂载到任务容器中以\n支持任务命令中的 docker 操作。为避免恶意任务通过操作挂载的 docker sock 控制整个 OneDev,\n请确保启用此选项的执行器只能被可信任务使用");}@Overridediff --git a/server-core/src/test/java/io/onedev/server/buildspec/step/BuildImageStepTest.java b/server-core/src/test/java/io/onedev/server/buildspec/step/BuildImageStepTest.javadeleted file mode 100644index b0c496a887..0000000000--- a/server-core/src/test/java/io/onedev/server/buildspec/step/BuildImageStepTest.java+++ /dev/null@@ -1,72 +0,0 @@-package io.onedev.server.buildspec.step;--import static org.junit.jupiter.api.Assertions.*;-import static org.mockito.Mockito.when;--import org.junit.jupiter.api.Test;--import io.onedev.commons.loader.AppLoader;-import io.onedev.commons.loader.AppLoaderMocker;-import io.onedev.commons.loader.ImplementationRegistry;-import io.onedev.k8shelper.BuildImageFacade;-import io.onedev.server.buildspec.BuildSpec;-import io.onedev.server.data.migration.VersionedYamlDoc;--class BuildImageStepTest extends AppLoaderMocker {- @Override- protected void setup() {- when(AppLoader.getInstance(ImplementationRegistry.class)).thenReturn(new ImplementationRegistry() {- @Override- public <T> java.util.Collection<Class<? extends T>> getImplementations(Class<T> type) {- var implementations = new java.util.ArrayList<Class<? extends T>>();- for (var implementation : java.util.List.of(BuildImageStep.class, BuildImageStep.RegistryOutput.class)) {- if (type.isAssignableFrom(implementation))- implementations.add(implementation.asSubclass(type));- }- return implementations;- }- });- }-- @Override- protected void teardown() { }-- private VersionedYamlDoc document(String section, String option) {- return VersionedYamlDoc.fromYaml("""- version: 54- %s:- - name: image- steps:- - type: BuildImageStep- name: build- output:- type: RegistryOutput- tags: test:latest- moreOptions: %s- """.formatted(section, option));- }-- @Test- void preservesStepOptionsInJobsAndTemplates() {- for (var section : java.util.List.of("jobs", "stepTemplates")) {- var options = "--no-cache --build-arg REVISION=@commit_hash@";- BuildSpec spec = document(section, options).toBean(BuildSpec.class);- BuildSpec restored = VersionedYamlDoc.fromYaml(VersionedYamlDoc.fromBean(spec).toYaml()).toBean(BuildSpec.class);- var steps = section.equals("jobs") ? restored.getJobs().get(0).getSteps()- : restored.getStepTemplates().get(0).getSteps();- var step = assertInstanceOf(BuildImageStep.class, steps.get(0));- assertEquals(options, step.getMoreOptions());- var facade = assertInstanceOf(BuildImageFacade.class, step.getFacade(null, null, "token", null));- assertEquals(options, facade.getMoreOptions());- }- }-- @Test- void acceptsEmptyStepOptions() {- for (var value : java.util.List.of("null", "''")) {- BuildSpec spec = document("jobs", value).toBean(BuildSpec.class);- var step = assertInstanceOf(BuildImageStep.class, spec.getJobs().get(0).getSteps().get(0));- assertNull(step.getMoreOptions());- }- }-}diff --git a/server-core/src/test/java/io/onedev/server/buildspec/step/PruneBuilderCacheStepTest.java b/server-core/src/test/java/io/onedev/server/buildspec/step/PruneBuilderCacheStepTest.javadeleted file mode 100644index f7186f69cf..0000000000--- a/server-core/src/test/java/io/onedev/server/buildspec/step/PruneBuilderCacheStepTest.java+++ /dev/null@@ -1,27 +0,0 @@-package io.onedev.server.buildspec.step;--import static org.junit.jupiter.api.Assertions.*;-import static org.mockito.Mockito.*;--import java.util.List;--import org.junit.jupiter.api.Test;--import io.onedev.server.annotation.ReservedOptions;-import io.onedev.server.validation.validator.ReservedOptionsValidator;-import jakarta.validation.ConstraintValidatorContext;--class PruneBuilderCacheStepTest {- @Test- void rejectsBothFormsOfReservedOptions() throws Exception {- var validator = new ReservedOptionsValidator();- validator.initialize(PruneBuilderCacheStep.class.getMethod("getOptions").getAnnotation(ReservedOptions.class));- var context = mock(ConstraintValidatorContext.class, RETURNS_DEEP_STUBS);- for (var options : List.of("--builder other", "--builder=other", "--all --builder=other",- "--force", "--force=false", "-f", "-f=false")) {- assertFalse(validator.isValid(options, context), options);- }- assertTrue(validator.isValid(null, context));- assertTrue(validator.isValid("--all --filter=until=24h", context));- }-}