The Unified and Autonomous Development Platform
feat: add auto.svg icon and update color mode functionality
Robin Shen364da38cfbe8
diff --git a/server-core/src/main/java/io/onedev/server/web/asset/icon/auto.svg b/server-core/src/main/java/io/onedev/server/web/asset/icon/auto.svgnew file mode 100644index 0000000000..4c331b9b36--- /dev/null+++ b/server-core/src/main/java/io/onedev/server/web/asset/icon/auto.svg@@ -0,0 +1,43 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<svg+ class="icon"+ width="200px"+ height="200.00px"+ viewBox="0 0 1024 1024"+ version="1.1"+ id="svg2"+ sodipodi:docname="auto.svg"+ inkscape:version="1.4.4 (dcaf3e7, 2026-05-05)"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:svg="http://www.w3.org/2000/svg">+ <defs+ id="defs2" />+ <sodipodi:namedview+ id="namedview2"+ pagecolor="#ffffff"+ bordercolor="#000000"+ borderopacity="0.25"+ inkscape:showpageshadow="2"+ inkscape:pageopacity="0.0"+ inkscape:pagecheckerboard="0"+ inkscape:deskcolor="#d1d1d1"+ inkscape:zoom="4.365"+ inkscape:cx="100.11455"+ inkscape:cy="100"+ inkscape:window-width="1657"+ inkscape:window-height="1022"+ inkscape:window-x="65"+ inkscape:window-y="30"+ inkscape:window-maximized="0"+ inkscape:current-layer="svg2" />+ <path+ d="M 512.58648,85.049258 A 420.49942,421.08591 0 1 0 933.08592,506.13517 420.49942,421.08591 0 0 0 512.58648,85.049258 Z m 0,741.399122 A 319.86708,320.31322 0 1 1 832.45357,506.13517 320.22648,320.6731 0 0 1 512.58648,826.44838 Z"+ id="path1"+ style="stroke-width:1.3487" />+ <path+ d="m 512.58648,185.82195 a 319.8671,320.31322 0 0 0 0,640.62643 z"+ id="path2"+ style="stroke-width:1.3487" />+</svg>diff --git a/server-core/src/main/java/io/onedev/server/web/page/base/BasePage.java b/server-core/src/main/java/io/onedev/server/web/page/base/BasePage.javaindex fabbfaa994..7df7a04f86 100644--- a/server-core/src/main/java/io/onedev/server/web/page/base/BasePage.java+++ b/server-core/src/main/java/io/onedev/server/web/page/base/BasePage.java@@ -106,7 +106,7 @@ public abstract class BasePage extends WebPage {protected static final String COOKIE_LANGUAGE = "language";- public enum ColorTheme { DARK, LIGHT, AUTO };+ public enum ColorTheme { AUTO, LIGHT, DARK};private ColorTheme colorTheme = ColorTheme.AUTO;diff --git a/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.html b/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.htmlindex 238d66c426..88e6e053e5 100644--- a/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.html+++ b/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.html@@ -48,8 +48,8 @@<a wicket:id="alerts" t:data-tippy-content="Alerts" class="text-warning topbar-link d-none d-lg-inline"><wicket:svg href="exclamation-circle-o" class="icon fade-in-out"></wicket:svg></a><a wicket:id="newVersionStatus" t:data-tippy-content="New version available. Red for security/critical update, yellow for bug fix, blue for feature update. Click to show changes. Disable in system setting" class="new-version-status topbar-link d-none d-md-inline"><img wicket:id="icon"/></a><a wicket:id="showChat" t:data-tippy-content="Chat with AI" class="topbar-link"><wicket:svg href="ai" class="icon"/></a>- <a wicket:id="colorMode" t:data-tippy-content="ColorMode" class="topbar-link">- <img wicket:id="icon" class="icon"/>+ <a wicket:id="colorMode" t:data-tippy-content="Color mode" class="topbar-link">+ <svg wicket:id="icon" class="icon"/></a><a wicket:id="showCommandPalette" class="topbar-link command-palette d-none d-md-inline"></a><a wicket:id="languageSelector" t:data-tippy-content="Language" class="topbar-link language-selector"><wicket:svg href="globe" class="icon"></wicket:svg></a>diff --git a/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.java b/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.javaindex dab60e283f..41a5d96189 100644--- a/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.java+++ b/server-core/src/main/java/io/onedev/server/web/page/layout/LayoutPage.java@@ -776,20 +776,25 @@ public abstract class LayoutPage extends BasePage {});topbar.add(new MenuLink("colorMode") {-+@Overrideprotected List<MenuItem> getMenuItems(FloatingPanel dropdown) {var menuItems = new ArrayList<MenuItem>();- menuItems.add(new MenuItem() {+ menuItems.add(new MenuItem() {@Overridepublic String getLabel() {- return "Dark Mode";+ return "System Mode";+ }++ @Override+ public String getIconHref() {+ return "auto";}@Overridepublic boolean isSelected() {- return isDarkMode();+ return getColorTheme().equals(ColorTheme.AUTO);}@Override@@ -797,18 +802,22 @@ public abstract class LayoutPage extends BasePage {return new Link<Void>(id) {@Overridepublic void onClick() {- changeColorMode(ColorTheme.DARK);+ changeColorMode(ColorTheme.AUTO);}};}-});+menuItems.add(new MenuItem() {@Overridepublic String getLabel() {return "Light Mode";}+ @Override+ public String getIconHref() {+ return "sun";+ }@Overridepublic boolean isSelected() {@@ -827,14 +836,20 @@ public abstract class LayoutPage extends BasePage {});menuItems.add(new MenuItem() {+@Overridepublic String getLabel() {- return "System Mode";+ return "Dark Mode";+ }++ @Override+ public String getIconHref() {+ return "moon";}@Overridepublic boolean isSelected() {- return getColorTheme().equals(ColorTheme.AUTO);+ return isDarkMode();}@Override@@ -842,11 +857,13 @@ public abstract class LayoutPage extends BasePage {return new Link<Void>(id) {@Overridepublic void onClick() {- changeColorMode(ColorTheme.AUTO);+ changeColorMode(ColorTheme.DARK);}};}+});+return menuItems;}@@ -861,7 +878,7 @@ public abstract class LayoutPage extends BasePage {return switch (getColorTheme()) {case DARK -> "moon";case LIGHT -> "sun";- case AUTO -> "spin";+ case AUTO -> "auto";};}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 c2761bc128..0ac2305103 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@@ -2219,8 +2219,6 @@ public class Translation_de extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "Maximale Upload-Dateigröße (MB)");m.put("Max Value", "Maximalwert");m.put("Maximum number of entries to return when search code in repository", "Maximale Anzahl von Einträgen, die bei der Codesuche im Repository zurückgegeben werden");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "Maximale Anzahl, wie oft dieser AI-Benutzer in einer einzelnen Ereigniskette aktiviert werden kann. Wenn das Limit erreicht ist, wird der AI-Benutzer nicht ausgeführt und stattdessen ein Systemkommentar gepostet");m.put("Maximum of retries before giving up", "Maximale Anzahl von Wiederholungen, bevor aufgegeben wird");m.put("May not be empty", "Darf nicht leer sein");m.put("Medium", "Mittel");@@ -5231,6 +5229,20 @@ 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("All Types", "Alle Typen");+ m.put("Auto", "Auto");+ m.put("Color mode", "Farbmodus");+ m.put("Dark", "Dunkel");+ m.put("Light", "Hell");+ m.put("Main Repository", "Haupt-Repository");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "Maximale Anzahl, wie oft dieser KI-Benutzer in einer einzelnen Aufgabe aktiviert werden kann. Wenn das Limit erreicht ist, wird der KI-Benutzer nicht ausgeführt und stattdessen ein Systemkommentar gepostet");+ m.put("Playwright Test Report", "Playwright-Testbericht");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "Geben Sie Dateien an, die relativ zum <a href='https://docs.onedev.io/concepts#job-workdir'>Job-Arbeitsverzeichnis</a> veröffentlicht werden sollen.\nVeröffentlichte Dateien sollten den Playwright-JSON-Bericht und alle referenzierten Artefakte wie Screenshots und Traces enthalten.\nFühren Sie beispielsweise <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\naus dem Job-Arbeitsverzeichnis aus und verwenden Sie <code>test-results/**</code> als Dateimuster, um den Bericht und die Artefakte zusammen zu veröffentlichen.\nVerwenden Sie * oder ? für die Mustererkennung");+ m.put("Submodule", "Submodul");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "Ob Submodule abgerufen werden sollen oder nicht. Siehe\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>dieses Tutorial</a> für\nInformationen zur Konfiguration der Submodul-Authentifizierung\n");}@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 4382725758..db6dba61ad 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@@ -2219,8 +2219,6 @@ public class Translation_es extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "Tamaño Máximo de Archivo de Carga (MB)");m.put("Max Value", "Valor Máximo");m.put("Maximum number of entries to return when search code in repository", "Número máximo de entradas a devolver al buscar código en el repositorio");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "Número máximo de veces que este usuario de IA puede ser activado en una sola cadena de eventos. Cuando se alcanza el límite, el usuario de IA no se ejecutará y se publicará un comentario del sistema en su lugar");m.put("Maximum of retries before giving up", "Máximo de reintentos antes de rendirse");m.put("May not be empty", "No puede estar vacío");m.put("Medium", "Medio");@@ -5231,6 +5229,20 @@ 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("All Types", "Todos los Tipos");+ m.put("Auto", "Automático");+ m.put("Color mode", "Modo de color");+ m.put("Dark", "Oscuro");+ m.put("Light", "Claro");+ m.put("Main Repository", "Repositorio Principal");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "Número máximo de veces que este usuario de IA puede ser activado en una sola tarea. Cuando se alcance el límite, el usuario de IA no se ejecutará y se publicará un comentario del sistema en su lugar");+ m.put("Playwright Test Report", "Informe de Pruebas de Playwright");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "Especifique los archivos a publicar en relación con el <a href='https://docs.onedev.io/concepts#job-workdir'>directorio de trabajo del trabajo</a>.\nLos archivos publicados deben incluir el informe JSON de Playwright y todos los artefactos referenciados, como capturas de pantalla y trazas.\nPor ejemplo, ejecute <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\ndesde el directorio de trabajo del trabajo, y use <code>test-results/**</code> como el patrón de archivo para publicar el informe y los artefactos juntos.\nUse * o ? para la coincidencia de patrones");+ m.put("Submodule", "Submódulo");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "Si se deben recuperar o no los submódulos. Consulte\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>este tutorial</a> sobre\ncómo configurar la autenticación de submódulos\n");}@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 368bc88cd6..848fb024d0 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@@ -2219,8 +2219,6 @@ public class Translation_fr extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "Taille Maximale de Fichier Téléchargé (MB)");m.put("Max Value", "Valeur Maximale");m.put("Maximum number of entries to return when search code in repository", "Nombre maximal d'entrées à retourner lors de la recherche de code dans le dépôt");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "Nombre maximal de fois où cet utilisateur IA peut être réveillé dans une seule chaîne d'événements. Une fois la limite atteinte, l'utilisateur IA ne s'exécutera pas et un commentaire système sera publié à la place");m.put("Maximum of retries before giving up", "Nombre maximal de tentatives avant d'abandonner");m.put("May not be empty", "Ne peut pas être vide");m.put("Medium", "Moyen");@@ -5231,6 +5229,20 @@ 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("All Types", "Tous les types");+ m.put("Auto", "Auto");+ m.put("Color mode", "Mode couleur");+ m.put("Dark", "Sombre");+ m.put("Light", "Clair");+ m.put("Main Repository", "Référentiel principal");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "Nombre maximum de fois que cet utilisateur IA peut être réveillé dans une seule tâche. Lorsque la limite est atteinte, l'utilisateur IA ne s'exécutera pas et un commentaire système sera publié à la place");+ m.put("Playwright Test Report", "Rapport de test Playwright");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "Spécifiez les fichiers à publier par rapport au <a href='https://docs.onedev.io/concepts#job-workdir'>répertoire de travail du job</a>.\nLes fichiers publiés doivent inclure le rapport JSON de Playwright et tous les artefacts référencés, tels que les captures d'écran et les traces.\nPar exemple, exécutez <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\ndepuis le répertoire de travail du job, et utilisez <code>test-results/**</code> comme modèle de fichier pour publier le rapport et les artefacts ensemble.\nUtilisez * ou ? pour le filtrage par motif");+ m.put("Submodule", "Sous-module");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "Si oui ou non récupérer les sous-modules. Référez-vous à\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>ce tutoriel</a> sur\ncomment configurer l'authentification des sous-modules\n");}@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 a24a788ef0..ecbb65111e 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@@ -2219,8 +2219,6 @@ public class Translation_it extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "Dimensione Massima del File di Upload (MB)");m.put("Max Value", "Valore Massimo");m.put("Maximum number of entries to return when search code in repository", "Numero massimo di voci da restituire durante la ricerca del codice nel repository");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "Numero massimo di volte in cui questo utente AI può essere attivato in una singola catena di eventi. Quando il limite viene raggiunto, l'utente AI non verrà eseguito e verrà pubblicato un commento di sistema");m.put("Maximum of retries before giving up", "Massimo numero di tentativi prima di arrendersi");m.put("May not be empty", "Non può essere vuoto");m.put("Medium", "Medio");@@ -5231,6 +5229,20 @@ 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("All Types", "Tutti i tipi");+ m.put("Auto", "Auto");+ m.put("Color mode", "Modalità colore");+ m.put("Dark", "Scuro");+ m.put("Light", "Chiaro");+ m.put("Main Repository", "Repository principale");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "Numero massimo di volte in cui questo utente AI può essere attivato in un singolo task. Quando il limite viene raggiunto, l'utente AI non verrà eseguito e verrà pubblicato un commento di sistema");+ m.put("Playwright Test Report", "Report di test Playwright");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "Specifica i file da pubblicare relativi alla <a href='https://docs.onedev.io/concepts#job-workdir'>directory di lavoro del job</a>.\nI file pubblicati dovrebbero includere il report JSON di Playwright e tutti gli artefatti referenziati, come screenshot e tracce.\nAd esempio, esegui <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\ndalla directory di lavoro del job e utilizza <code>test-results/**</code> come pattern per pubblicare il report e gli artefatti insieme.\nUsa * o ? per il pattern matching");+ m.put("Submodule", "Sottomodulo");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "Se recuperare o meno i sottomoduli. Consulta\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>questo tutorial</a> su\ncome configurare l'autenticazione dei sottomoduli\n");}@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 8664dfff6d..9997fceb39 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@@ -2219,8 +2219,6 @@ public class Translation_ja extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "最大アップロードファイルサイズ(MB)");m.put("Max Value", "最大値");m.put("Maximum number of entries to return when search code in repository", "リポジトリ内のコード検索時に返されるエントリの最大数");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "このAIユーザーが単一のイベントチェーンで起動される最大回数。この制限に達すると、AIユーザーは実行されず、代わりにシステムコメントが投稿されます");m.put("Maximum of retries before giving up", "諦める前の最大リトライ回数");m.put("May not be empty", "空であってはなりません");m.put("Medium", "中程度");@@ -5231,6 +5229,20 @@ 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("All Types", "すべてのタイプ");+ m.put("Auto", "自動");+ m.put("Color mode", "カラーモード");+ m.put("Dark", "ダーク");+ m.put("Light", "ライト");+ m.put("Main Repository", "メインリポジトリ");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "このAIユーザーが単一タスクで起動できる最大回数です。制限に達すると、AIユーザーは実行されず、代わりにシステムコメントが投稿されます");+ m.put("Playwright Test Report", "Playwrightテストレポート");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "<a href='https://docs.onedev.io/concepts#job-workdir'>ジョブ作業ディレクトリ</a>を基準に公開するファイルを指定します。\n公開するファイルには、Playwright JSONレポートとスクリーンショットやトレースなどのすべての参照アーティファクトを含める必要があります。\n例えば、ジョブ作業ディレクトリから<code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nを実行し、<code>test-results/**</code>をファイルパターンとして使用してレポートとアーティファクトを一緒に公開します。\nパターンマッチングには * または ? を使用してください");+ m.put("Submodule", "サブモジュール");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "サブモジュールを取得するかどうか。\nサブモジュール認証の設定方法については、\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>このチュートリアル</a>を参照してください\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 36531a7746..ff35d60efc 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@@ -2219,8 +2219,6 @@ public class Translation_ko extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "최대 업로드 파일 크기 (MB)");m.put("Max Value", "최대 값");m.put("Maximum number of entries to return when search code in repository", "저장소에서 코드 검색 시 반환할 최대 항목 수");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "단일 이벤트 체인에서 이 AI 사용자가 깨울 수 있는 최대 횟수입니다. 제한에 도달하면 AI 사용자는 실행되지 않으며 대신 시스템 댓글이 게시됩니다");m.put("Maximum of retries before giving up", "포기하기 전에 최대 재시도 횟수");m.put("May not be empty", "비어 있을 수 없습니다");m.put("Medium", "중간");@@ -5231,6 +5229,20 @@ 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("All Types", "모든 유형");+ m.put("Auto", "자동");+ m.put("Color mode", "색상 모드");+ m.put("Dark", "다크");+ m.put("Light", "라이트");+ m.put("Main Repository", "메인 저장소");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "이 AI 사용자가 단일 작업에서 깨울 수 있는 최대 횟수입니다. 제한에 도달하면 AI 사용자는 실행되지 않으며 대신 시스템 댓글이 게시됩니다");+ m.put("Playwright Test Report", "Playwright 테스트 보고서");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "<a href='https://docs.onedev.io/concepts#job-workdir'>작업 작업 디렉토리</a>를 기준으로 게시할 파일을 지정하세요.\n게시된 파일에는 Playwright JSON 보고서와 스크린샷 및 추적과 같은 모든 참조 아티팩트가 포함되어야 합니다.\n예를 들어, 작업 작업 디렉토리에서 <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\n를 실행하고, 보고서와 아티팩트를 함께 게시하기 위해 <code>test-results/**</code>를 파일 패턴으로 사용하세요.\n패턴 매칭에는 * 또는 ?를 사용하세요");+ m.put("Submodule", "서브모듈");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "서브모듈을 가져올지 여부입니다.\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>이 튜토리얼</a>을 참조하여\n서브모듈 인증을 구성하는 방법을 확인하세요\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 f0d19a088e..273abdf9c3 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@@ -2219,8 +2219,6 @@ public class Translation_pt extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "Tamanho Máximo de Arquivo para Upload (MB)");m.put("Max Value", "Valor Máximo");m.put("Maximum number of entries to return when search code in repository", "Número máximo de entradas a retornar ao pesquisar código no repositório");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "Número máximo de vezes que este usuário de IA pode ser ativado em uma única cadeia de eventos. Quando o limite é atingido, o usuário de IA não será executado e um comentário do sistema será postado");m.put("Maximum of retries before giving up", "Máximo de tentativas antes de desistir");m.put("May not be empty", "Não pode estar vazio");m.put("Medium", "Médio");@@ -5231,6 +5229,20 @@ 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("All Types", "Todos os Tipos");+ m.put("Auto", "Automático");+ m.put("Color mode", "Modo de cor");+ m.put("Dark", "Escuro");+ m.put("Light", "Claro");+ m.put("Main Repository", "Repositório Principal");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "Número máximo de vezes que este usuário de IA pode ser ativado em uma única tarefa. Quando o limite for atingido, o usuário de IA não será executado e um comentário do sistema será postado em vez disso");+ m.put("Playwright Test Report", "Relatório de Teste Playwright");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "Especifique os arquivos a serem publicados relativos ao <a href='https://docs.onedev.io/concepts#job-workdir'>diretório de trabalho do job</a>.\nOs arquivos publicados devem incluir o relatório JSON do Playwright e todos os artefatos referenciados, como capturas de tela e rastreamentos.\nPor exemplo, execute <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\ndo diretório de trabalho do job e use <code>test-results/**</code> como o padrão de arquivo para publicar o relatório e os artefatos juntos.\nUse * ou ? para correspondência de padrões");+ m.put("Submodule", "Submódulo");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "Se deve ou não recuperar submódulos. Consulte\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>este tutorial</a> sobre\ncomo configurar a autenticação de submódulos\n");}@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 71fab2bc44..7c0fbaf24b 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@@ -2245,8 +2245,6 @@ public class Translation_zh extends TranslationResourceBundle {m.put("Max Upload File Size (MB)", "最大上传文件大小 (MB)");m.put("Max Value", "最大值");m.put("Maximum number of entries to return when search code in repository", "搜索代码库时返回的最大条目数");- m.put("Maximum number of times this AI user can be awakened in a single event chain. When the limit is reached, the AI user will not run and a system comment will be posted instead",- "此 AI 用户在单个事件链中可被唤醒的最大次数。当达到限制时,AI 用户将不会运行,而是发布一条系统评论");m.put("Maximum of retries before giving up", "放弃前的最大重试次数");m.put("May not be empty", "不能为空");m.put("Medium", "中等");@@ -5257,6 +5255,20 @@ 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("All Types", "所有类型");+ m.put("Auto", "自动");+ m.put("Color mode", "颜色模式");+ m.put("Dark", "深色");+ m.put("Light", "浅色");+ m.put("Main Repository", "主仓库");+ m.put("Maximum number of times this AI user can be awakened in a single task. When the limit is reached, the AI user will not run and a system comment will be posted instead",+ "此 AI 用户在单个任务中可以被唤醒的最大次数。当达到限制时,AI 用户将不会运行,而是会发布一条系统评论");+ m.put("Playwright Test Report", "Playwright 测试报告");+ m.put("Specify files to publish relative to <a href='https://docs.onedev.io/concepts#job-workdir'>job working directory</a>.\nPublished files should include the Playwright JSON report and all referenced artifacts, such as screenshots and traces.\nFor example, run <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\nfrom the job working directory, and use <code>test-results/**</code> as the file pattern to publish the report and artifacts together.\nUse * or ? for pattern matching",+ "指定相对于<a href='https://docs.onedev.io/concepts#job-workdir'>任务工作目录</a>的要发布的文件。\n发布的文件应包括 Playwright JSON 报告和所有引用的制品,例如截图和跟踪文件。\n例如,从任务工作目录运行 <code>CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results</code>\n,并使用 <code>test-results/**</code> 作为文件模式来一起发布报告和制品。\n使用 * 或 ? 进行模式匹配");+ m.put("Submodule", "子模块");+ m.put("Whether or not to retrieve submodules. Refer to\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>this tutorial</a> on\nhow to configure submodule authentication\n",+ "是否检索子模块。请参考\n<a href='https://docs.onedev.io/tutorials/cicd/clone-submodules' target='_blank'>本教程</a>\n了解如何配置子模块认证\n");}@Override