Support of multiple Gitea instances

* chore(gitea-git-clone): update CHANGELOG.md and README.md
* feat(gitea-git-clone): add support for multiple Gitea instances
* feat(gitea-git-clone): enhance status bar integration with branch and build status
* fix(gitea-git-clone): fix issues with status bar items not updating correctly
* fix(gitea-git-clone): fix issues with long commit messages causing errors when creating pull requests
This commit is contained in:
2024-10-23 20:11:31 +02:00
parent b122dd4716
commit 5f749c57c8
6 changed files with 542 additions and 210 deletions

View File

@ -1,41 +1,40 @@
{
"giteaClone.configMissing": "Gitea URL oder Token ist nicht konfiguriert.",
"giteaClone.noValidRepo": "Kein gültiges Git-Repository im aktuellen Workspace gefunden.",
"giteaClone.noRemoteUrl": "Konnte die Git-Remote-URL nicht abrufen.",
"giteaClone.noBranch": "Branch konnte nicht ermittelt werden.",
"giteaClone.pullRequestCreated": "Pull-Request erfolgreich erstellt und im Browser geöffnet.",
"giteaClone.commitError": "Fehler beim Abrufen des letzten Commits.",
"giteaClone.branchError": "Fehler beim Abrufen des Branches.",
"giteaClone.createPullRequest": "Gitea PR erstellen",
"giteaClone.createPullRequestTooltip": "Pull Request in Gitea erstellen",
"giteaClone.authSuccess": "Authentifizierung erfolgreich: {0}",
"giteaClone.configUpdated": "Gitea-Konfiguration aktualisiert.",
"giteaClone.enterInstanceUrl": "Gitea-Instanz-URL eingeben",
"giteaClone.enterToken": "Gitea Personal Access Token eingeben",
"giteaClone.apiError": "Fehler bei der Verbindung mit der Gitea API.",
"giteaClone.noRepos": "Keine Repositories gefunden.",
"giteaClone.selectRepo": "Wähle ein Repository zum Klonen aus",
"giteaClone.noRepoSelected": "Kein Repository ausgewählt.",
"giteaClone.selectFolder": "Ordner zum Klonen auswählen",
"giteaClone.cloningRepo": "Klonen von {0}",
"giteaClone.cloningProgress": "Klonvorgang läuft...",
"giteaClone.cloneComplete": "Repository erfolgreich geklont.",
"giteaClone.cloneSuccess": "Repository {0} erfolgreich geklont.",
"giteaClone.cloneError": "Fehler beim Klonen des Repositories.",
"giteaClone.noFolderSelected": "Kein Zielordner ausgewählt.",
"giteaClone.noSshUrl": "Konnte die SSH-Klon-URL nicht finden.",
"giteaClone.openRepoError": "Fehler beim Öffnen des geklonten Repositories.",
"giteaClone.noOpenPRs": "Keine offenen Pull Requests vorhanden.",
"giteaClone.selectPullRequest": "hle einen Pull Request zum Anzeigen aus",
"giteaClone.repoInfoError": "Konnte Repository-Informationen nicht abrufen.",
"giteaClone.showOpenPullRequestsTooltip": "Offene Pull Requests anzeigen",
"giteaClone.targetExists": "Das Zielverzeichnis \"{0}\" existiert bereits.",
"giteaClone.pullRequestError": "Fehler beim Erstellen des Pull Requests: {0}",
"giteaClone.defaultBranchError": "Fehler beim Abrufen des Basis-Branches: {0}",
"giteaClone.repoError": "Fehler beim Abrufen der Repositories: {0}",
"giteaClone.authFailed": "Authentifizierung fehlgeschlagen: {0}",
"giteaClone.pullRequestsError": "Fehler beim Abrufen der Pull Requests: {0}",
"giteaClone.titleTruncated": "Die Commit-Nachricht war zu lang und wurde für den Pull-Request-Titel gekürzt.",
"giteaClone.bodyTruncated": "Der Commit-Nachrichtentext war zu lang und wurde für die Pull-Request-Beschreibung gekürzt."
}
"giteaClone.selectInstance": "Wählen Sie eine Gitea-Instanz aus",
"giteaClone.noInstanceSelected": "Keine Gitea-Instanz ausgewählt.",
"giteaClone.invalidInstance": "Ungültige Gitea-Instanz ausgewählt.",
"giteaClone.configMissing": "Keine Gitea-Instanzen sind konfiguriert.",
"giteaClone.authSuccess": "Authentifizierung erfolgreich: {0}",
"giteaClone.authFailed": "Authentifizierung fehlgeschlagen: {0}",
"giteaClone.configUpdated": "Gitea-Konfiguration aktualisiert.",
"giteaClone.enterInstanceUrl": "Gitea-Instanz-URL eingeben",
"giteaClone.enterToken": "Gitea-Personal-Access-Token eingeben",
"giteaClone.selectRepo": "Wählen Sie ein Repository zum Klonen aus",
"giteaClone.noRepos": "Keine Repositories gefunden.",
"giteaClone.noRepoSelected": "Kein Repository ausgewählt.",
"giteaClone.selectFolder": "Wählen Sie den Ordner zum Klonen aus",
"giteaClone.targetExists": "Das Zielverzeichnis \"{0}\" existiert bereits.",
"giteaClone.cloningRepo": "Klone {0}",
"giteaClone.cloningProgress": "Klonen läuft...",
"giteaClone.cloneComplete": "Repository erfolgreich geklont.",
"giteaClone.cloneSuccess": "Repository {0} erfolgreich geklont.",
"giteaClone.openRepoError": "Fehler beim Öffnen des geklonten Repositories.",
"giteaClone.createPullRequest": "Gitea PR erstellen",
"giteaClone.createPullRequestTooltip": "Erstellen Sie einen Pull Request in Gitea",
"giteaClone.pullRequestCreated": "Pull Request erfolgreich erstellt und im Browser geöffnet.",
"giteaClone.noRemoteUrl": "Konnte Git-Remote-URL nicht abrufen.",
"giteaClone.noBranch": "Konnte den Branch nicht bestimmen.",
"giteaClone.titleTruncated": "Die Commit-Nachricht war zu lang und wurde für den Pull-Request-Titel gekürzt.",
"giteaClone.bodyTruncated": "Der Commit-Nachrichtentext war zu lang und wurde für die Pull-Request-Beschreibung gekürzt.",
"giteaClone.pullRequestError": "Fehler beim Erstellen des Pull Requests: {0}",
"giteaClone.commitError": "Fehler beim Abrufen des letzten Commits.",
"giteaClone.branchError": "Fehler beim Abrufen des Branches.",
"giteaClone.defaultBranchError": "Fehler beim Abrufen des Base-Branches: {0}",
"giteaClone.repoError": "Fehler beim Abrufen der Repositories.",
"giteaClone.repoInfoError": "Konnte Repository-Informationen nicht abrufen.",
"giteaClone.pullRequestsError": "Fehler beim Abrufen der Pull Requests: {0}",
"giteaClone.noOpenPRs": "Keine offenen Pull Requests vorhanden.",
"giteaClone.selectPullRequest": "Wählen Sie einen Pull Request zum Anzeigen aus",
"giteaClone.showOpenPullRequestsTooltip": "Offene Pull Requests anzeigen",
"giteaClone.branchStatusTooltip": "Aktueller Branch-Status",
"giteaClone.buildStatusTooltip": "Build-Status des aktuellen Commits"
}

