diff --git a/src/git/apiHandler.js b/src/git/apiHandler.js index cda6359..8bcd22f 100644 --- a/src/git/apiHandler.js +++ b/src/git/apiHandler.js @@ -26,7 +26,7 @@ function normalizeAndValidateBaseUrl(rawUrl) { try { parsed = new URL(value); } catch (_) { - throw new Error('Ungueltige Gitea URL. Beispiel fuer IPv6: http://[2001:db8::1]:3000'); + throw new Error('Ungültige Gitea-URL. Beispiel für IPv6: http://[2001:db8::1]:3000'); } if (parsed.protocol !== 'http:' && parsed.protocol !== 'https:') { @@ -1293,7 +1293,7 @@ async function updateGiteaRepoTopics({ token, url, owner, repo, topics }) { ); return res.data; } catch (err) { - // Fallback fuer aeltere/abweichende Gitea-Versionen + // Fallback für ältere/abweichende Gitea-Versionen const res = await axiosInstance.patch( `${base}/api/v1/repos/${repoPath}`, { topics: safeTopics },