The Unified and Autonomous Development Platform
chore: Some usability improvements
Robin Shen938891c59bbd
diff --git a/server-core/src/main/java/io/onedev/server/web/page/project/workspaces/detail/terminal/TerminalTabHead.java b/server-core/src/main/java/io/onedev/server/web/page/project/workspaces/detail/terminal/TerminalTabHead.javaindex 333fc3de99..439c395c36 100644--- a/server-core/src/main/java/io/onedev/server/web/page/project/workspaces/detail/terminal/TerminalTabHead.java+++ b/server-core/src/main/java/io/onedev/server/web/page/project/workspaces/detail/terminal/TerminalTabHead.java@@ -1,8 +1,11 @@package io.onedev.server.web.page.project.workspaces.detail.terminal;+import static io.onedev.server.web.translation.Translation._T;+import javax.inject.Inject;import org.apache.wicket.ajax.AjaxRequestTarget;+import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;import org.apache.wicket.ajax.markup.html.AjaxLink;import org.apache.wicket.markup.html.WebMarkupContainer;import org.apache.wicket.markup.html.basic.Label;@@ -10,6 +13,7 @@ import org.apache.wicket.markup.html.link.Link;import org.apache.wicket.markup.html.panel.Panel;import io.onedev.server.security.SecurityUtils;+import io.onedev.server.web.ajaxlistener.ConfirmClickListener;import io.onedev.server.web.component.link.ViewStateAwarePageLink;import io.onedev.server.web.component.svg.SpriteImage;import io.onedev.server.web.page.project.workspaces.detail.WorkspaceDetailPage;@@ -66,6 +70,13 @@ public class TerminalTabHead extends Panel {setVisible(SecurityUtils.canModifyOrDelete(workspace));}+ @Override+ protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {+ super.updateAjaxAttributes(attributes);+ attributes.getAjaxCallListeners().add(new ConfirmClickListener(+ _T("Do you really want to close this terminal?")));+ }+});add(new WebMarkupContainer("readOnlyNotice").setVisible(!SecurityUtils.canModifyOrDelete(page.getWorkspace())));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 fc12eb0e15..9f6622b356 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@@ -130,6 +130,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "Ein {0}, der als Körper verschiedener Problem-Benachrichtigungs-E-Mails verwendet wird");m.put("A {0} used as body of various pull request notification emails", "Ein {0}, der als Körper verschiedener Pull-Request-Benachrichtigungs-E-Mails verwendet wird");m.put("A {0} used as body of workspace notification email", "Ein {0} wird als Körper der Arbeitsbereichs-Benachrichtigungs-E-Mail verwendet");+ m.put("ACTIVE", "AKTIV");m.put("AI", "KI");m.put("AI Model Settings", "AI-Modell-Einstellungen");m.put("AI Settings", "KI-Einstellungen");@@ -1138,6 +1139,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "Möchten Sie die Einladung an \"{0}\" wirklich stornieren?");m.put("Do you really want to cancel this build?", "Möchten Sie diesen Build wirklich abbrechen?");m.put("Do you really want to change target branch to {0}?", "Möchten Sie das Zielbranch wirklich auf {0} ändern?");+ m.put("Do you really want to close this terminal?", "Möchten Sie dieses Terminal wirklich schließen?");m.put("Do you really want to delete \"{0}\"?", "Möchten Sie \"{0}\" wirklich löschen?");m.put("Do you really want to delete SSO provider \"{0}\"?", "Möchten Sie den SSO-Anbieter \"{0}\" wirklich löschen?");m.put("Do you really want to delete board \"{0}\"?", "Möchten Sie das Board \"{0}\" wirklich löschen?");@@ -1453,6 +1455,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("File is too large to edit here", "Datei ist zu groß, um hier bearbeitet zu werden");m.put("File name", "Dateiname");m.put("File name patterns such as *.java, *.c", "Dateinamenmuster wie *.java, *.c");+ m.put("File not found", "Datei nicht gefunden");m.put("Files", "Dateien");m.put("Files to Be Analyzed", "Zu analysierende Dateien");m.put("Filter", "Filter");@@ -1680,6 +1683,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("IMAP Password", "IMAP-Passwort");m.put("IMAP User", "IMAP-Benutzer");m.put("IMPORTANT:", "WICHTIG:");+ m.put("INACTIVE", "INAKTIV");m.put("IP Address", "IP-Adresse");m.put("Id", "ID");m.put("Identify Field", "Feld identifizieren");@@ -1768,6 +1772,7 @@ public class Translation_de extends TranslationResourceBundle {"Falls Sie einen externen Problem-Tracker verwenden, können Sie Transformatoren definieren, um externe Problemreferenzen in externe Problemlink in verschiedenen Bereichen zu transformieren, wie Commit-Nachrichten und Pull-Request-Beschreibungen");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","In seltenen Fällen können Ihre Probleme nicht mit den Workflow-Einstellungen synchron sein (undefinierter Zustand/Feld usw.). Führen Sie unten eine Integritätsprüfung durch, um Probleme zu finden und zu beheben.");+ m.put("Inactive", "Inaktiv");m.put("Inbox Poll Setting", "Posteingang-Abfrageeinstellung");m.put("Include Child Projects", "Unterprojekte einbeziehen");m.put("Include Disabled", "Deaktivierte einbeziehen");@@ -2908,6 +2913,8 @@ public class Translation_de extends TranslationResourceBundle {"Bitte geben Sie einen Ihrer Wiederherstellungscodes ein, die beim Aktivieren der Zwei-Faktor-Authentifizierung gespeichert wurden");m.put("Please login to perform this operation", "Bitte melden Sie sich an, um diese Operation auszuführen");m.put("Please login to perform this query", "Bitte melden Sie sich an, um diese Abfrage auszuführen");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "Bitte stellen Sie den Arbeitsbereich erneut bereit, um Änderungen anzuzeigen, oder Sie können sich beim Server \"{0}\" anmelden und Änderungen unter \"{1}\" überprüfen");m.put("Please resolve undefined field values below", "Bitte beheben Sie die unten undefinierten Feldwerte");m.put("Please resolve undefined fields below", "Bitte beheben Sie die unten undefinierten Felder");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("Symbol name", "Symbolname");m.put("Symbols", "Symbole");m.put("Sync", "Synchronisieren");+ m.put("Sync (pull & push)", "Synchronisieren (ziehen & schieben)");m.put("Sync Replica Status and Back to Home", "Synchronisieren Sie den Replikatstatus und kehren Sie zur Startseite zurück");m.put("Sync Repository", "Repository synchronisieren");m.put("Sync Timing of All Queried Issues", "Synchronisierungszeitpunkt aller abgefragten Issues");@@ -4674,6 +4682,7 @@ public class Translation_de extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","Ob das Bild beim Ausführen des Containers immer gezogen werden soll oder nicht. Diese Option sollte aktiviert werden, um zu vermeiden, dass Bilder durch bösartige Operationen ersetzt werden");m.put("Whether or not to be able to access time tracking info of issues", "Ob auf Zeitverfolgungsinformationen von Problemen zugegriffen werden kann oder nicht");+ m.put("Whether or not to create the workspace inside container", "Ob der Arbeitsbereich im Container erstellt werden soll oder nicht");m.put("Whether or not to enable code management for the project", "Ob die Codeverwaltung für das Projekt aktiviert werden soll oder nicht");m.put("Whether or not to enable issue management for the project", "Ob die Problemverwaltung für das Projekt aktiviert werden soll oder nicht");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "AKTIV");- m.put("File not found", "Datei nicht gefunden");- m.put("INACTIVE", "INAKTIV");- m.put("Inactive", "Inaktiv");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "Bitte stellen Sie den Arbeitsbereich erneut bereit, um Änderungen anzuzeigen, oder Sie können sich beim Server \"{0}\" anmelden und Änderungen unter \"{1}\" überprüfen");- m.put("Sync (pull & push)", "Synchronisieren (ziehen & schieben)");- m.put("Whether or not to create the workspace inside container", "Ob der Arbeitsbereich im Container erstellt werden soll oder nicht");}@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 66fd1df862..24b2700b49 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@@ -130,6 +130,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "Un {0} usado como cuerpo de varios correos de notificación de problemas");m.put("A {0} used as body of various pull request notification emails", "Un {0} usado como cuerpo de varios correos de notificación de solicitudes de extracción");m.put("A {0} used as body of workspace notification email", "Un {0} usado como cuerpo del correo electrónico de notificación del espacio de trabajo");+ m.put("ACTIVE", "ACTIVO");m.put("AI", "IA");m.put("AI Model Settings", "Configuración del Modelo de IA");m.put("AI Settings", "Configuraciones de IA");@@ -1138,6 +1139,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "¿Realmente desea cancelar la invitación a \"{0}\"?");m.put("Do you really want to cancel this build?", "¿Realmente desea cancelar esta compilación?");m.put("Do you really want to change target branch to {0}?", "¿Realmente desea cambiar la rama de destino a {0}?");+ m.put("Do you really want to close this terminal?", "¿Realmente deseas cerrar este terminal?");m.put("Do you really want to delete \"{0}\"?", "¿Realmente desea eliminar \"{0}\"?");m.put("Do you really want to delete SSO provider \"{0}\"?", "¿Realmente deseas eliminar el proveedor SSO \"{0}\"?");m.put("Do you really want to delete board \"{0}\"?", "¿Realmente desea eliminar el tablero \"{0}\"?");@@ -1453,6 +1455,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("File is too large to edit here", "El archivo es demasiado grande para editar aquí");m.put("File name", "Nombre del archivo");m.put("File name patterns such as *.java, *.c", "Patrones de nombre de archivo como *.java, *.c");+ m.put("File not found", "Archivo no encontrado");m.put("Files", "Archivos");m.put("Files to Be Analyzed", "Archivos a Analizar");m.put("Filter", "Filtro");@@ -1680,6 +1683,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("IMAP Password", "Contraseña IMAP");m.put("IMAP User", "Usuario IMAP");m.put("IMPORTANT:", "IMPORTANTE:");+ m.put("INACTIVE", "INACTIVO");m.put("IP Address", "Dirección IP");m.put("Id", "ID");m.put("Identify Field", "Campo de identificación");@@ -1768,6 +1772,7 @@ public class Translation_es extends TranslationResourceBundle {"En caso de que esté utilizando un rastreador de problemas externo, puede definir transformadores para transformar referencias de problemas externos en enlaces de problemas externos en varios lugares, como mensajes de confirmación y descripciones de solicitudes de extracción");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","En casos raros, sus problemas pueden estar desincronizados con la configuración del flujo de trabajo (estado/campo indefinido, etc.). Ejecute la verificación de integridad a continuación para encontrar problemas y solucionarlos");+ m.put("Inactive", "Inactivo");m.put("Inbox Poll Setting", "Configuración de sondeo de bandeja de entrada");m.put("Include Child Projects", "Incluir proyectos secundarios");m.put("Include Disabled", "Incluir deshabilitados");@@ -2908,6 +2913,8 @@ public class Translation_es extends TranslationResourceBundle {"Por favor ingrese uno de sus códigos de recuperación guardados al habilitar la autenticación de dos factores");m.put("Please login to perform this operation", "Por favor inicie sesión para realizar esta operación");m.put("Please login to perform this query", "Por favor inicie sesión para realizar esta consulta");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "Por favor, reprovisione el espacio de trabajo para mostrar los cambios, o puede iniciar sesión en el servidor \"{0}\" y verificar los cambios en \"{1}\"");m.put("Please resolve undefined field values below", "Por favor resuelva los valores de campos indefinidos a continuación");m.put("Please resolve undefined fields below", "Por favor resuelva los campos indefinidos a continuación");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("Symbol name", "Nombre del símbolo");m.put("Symbols", "Símbolos");m.put("Sync", "Sincronizar");+ m.put("Sync (pull & push)", "Sincronizar (pull & push)");m.put("Sync Replica Status and Back to Home", "Sincronizar estado de réplica y volver a inicio");m.put("Sync Repository", "Sincronizar Repositorio");m.put("Sync Timing of All Queried Issues", "Sincronizar el Tiempo de Todas las Incidencias Consultadas");@@ -4674,6 +4682,7 @@ public class Translation_es extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","Si siempre se debe extraer la imagen al ejecutar el contenedor o no. Esta opción debe estar habilitada para evitar que las imágenes sean reemplazadas por operaciones maliciosas");m.put("Whether or not to be able to access time tracking info of issues", "Si se puede acceder o no a la información de seguimiento de tiempo de los problemas");+ m.put("Whether or not to create the workspace inside container", "Si crear o no el espacio de trabajo dentro del contenedor");m.put("Whether or not to enable code management for the project", "Si se habilita o no la gestión de código para el proyecto");m.put("Whether or not to enable issue management for the project", "Si se habilita o no la gestión de problemas para el proyecto");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "ACTIVO");- m.put("File not found", "Archivo no encontrado");- m.put("INACTIVE", "INACTIVO");- m.put("Inactive", "Inactivo");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "Por favor, reprovisione el espacio de trabajo para mostrar los cambios, o puede iniciar sesión en el servidor \"{0}\" y verificar los cambios en \"{1}\"");- m.put("Sync (pull & push)", "Sincronizar (pull & push)");- m.put("Whether or not to create the workspace inside container", "Si crear o no el espacio de trabajo dentro del contenedor");}@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 10be0f850b..47ae7374c9 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@@ -130,6 +130,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "Un {0} utilisé comme corps des divers emails de notification de problème");m.put("A {0} used as body of various pull request notification emails", "Un {0} utilisé comme corps des divers emails de notification de demande de tirage");m.put("A {0} used as body of workspace notification email", "Un {0} utilisé comme corps de l'email de notification de l'espace de travail");+ m.put("ACTIVE", "ACTIF");m.put("AI", "IA");m.put("AI Model Settings", "Paramètres du modèle AI");m.put("AI Settings", "Paramètres de l'IA");@@ -1138,6 +1139,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "Voulez-vous vraiment annuler l'invitation à \"{0}\" ?");m.put("Do you really want to cancel this build?", "Voulez-vous vraiment annuler cette construction ?");m.put("Do you really want to change target branch to {0}?", "Voulez-vous vraiment changer la branche cible en {0} ?");+ m.put("Do you really want to close this terminal?", "Voulez-vous vraiment fermer ce terminal ?");m.put("Do you really want to delete \"{0}\"?", "Voulez-vous vraiment supprimer \"{0}\" ?");m.put("Do you really want to delete SSO provider \"{0}\"?", "Voulez-vous vraiment supprimer le fournisseur SSO \"{0}\" ?");m.put("Do you really want to delete board \"{0}\"?", "Voulez-vous vraiment supprimer le tableau \"{0}\" ?");@@ -1453,6 +1455,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("File is too large to edit here", "Le fichier est trop volumineux pour être édité ici");m.put("File name", "Nom du fichier");m.put("File name patterns such as *.java, *.c", "Modèles de noms de fichiers tels que *.java, *.c");+ m.put("File not found", "Fichier non trouvé");m.put("Files", "Fichiers");m.put("Files to Be Analyzed", "Fichiers à analyser");m.put("Filter", "Filtre");@@ -1680,6 +1683,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("IMAP Password", "Mot de passe IMAP");m.put("IMAP User", "Utilisateur IMAP");m.put("IMPORTANT:", "IMPORTANT :");+ m.put("INACTIVE", "INACTIF");m.put("IP Address", "Adresse IP");m.put("Id", "Id");m.put("Identify Field", "Champ d'identification");@@ -1768,6 +1772,7 @@ public class Translation_fr extends TranslationResourceBundle {"Dans le cas où vous utilisez un gestionnaire de problèmes externe, vous pouvez définir des transformateurs pour transformer les références de problèmes externes en liens de problèmes externes à divers endroits, tels que les messages de commit et les descriptions de demandes de tirage");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","Dans de rares cas, vos problèmes peuvent être désynchronisés avec les paramètres de workflow (état/champ non défini, etc.). Exécutez une vérification d'intégrité ci-dessous pour trouver les problèmes et les résoudre.");+ m.put("Inactive", "Inactif");m.put("Inbox Poll Setting", "Paramètre de sondage de la boîte de réception");m.put("Include Child Projects", "Inclure les projets enfants");m.put("Include Disabled", "Inclure les désactivés");@@ -2908,6 +2913,8 @@ public class Translation_fr extends TranslationResourceBundle {"Veuillez saisir l'un de vos codes de récupération enregistrés lors de l'activation de l'authentification à deux facteurs");m.put("Please login to perform this operation", "Veuillez vous connecter pour effectuer cette opération");m.put("Please login to perform this query", "Veuillez vous connecter pour effectuer cette requête");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "Veuillez reprovisionner l'espace de travail pour afficher les modifications, ou vous pouvez vous connecter au serveur \"{0}\" et vérifier les modifications à \"{1}\"");m.put("Please resolve undefined field values below", "Veuillez résoudre les valeurs de champs non définies ci-dessous");m.put("Please resolve undefined fields below", "Veuillez résoudre les champs non définis ci-dessous");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Symbol name", "Nom du symbole");m.put("Symbols", "Symboles");m.put("Sync", "Synchroniser");+ m.put("Sync (pull & push)", "Synchroniser (tirer & pousser)");m.put("Sync Replica Status and Back to Home", "Synchroniser le statut de la réplique et retourner à l'accueil");m.put("Sync Repository", "Synchroniser le dépôt");m.put("Sync Timing of All Queried Issues", "Synchroniser le timing de toutes les issues interrogées");@@ -4674,6 +4682,7 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","Si l'image doit toujours être tirée lors de l'exécution du conteneur ou non. Cette option doit être activée pour éviter que les images ne soient remplacées par des opérations malveillantes");m.put("Whether or not to be able to access time tracking info of issues", "Si les informations de suivi du temps des issues peuvent être accessibles ou non");+ m.put("Whether or not to create the workspace inside container", "Créer ou non l'espace de travail à l'intérieur du conteneur");m.put("Whether or not to enable code management for the project", "Si la gestion du code doit être activée pour le projet ou non");m.put("Whether or not to enable issue management for the project", "Si la gestion des issues doit être activée pour le projet ou non");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "ACTIF");- m.put("File not found", "Fichier non trouvé");- m.put("INACTIVE", "INACTIF");- m.put("Inactive", "Inactif");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "Veuillez reprovisionner l'espace de travail pour afficher les modifications, ou vous pouvez vous connecter au serveur \"{0}\" et vérifier les modifications à \"{1}\"");- m.put("Sync (pull & push)", "Synchroniser (tirer & pousser)");- m.put("Whether or not to create the workspace inside container", "Créer ou non l'espace de travail à l'intérieur du conteneur");}@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 a8beb0770b..059d708ea2 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@@ -130,6 +130,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "Un {0} utilizzato come corpo delle varie email di notifica delle issue");m.put("A {0} used as body of various pull request notification emails", "Un {0} utilizzato come corpo delle varie email di notifica delle pull request");m.put("A {0} used as body of workspace notification email", "Un {0} utilizzato come corpo dell'email di notifica del workspace");+ m.put("ACTIVE", "ATTIVO");m.put("AI", "AI");m.put("AI Model Settings", "Impostazioni del Modello AI");m.put("AI Settings", "Impostazioni AI");@@ -1138,6 +1139,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "Vuoi davvero annullare l'invito a \"{0}\"?");m.put("Do you really want to cancel this build?", "Vuoi davvero annullare questa build?");m.put("Do you really want to change target branch to {0}?", "Vuoi davvero cambiare il branch di destinazione in {0}?");+ m.put("Do you really want to close this terminal?", "Vuoi davvero chiudere questo terminale?");m.put("Do you really want to delete \"{0}\"?", "Vuoi davvero eliminare \"{0}\"?");m.put("Do you really want to delete SSO provider \"{0}\"?", "Vuoi davvero eliminare il provider SSO \"{0}\"?");m.put("Do you really want to delete board \"{0}\"?", "Vuoi davvero eliminare la board \"{0}\"?");@@ -1453,6 +1455,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("File is too large to edit here", "Il file è troppo grande per essere modificato qui");m.put("File name", "nome file");m.put("File name patterns such as *.java, *.c", "modelli nome file come *.java, *.c");+ m.put("File not found", "File non trovato");m.put("Files", "File");m.put("Files to Be Analyzed", "File da Analizzare");m.put("Filter", "Filtro");@@ -1680,6 +1683,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("IMAP Password", "Password IMAP");m.put("IMAP User", "Utente IMAP");m.put("IMPORTANT:", "IMPORTANTE:");+ m.put("INACTIVE", "INATTIVO");m.put("IP Address", "Indirizzo IP");m.put("Id", "ID");m.put("Identify Field", "Campo di identificazione");@@ -1768,6 +1772,7 @@ public class Translation_it extends TranslationResourceBundle {"Nel caso in cui utilizzi un tracker di problemi esterno, puoi definire trasformatori per trasformare i riferimenti a problemi esterni in collegamenti a problemi esterni in vari luoghi, come messaggi di commit e descrizioni delle pull request");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","In rari casi, i tuoi problemi potrebbero essere fuori sincronizzazione con le impostazioni del flusso di lavoro (stato/campo non definito ecc.). Esegui il controllo di integrità qui sotto per trovare problemi e risolverli.");+ m.put("Inactive", "Inattivo");m.put("Inbox Poll Setting", "Impostazione di polling della casella di posta");m.put("Include Child Projects", "Includi progetti figli");m.put("Include Disabled", "Includi disabilitati");@@ -2908,6 +2913,8 @@ public class Translation_it extends TranslationResourceBundle {"Si prega di inserire uno dei codici di recupero salvati quando è stata abilitata l'autenticazione a due fattori");m.put("Please login to perform this operation", "Si prega di effettuare il login per eseguire questa operazione");m.put("Please login to perform this query", "Si prega di effettuare il login per eseguire questa query");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "Si prega di riprovisionare l'ambiente di lavoro per mostrare le modifiche, oppure è possibile accedere al server \"{0}\" e controllare le modifiche su \"{1}\"");m.put("Please resolve undefined field values below", "Si prega di risolvere i valori dei campi non definiti qui sotto");m.put("Please resolve undefined fields below", "Si prega di risolvere i campi non definiti qui sotto");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("Symbol name", "Nome simbolo");m.put("Symbols", "Simboli");m.put("Sync", "Sincronizza");+ m.put("Sync (pull & push)", "Sincronizza (pull & push)");m.put("Sync Replica Status and Back to Home", "Sincronizza Stato Replica e Torna alla Home");m.put("Sync Repository", "Sincronizza Repository");m.put("Sync Timing of All Queried Issues", "Sincronizza Tempistica di Tutte le Questioni Interrogate");@@ -4674,6 +4682,7 @@ public class Translation_it extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","Se tirare sempre l'immagine quando si esegue il container o meno. Questa opzione dovrebbe essere abilitata per evitare che le immagini vengano sostituite da operazioni dannose");m.put("Whether or not to be able to access time tracking info of issues", "Se essere in grado di accedere alle informazioni di tracciamento del tempo dei problemi o meno");+ m.put("Whether or not to create the workspace inside container", "Se creare o meno l'ambiente di lavoro all'interno del container");m.put("Whether or not to enable code management for the project", "Se abilitare la gestione del codice per il progetto o meno");m.put("Whether or not to enable issue management for the project", "Se abilitare la gestione dei problemi per il progetto o meno");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "ATTIVO");- m.put("File not found", "File non trovato");- m.put("INACTIVE", "INATTIVO");- m.put("Inactive", "Inattivo");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "Si prega di riprovisionare l'ambiente di lavoro per mostrare le modifiche, oppure è possibile accedere al server \"{0}\" e controllare le modifiche su \"{1}\"");- m.put("Sync (pull & push)", "Sincronizza (pull & push)");- m.put("Whether or not to create the workspace inside container", "Se creare o meno l'ambiente di lavoro all'interno del container");}@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 55b5b1a239..52f5d19991 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@@ -130,6 +130,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "さまざまな問題通知メールの本文として使用される {0}");m.put("A {0} used as body of various pull request notification emails", "さまざまなプルリクエスト通知メールの本文として使用される {0}");m.put("A {0} used as body of workspace notification email", "ワークスペース通知メールの本文として使用される{0}");+ m.put("ACTIVE", "アクティブ");m.put("AI", "AI");m.put("AI Model Settings", "AIモデル設定");m.put("AI Settings", "AI設定");@@ -1138,6 +1139,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "\"{0}\"への招待を本当にキャンセルしますか?");m.put("Do you really want to cancel this build?", "このビルドを本当にキャンセルしますか?");m.put("Do you really want to change target branch to {0}?", "ターゲットブランチを{0}に変更してもよろしいですか?");+ m.put("Do you really want to close this terminal?", "このターミナルを本当に閉じますか?");m.put("Do you really want to delete \"{0}\"?", "\"{0}\"を本当に削除しますか?");m.put("Do you really want to delete SSO provider \"{0}\"?", "本当にSSOプロバイダー\"{0}\"を削除しますか?");m.put("Do you really want to delete board \"{0}\"?", "ボード\"{0}\"を本当に削除しますか?");@@ -1453,6 +1455,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("File is too large to edit here", "ファイルが大きすぎてここでは編集できません");m.put("File name", "ファイル名");m.put("File name patterns such as *.java, *.c", "ファイル名パターン(例: *.java, *.c)");+ m.put("File not found", "ファイルが見つかりません");m.put("Files", "ファイル一覧");m.put("Files to Be Analyzed", "分析対象のファイル");m.put("Filter", "フィルター");@@ -1680,6 +1683,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("IMAP Password", "IMAPパスワード");m.put("IMAP User", "IMAPユーザー");m.put("IMPORTANT:", "重要:");+ m.put("INACTIVE", "非アクティブ");m.put("IP Address", "IPアドレス");m.put("Id", "ID");m.put("Identify Field", "フィールドを識別");@@ -1768,6 +1772,7 @@ public class Translation_ja extends TranslationResourceBundle {"外部課題トラッカーを使用している場合、外部課題参照をコミットメッセージやプルリクエストの説明などのさまざまな場所で外部課題リンクに変換するトランスフォーマーを定義できます");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","まれに、課題がワークフロー設定(未定義の状態/フィールドなど)と同期していない場合があります。以下の整合性チェックを実行して問題を見つけ、修正してください。");+ m.put("Inactive", "非アクティブ");m.put("Inbox Poll Setting", "受信トレイポーリング設定");m.put("Include Child Projects", "子プロジェクトを含む");m.put("Include Disabled", "無効化されたものを含む");@@ -2908,6 +2913,8 @@ public class Translation_ja extends TranslationResourceBundle {"二要素認証を有効にした際に保存したリカバリーコードのいずれかを入力してください");m.put("Please login to perform this operation", "この操作を実行するにはログインしてください");m.put("Please login to perform this query", "このクエリを実行するにはログインしてください");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "変更を表示するにはワークスペースを再プロビジョニングしてください。またはサーバー \"{0}\" にログインして \"{1}\" で変更を確認してください");m.put("Please resolve undefined field values below", "以下の未定義フィールド値を解決してください");m.put("Please resolve undefined fields below", "以下の未定義フィールドを解決してください");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Symbol name", "シンボル名");m.put("Symbols", "シンボル");m.put("Sync", "同期");+ m.put("Sync (pull & push)", "同期 (プル & プッシュ)");m.put("Sync Replica Status and Back to Home", "レプリカステータスを同期してホームに戻る");m.put("Sync Repository", "リポジトリを同期");m.put("Sync Timing of All Queried Issues", "すべてのクエリされた課題の同期タイミング");@@ -4674,6 +4682,7 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","コンテナを実行する際に常にイメージをプルするかどうか。このオプションは、悪意のある操作によってイメージが置き換えられるのを避けるために有効にする必要があります");m.put("Whether or not to be able to access time tracking info of issues", "課題のタイムトラッキング情報にアクセスできるかどうか");+ m.put("Whether or not to create the workspace inside container", "コンテナ内にワークスペースを作成するかどうか");m.put("Whether or not to enable code management for the project", "プロジェクトのコード管理を有効にするかどうか");m.put("Whether or not to enable issue management for the project", "プロジェクトの課題管理を有効にするかどうか");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "アクティブ");- m.put("File not found", "ファイルが見つかりません");- m.put("INACTIVE", "非アクティブ");- m.put("Inactive", "非アクティブ");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "変更を表示するにはワークスペースを再プロビジョニングしてください。またはサーバー \"{0}\" にログインして \"{1}\" で変更を確認してください");- m.put("Sync (pull & push)", "同期 (プル & プッシュ)");- m.put("Whether or not to create the workspace inside container", "コンテナ内にワークスペースを作成するかどうか");}@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 a1322d27e3..bd30acf647 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@@ -130,6 +130,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "다양한 문제 알림 이메일 본문으로 사용된 {0}");m.put("A {0} used as body of various pull request notification emails", "다양한 풀 리퀘스트 알림 이메일 본문으로 사용된 {0}");m.put("A {0} used as body of workspace notification email", "워크스페이스 알림 이메일의 본문으로 사용된 {0}");+ m.put("ACTIVE", "활성화됨");m.put("AI", "AI");m.put("AI Model Settings", "AI 모델 설정");m.put("AI Settings", "AI 설정");@@ -1138,6 +1139,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "\"{0}\"에 대한 초대를 정말 취소하시겠습니까?");m.put("Do you really want to cancel this build?", "이 빌드를 정말 취소하시겠습니까?");m.put("Do you really want to change target branch to {0}?", "대상 브랜치를 {0}(으)로 변경하시겠습니까?");+ m.put("Do you really want to close this terminal?", "이 터미널을 정말로 닫으시겠습니까?");m.put("Do you really want to delete \"{0}\"?", "\"{0}\"을(를) 정말 삭제하시겠습니까?");m.put("Do you really want to delete SSO provider \"{0}\"?", "SSO 제공자 \"{0}\"를 정말로 삭제하시겠습니까?");m.put("Do you really want to delete board \"{0}\"?", "보드 \"{0}\"을(를) 정말 삭제하시겠습니까?");@@ -1453,6 +1455,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("File is too large to edit here", "파일이 너무 커서 여기서 편집할 수 없습니다");m.put("File name", "파일 이름");m.put("File name patterns such as *.java, *.c", "파일 이름 패턴 예: *.java, *.c");+ m.put("File not found", "파일을 찾을 수 없음");m.put("Files", "파일들");m.put("Files to Be Analyzed", "분석할 파일들");m.put("Filter", "필터");@@ -1680,6 +1683,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("IMAP Password", "IMAP 비밀번호");m.put("IMAP User", "IMAP 사용자");m.put("IMPORTANT:", "중요:");+ m.put("INACTIVE", "비활성화됨");m.put("IP Address", "IP 주소");m.put("Id", "ID");m.put("Identify Field", "식별 필드");@@ -1768,6 +1772,7 @@ public class Translation_ko extends TranslationResourceBundle {"외부 문제 추적기를 사용하는 경우, 커밋 메시지 및 풀 리퀘스트 설명과 같은 다양한 위치에서 외부 문제 참조를 외부 문제 링크로 변환하기 위한 변환기를 정의할 수 있습니다");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","드문 경우, 문제 상태/필드 등이 워크플로 설정과 동기화되지 않을 수 있습니다. 아래 무결성 검사를 실행하여 문제를 찾아 수정하십시오");+ m.put("Inactive", "비활성화됨");m.put("Inbox Poll Setting", "받은 편지함 폴링 설정");m.put("Include Child Projects", "하위 프로젝트 포함");m.put("Include Disabled", "비활성 포함");@@ -2908,6 +2913,8 @@ public class Translation_ko extends TranslationResourceBundle {"이중 인증을 활성화할 때 저장한 복구 코드 중 하나를 입력해주세요");m.put("Please login to perform this operation", "이 작업을 수행하려면 로그인해주세요");m.put("Please login to perform this query", "이 쿼리를 수행하려면 로그인해주세요");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "변경 사항을 표시하려면 워크스페이스를 다시 프로비저닝하거나 서버 \"{0}\"에 로그인하여 \"{1}\"에서 변경 사항을 확인하십시오");m.put("Please resolve undefined field values below", "아래 정의되지 않은 필드 값을 해결해주세요");m.put("Please resolve undefined fields below", "아래 정의되지 않은 필드를 해결해주세요");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Symbol name", "심볼 이름");m.put("Symbols", "심볼");m.put("Sync", "동기화");+ m.put("Sync (pull & push)", "동기화 (풀 & 푸시)");m.put("Sync Replica Status and Back to Home", "복제본 상태 동기화 및 홈으로 돌아가기");m.put("Sync Repository", "저장소 동기화");m.put("Sync Timing of All Queried Issues", "조회된 모든 이슈의 동기화 타이밍");@@ -4674,6 +4682,7 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","컨테이너 실행 시 항상 이미지를 풀할지 여부. 악의적인 작업에 의해 이미지가 교체되는 것을 방지하기 위해 이 옵션을 활성화해야 합니다");m.put("Whether or not to be able to access time tracking info of issues", "문제의 시간 추적 정보를 액세스할 수 있는지 여부");+ m.put("Whether or not to create the workspace inside container", "컨테이너 내부에 워크스페이스를 생성할지 여부");m.put("Whether or not to enable code management for the project", "프로젝트에 대한 코드 관리를 활성화할지 여부");m.put("Whether or not to enable issue management for the project", "프로젝트에 대한 문제 관리를 활성화할지 여부");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "활성화됨");- m.put("File not found", "파일을 찾을 수 없음");- m.put("INACTIVE", "비활성화됨");- m.put("Inactive", "비활성화됨");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "변경 사항을 표시하려면 워크스페이스를 다시 프로비저닝하거나 서버 \"{0}\"에 로그인하여 \"{1}\"에서 변경 사항을 확인하십시오");- m.put("Sync (pull & push)", "동기화 (풀 & 푸시)");- m.put("Whether or not to create the workspace inside container", "컨테이너 내부에 워크스페이스를 생성할지 여부");}@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 76b24434a1..8328c595a1 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@@ -130,6 +130,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "Um {0} usado como corpo de vários e-mails de notificação de problema");m.put("A {0} used as body of various pull request notification emails", "Um {0} usado como corpo de vários e-mails de notificação de pull request");m.put("A {0} used as body of workspace notification email", "Um {0} usado como corpo do email de notificação do workspace");+ m.put("ACTIVE", "ATIVO");m.put("AI", "IA");m.put("AI Model Settings", "Configurações do Modelo de IA");m.put("AI Settings", "Configurações de IA");@@ -1138,6 +1139,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "Você realmente deseja cancelar o convite para \"{0}\"?");m.put("Do you really want to cancel this build?", "Você realmente deseja cancelar esta build?");m.put("Do you really want to change target branch to {0}?", "Você realmente deseja alterar a branch de destino para {0}?");+ m.put("Do you really want to close this terminal?", "Você realmente deseja fechar este terminal?");m.put("Do you really want to delete \"{0}\"?", "Você realmente deseja excluir \"{0}\"?");m.put("Do you really want to delete SSO provider \"{0}\"?", "Você realmente deseja excluir o provedor SSO \"{0}\"?");m.put("Do you really want to delete board \"{0}\"?", "Você realmente deseja excluir o quadro \"{0}\"?");@@ -1453,6 +1455,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("File is too large to edit here", "Arquivo muito grande para editar aqui");m.put("File name", "nome do arquivo");m.put("File name patterns such as *.java, *.c", "Padrões de nome de arquivo como *.java, *.c");+ m.put("File not found", "Arquivo não encontrado");m.put("Files", "Arquivos");m.put("Files to Be Analyzed", "Arquivos a Serem Analisados");m.put("Filter", "Filtro");@@ -1680,6 +1683,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("IMAP Password", "Senha IMAP");m.put("IMAP User", "Usuário IMAP");m.put("IMPORTANT:", "IMPORTANTE:");+ m.put("INACTIVE", "INATIVO");m.put("IP Address", "Endereço IP");m.put("Id", "ID");m.put("Identify Field", "Campo de Identificação");@@ -1768,6 +1772,7 @@ public class Translation_pt extends TranslationResourceBundle {"Caso você esteja usando um rastreador de problemas externo, você pode definir transformadores para transformar referências de problemas externos em links de problemas externos em vários lugares, como mensagens de commit e descrições de pull request");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","Em casos raros, seus problemas podem estar fora de sincronização com as configurações de fluxo de trabalho (estado/campo indefinido etc.). Execute a verificação de integridade abaixo para encontrar problemas e corrigi-los.");+ m.put("Inactive", "Inativo");m.put("Inbox Poll Setting", "Configuração de Poll da Caixa de Entrada");m.put("Include Child Projects", "Incluir Projetos Filhos");m.put("Include Disabled", "Incluir Desativados");@@ -2908,6 +2913,8 @@ public class Translation_pt extends TranslationResourceBundle {"Por favor, insira um dos seus códigos de recuperação salvos ao habilitar a autenticação de dois fatores");m.put("Please login to perform this operation", "Por favor, faça login para realizar esta operação");m.put("Please login to perform this query", "Por favor, faça login para realizar esta consulta");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "Por favor, reprovisione o espaço de trabalho para mostrar as alterações, ou você pode fazer login no servidor \"{0}\" e verificar as alterações em \"{1}\"");m.put("Please resolve undefined field values below", "Por favor, resolva os valores de campos indefinidos abaixo");m.put("Please resolve undefined fields below", "Por favor, resolva os campos indefinidos abaixo");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4088,6 +4095,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Symbol name", "Nome do símbolo");m.put("Symbols", "Símbolos");m.put("Sync", "Sincronizar");+ m.put("Sync (pull & push)", "Sincronizar (pull & push)");m.put("Sync Replica Status and Back to Home", "Sincronizar Status da Réplica e Voltar para a Página Inicial");m.put("Sync Repository", "Sincronizar Repositório");m.put("Sync Timing of All Queried Issues", "Sincronizar Tempo de Todas as Questões Consultadas");@@ -4674,6 +4682,7 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","Se deve ou não sempre puxar a imagem ao executar o contêiner. Esta opção deve ser habilitada para evitar que imagens sejam substituídas por operações maliciosas");m.put("Whether or not to be able to access time tracking info of issues", "Se será possível acessar informações de rastreamento de tempo das issues ou não");+ m.put("Whether or not to create the workspace inside container", "Se deve ou não criar o espaço de trabalho dentro do contêiner");m.put("Whether or not to enable code management for the project", "Se habilitar gerenciamento de código para o projeto ou não");m.put("Whether or not to enable issue management for the project", "Se habilitar gerenciamento de issues para o projeto ou não");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5033,14 +5042,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "{javax.validation.constraints.NotEmpty.message}");m.put("{javax.validation.constraints.NotNull.message}", "{javax.validation.constraints.NotNull.message}");m.put("{javax.validation.constraints.Size.message}", "{javax.validation.constraints.Size.message}");- m.put("ACTIVE", "ATIVO");- m.put("File not found", "Arquivo não encontrado");- m.put("INACTIVE", "INATIVO");- m.put("Inactive", "Inativo");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "Por favor, reprovisione o espaço de trabalho para mostrar as alterações, ou você pode fazer login no servidor \"{0}\" e verificar as alterações em \"{1}\"");- m.put("Sync (pull & push)", "Sincronizar (pull & push)");- m.put("Whether or not to create the workspace inside container", "Se deve ou não criar o espaço de trabalho dentro do contêiner");}@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 64ba38bba8..d25e0c23ab 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@@ -156,6 +156,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("A {0} used as body of various issue notification emails", "用作各种工单通知邮件正文的 {0}");m.put("A {0} used as body of various pull request notification emails", "用作各种合并请求通知邮件正文的 {0}");m.put("A {0} used as body of workspace notification email", "用作工作区通知电子邮件正文的 {0}");+ m.put("ACTIVE", "有效");m.put("AI", "AI");m.put("AI Model Settings", "AI 模型设置");m.put("AI Settings", "AI 设置");@@ -1164,6 +1165,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Do you really want to cancel invitation to \"{0}\"?", "您真的要取消邀请 \"{0}\" 吗?");m.put("Do you really want to cancel this build?", "您确定要取消此构建吗?");m.put("Do you really want to change target branch to {0}?", "确定要将目标分支更改为 {0} 吗?");+ m.put("Do you really want to close this terminal?", "您确定要关闭此终端吗?");m.put("Do you really want to delete \"{0}\"?", "您真的要删除 \"{0}\" 吗?");m.put("Do you really want to delete SSO provider \"{0}\"?", "您真的想删除 SSO 提供方 \"{0}\" 吗?");m.put("Do you really want to delete board \"{0}\"?", "您确定要删除看板 \"{0}\" 吗?");@@ -1479,6 +1481,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("File is too large to edit here", "文件太大,无法在此编辑");m.put("File name", "文件名");m.put("File name patterns such as *.java, *.c", "文件名模式,如 *.java, *.c");+ m.put("File not found", "文件未找到");m.put("Files", "文件");m.put("Files to Be Analyzed", "要分析的文件");m.put("Filter", "过滤");@@ -1706,6 +1709,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("IMAP Password", "IMAP 密码");m.put("IMAP User", "IMAP 用户");m.put("IMPORTANT:", "重要:");+ m.put("INACTIVE", "无效");m.put("IP Address", "IP 地址");m.put("Id", "ID");m.put("Identify Field", "区分字段");@@ -1794,6 +1798,7 @@ public class Translation_zh extends TranslationResourceBundle {"如果您使用外部工单跟踪器,您可以定义转换器,将外部工单引用转换为外部工单链接,例如在提交消息和合并请求描述中");m.put("In rare cases, your issues might be out of sync with workflow settings (undefined state/field etc.). Run integrity check below to find problems and get them fixed.","在极少数情况下,您的工单可能与工作流设置不同步(未定义状态/字段等)。运行完整性检查以查找问题并修复它们");+ m.put("Inactive", "无效");m.put("Inbox Poll Setting", "Inbox 轮询设置");m.put("Include Child Projects", "包含子项目");m.put("Include Disabled", "包含禁用");@@ -2934,6 +2939,8 @@ public class Translation_zh extends TranslationResourceBundle {"请输入在启用两阶段验证时保存的恢复代码");m.put("Please login to perform this operation", "请登录才能执行此操作");m.put("Please login to perform this query", "请登录以执行此查询");+ m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",+ "请重新配置工作区以显示更改,或者您可以登录到服务器 \"{0}\" 并在 \"{1}\" 检查更改");m.put("Please resolve undefined field values below", "请解决以下未定义的字段值");m.put("Please resolve undefined fields below", "请解决以下未定义的字段");m.put("Please resolve undefined states below. Note that if you select to delete an undefined state, all issues with that state will be deleted",@@ -4114,6 +4121,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Symbol name", "符号名称");m.put("Symbols", "符号");m.put("Sync", "同步");+ m.put("Sync (pull & push)", "同步 (pull & push)");m.put("Sync Replica Status and Back to Home", "同步副本状态并返回主页");m.put("Sync Repository", "同步仓库");m.put("Sync Timing of All Queried Issues", "同步所有查询的工单的时间");@@ -4700,6 +4708,7 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Whether or not to always pull image when running container. This option should be enabled to avoid images being replaced by malicious operations","运行容器时是否总是拉取镜像。应启用此选项以避免镜像被恶意操作替换");m.put("Whether or not to be able to access time tracking info of issues", "是否能够访问工单的时间跟踪信息");+ m.put("Whether or not to create the workspace inside container", "是否在容器内创建工作区");m.put("Whether or not to enable code management for the project", "是否为项目启用代码管理");m.put("Whether or not to enable issue management for the project", "是否为项目启用工单管理");m.put("Whether or not to fetch LFS objects if pull request is opened from a different project.",@@ -5059,14 +5068,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("{javax.validation.constraints.NotEmpty.message}", "不能为空");m.put("{javax.validation.constraints.NotNull.message}", "不能为空");m.put("{javax.validation.constraints.Size.message}", "至少需要指定一个值");- m.put("ACTIVE", "有效");- m.put("File not found", "文件未找到");- m.put("INACTIVE", "无效");- m.put("Inactive", "无效");- m.put("Please reprovision the workspace to show changes, or you may login to server \"{0}\" and check changes at \"{1}\"",- "请重新配置工作区以显示更改,或者您可以登录到服务器 \"{0}\" 并在 \"{1}\" 检查更改");- m.put("Sync (pull & push)", "同步 (pull & push)");- m.put("Whether or not to create the workspace inside container", "是否在容器内创建工作区");}@Overridediff --git a/server-core/src/main/java/io/onedev/server/workspace/DefaultWorkspaceService.java b/server-core/src/main/java/io/onedev/server/workspace/DefaultWorkspaceService.javaindex c5d29ed9d6..2dfdd2aee1 100644--- a/server-core/src/main/java/io/onedev/server/workspace/DefaultWorkspaceService.java+++ b/server-core/src/main/java/io/onedev/server/workspace/DefaultWorkspaceService.java@@ -998,7 +998,7 @@ public class DefaultWorkspaceService extends BaseEntityService<Workspace>for (var entry : connections.entrySet()) {var connection = entry.getKey();var state = entry.getValue();- if (state.matches(workspaceId, shellId) && !state.queueIfReplaying(base64Data))+ if (state.matches(workspaceId, shellId) && !state.queueIfReplaying(base64Data) && connection.isOpen())connection.sendMessage("SHELL_OUTPUT:" + base64Data);}return null;