View File

@ -1,41 +1,40 @@
{
"giteaClone.configMissing": "Gitea URL or Token is not configured.",
"giteaClone.noValidRepo": "No valid Git repository found in the current workspace.",
"giteaClone.noRemoteUrl": "Could not retrieve Git remote URL.",
"giteaClone.noBranch": "Could not determine the branch.",
"giteaClone.pullRequestCreated": "Pull request created successfully and opened in the browser.",
"giteaClone.commitError": "Error retrieving the last commit.",
"giteaClone.branchError": "Error retrieving the branch.",
"giteaClone.createPullRequest": "Create Gitea PR",
"giteaClone.createPullRequestTooltip": "Create a Pull Request in Gitea",
"giteaClone.authSuccess": "Authentication successful: {0}",
"giteaClone.configUpdated": "Gitea configuration updated.",
"giteaClone.enterInstanceUrl": "Enter Gitea instance URL",
"giteaClone.enterToken": "Enter Gitea Personal Access Token",
"giteaClone.apiError": "Error connecting to Gitea API.",
"giteaClone.noRepos": "No repositories found.",
"giteaClone.selectRepo": "Select a repository to clone",
"giteaClone.noRepoSelected": "No repository selected.",
"giteaClone.selectFolder": "Select folder to clone into",
"giteaClone.cloningRepo": "Cloning {0}",
"giteaClone.cloningProgress": "Cloning in progress...",
"giteaClone.cloneComplete": "Repository cloned successfully.",
"giteaClone.cloneSuccess": "Repository {0} cloned successfully.",
"giteaClone.cloneError": "Error cloning the repository.",
"giteaClone.noFolderSelected": "No target folder selected.",
"giteaClone.noSshUrl": "Could not find SSH clone URL.",
"giteaClone.openRepoError": "Error opening the cloned repository.",
"giteaClone.noOpenPRs": "There are no open pull requests.",
"giteaClone.selectPullRequest": "Select a pull request to view",
"giteaClone.repoInfoError": "Could not retrieve repository information.",
"giteaClone.showOpenPullRequestsTooltip": "Show open pull requests",
"giteaClone.targetExists": "The target directory \"{0}\" already exists.",
"giteaClone.pullRequestError": "Error creating pull request: {0}",
"giteaClone.defaultBranchError": "Error retrieving the base branch: {0}",
"giteaClone.repoError": "Error retrieving repositories: {0}",
"giteaClone.authFailed": "Authentication failed: {0}",
"giteaClone.pullRequestsError": "Error retrieving pull requests: {0}",
"giteaClone.titleTruncated": "The commit message was too long and has been truncated for the pull request title.",
"giteaClone.bodyTruncated": "The commit message body was too long and has been truncated for the pull request description."
}
"giteaClone.selectInstance": "Select a Gitea instance",
"giteaClone.noInstanceSelected": "No Gitea instance selected.",
"giteaClone.invalidInstance": "Invalid Gitea instance selected.",
"giteaClone.configMissing": "No Gitea instances are configured.",
"giteaClone.authSuccess": "Authentication successful: {0}",
"giteaClone.authFailed": "Authentication failed: {0}",
"giteaClone.configUpdated": "Gitea configuration updated.",
"giteaClone.enterInstanceUrl": "Enter Gitea instance URL",
"giteaClone.enterToken": "Enter Gitea Personal Access Token",
"giteaClone.selectRepo": "Select a repository to clone",
"giteaClone.noRepos": "No repositories found.",
"giteaClone.noRepoSelected": "No repository selected.",
"giteaClone.selectFolder": "Select folder to clone into",
"giteaClone.targetExists": "The target directory \"{0}\" already exists.",
"giteaClone.cloningRepo": "Cloning {0}",
"giteaClone.cloningProgress": "Cloning in progress...",
"giteaClone.cloneComplete": "Repository cloned successfully.",
"giteaClone.cloneSuccess": "Repository {0} cloned successfully.",
"giteaClone.openRepoError": "Error opening the cloned repository.",
"giteaClone.createPullRequest": "Create Gitea PR",
"giteaClone.createPullRequestTooltip": "Create a Pull Request in Gitea",
"giteaClone.pullRequestCreated": "Pull request created successfully and opened in the browser.",
"giteaClone.noRemoteUrl": "Could not retrieve Git remote URL.",
"giteaClone.noBranch": "Could not determine the branch.",
"giteaClone.titleTruncated": "The commit message was too long and has been truncated for the pull request title.",
"giteaClone.bodyTruncated": "The commit message body was too long and has been truncated for the pull request description.",
"giteaClone.pullRequestError": "Error creating pull request: {0}",
"giteaClone.commitError": "Error retrieving the last commit.",
"giteaClone.branchError": "Error retrieving the branch.",
"giteaClone.defaultBranchError": "Error retrieving the base branch: {0}",
"giteaClone.repoError": "Error retrieving repositories.",
"giteaClone.repoInfoError": "Could not retrieve repository information.",
"giteaClone.pullRequestsError": "Error retrieving pull requests: {0}",
"giteaClone.noOpenPRs": "No open pull requests available.",
"giteaClone.selectPullRequest": "Select a pull request to view",
"giteaClone.showOpenPullRequestsTooltip": "Show open pull requests",
"giteaClone.branchStatusTooltip": "Current branch status",
"giteaClone.buildStatusTooltip": "Build status of the current commit"
}