package i18n func init() { addCatalog(en, apiEN) addCatalog(nl, apiNL) addCatalog(de, apiDE) addCatalog(fr, apiFR) } var apiEN = map[string]string{ "err.tokenExpired": "token is expired", "err.scopeName": "unknown token scope %s", "err.commitEmpty": "commit has no file changes", "err.apiAuth": "a personal access token is required", "err.apiScope": "this token does not have the required scope", "err.jobState": "the job is not in a state that allows this action", "err.mrBlocked": "%s", "info.api.title": "API", "info.api.lead": "Everything the web interface can do is also available under /api/v1. The machine-readable description is the OpenAPI document.", "info.api.auth": "Send the token as Authorization: Bearer, as the PRIVATE-TOKEN header, or as the password of HTTP basic authentication. Git over HTTP uses the same token. Scopes are api, read_api, read_repository, write_repository and runners (runner management only). api covers the whole API and git. A token can expire.", "info.api.ssh": "An SSH key can call the same handlers: ssh git@host api METHOD /api/v1/... with a JSON body on stdin. The exit status is 0 when the HTTP status is below 400. The numeric status is written to stderr.", "info.api.spec": "OpenAPI", } var apiNL = map[string]string{ "err.tokenExpired": "token is verlopen", "err.scopeName": "onbekende tokenscope %s", "err.commitEmpty": "commit heeft geen bestandswijzigingen", "err.apiAuth": "een persoonlijk toegangstoken is verplicht", "err.apiScope": "dit token heeft de vereiste scope niet", "err.jobState": "de job staat niet in een toestand die deze actie toelaat", "err.mrBlocked": "%s", "info.api.title": "API", "info.api.lead": "Alles wat de webinterface kan, kan ook via /api/v1. De machine-leesbare beschrijving is het OpenAPI-document.", "info.api.auth": "Stuur het token als Authorization: Bearer, als PRIVATE-TOKEN-header, of als wachtwoord van HTTP basic. Git over HTTP gebruikt hetzelfde token. Scopes zijn api, read_api, read_repository, write_repository en runners (alleen runnerbeheer). api dekt de hele API en git. Een token kan verlopen.", "info.api.ssh": "Een SSH-sleutel roept dezelfde handlers aan: ssh git@host api METHOD /api/v1/... met een JSON-body op stdin. De exitstatus is 0 als de HTTP-status onder 400 ligt. Het statusgetal gaat naar stderr.", "info.api.spec": "OpenAPI", } var apiDE = map[string]string{ "err.tokenExpired": "Token ist abgelaufen", "err.scopeName": "unbekannter Token-Scope %s", "err.commitEmpty": "Commit hat keine Dateiänderungen", "err.apiAuth": "ein persönliches Zugriffstoken ist erforderlich", "err.apiScope": "dieses Token hat den nötigen Scope nicht", "err.jobState": "der Job ist nicht in einem Zustand, der diese Aktion erlaubt", "err.mrBlocked": "%s", "info.api.title": "API", "info.api.lead": "Alles, was die Weboberfläche kann, geht auch über /api/v1. Die maschinenlesbare Beschreibung ist das OpenAPI-Dokument.", "info.api.auth": "Sende das Token als Authorization: Bearer, als PRIVATE-TOKEN-Header oder als Passwort von HTTP Basic. Git über HTTP nutzt dasselbe Token. Scopes sind api, read_api, read_repository, write_repository und runners (nur Runner-Verwaltung). api deckt die ganze API und Git ab. Ein Token kann ablaufen.", "info.api.ssh": "Ein SSH-Schlüssel ruft dieselben Handler auf: ssh git@host api METHOD /api/v1/... mit einem JSON-Body auf stdin. Der Exit-Status ist 0, wenn der HTTP-Status unter 400 liegt. Die Statuszahl geht nach stderr.", "info.api.spec": "OpenAPI", } var apiFR = map[string]string{ "err.tokenExpired": "le jeton a expiré", "err.scopeName": "portée de jeton inconnue %s", "err.commitEmpty": "le commit ne modifie aucun fichier", "err.apiAuth": "un jeton d'accès personnel est obligatoire", "err.apiScope": "ce jeton n'a pas la portée requise", "err.jobState": "le job n'est pas dans un état qui permet cette action", "err.mrBlocked": "%s", "info.api.title": "API", "info.api.lead": "Tout ce que l'interface web sait faire est aussi disponible sous /api/v1. La description lisible par une machine est le document OpenAPI.", "info.api.auth": "Envoie le jeton dans Authorization: Bearer, dans l'en-tête PRIVATE-TOKEN, ou comme mot de passe de l'authentification HTTP basic. Git via HTTP utilise le même jeton. Les portées sont api, read_api, read_repository, write_repository et runners (gestion des runners uniquement). api couvre toute l'API et git. Un jeton peut expirer.", "info.api.ssh": "Une clé SSH appelle les mêmes handlers : ssh git@host api METHOD /api/v1/... avec un corps JSON sur stdin. Le code de sortie est 0 si le statut HTTP est inférieur à 400. Le numéro de statut va sur stderr.", "info.api.spec": "OpenAPI", }