doorkeeper-i18n 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5ba2a24fb3e915011debaf61e6e9e9496c07ed9
4
- data.tar.gz: ba91e2bbd0f7ea3f67b661134f08b75b2bf5d29a
3
+ metadata.gz: d9d45686df43032c269eb845e3b8c593e704d17e
4
+ data.tar.gz: 1574fc62080d6dcb79bd79a11a1513f1d8881165
5
5
  SHA512:
6
- metadata.gz: 445116c2434c2ab9a6d6732e079c6a36f959bb7b27c960a9dcabf64b9ca8f971accd9427b1551e504610513f3d163b1f295cf8f8e9e4b1edd0aca01da9b70520
7
- data.tar.gz: 45c6a150ae08c6279f0badd867b2719e5224be5a75717946dd257f06e4af32cefeb9c7b24b647f45ca623d64f1c3819a09bdae25373cf3273cbab5f156489fbb
6
+ metadata.gz: 93c8326989afa0cf1d44ee3883fcd7db429dc54ecbf5719cb0b685c75ae39ac8f6c8ddf0abe8f3be7a9f8a0e672433692da045a997d26f49b08e0b105ef8a9ba
7
+ data.tar.gz: d924e6261a4fc0b7033b4adccbfdb28b722c5ed4dd25fe44b7ccac3ef002926bb280e1de8cb5fbf99b0e8c7d2e5048458ba06fb090fa96a5e719aafe20bbed49
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  .DS_Store
2
2
  Gemfile.lock
3
+ .idea
data/README.md CHANGED
@@ -1,9 +1,45 @@
1
1
  # doorkeeper-i18n
