Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(web): translate gitlab project list error fallback

zaralX035b558e8da7
diff --git a/apps/web/src/components/project/gitlab-project-browser-modal.tsx b/apps/web/src/components/project/gitlab-project-browser-modal.tsx
index e97338e04..9463e9d16 100644
--- a/apps/web/src/components/project/gitlab-project-browser-modal.tsx
+++ b/apps/web/src/components/project/gitlab-project-browser-modal.tsx
@@ -117,7 +117,9 @@ export function GitlabProjectBrowserModal({
{canFetch && error && (
<div className="py-6 text-center space-y-2">
<p className="text-sm text-destructive">
- {error instanceof Error ? error.message : "Error"}
+ {error instanceof Error
+ ? error.message
+ : t("settings:gitlabIntegration.loadProjectsError")}
</p>
<Button
type="button"
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 4a98d171b..e91a9d541 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index ef7148157..fc76dc719 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index e326e0c2d..7b3bdced0 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index be7024dd8..51d1ee98e 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -1154,6 +1154,7 @@
"searchProjects": "Search…",
"browseNeedsCredentials": "Enter GitLab URL and token to browse",
"loadingProjects": "Loading projects…",
+ "loadProjectsError": "Failed to load projects",
"openInGitlab": "Open {{project}} in GitLab",
"retry": "Retry"
},
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index e62ea8b29..5b9e36d61 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -1427,7 +1427,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index 888141ed1..ce0c9db31 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -1427,7 +1427,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index 2b274c6a0..6afebd69f 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index 9c0c7689e..a7bbcaaaa 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -1425,7 +1425,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index b88c4e1b9..6001f29dc 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -1427,7 +1427,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index 8c0ab1b2f..0b92fb90b 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -1425,7 +1425,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index 48422d5c0..fdf1945c7 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -1425,7 +1425,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index e783d2354..883616065 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index 849dc1dff..df95f0598 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index ca12a2aa4..7887e310d 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -1903,7 +1903,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"tasks": {
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index 83f1fa467..28c818699 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -1427,7 +1427,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 0e6a1d8fd..a6f436477 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -1385,6 +1385,7 @@
"importSectionHint": "Импортировать открытые issues и merge requests из проекта",
"importSectionTitle": "Импорт issues из GitLab",
"loadingProjects": "Загрузка проектов…",
+ "loadProjectsError": "Не удалось загрузить проекты",
"notConnectedHint": "Проект GitLab не подключён",
"openInGitlab": "Открыть {{project}} в GitLab",
"project": "Проект",
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index 0766f63d3..fcb81bbd2 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -1426,7 +1426,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index a12ee0d7f..b4ed0bede 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -1428,7 +1428,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index a67bd561c..361788470 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -1425,7 +1425,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index 6e896351a..c5fc9c4bf 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -1425,7 +1425,8 @@
"webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
"webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
"webhookShow": "Show",
- "webhookTitle": "Webhook"
+ "webhookTitle": "Webhook",
+ "loadProjectsError": "Failed to load projects"
}
},
"navigation": {