Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create common.php in DK #159

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filsh/yii2-oauth2-server",
"description": "OAuth2 Server for PHP",
"name": "xunlight/yii2-oauth2-server",
"description": "OAuth2 Server for PHP, fork from filsh/yii2-oauth2-server",
"keywords": [
"yii",
"extension",
Expand Down
55 changes: 55 additions & 0 deletions src/messages/da-DK/common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
return [
'A redirect URI must be supplied when multiple redirect URIs are registered' => 'En redirect URI skal angives, når flere redirect URIs er registreret',
'An unsupported scope was requested' => 'En ikke-understøttet scope blev anmodet',
'Authorization code doesn\'t exist or is invalid for the client' => 'Autoriseringskoden findes ikke eller er ugyldig for klienten',
'client credentials are required' => 'Klientoplysninger er påkrævet',
'Expiration (exp) time must be a unix time stamp' => 'Udløbstidspunkt (exp) skal være et unix-tidsstempel',
'Expiration (exp) time must be present' => 'Udløbstidspunkt (exp) skal være til stede',
'Invalid audience (aud)' => 'Ugyldigt publikum (aud)',
'Invalid issuer (iss) or subject (sub) provided' => 'Ugyldig udsteder (iss) eller emne (sub) angivet',
'Invalid issuer (iss) provided' => 'Ugyldig udsteder (iss) angivet',
'Invalid refresh token' => 'Ugyldig opdateringstoken',
'Invalid subject (sub) provided' => 'Ugyldigt emne (sub) angivet',
'Invalid user authkey' => 'Ugyldig brugerautonøgle',
'Invalid username and password combination' => 'Ugyldig kombination af brugernavn og adgangskode',
'JSON Token Identifier (jti) has already been used' => 'JSON Token Identifier (jti) er allerede blevet brugt',
'JWT cannot be used before the Not Before (nbf) time' => 'JWT kan ikke bruges før Not Before (nbf) tid',
'JWT failed signature verification' => 'JWT mislykkedes signaturverifikation',
'JWT has expired' => 'JWT er udløbet',
'JWT is malformed' => 'JWT er misdannet',
'Malformed auth header' => 'Misdannet auth-header',
'Malformed token (missing "expires" or "client_id")' => 'Misdannet token (mangler "expires" eller "client_id")',
'Missing parameter: "code" is required' => 'Manglende parameter: "code" er påkrævet',
'Missing parameter: "refresh_token" is required' => 'Manglende parameter: "refresh_token" er påkrævet',
'Missing parameters: "assertion" required' => 'Manglende parametre: "assertion" påkrævet',
'Missing parameters: "authkey" and "username" required' => 'Manglende parametre: "authkey" og "username" påkrævet',
'Missing parameters: "username" and "password" required' => 'Manglende parametre: "username" og "password" påkrævet',
'No client id supplied' => 'Ingen klient-id angivet',
'No redirect URI was supplied or stored' => 'Ingen redirect URI blev angivet eller gemt',
'Not Before (nbf) time must be a unix time stamp' => 'Not Before (nbf) tid skal være et unix-tidsstempel',
'Only one method may be used to authenticate at a time (Auth header, GET or POST)' => 'Kun én metode kan bruges til at autentificere ad gangen (Auth-header, GET eller POST)',
'Refresh token has expired' => 'Opdateringstoken er udløbet',
'The access token provided has expired' => 'Den angivne adgangstoken er udløbet',
'The access token provided is invalid' => 'Den angivne adgangstoken er ugyldig',
'The authorization code has expired' => 'Autoriseringskoden er udløbet',
'The client credentials are invalid' => 'Klientoplysningerne er ugyldige',
'The client id supplied is invalid' => 'Den angivne klient-id er ugyldig',
'The content type for POST requests must be "application/x-www-form-urlencoded"' => 'Indholdstypen for POST-anmodninger skal være "application/x-www-form-urlencoded"',
'The grant type is unauthorized for this client_id' => 'Tildelingstypen er ikke godkendt for denne klient_id',
'The grant type was not specified in the request' => 'Tildelingstypen blev ikke specificeret i anmodningen',
'The redirect URI is mandatory and was not supplied' => 'Redirect URI er obligatorisk og blev ikke angivet',
'The redirect URI is missing or do not match' => 'Redirect URI mangler eller matcher ikke',
'The redirect URI must not contain a fragment' => 'Redirect URI må ikke indeholde et fragment',
'The redirect URI provided is missing or does not match' => 'Den angivne redirect URI mangler eller matcher ikke',
'The request method must be POST when requesting an access token' => 'Anmodningsmetoden skal være POST, når der anmodes om en adgangstoken',
'The request requires higher privileges than provided by the access token' => 'Anmodningen kræver højere rettigheder end dem, der er angivet af adgangstokenen',
'The scope requested is invalid for this client' => 'Det anmodede scope er ugyldigt for denne klient',
'The scope requested is invalid for this request' => 'Det anmodede scope er ugyldigt for denne anmodning',
'This application requires you specify a scope parameter' => 'Denne applikation kræver, at du angiver en scope-parameter',
'This client is invalid or must authenticate using a client secret' => 'Denne klient er ugyldig eller skal autentificere ved hjælp af en klienthemmelighed',
'Unable to retrieve user information' => 'Kan ikke hente brugeroplysninger',
'When putting the token in the body, the method must be POST' => 'Når tokenen placeres i kroppen, skal metoden være POST',
'you must set the user_id on the array returned by getUserDetails' => 'du skal angive user_id i arrayet, der returneres af getUserDetails',
];
?>
54 changes: 54 additions & 0 deletions src/messages/de/common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
return [
'A redirect URI must be supplied when multiple redirect URIs are registered' => 'Eine Umleitungs-URI muss angegeben werden, wenn mehrere Umleitungs-URIs registriert sind',
'An unsupported scope was requested' => 'Ein nicht unterstützter Gültigkeitsbereich wurde angefordert',
'Authorization code doesn\'t exist or is invalid for the client' => 'Der Autorisierungscode existiert nicht oder ist für den Client ungültig',
'client credentials are required' => 'Client-Anmeldedaten sind erforderlich',
'Expiration (exp) time must be a unix time stamp' => 'Die Ablaufzeit (exp) muss ein Unix-Zeitstempel sein',
'Expiration (exp) time must be present' => 'Die Ablaufzeit (exp) muss vorhanden sein',
'Invalid audience (aud)' => 'Ungültiges Publikum (aud)',
'Invalid issuer (iss) or subject (sub) provided' => 'Ungültiger Aussteller (iss) oder Betreff (sub) angegeben',
'Invalid issuer (iss) provided' => 'Ungültiger Aussteller (iss) angegeben',
'Invalid refresh token' => 'Ungültiges Aktualisierungstoken',
'Invalid subject (sub) provided' => 'Ungültiger Betreff (sub) angegeben',
'Invalid user authkey' => 'Ungültiger Benutzer-Authkey',
'Invalid username and password combination' => 'Ungültige Benutzername-Passwort-Kombination',
'JSON Token Identifier (jti) has already been used' => 'JSON-Token-Bezeichner (jti) wurde bereits verwendet',
'JWT cannot be used before the Not Before (nbf) time' => 'JWT kann nicht vor der Not-Before-Zeit (nbf) verwendet werden',
'JWT failed signature verification' => 'JWT-Signaturüberprüfung fehlgeschlagen',
'JWT has expired' => 'JWT ist abgelaufen',
'JWT is malformed' => 'JWT ist fehlerhaft',
'Malformed auth header' => 'Fehlerhafter Auth-Header',
'Malformed token (missing "expires" or "client_id")' => 'Fehlerhaftes Token (fehlt "expires" oder "client_id")',
'Missing parameter: "code" is required' => 'Fehlender Parameter: "code" ist erforderlich',
'Missing parameter: "refresh_token" is required' => 'Fehlender Parameter: "refresh_token" ist erforderlich',
'Missing parameters: "assertion" required' => 'Fehlende Parameter: "assertion" erforderlich',
'Missing parameters: "authkey" and "username" required' => 'Fehlende Parameter: "authkey" und "username" erforderlich',
'Missing parameters: "username" and "password" required' => 'Fehlende Parameter: "username" und "password" erforderlich',
'No client id supplied' => 'Keine Client-ID angegeben',
'No redirect URI was supplied or stored' => 'Keine Umleitungs-URI wurde angegeben oder gespeichert',
'Not Before (nbf) time must be a unix time stamp' => 'Die Not-Before-Zeit (nbf) muss ein Unix-Zeitstempel sein',
'Only one method may be used to authenticate at a time (Auth header, GET or POST)' => 'Nur eine Methode kann gleichzeitig zur Authentifizierung verwendet werden (Auth-Header, GET oder POST)',
'Refresh token has expired' => 'Das Aktualisierungstoken ist abgelaufen',
'The access token provided has expired' => 'Das bereitgestellte Zugriffstoken ist abgelaufen',
'The access token provided is invalid' => 'Das bereitgestellte Zugriffstoken ist ungültig',
'The authorization code has expired' => 'Der Autorisierungscode ist abgelaufen',
'The client credentials are invalid' => 'Die Client-Anmeldedaten sind ungültig',
'The client id supplied is invalid' => 'Die angegebene Client-ID ist ungültig',
'The content type for POST requests must be "application/x-www-form-urlencoded"' => 'Der Inhaltstyp für POST-Anfragen muss "application/x-www-form-urlencoded" sein',
'The grant type is unauthorized for this client_id' => 'Der Grant-Typ ist für diese Client-ID nicht autorisiert',
'The grant type was not specified in the request' => 'Der Grant-Typ wurde in der Anfrage nicht angegeben',
'The redirect URI is mandatory and was not supplied' => 'Die Umleitungs-URI ist obligatorisch und wurde nicht angegeben',
'The redirect URI is missing or do not match' => 'Die Umleitungs-URI fehlt oder stimmt nicht überein',
'The redirect URI must not contain a fragment' => 'Die Umleitungs-URI darf kein Fragment enthalten',
'The redirect URI provided is missing or does not match' => 'Die angegebene Umleitungs-URI fehlt oder stimmt nicht überein',
'The request method must be POST when requesting an access token' => 'Die Anfragemethode muss POST sein, wenn ein Zugriffstoken angefordert wird',
'The request requires higher privileges than provided by the access token' => 'Die Anfrage erfordert höhere Berechtigungen als durch das Zugriffstoken bereitgestellt',
'The scope requested is invalid for this client' => 'Der angeforderte Gültigkeitsbereich ist für diesen Client ungültig',
'The scope requested is invalid for this request' => 'Der angeforderte Gültigkeitsbereich ist für diese Anfrage ungültig',
'This application requires you specify a scope parameter' => 'Diese Anwendung erfordert die Angabe eines Gültigkeitsbereichsparameters',
'This client is invalid or must authenticate using a client secret' => 'Dieser Client ist ungültig oder muss sich mit einem Client-Secret authentifizieren',
'Unable to retrieve user information' => 'Benutzerinformationen konnten nicht abgerufen werden',
'When putting the token in the body, the method must be POST' => 'Wenn das Token in den Body eingefügt wird, muss die Methode POST sein',
'you must set the user_id on the array returned by getUserDetails' => 'Sie müssen die user_id im Array setzen, das von getUserDetails zurückgegeben wird',
];
54 changes: 54 additions & 0 deletions src/messages/no/common.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
return [
'A redirect URI must be supplied when multiple redirect URIs are registered' => 'En omdirigerings-URI må oppgis når flere omdirigerings-URI-er er registrert',
'An unsupported scope was requested' => 'En ikke-støttet omfang ble forespurt',
'Authorization code doesn\'t exist or is invalid for the client' => 'Autorisasjonskoden eksisterer ikke eller er ugyldig for klienten',
'client credentials are required' => 'Klientlegitimasjon kreves',
'Expiration (exp) time must be a unix time stamp' => 'Utløpstid (exp) må være et Unix-tidsstempel',
'Expiration (exp) time must be present' => 'Utløpstid (exp) må være til stede',
'Invalid audience (aud)' => 'Ugyldig målgruppe (aud)',
'Invalid issuer (iss) or subject (sub) provided' => 'Ugyldig utsteder (iss) eller emne (sub) oppgitt',
'Invalid issuer (iss) provided' => 'Ugyldig utsteder (iss) oppgitt',
'Invalid refresh token' => 'Ugyldig oppfriskingstoken',
'Invalid subject (sub) provided' => 'Ugyldig emne (sub) oppgitt',
'Invalid user authkey' => 'Ugyldig brukerautentiseringsnøkkel',
'Invalid username and password combination' => 'Ugyldig kombinasjon av brukernavn og passord',
'JSON Token Identifier (jti) has already been used' => 'JSON-tokenidentifikator (jti) er allerede brukt',
'JWT cannot be used before the Not Before (nbf) time' => 'JWT kan ikke brukes før Not Before (nbf) tid',
'JWT failed signature verification' => 'JWT signaturverifisering mislyktes',
'JWT has expired' => 'JWT er utløpt',
'JWT is malformed' => 'JWT er feilformatert',
'Malformed auth header' => 'Feilformatert autentiseringshode',
'Malformed token (missing "expires" or "client_id")' => 'Feilformatert token (mangler "expires" eller "client_id")',
'Missing parameter: "code" is required' => 'Manglende parameter: "code" er nødvendig',
'Missing parameter: "refresh_token" is required' => 'Manglende parameter: "refresh_token" er nødvendig',
'Missing parameters: "assertion" required' => 'Manglende parametere: "assertion" nødvendig',
'Missing parameters: "authkey" and "username" required' => 'Manglende parametere: "authkey" og "username" nødvendig',
'Missing parameters: "username" and "password" required' => 'Manglende parametere: "username" og "password" nødvendig',
'No client id supplied' => 'Ingen klient-ID oppgitt',
'No redirect URI was supplied or stored' => 'Ingen omdirigerings-URI ble oppgitt eller lagret',
'Not Before (nbf) time must be a unix time stamp' => 'Not Before (nbf) tid må være et Unix-tidsstempel',
'Only one method may be used to authenticate at a time (Auth header, GET or POST)' => 'Kun én metode kan brukes for å autentisere om gangen (Auth-header, GET eller POST)',
'Refresh token has expired' => 'Oppfriskingstoken er utløpt',
'The access token provided has expired' => 'Tilgangstokenet som ble oppgitt har utløpt',
'The access token provided is invalid' => 'Tilgangstokenet som ble oppgitt er ugyldig',
'The authorization code has expired' => 'Autorisasjonskoden har utløpt',
'The client credentials are invalid' => 'Klientlegitimasjonen er ugyldig',
'The client id supplied is invalid' => 'Den oppgitte klient-ID-en er ugyldig',
'The content type for POST requests must be "application/x-www-form-urlencoded"' => 'Innholdstypen for POST-forespørsler må være "application/x-www-form-urlencoded"',
'The grant type is unauthorized for this client_id' => 'Bevilgningstypen er uautorisert for denne klient-ID-en',
'The grant type was not specified in the request' => 'Bevilgningstypen ble ikke spesifisert i forespørselen',
'The redirect URI is mandatory and was not supplied' => 'Omdirigerings-URI er obligatorisk og ble ikke oppgitt',
'The redirect URI is missing or do not match' => 'Omdirigerings-URI mangler eller stemmer ikke overens',
'The redirect URI must not contain a fragment' => 'Omdirigerings-URI må ikke inneholde et fragment',
'The redirect URI provided is missing or does not match' => 'Den oppgitte omdirigerings-URI-en mangler eller stemmer ikke overens',
'The request method must be POST when requesting an access token' => 'Forespørselsmetoden må være POST når du ber om et tilgangstoken',
'The request requires higher privileges than provided by the access token' => 'Forespørselen krever høyere privilegier enn det tilgangstokenet gir',
'The scope requested is invalid for this client' => 'Omfanget som ble forespurt er ugyldig for denne klienten',
'The scope requested is invalid for this request' => 'Omfanget som ble forespurt er ugyldig for denne forespørselen',
'This application requires you specify a scope parameter' => 'Denne applikasjonen krever at du spesifiserer en omfangsparameter',
'This client is invalid or must authenticate using a client secret' => 'Denne klienten er ugyldig eller må autentisere seg med en klienthemmelighet',
'Unable to retrieve user information' => 'Kunne ikke hente brukerinformasjon',
'When putting the token in the body, the method must be POST' => 'Når tokenet settes i kroppen, må metoden være POST',
'you must set the user_id on the array returned by getUserDetails' => 'du må sette user_id på arrayet som returneres av getUserDetails',
];
Loading