2
-
2
+ [![Gem Version](https://badge.fury.io/rb/doorkeeper-i18n.svg)](http://badge.fury.io/rb/doorkeeper-i18n)
3
3
  [![Build Status](https://travis-ci.org/doorkeeper-gem/doorkeeper-i18n.svg?branch=master)](https://travis-ci.org/doorkeeper-gem/doorkeeper-i18n)
4
4
 
5
- To extend doorkeeper with locales, add to your Gemfile:
5
+ Locales for [Doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) gem.
6
+
7
+ # Installation
8
+
9
+ To extend doorkeeper with locales, add to your `Gemfile` (or `gems.rb` for Bundler >= 2):
6
10
 
7
11
  ```ruby
8
12
  gem 'doorkeeper-i18n'
13
+
14
+ # or if you want to use cutting edge version:
15
+ # gem 'doorkeeper-i18n', git: 'https://github.com/doorkeeper-gem/doorkeeper-i18n.git'
16
+
9
17
  ```
18
+ # Supported locales
19
+
20
+ Currently supported locales:
21
+
22
+ * English (en)
23
+ * German (de)
24
+ * Spanish (es)
25
+ * Finnish (fi)
26
+ * French (fr)
27
+ * Italian (it)
28
+ * Japan (ja)
29
+ * Korean (ko)
30
+ * Norwegian (nb)
31
+ * Dutch (nl)
32
+ * Portuguese (pt-BR)
33
+ * Chinese (zh-CN)
34
+ * Taiwan (zh-TW)
35
+ * Russian (ru)
36
+ * Catalan (ca)
37
+
38
+ ## License
39
+
40
+ `doorkeeper-i18n` gem is released under the [MIT License](http://www.opensource.org/licenses/MIT).
41
+
42
+ ---
43
+
44
+ Please refer to [https://github.com/doorkeeper-gem/doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) for instructions on
45
+ doorkeeper’s project.
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "doorkeeper-i18n"
5
- s.version = "4.0.0"
5
+ s.version = "4.0.1"
6
6
  s.authors = ["Tute Costa"]
7
7
  s.email = %w(tutecosta@gmail.com)
8
8
  s.homepage = "https://github.com/doorkeeper-gem/doorkeeper-i18n"
@@ -0,0 +1,123 @@
1
+ ca:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Nom'
6
+ redirect_uri: 'URI de redirecció'
7
+ scopes: 'Àmbits'
8
+ errors:
9
+ models:
10
+ doorkeeper/application:
11
+ attributes:
12
+ redirect_uri:
13
+ fragment_present: 'no pot contenir un fragment.'
14
+ invalid_uri: 'ha de ser una URI vàlid.'
15
+ relative_uri: 'ha de ser una URI absoluta.'
16
+ secured_uri: 'ha de ser una URI HTTPS/SSL.'
17
+ forbidden_uri: 'està prohibida pel servidor'
18
+
19
+ doorkeeper:
20
+ applications:
21
+ confirmations:
22
+ destroy: "Segur que vols eliminar l'aplicació?"
23
+ buttons:
24
+ edit: 'Editar'
25
+ destroy: 'Eliminar'
26
+ submit: 'Enviar'
27
+ cancel: 'Cancel·lar'
28
+ authorize: 'Autoritzar'
29
+ form:
30
+ error: 'Ups! Sembla que hi ha errors al formulari'
31
+ help:
32
+ redirect_uri: 'Utilitza una línia per URI'
33
+ native_redirect_uri: 'Utilitza %{native_redirect_uri} per a tests en local'
34
+ scopes: 'Separa els àmbits amb espais. Deixa-ho en blanc per utilitzar els àmbits per defecte.'
35
+ edit:
36
+ title: 'Editar aplicació'
37
+ index:
38
+ title: 'Les teves aplicacions'
39
+ new: 'Nova aplicació'
40
+ name: 'Nom'
41
+ callback_url: 'Callback URL'
42
+ new:
43
+ title: 'Nova aplicació'
44
+ show:
45
+ title: 'Aplicació: %{name}'
46
+ application_id: "Identificador d'aplicació"
47
+ secret: 'Secret'
48
+ scopes: 'Àmbits'
49
+ callback_urls: 'URLs de callback'
50
+ actions: 'Accions'
51
+
52
+ authorizations:
53
+ buttons:
54
+ authorize: 'Autoritzar'
55
+ deny: 'Denegar'
56
+ error:
57
+ title: 'Hi ha hagut un error'
58
+ new:
59
+ title: 'Autorització necessària'
60
+ prompt: 'Autoritzes a %{client_name} per a que utilitzi el teu compte?'
61
+ able_to: 'Aquesta aplicació tindrà permisos per a'
62
+ show:
63
+ title: "Codi d'autorització"
64
+
65
+ authorized_applications:
66
+ confirmations:
67
+ revoke: 'Segur que vols anul·lar aquesta aplicació?'
68
+ buttons:
69
+ revoke: 'Anul·lar'
70
+ index:
71
+ title: 'Les teves aplicacions autoritzades'
72
+ application: 'Aplicació'
73
+ created_at: 'Data de creació'
74
+ date_format: '%d/%m/%Y %H:%M:%S'
75
+
76
+ errors:
77
+ messages:
78
+ # Common error messages
79
+ invalid_request: 'A la petició li manca un paràmetre obligatori, inclou un valor de paràmetre incompatible, o té un format incorrecte.'
80
+ invalid_redirect_uri: 'La URI de redirecció no és vàlida.'
81
+ unauthorized_client: 'El client no té autorització per a realitzar aquesta petició amb aquest mètode.'
82
+ access_denied: "El propietari del recurs o el servidor d'autorització han denegat la petició."
83
+ invalid_scope: "L'àmbit sol·licitat no és vàlid, és desconegut, o té un format incorrecte."
84
+ server_error: "El servidor d'autorització ha trobat una condició inesperada que le ha impedit completar la petició."
85
+ temporarily_unavailable: "El servidor d'autorització no ha pogut gestionar la petició per una sobrecàrrega temporal o per mantenimient del servidor."
86
+
87
+ #configuration error messages
88
+ credential_flow_not_configured: 'El flux de credencials del propietari del recurs ha fallat per què Doorkeeper.configure.resource_owner_from_credentials no està configurat.'
89
+ resource_owner_authenticator_not_configured: 'La cerca del propietari del recurs ha fallat per què Doorkeeper.configure.resource_owner_authenticator no està configurat.'
90
+
91
+ # Access grant errors
92
+ unsupported_response_type: "El servidor d'autorització no permet aquest tipus de respuesta."
93
+
94
+ # Access token errors
95
+ invalid_client: "L'autenticació del client ha fallado ja que el client és desconegut, no està autenticat, o el mètode d'autenticació és incompatible."
96
+ invalid_grant: "L'autorització proporcionada no és vàlida, ha expirat, ha estat anul·lada, no coincideix amb la URI de redirecció utilitzada a la petició d'autorització, o ha estat sol·licitada per un altre client."
97
+ unsupported_grant_type: "El tipus d'autorització no està permesa per el servidor d'autorització."
98
+
99
+ invalid_token:
100
+ revoked: "El token d'accés ha estat anul·lat"
101
+ expired: "El token d'accés ha expirat"
102
+ unknown: "El token d'accés és invàlid"
103
+
104
+ flash:
105
+ applications:
106
+ create:
107
+ notice: 'Aplicació creada.'
108
+ destroy:
109
+ notice: 'Aplicació eliminada.'
110
+ update:
111
+ notice: 'Aplicació actualizada.'
112
+ authorized_applications:
113
+ destroy:
114
+ notice: 'Aplicació anul·lada.'
115
+
116
+ layouts:
117
+ admin:
118
+ nav:
119
+ oauth2_provider: 'Proveïdor OAuth2'
120
+ applications: 'Aplicacions'
121
+ home: 'Inici'
122
+ application:
123
+ title: 'Autorització OAuth necessària'
data/rails/locales/de.yml CHANGED
@@ -4,6 +4,7 @@ de:
4
4
  doorkeeper/application:
5
5
  name: 'Name'
6
6
  redirect_uri: 'Redirect URI'
7
+ scopes: 'Scopes'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ de:
13
14
  invalid_uri: 'muss ein valider URI (Identifier) sein.'
14
15
  relative_uri: 'muss ein absoluter URI (Identifier) sein.'
15
16
  secured_uri: 'muss ein HTTPS/SSL URI (Identifier) sein.'
17
+ forbidden_uri: 'ist vom server verboten.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -56,7 +58,7 @@ de:
56
58
  new:
57
59
  title: 'Autorisierung erforderlich'
58
60
  prompt: 'Soll %{client_name} für die Benutzung dieses Accounts autorisiert werden?'
59
- able_to: 'Diese Anwendung wird folgende Rechte haben:'
61
+ able_to: 'Diese Anwendung wird folgende Rechte haben'
60
62
  show:
61
63
  title: 'Autorisierungscode'
62
64
 
@@ -94,9 +96,6 @@ de:
94
96
  invalid_grant: 'Die bereitgestellte Autorisierung ist inkorrekt, abgelaufen, widerrufen, ist mit einem anderen Client verknüpft oder der Redirection URI stimmt nicht mit der Autorisierungs-Anfrage überein.'
95
97
  unsupported_grant_type: 'Der Autorisierungs-Typ wird nicht vom Autorisierungs-Server unterstützt.'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'Die angegebenen Zugangsdaten für den "Resource Owner" sind inkorrekt oder dieser Benutzer existiert nicht.'
99
-
100
99
  invalid_token:
101
100
  revoked: "Der Access Token wurde annuliert"
102
101
  expired: "Der Access Token ist abgelaufen"
data/rails/locales/en.yml CHANGED
@@ -4,6 +4,7 @@ en:
4
4
  doorkeeper/application:
5
5
  name: 'Name'
6
6
  redirect_uri: 'Redirect URI'
7
+ scopes: 'Scopes'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ en:
13
14
  invalid_uri: 'must be a valid URI.'
14
15
  relative_uri: 'must be an absolute URI.'
15
16
  secured_uri: 'must be an HTTPS/SSL URI.'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -75,7 +77,7 @@ en:
75
77
  messages:
76
78
  # Common error messages
77
79
  invalid_request: 'The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.'
78
- invalid_redirect_uri: 'The redirect uri included is not valid.'
80
+ invalid_redirect_uri: "The requested redirect uri is malformed or doesn't match client redirect URI."
79
81
  unauthorized_client: 'The client is not authorized to perform this request using this method.'
80
82
  access_denied: 'The resource owner or authorization server denied the request.'
81
83
  invalid_scope: 'The requested scope is invalid, unknown, or malformed.'
@@ -94,9 +96,6 @@ en:
94
96
  invalid_grant: 'The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.'
95
97
  unsupported_grant_type: 'The authorization grant type is not supported by the authorization server.'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'The provided resource owner credentials are not valid, or resource owner cannot be found'
99
-
100
99
  invalid_token:
101
100
  revoked: "The access token was revoked"
102
101
  expired: "The access token expired"
data/rails/locales/es.yml CHANGED
@@ -4,6 +4,7 @@ es:
4
4
  doorkeeper/application:
5
5
  name: 'Nombre'
6
6
  redirect_uri: 'URI de redirección'
7
+ scopes: 'Ámbitos'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ es:
13
14
  invalid_uri: 'debe ser una URI válida.'
14
15
  relative_uri: 'debe ser una URI absoluta.'
15
16
  secured_uri: 'debe ser una URI HTTPS/SSL.'
17
+ forbidden_uri: 'está prohibido por el servidor.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -29,7 +31,7 @@ es:
29
31
  help:
30
32
  redirect_uri: 'Usa una linea por URI'
31
33
  native_redirect_uri: 'Usa %{native_redirect_uri} para test locales'
32
- scopes: ~
34
+ scopes: 'Separa los ámbitos con espacios. Deja en blanco para usar los ámbitos predeterminados.'
33
35
  edit:
34
36
  title: 'Editar aplicación'
35
37
  index:
@@ -43,7 +45,7 @@ es:
43
45
  title: 'Aplicación: %{name}'
44
46
  application_id: 'Identificador de aplicación'
45
47
  secret: 'Secret'
46
- scopes: ~
48
+ scopes: 'Ámbitos'
47
49
  callback_urls: 'Callback urls'
48
50
  actions: 'Acciones'
49
51
 
@@ -94,9 +96,6 @@ es:
94
96
  invalid_grant: 'La autorización proporcionada no es válida, ha expirado, se ha revocado, no coincide con la URI de redirección utilizada en la petición de autorización, o ha sido solicitada por otro cliente.'
95
97
  unsupported_grant_type: 'El tipo de autorización no está soportada por el servidor de autorización.'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'Las credenciales del propietario del recurso proporcionado no son válidas, o el propietario del recurso no ha sido encontrado'
99
-
100
99
  invalid_token:
101
100
  revoked: "El token de acceso ha sido revocado"
102
101
  expired: "El token de acceso ha expirado"
@@ -0,0 +1,123 @@
1
+ fi:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Nimi'
6
+ redirect_uri: 'Uudelleenohjauksen URI'
7
+ scopes: 'Näkyvyysalueet'
8
+ errors:
9
+ models:
10
+ doorkeeper/application:
11
+ attributes:
12
+ redirect_uri:
13
+ fragment_present: 'ei voi sisältää URI fragmenttia.'
14
+ invalid_uri: 'täytyy olla validi URI.'
15
+ relative_uri: 'täytyy olla absoluuttinen URI.'
16
+ secured_uri: 'täytyy olla HTTPS/SSL URI.'
17
+ forbidden_uri: 'is forbidden by the server.'
18
+
19
+ doorkeeper:
20
+ applications:
21
+ confirmations:
22
+ destroy: 'Oletko varma?'
23
+ buttons:
24
+ edit: 'Muokkaa'
25
+ destroy: 'Poista'
26
+ submit: 'Lähetä'
27
+ cancel: 'Peruuta'
28
+ authorize: 'Valtuuta'
29
+ form:
30
+ error: 'Hups! Tarkasta lomakkeesi mahdollisten virheiden varalta.'
31
+ help:
32
+ redirect_uri: 'Yksi URI riviä kohden'
33
+ native_redirect_uri: 'Käytä %{native_redirect_uri} paikallisia testejä varten'
34
+ scopes: 'Erottele näkyvyysalueet välilyönnein. Jätä tyhjäksi, mikäli haluat käyttää oletusnäkyvyysalueita.'
35
+ edit:
36
+ title: 'Muokkaa sovellusta'
37
+ index:
38
+ title: 'Omat sovellukset'
39
+ new: 'Uusi sovellus'
40
+ name: 'Nimi'
41
+ callback_url: 'Callback URL'
42
+ new:
43
+ title: 'Uusi sovellus'
44
+ show:
45
+ title: 'Sovellus: %{name}'
46
+ application_id: 'Sovelluksen ID'
47
+ secret: 'Salainen avain'
48
+ scopes: 'Näkyvyysalueet'
49
+ callback_urls: 'Callback URL:t'
50
+ actions: 'Toiminnot'
51
+
52
+ authorizations:
53
+ buttons:
54
+ authorize: 'Valtuuta'
55
+ deny: 'Kiellä'
56
+ error:
57
+ title: 'Virhe'
58
+ new:
59
+ title: 'Valtuutus vaadittu'
60
+ prompt: 'Valtuuta %{client_name} käyttämään tiliäsi?'
61
+ able_to: 'Tämä sovellus pystyy'
62
+ show:
63
+ title: 'Valtuutuskoodi'
64
+
65
+ authorized_applications:
66
+ confirmations:
67
+ revoke: 'Oletko varma?'
68
+ buttons:
69
+ revoke: 'Evää'
70
+ index:
71
+ title: 'Valtuuttamasi sovellukset'
72
+ application: 'Sovellukset'
73
+ created_at: 'Valtuutettu'
74
+ date_format: '%d. %m. %Y klo %H:%M:%S'
75
+
76
+ errors:
77
+ messages:
78
+ # Common error messages
79
+ invalid_request: 'Pyynnöstä puuttuu vaadittu parametri, se sisältää virheellisen parametrin arvon tai on muutoin väärin muodostettu.'
80
+ invalid_redirect_uri: 'Uudelleenohjauksen URI ei ole validi.'
81
+ unauthorized_client: 'Asiakasohjelmaa ei ole valtuutettu suorittamaan haluttua pyyntöä käyttäen tätä metodia.'
82
+ access_denied: 'Resurssin omistaja tai valtuutuspalvelin kieltäytyi suorittamasta pyyntöä.'
83
+ invalid_scope: 'Pyynnön näkyvyysalue on virheellinen, tuntematon tai väärin muodostettu.'
84
+ server_error: 'Valtuutuspalvelin kohtasi odottamattoman tilan, jonka seurauksena se ei pystynyt suorittamaan pyyntöä.'
85
+ temporarily_unavailable: 'Valtuutuspalvelin ei tällä hetkellä pysty suorittamaan pyyntöä väliaikaisen ylikuormituksen tai palvelinhuollon takia.'
86
+
87
+ #configuration error messages
88
+ credential_flow_not_configured: '"Resource Owner Password Credentials flow" -proseduuri epäonnistui, koska Doorkeeper.configure.resource_owner_from_credentials -asetusta ei ole konfiguroitu.'
89
+ resource_owner_authenticator_not_configured: '"Resource Owner find" -proseduuri epäonnistui, koska Doorkeeper.configure.resource_owner_authenticator -asetusta ei ole konfiguroitu.'
90
+
91
+ # Access grant errors
92
+ unsupported_response_type: 'Valtuutuspalvelin ei tue tämän tyyppisiä vastauksia.'
93
+
94
+ # Access token errors
95
+ invalid_client: 'Asiakasohjelman valtuutus epäonnistui tuntemattoman asiakasohjelman, virheellisen valtuutuksen tai tukemattoman valtuutusmetodin takia.'
96
+ invalid_grant: 'Toimitettu valtuutus on virheellinen, vanhentunut, evätty, se ei vastaa valtuutuspyynnön uudelleenohjauksen URI:a tai sen on myöntänyt toinen asiakasohjelma.'
97
+ unsupported_grant_type: 'Valtuutuspalvelin ei tue tämän tyyppisiä valtuutuksia.'
98
+
99
+ invalid_token:
100
+ revoked: "Pääsyoikeus evätty"
101
+ expired: "Pääsyoikeus vanhentunut"
102
+ unknown: "Pääsyoikeus virheellinen"
103
+
104
+ flash:
105
+ applications:
106
+ create:
107
+ notice: 'Sovellus luotu.'
108
+ destroy:
109
+ notice: 'Sovellus poistettu.'
110
+ update:
111
+ notice: 'Sovellus päivitetty.'
112
+ authorized_applications:
113
+ destroy:
114
+ notice: 'Sovellus evätty.'
115
+
116
+ layouts:
117
+ admin:
118
+ nav:
119
+ oauth2_provider: 'OAuth2 tarjoaja'
120
+ applications: 'Sovellukset'
121
+ home: 'Etusivu'
122
+ application:
123
+ title: 'OAuth valtuutus vaadittu.'
data/rails/locales/fr.yml CHANGED
@@ -4,6 +4,7 @@ fr:
4
4
  doorkeeper/application:
5
5
  name: "Nom"
6
6
  redirect_uri: "L'URL de redirection"
7
+ scopes: "Portées"
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ fr:
13
14
  invalid_uri: "doit être une URL valide."
14
15
  relative_uri: "doit être une URL absolue."
15
16
  secured_uri: "doit être une URL HTTP/SSL."
17
+ forbidden_uri: 'est interdit par le serveur.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -29,7 +31,7 @@ fr:
29
31
  help:
30
32
  redirect_uri: "Utiliser une ligne par URL"
31
33
  native_redirect_uri: "Utiliser %{native_redirect_uri} pour les tests locaux"
32
- scopes: ~
34
+ scopes: "Utilisez une espace entre chaque portée. Laissez vide pour utiliser la portée par defaut"
33
35
  edit:
34
36
  title: "Modifier l'application"
35
37
  index:
@@ -43,7 +45,7 @@ fr:
43
45
  title: "Application : %{name}"
44
46
  application_id: "ID de l'application"
45
47
  secret: "Secret"
46
- scopes: ~
48
+ scopes: "Portées"
47
49
  callback_urls: "URL du retour d'appel"
48
50
  actions: "Actions"
49
51
 
@@ -94,9 +96,6 @@ fr:
94
96
  invalid_grant: "Le consentement d'autorisation accordé n'est pas valide, a expiré, est annulé, ne concorde pas avec l'URL de redirection utilisée dans la demande d'autorisation, ou a été émis à un autre client."
95
97
  unsupported_grant_type: "Le type de consentement d'autorisation n'est pas pris en charge par le serveur d'autorisation."
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: "Les identifiants fournis du propriétaire de la ressource ne sont pas valides, ou le propriétaire de la ressource ne peut être trouvé"
99
-
100
99
  invalid_token:
101
100
  revoked: "Le jeton d'accès a été annulé"
102
101
  expired: "Le jeton d'accès a expiré"
data/rails/locales/it.yml CHANGED
@@ -4,6 +4,7 @@ it:
4
4
  doorkeeper/application:
5
5
  name: 'Nome'
6
6
  redirect_uri: 'Redirect URI'
7
+ scopes: ~
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ it:
13
14
  invalid_uri: 'deve essere un URI valido.'
14
15
  relative_uri: 'deve essere un URI assoluto.'
15
16
  secured_uri: 'deve essere un URI HTTPS/SSL.'
17
+ forbidden_uri: 'è vietato dal server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -94,9 +96,6 @@ it:
94
96
  invalid_grant: "L'autorizzazione richiesta non è valida, scaduta, revocata, non corrisponde all'uri di redirezione usato nella richiesta di autorizzazione, o è stata richiesta da un altro client."
95
97
  unsupported_grant_type: "Il tipo di autorizzazione richista non è supportato dal server di autorizzazione."
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: "Le credenziali non sono valide, o l'utente non è stato trovato"
99
-
100
99
  invalid_token:
101
100
  revoked: "Il token di accesso è stato revocato"
102
101
  expired: "Il token di accesso è scaduto"
data/rails/locales/ja.yml CHANGED
@@ -4,6 +4,7 @@ ja:
4
4
  doorkeeper/application:
5
5
  name: '名前'
6
6
  redirect_uri: 'リダイレクトURI'
7
+ scopes: 'スコープ'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ ja:
13
14
  invalid_uri: 'は有効なURIではありません。'
14
15
  relative_uri: 'は絶対URIでなければなりません。'
15
16
  secured_uri: 'はHTTPS/SSL URIでなければなりません。'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -49,20 +51,20 @@ ja:
49
51
 
50
52
  authorizations:
51
53
  buttons:
52
- authorize: '認証'
54
+ authorize: '承認'
53
55
  deny: '否認'
54
56
  error:
55
57
  title: 'エラーが発生しました'
56
58
  new:
57
- title: '認証が必要です'
58
- prompt: 'あなたのアカウントで %{client_name} 認証しますか?'
59
+ title: '承認が必要です'
60
+ prompt: 'あなたのアカウントで %{client_name} 承認しますか?'
59
61
  able_to: 'このアプリケーションは次のことが可能です'
60
62
  show:
61
- title: '認証コード'
63
+ title: '認可コード'
62
64
 
63
65
  authorized_applications:
64
66
  confirmations:
65
- revoke: '本当に取消ますか?'
67
+ revoke: '本当に取消しますか?'
66
68
  buttons:
67
69
  revoke: '取消'
68
70
  index:
@@ -94,9 +96,6 @@ ja:
94
96
  invalid_grant: '指定された認可グラントは不正か、有効期限切れか、無効か、リダイレクトURIが異なるか、もしくは別のクライアントに適用されています。'
95
97
  unsupported_grant_type: 'この認可グラントのタイプは認可サーバではサポートされていません。'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: '指定されたリソースオーナークレデンシャルが不正か、もしくはリソースオーナーが見つかりません。'
99
-
100
99
  invalid_token:
101
100
  revoked: "アクセストークンが取り消されました"
102
101
  expired: "アクセストークンの有効期限が切れました"
@@ -107,7 +106,7 @@ ja:
107
106
  create:
108
107
  notice: 'アプリケーションが作成されました。'
109
108
  destroy:
110
- notice: 'アプリケーションが作成されました。'
109
+ notice: 'アプリケーションが削除されました。'
111
110
  update:
112
111
  notice: 'アプリケーションが更新されました。'
113
112
  authorized_applications:
@@ -0,0 +1,123 @@
1
+ ko:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: '이름'
6
+ redirect_uri: '리다이렉트 URI'
7
+ scopes: '스코프'
8
+ errors:
9
+ models:
10
+ doorkeeper/application:
11
+ attributes:
12
+ redirect_uri:
13
+ fragment_present: '는 프래그먼트(# 이후의 부분)를 포함할 수 없습니다.'
14
+ invalid_uri: '는 유효한 URI가 아닙니다.'
15
+ relative_uri: '는 절대 경로 URI여야 합니다..'
16
+ secured_uri: '는 HTTPS/SSL URI여야 합니다.'
17
+ forbidden_uri: 'is forbidden by the server.'
18
+
19
+ doorkeeper:
20
+ applications:
21
+ confirmations:
22
+ destroy: '정말 삭제하시겠습니까?'
23
+ buttons:
24
+ edit: '수정'
25
+ destroy: '삭제'
26
+ submit: '확인'
27
+ cancel: '취소'
28
+ authorize: '인가'
29
+ form:
30
+ error: '잘못된 입력이 있는지 확인해주세요'
31
+ help:
32
+ redirect_uri: '각 줄에 하나의 URI씩 써주세요'
33
+ native_redirect_uri: '로컬 테스트 용도로는 %{native_redirect_uri} 주소를 써주세요'
34
+ scopes: '스코프들을 띄어쓰기로 구분하여 나열해주세요. 비어두면 기본값을 사용합니다.'
35
+ edit:
36
+ title: '애플리케이션 수정'
37
+ index:
38
+ title: '애플리케이션'
39
+ new: '새 애플리케이션'
40
+ name: '앱 이름'
41
+ callback_url: '콜백 URL'
42
+ new:
43
+ title: '새 애플리케이션'
44
+ show:
45
+ title: '애플리케이션: %{name}'
46
+ application_id: '애플리케이션 ID'
47
+ secret: '비밀 키'
48
+ scopes: '스코프'
49
+ callback_urls: '콜백 URL'
50
+ actions: '액션'
51
+
52
+ authorizations:
53
+ buttons:
54
+ authorize: '허가'
55
+ deny: '불허'
56
+ error:
57
+ title: '오류가 발생했습니다'
58
+ new:
59
+ title: '허가가 필요합니다'
60
+ prompt: '%{client_name}이 당신의 계정을 사용하는 것을 허락하시겠습니까?'
61
+ able_to: '이 애플리케이션은 다음의 것들을 할 수 있게 됩니다:'
62
+ show:
63
+ title: '인증 코드'
64
+
65
+ authorized_applications:
66
+ confirmations:
67
+ revoke: '정말 허가를 철회하시겠습니까?'
68
+ buttons:
69
+ revoke: '철회'
70
+ index:
71
+ title: '당신이 허가한 애플리케이션'
72
+ application: '애플리케이션'
73
+ created_at: '생성일시'
74
+ date_format: '%Y년 %-m월 %-d일 %H:%M:%S'
75
+
76
+ errors:
77
+ messages:
78
+ # Common error messages
79
+ invalid_request: '요청에 필수 매개변수가 빠져있거나, 지원하지 않는 매개변수를 포함하거나, 형식이 잘못되었습니다.'
80
+ invalid_redirect_uri: '포함된 리다이렉트 URI가 유효하지 않습니다.'
81
+ unauthorized_client: '클라이언트가 이 메서드로 요청하는 것이 허가되지 않았습니다.'
82
+ access_denied: '리소스의 소유자 혹은 인증 서버가 요청을 거부했습니다.'
83
+ invalid_scope: '요청된 스코프는 유효하지 않거나, 알려지지 않았거나, 형식이 잘못되었습니다.'
84
+ server_error: '인증 서버가 요청을 처리하던 도중 예기치 못한 오류가 발생했습니다.'
85
+ temporarily_unavailable: '인증 서버의 일시적인 부하 또는 점검으로 요청을 처리하지 못하고 있습니다.'
86
+
87
+ #configuration error messages
88
+ credential_flow_not_configured: 'Resource Owner Password Credentials flow failed due to Doorkeeper.configure.resource_owner_from_credentials being unconfigured.'
89
+ resource_owner_authenticator_not_configured: 'Resource Owner find failed due to Doorkeeper.configure.resource_owner_authenticator being unconfiged.'
90
+
91
+ # Access grant errors
92
+ unsupported_response_type: '인증 서버가 해당 응답 형식을 지원하지 않습니다.'
93
+
94
+ # Access token errors
95
+ invalid_client: '알려지지 않은 클라이언트이거나, 인증 정보가 누락됐거나, 해당 인증 방식이 지원되지 않아 클라이언트가 인증에 실패했습니다.'
96
+ invalid_grant: '주어진 허가 그랜트(authorization grant)가 유효하지 않거나, 이미 만료됐거나, 철회됐거나, 인가 요청시 쓰였던 리다이렉트 URI에 부합하지 않거나, 다른 클라이언트에게 부여됐습니다.'
97
+ unsupported_grant_type: '인증 서버가 주어진 허가 그랜트(authorization type) 종류를 지원하지 않습니다.'
98
+
99
+ invalid_token:
100
+ revoked: "접근 토큰이 철회됐습니다"
101
+ expired: "접근 토큰이 만료됐습니다"
102
+ unknown: "접근 토큰이 유효하지 않습니다"
103
+
104
+ flash:
105
+ applications:
106
+ create:
107
+ notice: '애플리케이션이 만들어졌습니다.'
108
+ destroy:
109
+ notice: '애플리케이션이 삭제됐습니다.'
110
+ update:
111
+ notice: '애플리케이션이 수정됐습니다.'
112
+ authorized_applications:
113
+ destroy:
114
+ notice: '애플리케이션에 대한 허가가 철회됐습니다.'
115
+
116
+ layouts:
117
+ admin:
118
+ nav:
119
+ oauth2_provider: 'OAuth2 프로바이더'
120
+ applications: '애플리케이션'
121
+ home: '첫 페이지'
122
+ application:
123
+ title: 'OAuth 인가가 필요합니다'
data/rails/locales/nb.yml CHANGED
@@ -4,6 +4,7 @@ nb:
4
4
  doorkeeper/application:
5
5
  name: 'Navn'
6
6
  redirect_uri: 'VideresendingsURI'
7
+ scopes: 'Tagger'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ nb:
13
14
  invalid_uri: 'må være en gyldig URI.'
14
15
  relative_uri: 'må være en fullstendig URI.'
15
16
  secured_uri: 'må være en HTTPS/SSL URI.'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -94,9 +96,6 @@ nb:
94
96
  invalid_grant: 'Den medfølgende autoriseringsinnvilgelsen er ugyldig, utgått, tilbakekalt, er ulik videresendings URI-en brukt i autoriseringsforespørselen, eller tilhører en annen klient.'
95
97
  unsupported_grant_type: 'Autoriseringsinnvilgelsens type er ikke støttet av autorisasjonsserveren'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'Den medfølgende ressurseierens legitimasjon er ikke gyldig, eller ressurseier er ikke funnet.'
99
-
100
99
  invalid_token:
101
100
  revoked: "Tilgangspolletten var tilbakekalt"
102
101
  expired: "Tilgangspolletten er utgått"
@@ -117,7 +116,7 @@ nb:
117
116
  layouts:
118
117
  admin:
119
118
  nav:
120
- oauth2_provider: 'OAuth2 Levrandør'
119
+ oauth2_provider: 'OAuth2 Leverandør'
121
120
  applications: 'Applikasjoner'
122
121
  home: 'Hjem'
123
122
  application:
data/rails/locales/nl.yml CHANGED
@@ -4,6 +4,7 @@ nl:
4
4
  doorkeeper/application:
5
5
  name: 'Naam'
6
6
  redirect_uri: 'Redirect URI'
7
+ scopes: 'Scopes'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ nl:
13
14
  invalid_uri: 'moet een geldige URI zijn.'
14
15
  relative_uri: 'moet een absolute URI zijn.'
15
16
  secured_uri: 'moet een HTTPS/SSL URI zijn.'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -94,9 +96,6 @@ nl:
94
96
  invalid_grant: 'De verstrekte authorisatie is ongeldig, verlopen, ingetrokken, komt niet overeen met de redirect uri die is opgegeven, of werd uitgegeven aan een andere klant.'
95
97
  unsupported_grant_type: 'Het type authorisatie is niet ondersteund door de authorisatie-server'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'De verstrekte resource eigenaar gegevens zijn niet geldig of de resource eigenaar kan niet worden gevonden'
99
-
100
99
  invalid_token:
101
100
  revoked: "Het toegangstoken is geweigerd"
102
101
  expired: "Het toegangstoken is verlopen"
@@ -4,6 +4,7 @@ pt-BR:
4
4
  doorkeeper/application:
5
5
  name: 'Nome'
6
6
  redirect_uri: 'URI de redirecionamento'
7
+ scopes: ~
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ pt-BR:
13
14
  invalid_uri: 'deve ser uma URI válida.'
14
15
  relative_uri: 'dever ser uma URI absoluta.'
15
16
  secured_uri: 'deve ser uma URI HTTPS/SSL.'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -94,9 +96,6 @@ pt-BR:
94
96
  invalid_grant: 'A permissão de autorização (authorization grant) provida é inválida, expirada, revogada, não bate com a URI de redirecionamento usada na requisição de autorização, ou foi dada a outro cliente.'
95
97
  unsupported_grant_type: 'O tipo de permissão de autorização (authorization grant) não é suportado pelo servidor de autorização(authorization server) The authorization grant type is not supported by the authorization server.'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: 'As credenciais do dono de recurso (resource owner) dadas não são válidas, ou o dono de recurso (resource owner) não foi achado.'
99
-
100
99
  invalid_token:
101
100
  revoked: "O token de acesso (access token) foi revogado"
102
101
  expired: "O token de acesso (access token) expirou"
@@ -0,0 +1,123 @@
1
+ ru:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Наименование'
6
+ redirect_uri: 'URI для перенаправления'
7
+ scopes: 'Скоупы'
8
+ errors:
9
+ models:
10
+ doorkeeper/application:
11
+ attributes:
12
+ redirect_uri:
13
+ fragment_present: 'не должен содержать фрагменты'
14
+ invalid_uri: 'должен быть корректным URI'
15
+ relative_uri: 'должен быть абсолютным URI'
16
+ secured_uri: 'должен быть HTTPS/SSL URI'
17
+ forbidden_uri: 'заблокирован со стороны сервера.'
18
+
19
+ doorkeeper:
20
+ applications:
21
+ confirmations:
22
+ destroy: 'Вы уверены?'
23
+ buttons:
24
+ edit: 'Редактировать'
25
+ destroy: 'Удалить'
26
+ submit: 'Сохранить'
27
+ cancel: 'Отменить'
28
+ authorize: 'Авторизовать'
29
+ form:
30
+ error: 'Возникли ошибки! Проверьте правильность заполнения полей'
31
+ help:
32
+ redirect_uri: 'Указывайте каждый URI в отдельной строке'
33
+ native_redirect_uri: 'Используйте %{native_redirect_uri} для локального тестирования'
34
+ scopes: 'Записывайте скоупы через пробел. Оставьте поле пустым для использования значений по-умолчанию'
35
+ edit:
36
+ title: 'Редактировать приложение'
37
+ index:
38
+ title: 'Ваши приложения'
39
+ new: 'Новое приложение'
40
+ name: 'Наименование'
41
+ callback_url: 'URL обратного вызова'
42
+ new:
43
+ title: 'Новое приложение'
44
+ show:
45
+ title: 'Приложение: %{name}'
46
+ application_id: 'ID приложения'
47
+ secret: 'Секретный ключ'
48
+ scopes: 'Скоупы'
49
+ callback_urls: 'Список URL обратного вызова'
50
+ actions: 'Действия'
51
+
52
+ authorizations:
53
+ buttons:
54
+ authorize: 'Разрешить'
55
+ deny: 'Отклонить'
56
+ error:
57
+ title: 'Произошла ошибка'
58
+ new:
59
+ title: 'Требуется авторизация'
60
+ prompt: 'Разрешить %{client_name} использовать данные Вашей учётной записи?'
61
+ able_to: 'Данное приложение требует следующие разрешения:'
62
+ show:
63
+ title: 'Код авторизации'
64
+
65
+ authorized_applications:
66
+ confirmations:
67
+ revoke: 'Вы уверены?'
68
+ buttons:
69
+ revoke: 'Отозвать авторизацию'
70
+ index:
71
+ title: 'Ваши авторизованные приложения'
72
+ application: 'Приложение'
73
+ created_at: 'Создано'
74
+ date_format: '%d-%m-%Y %H:%M:%S'
75
+
76
+ errors:
77
+ messages:
78
+ # Common error messages
79
+ invalid_request: 'В запросе отсутствуют необходимые параметры или они некорректны'
80
+ invalid_redirect_uri: 'Некорректный URI для перенаправления'
81
+ unauthorized_client: 'Клиент не авторизован для выполнения данного запроса'
82
+ access_denied: 'Доступ запрещен: сервер или владелец ресурса отклонил запрос'
83
+ invalid_scope: 'Неверный скоуп'
84
+ server_error: 'На авторизационном сервере произошла ошибка; запрос не выполнен'
85
+ temporarily_unavailable: 'В настоящее время авторизационный сервер не может обработать запрос в силу высокой загруженности или тех. работ'
86
+
87
+ #configuration error messages
88
+ credential_flow_not_configured: 'Resource Owner Password Credentials не сконфигурированы, необходимо настроить Doorkeeper.configure.resource_owner_from_credentials'
89
+ resource_owner_authenticator_not_configured: 'Resource Owner не найден, необходима конфигурация Doorkeeper.configure.resource_owner_authenticator'
90
+
91
+ # Access grant errors
92
+ unsupported_response_type: 'Сервер авторизации не поддерживает данный тип запроса'
93
+
94
+ # Access token errors
95
+ invalid_client: 'Ошибка аутентификации клиента: неверный токен, неизвестный клиент или неподдерживаемый метод аутентификации'
96
+ invalid_grant: 'Право на авторизацию истекло или отозвано'
97
+ unsupported_grant_type: 'Авторизационный сервер не поддерживает данный способ авторизации'
98
+
99
+ invalid_token:
100
+ revoked: "Токен доступа отозван"
101
+ expired: "Токен доступа устарел"
102
+ unknown: "Неверный токен доступа"
103
+
104
+ flash:
105
+ applications:
106
+ create:
107
+ notice: 'Приложение создано'
108
+ destroy:
109
+ notice: 'Приложение удалено'
110
+ update:
111
+ notice: 'Приложение обновлено'
112
+ authorized_applications:
113
+ destroy:
114
+ notice: 'Приложение отозвано'
115
+
116
+ layouts:
117
+ admin:
118
+ nav:
119
+ oauth2_provider: 'OAuth 2 провайдер'
120
+ applications: 'Приложения'
121
+ home: 'Главная'
122
+ application:
123
+ title: 'Необходима авторизация'
@@ -2,17 +2,19 @@ zh-CN:
2
2
  activerecord:
3
3
  attributes:
4
4
  doorkeeper/application:
5
- name: '名称'
6
- redirect_uri: '登录回调地址'
5
+ name: '应用名称'
6
+ redirect_uri: '重定向 URI'
7
+ scopes: '权限范围'
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
10
11
  attributes:
11
12
  redirect_uri:
12
- fragment_present: '不能包含片段(#)'
13
- invalid_uri: '必须是有效的 URL 格式'
14
- relative_uri: '必须是绝对的 URL 地址'
15
- secured_uri: '必须是 HTTPS/SSL 的 URL 地址'
13
+ fragment_present: '不能包含网址片段(#)'
14
+ invalid_uri: '必须是有效的 URI 格式'
15
+ relative_uri: '必须是绝对的 URI 地址'
16
+ secured_uri: '必须是 HTTPS/SSL 的 URI 地址'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -27,98 +29,95 @@ zh-CN:
27
29
  form:
28
30
  error: '抱歉! 提交信息的时候遇到了下面的错误'
29
31
  help:
30
- redirect_uri: '每行只能有一个 URL'
31
- native_redirect_uri: '使用 %{native_redirect_uri} 作为本地测试'
32
- scopes: '用空格隔开scope,留空则使用默认设置'
32
+ redirect_uri: '每行只能有一个 URI'
33
+ native_redirect_uri: '本地测试请使用 %{native_redirect_uri}'
34
+ scopes: '用空格分割权限范围,留空则使用默认设置'
33
35
  edit:
34
36
  title: '修改应用'
35
37
  index:
36
38
  title: '你的应用'
37
39
  new: '创建新应用'
38
40
  name: '名称'
39
- callback_url: '登录回调地址'
41
+ callback_url: '回调 URL'
40
42
  new:
41
43
  title: '创建新应用'
42
44
  show:
43
- title: '应用: %{name}'
45
+ title: '应用:%{name}'
44
46
  application_id: '应用 ID'
45
- secret: '私钥'
46
- scopes: 'Scopes'
47
- callback_urls: '登录回调地址'
47
+ secret: '应用密钥'
48
+ scopes: '权限范围'
49
+ callback_urls: '回调 URL'
48
50
  actions: '操作'
49
51
 
50
52
  authorizations:
51
53
  buttons:
52
- authorize: '授权'
53
- deny: '拒绝'
54
+ authorize: '同意授权'
55
+ deny: '拒绝授权'
54
56
  error:
55
- title: '存在错误'
57
+ title: '发生错误'
56
58
  new:
57
- title: '需要你授权'
58
- prompt: '授权 %{client_name} 使用你的帐号?'
59
- able_to: '此应用将会'
59
+ title: '需要授权'
60
+ prompt: '授权 %{client_name} 使用你的帐户?'
61
+ able_to: '此应用将能够'
60
62
  show:
61
- title: '授权码'
63
+ title: '授权代码'
62
64
 
63
65
  authorized_applications:
64
66
  confirmations:
65
- revoke: '确定要注销此应用的认证信息吗?'
67
+ revoke: '确定要撤销对此应用的授权吗?'
66
68
  buttons:
67
- revoke: '注销'
69
+ revoke: '撤销授权'
68
70
  index:
69
- title: '你授权的应用列表'
71
+ title: '已授权的应用'
70
72
  application: '应用'
71
73
  created_at: '授权时间'
72
- date_format: '%Y-%m-%d %H:%M:%S'
74
+ date_format: "%Y-%m-%d %H:%M:%S"
73
75
 
74
76
  errors:
75
77
  messages:
76
78
  # Common error messages
77
- invalid_request: '这个请求缺少必要的参数,或者参数值、格式不正确'
78
- invalid_redirect_uri: '无效的登录回调地址'
79
- unauthorized_client: '未授权的应用,请求无法执行'
80
- access_denied: '用户或服务器拒绝了请求'
81
- invalid_scope: '请求范围无效、未知或格式不正确'
82
- server_error: '服务器异常,无法处理请求'
83
- temporarily_unavailable: '服务器维护中,无法处理请求'
79
+ invalid_request: '请求缺少必要的参数,或者参数值、格式不正确。'
80
+ invalid_redirect_uri: '无效的登录回调地址。'
81
+ unauthorized_client: '未授权的应用,请求无法执行。'
82
+ access_denied: '资源所有者或服务器拒绝了请求。'
83
+ invalid_scope: '请求的权限范围无效、未知或格式不正确。'
84
+ server_error: '服务器异常,无法处理请求。'
85
+ temporarily_unavailable: '服务器维护中或负载过高,暂时无法处理请求。'
84
86
 
85
87
  #configuration error messages
86
- credential_flow_not_configured: 'Resource Owner Password Credentials flow failed due to Doorkeeper.configure.resource_owner_from_credentials being unconfigured.'
87
- resource_owner_authenticator_not_configured: 'Resource Owner find failed due to Doorkeeper.configure.resource_owner_authenticator being unconfiged.'
88
+ credential_flow_not_configured: '由于 Doorkeeper.configure.resource_owner_from_credentials 尚未配置,应用验证授权流程失败。'
89
+ resource_owner_authenticator_not_configured: '由于 Doorkeeper.configure.resource_owner_authenticator 尚未配置,查找资源所有者失败。'
88
90
 
89
91
  # Access grant errors
90
- unsupported_response_type: '服务器不支持这种 response type'
92
+ unsupported_response_type: '服务器不支持这种响应类型。'
91
93
 
92
94
  # Access token errors
93
- invalid_client: '由于未知、不支持或没有客户端,认证失败'
94
- invalid_grant: '授权方式无效,或者登录回调地址无效、过期或已被撤销'
95
- unsupported_grant_type: '服务器不支持此类型的授权方式'
96
-
97
- # Password Access token errors
98
- invalid_resource_owner: '资源所有者认证无效或没有所有者'
95
+ invalid_client: '由于应用信息未知、未提交认证信息或使用了不支持的认证方式,认证失败。'
96
+ invalid_grant: '授权方式无效、过期或已被撤销、与授权请求中的回调地址不一致,或使用了其他应用的回调地址。'
97
+ unsupported_grant_type: '服务器不支持此类型的授权方式。'
99
98
 
100
99
  invalid_token:
101
- revoked: "Access Token 已被注销"
102
- expired: "Access Token 已过期"
103
- unknown: "Access Token 无效"
100
+ revoked: "访问令牌已被吊销"
101
+ expired: "访问令牌已过期"
102
+ unknown: "访问令牌无效"
104
103
 
105
104
  flash:
106
105
  applications:
107
106
  create:
108
- notice: '应用创建成功'
107
+ notice: '应用创建成功。'
109
108
  destroy:
110
- notice: '应用删除成功'
109
+ notice: '应用删除成功。'
111
110
  update:
112
- notice: '应用修改成功'
111
+ notice: '应用修改成功。'
113
112
  authorized_applications:
114
113
  destroy:
115
- notice: '已成功注销了应用的认证信息'
114
+ notice: '已成功撤销对此应用的授权。'
116
115
 
117
116
  layouts:
118
117
  admin:
119
118
  nav:
120
- oauth2_provider: 'OAuth2 Provider'
119
+ oauth2_provider: 'OAuth2 提供商'
121
120
  applications: '应用'
122
121
  home: '首页'
123
122
  application:
124
- title: 'OAuth 认证'
123
+ title: '需要 OAuth 认证'
@@ -0,0 +1,123 @@
1
+ zh-HK:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: "名稱"
6
+ redirect_uri: "轉接 URI"
7
+ scopes: "權限"
8
+ errors:
9
+ models:
10
+ doorkeeper/application:
11
+ attributes:
12
+ redirect_uri:
13
+ fragment_present: "URI 不可包含 \"#fragment\" 部份"
14
+ invalid_uri: "必需有正確的 URI。"
15
+ relative_uri: "必需為絕對 URI。"
16
+ secured_uri: "必需使用有 HTTPS/SSL 加密的 URI。"
17
+ forbidden_uri: 'is forbidden by the server.'
18
+
19
+ doorkeeper:
20
+ applications:
21
+ buttons:
22
+ authorize: "認證"
23
+ cancel: "取消"
24
+ destroy: "移除"
25
+ edit: "編輯"
26
+ submit: "提交"
27
+ confirmations:
28
+ destroy: "是否確定?"
29
+ edit:
30
+ title: "編輯應用程式"
31
+ form:
32
+ error: "噢!請檢查你表格的錯誤訊息"
33
+ help:
34
+ native_redirect_uri: "使用 %{native_redirect_uri} 作局部測試"
35
+ redirect_uri: "每行輸入一個 URI"
36
+ scopes: "請用半形空格分開權限範圍 (scope)。留空表示使用預設的權限範圍"
37
+ index:
38
+ callback_url: "回傳網址"
39
+ name: "名稱"
40
+ new: "新增應用程式"
41
+ title: "你的應用程式"
42
+ new:
43
+ title: "新增應用程式"
44
+ show:
45
+ actions: "操作"
46
+ application_id: "應用程式 ID"
47
+ callback_urls: "回傳網址"
48
+ scopes: "權限範圍"
49
+ secret: "密碼"
50
+ title: "應用程式︰ %{name}"
51
+
52
+ authorizations:
53
+ buttons:
54
+ authorize: "批准"
55
+ deny: "拒絕"
56
+ error:
57
+ title: "發生錯誤"
58
+ new:
59
+ able_to: "要求獲取權限"
60
+ prompt: "應用程式 %{client_name} 要求得到你用戶的部份權限"
61
+ title: "需要用戶授權"
62
+ show:
63
+ title: "授權代碼"
64
+
65
+ authorized_applications:
66
+ buttons:
67
+ revoke: "取消授權"
68
+ confirmations:
69
+ revoke: "是否確定要取消授權?"
70
+ index:
71
+ application: "應用程式"
72
+ created_at: "授權於"
73
+ date_format: "%Y-%m-%d %H:%M:%S"
74
+ title: "已獲你授權的程用程式"
75
+
76
+ errors:
77
+ messages:
78
+ # Common error messages
79
+ invalid_request: "請求缺少了必要的參數、包含了不支援的參數、或者其他輸入錯誤。"
80
+ invalid_redirect_uri: "不正確的轉接網址。"
81
+ unauthorized_client: "用戶程式無權用此方法 (method) 請行這個請求。"
82
+ access_denied: "資源擁有者或授權伺服器不接受請求。"
83
+ invalid_scope: "請求的權限範圍 (scope) 不正確、未有定義、或者輸入錯誤。"
84
+ server_error: "認證伺服器遇上未知狀況,令請求無法通過。"
85
+ temporarily_unavailable: "認證伺服器由於臨時負荷過重或者維護,目前未能處理請求。"
86
+
87
+ #configuration error messages
88
+ credential_flow_not_configured: "資源擁有者密碼認證程序 (Resource Owner Password Credentials flow) 失敗,原因是 Doorkeeper.configure.resource_owner_from_credentials 沒有設定。"
89
+ resource_owner_authenticator_not_configured: "無法找到資源擁有者,原因是 Doorkeeper.configure.resource_owner_authenticator 沒有設定。"
90
+
91
+ # Access grant errors
92
+ unsupported_response_type: "授權伺服器不支援這個回應類型 (response type)。"
93
+
94
+ # Access token errors
95
+ invalid_client: "用戶程式認證 (Client authentication) 失敗,原因是用戶程式未有登記、沒有指定用戶程式 (client)、或者使用了不支援的認證方法 (method)。"
96
+ invalid_grant: "授權申請 (authorization grant) 不正確、過期、已被取消,或者無法對應授權請求 (authorization request) 內的轉接 URI,或者屬於別的用戶程式。"
97
+ unsupported_grant_type: "授權伺服器不支援這個授權類型 (grant type)。"
98
+
99
+ invalid_token:
100
+ expired: "access token 已經過期"
101
+ revoked: "access token 已被取消"
102
+ unknown: "access token 不正確"
103
+
104
+ flash:
105
+ applications:
106
+ create:
107
+ notice: "已新增應用程式。"
108
+ destroy:
109
+ notice: "已刪除應用程式。"
110
+ update:
111
+ notice: "已更新應用程式。"
112
+ authorized_applications:
113
+ destroy:
114
+ notice: "已取消應用程式授權。"
115
+
116
+ layouts:
117
+ admin:
118
+ nav:
119
+ applications: "應用程式"
120
+ oauth2_provider: "OAuth2 供應者"
121
+ home: "主頁"
122
+ application:
123
+ title: "需要 OAuth 授權"
@@ -4,6 +4,7 @@ zh-TW:
4
4
  doorkeeper/application:
5
5
  name: '名稱'
6
6
  redirect_uri: '轉向網址'
7
+ scopes: ~
7
8
  errors:
8
9
  models:
9
10
  doorkeeper/application:
@@ -13,6 +14,7 @@ zh-TW:
13
14
  invalid_uri: '必須是有效的網址'
14
15
  relative_uri: '必須是絕對的網址'
15
16
  secured_uri: '必須是有 HTTPS/SSL 的網址'
17
+ forbidden_uri: 'is forbidden by the server.'
16
18
 
17
19
  doorkeeper:
18
20
  applications:
@@ -94,9 +96,6 @@ zh-TW:
94
96
  invalid_grant: '授權許可型態無效,或者轉向網址的授權許可無效、過期或已被撤銷'
95
97
  unsupported_grant_type: '授權伺服器不支援此授權許可型態'
96
98
 
97
- # Password Access token errors
98
- invalid_resource_owner: '資源擁有者認證無效或無此擁有者'
99
-
100
99
  invalid_token:
101
100
  revoked: "Access Token 已被撤銷"
102
101
  expired: "Access Token 已過期"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tute Costa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-02 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -83,16 +83,21 @@ files:
83
83
  - lib/doorkeeper-i18n.rb
84
84
  - lib/doorkeeper-i18n/railtie.rb
85
85
  - log/development.log
86
+ - rails/locales/ca.yml
86
87
  - rails/locales/de.yml
87
88
  - rails/locales/en.yml
88
89
  - rails/locales/es.yml
90
+ - rails/locales/fi.yml
89
91
  - rails/locales/fr.yml
90
92
  - rails/locales/it.yml
91
93
  - rails/locales/ja.yml
94
+ - rails/locales/ko.yml
92
95
  - rails/locales/nb.yml
93
96
  - rails/locales/nl.yml
94
97
  - rails/locales/pt-BR.yml
98
+ - rails/locales/ru.yml
95
99
  - rails/locales/zh-CN.yml
100
+ - rails/locales/zh-HK.yml
96
101
  - rails/locales/zh-TW.yml
97
102
  - spec/doorkeeper-i18n_spec.rb
98
103
  - spec/locale_loading_spec.rb
@@ -118,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
123
  version: '0'
119
124
  requirements: []
120
125
  rubyforge_project:
121
- rubygems_version: 2.5.1
126
+ rubygems_version: 2.6.11
122
127
  signing_key:
123
128
  specification_version: 4
124
129
  summary: Translations for doorkeeper rubygem.