doorkeeper-i18n 3.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df9be82be747aa8e30c336b02ffa5ce6ce1761ef
4
- data.tar.gz: 7bfc5ffa7c90d193a63246e2ba7ab0bb0b8ef975
3
+ metadata.gz: e5ba2a24fb3e915011debaf61e6e9e9496c07ed9
4
+ data.tar.gz: ba91e2bbd0f7ea3f67b661134f08b75b2bf5d29a
5
5
  SHA512:
6
- metadata.gz: 1b17e5c15a983c16f02d4056d0e61cd1a9031bcf657a68e59e63ae0aa5265c65bd7fcffc43e123995c3626d70f97812f16900b0092562b128169abbb1f90db6b
7
- data.tar.gz: 920d5f151d077984f84e9153dfe65396d09f3d81a19da4b3ade24e06c7df8a4f9afa890ba4717be59208b228d22e2b4aafd8199b3c52e10abfb902e7978d559c
6
+ metadata.gz: 445116c2434c2ab9a6d6732e079c6a36f959bb7b27c960a9dcabf64b9ca8f971accd9427b1551e504610513f3d163b1f295cf8f8e9e4b1edd0aca01da9b70520
7
+ data.tar.gz: 45c6a150ae08c6279f0badd867b2719e5224be5a75717946dd257f06e4af32cefeb9c7b24b647f45ca623d64f1c3819a09bdae25373cf3273cbab5f156489fbb
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  .DS_Store
2
+ Gemfile.lock
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ cache: bundler
2
+ language: ruby
3
+ sudo: false
4
+
5
+ rvm:
6
+ - 2.3.0
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # doorkeeper-i18n
2
2
 
3
+ [![Build Status](https://travis-ci.org/doorkeeper-gem/doorkeeper-i18n.svg?branch=master)](https://travis-ci.org/doorkeeper-gem/doorkeeper-i18n)
4
+
3
5
  To extend doorkeeper with locales, add to your Gemfile:
4
6
 
5
7
  ```ruby
@@ -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 = "3.0.0"
5
+ s.version = "4.0.0"
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,124 @@
1
+ de:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Name'
6
+ redirect_uri: 'Redirect URI'
7
+ errors:
8
+ models:
9
+ doorkeeper/application:
10
+ attributes:
11
+ redirect_uri:
12
+ fragment_present: 'darf kein Fragment enthalten.'
13
+ invalid_uri: 'muss ein valider URI (Identifier) sein.'
14
+ relative_uri: 'muss ein absoluter URI (Identifier) sein.'
15
+ secured_uri: 'muss ein HTTPS/SSL URI (Identifier) sein.'
16
+
17
+ doorkeeper:
18
+ applications:
19
+ confirmations:
20
+ destroy: 'Bist du sicher?'
21
+ buttons:
22
+ edit: 'Bearbeiten'
23
+ destroy: 'Löschen'
24
+ submit: 'Übertragen'
25
+ cancel: 'Abbrechen'
26
+ authorize: 'Autorisieren'
27
+ form:
28
+ error: 'Whoops! Bitte überprüfe das Formular auf Fehler!'
29
+ help:
30
+ redirect_uri: 'Bitte benutze eine Zeile pro URI'
31
+ native_redirect_uri: '%{native_redirect_uri} für lokale Tests benutzen'
32
+ scopes: 'Bitte die "Scopes" mit Leerzeichen trennen. Bitte frei lassen für die Verwendung der Default-Werte.'
33
+ edit:
34
+ title: 'Applikation bearbeiten'
35
+ index:
36
+ title: 'Deine Applikationen'
37
+ new: 'Neue Applikation'
38
+ name: 'Name'
39
+ callback_url: 'Callback URL'
40
+ new:
41
+ title: 'Neue Applikation'
42
+ show:
43
+ title: 'Applikation: %{name}'
44
+ application_id: 'Applikations-ID'
45
+ secret: 'Secret'
46
+ scopes: 'Scopes'
47
+ callback_urls: 'Callback URLs'
48
+ actions: 'Aktionen'
49
+
50
+ authorizations:
51
+ buttons:
52
+ authorize: 'Autorisieren'
53
+ deny: 'Verweigern'
54
+ error:
55
+ title: 'Ein Fehler ist aufgetreten'
56
+ new:
57
+ title: 'Autorisierung erforderlich'
58
+ prompt: 'Soll %{client_name} für die Benutzung dieses Accounts autorisiert werden?'
59
+ able_to: 'Diese Anwendung wird folgende Rechte haben:'
60
+ show:
61
+ title: 'Autorisierungscode'
62
+
63
+ authorized_applications:
64
+ confirmations:
65
+ revoke: 'Bist du sicher?'
66
+ buttons:
67
+ revoke: 'Ungültig machen'
68
+ index:
69
+ title: 'Deine autorisierten Applikationen'
70
+ application: 'Applikation'
71
+ created_at: 'erstellt am'
72
+ date_format: '%Y-%m-%d %H:%M:%S'
73
+
74
+ errors:
75
+ messages:
76
+ # Common error messages
77
+ invalid_request: 'Die Anfrage enthält einen nicht-unterstützten Parameter, ein Parameter fehlt oder sie ist anderweitig fehlerhaft.'
78
+ invalid_redirect_uri: 'Der Redirect-URI in der Anfrage ist ungültig.'
79
+ unauthorized_client: 'Der Client ist nicht autorisiert, diese Anfrage mit dieser Methode auszuführen.'
80
+ access_denied: 'Der Resource Owner oder der Autorisierungs-Server hat die Anfrage verweigert.'
81
+ invalid_scope: 'Der angeforderte Scope ist inkorrekt, unbekannt oder fehlerhaft.'
82
+ server_error: 'Der Autorisierungs-Server hat ein unerwartetes Problem festgestellt und konnte die Anfrage nicht beenden.'
83
+ temporarily_unavailable: 'Der Autorisierungs-Server ist derzeit auf Grund von temporärer Überlastung oder Wartungsarbeiten am Server nicht in der Lage, die Anfrage zu bearbeiten .'
84
+
85
+ #configuration error messages
86
+ credential_flow_not_configured: 'Die Prozedur "Resource Owner Password Credentials" ist fehlgeschlagen: Doorkeeper.configure.resource_owner_from_credentials ist nicht konfiguriert.'
87
+ resource_owner_authenticator_not_configured: 'Die Prozedur "Resource Owner find" ist fehlgeschlagen: Doorkeeper.configure.resource_owner_authenticator ist nicht konfiguriert.'
88
+
89
+ # Access grant errors
90
+ unsupported_response_type: 'Der Autorisierungs-Server unterstützt diesen Antwort-Typ nicht.'
91
+
92
+ # Access token errors
93
+ invalid_client: 'Client-Autorisierung MKIM ist fehlgeschlagen: Unbekannter Client, keine Autorisierung mitgeliefert oder Autorisierungsmethode nicht unterstützt.'
94
+ 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
+ unsupported_grant_type: 'Der Autorisierungs-Typ wird nicht vom Autorisierungs-Server unterstützt.'
96
+
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
+ invalid_token:
101
+ revoked: "Der Access Token wurde annuliert"
102
+ expired: "Der Access Token ist abgelaufen"
103
+ unknown: "Der Access Token ist nicht gültig/korrekt"
104
+
105
+ flash:
106
+ applications:
107
+ create:
108
+ notice: 'Applikation erstellt.'
109
+ destroy:
110
+ notice: 'Applikation gelöscht.'
111
+ update:
112
+ notice: 'Applikation geupdated.'
113
+ authorized_applications:
114
+ destroy:
115
+ notice: 'Applikation widerrufen.'
116
+
117
+ layouts:
118
+ admin:
119
+ nav:
120
+ oauth2_provider: 'OAuth2 Provider'
121
+ applications: 'Applikationen'
122
+ home: 'Home'
123
+ application:
124
+ title: 'OAuth Autorisierung erforderlich'
data/rails/locales/en.yml CHANGED
@@ -119,5 +119,6 @@ en:
119
119
  nav:
120
120
  oauth2_provider: 'OAuth2 Provider'
121
121
  applications: 'Applications'
122
+ home: 'Home'
122
123
  application:
123
124
  title: 'OAuth authorization required'
data/rails/locales/es.yml CHANGED
@@ -119,5 +119,6 @@ es:
119
119
  nav:
120
120
  oauth2_provider: 'Proveedor OAuth2'
121
121
  applications: 'Aplicaciones'
122
+ home: 'Home'
122
123
  application:
123
124
  title: 'Autorización OAuth requerida'
data/rails/locales/fr.yml CHANGED
@@ -78,7 +78,7 @@ fr:
78
78
  invalid_redirect_uri: "L'URL de redirection n'est pas valide."
79
79
  unauthorized_client: "Le client n'est pas autorisé à effectuer cette demande à l'aide de cette méthode."
80
80
  access_denied: "Le propriétaire de la ressource ou le serveur d'autorisation a refusé la demande."
81
- invalid_scope: "La portée demandée n'est pas valide, est inconnue, ou est mal formée."
81
+ invalid_scope: "Le scope demandé n'est pas valide, est inconnu, ou est mal formé."
82
82
  server_error: "Le serveur d'autorisation a rencontré une condition inattendue qui l'a empêché de remplir la demande."
83
83
  temporarily_unavailable: "Le serveur d'autorisation est actuellement incapable de traiter la demande à cause d'une surcharge ou d'un entretien temporaire du serveur."
84
84
 
@@ -119,5 +119,6 @@ fr:
119
119
  nav:
120
120
  oauth2_provider: "Fournisseur OAuth2"
121
121
  applications: "Applications"
122
+ home: 'Home'
122
123
  application:
123
124
  title: "Autorisation OAuth requise"
data/rails/locales/it.yml CHANGED
@@ -119,5 +119,6 @@ it:
119
119
  nav:
120
120
  oauth2_provider: 'OAuth2 Provider'
121
121
  applications: 'Applicazioni'
122
+ home: 'Home'
122
123
  application:
123
124
  title: 'Richiesta autorizzazione OAuth'
data/rails/locales/ja.yml CHANGED
@@ -9,10 +9,10 @@ ja:
9
9
  doorkeeper/application:
10
10
  attributes:
11
11
  redirect_uri:
12
- fragment_present: 'cannot contain a fragment.'
13
- invalid_uri: 'must be a valid URI.'
14
- relative_uri: 'must be an absolute URI.'
15
- secured_uri: 'must be an HTTPS/SSL URI.'
12
+ fragment_present: 'はURLフラグメントを含めることはできません。'
13
+ invalid_uri: 'は有効なURIではありません。'
14
+ relative_uri: 'は絶対URIでなければなりません。'
15
+ secured_uri: 'HTTPS/SSL URIでなければなりません。'
16
16
 
17
17
  doorkeeper:
18
18
  applications:
@@ -25,26 +25,26 @@ ja:
25
25
  cancel: 'キャンセル'
26
26
  authorize: '認証'
27
27
  form:
28
- error: 'Whoops! Check your form for possible errors'
28
+ error: 'おっと!フォームにエラーがないか確認してください'
29
29
  help:
30
- redirect_uri: 'Use one line per URI'
31
- native_redirect_uri: 'Use %{native_redirect_uri} for local tests'
32
- scopes: 'Separate scopes with spaces. Leave blank to use the default scopes.'
30
+ redirect_uri: 'URIごとに1行で入力してください'
31
+ native_redirect_uri: 'ローカルテストのため、 %{native_redirect_uri} を使用してください。'
32
+ scopes: '各スコープをスペースで区切ってください。初期設定のスコープを使用する場合は、空白のままにしてください。'
33
33
  edit:
34
34
  title: 'アプリケーションの編集'
35
35
  index:
36
- title: 'あなたのアプリケーション'
36
+ title: 'アプリケーション'
37
37
  new: '新しいアプリケーション'
38
- name: '名前'
38
+ name: '名称'
39
39
  callback_url: 'コールバックURL'
40
40
  new:
41
- title: '新しいアプリケーション'
41
+ title: 'アプリケーションの作成'
42
42
  show:
43
43
  title: 'アプリケーション: %{name}'
44
- application_id: 'アプリケーション Id'
44
+ application_id: 'アプリケーションID'
45
45
  secret: 'シークレット'
46
46
  scopes: 'スコープ'
47
- callback_urls: 'コールバック urls'
47
+ callback_urls: 'コールバックURL'
48
48
  actions: 'アクション'
49
49
 
50
50
  authorizations:
@@ -69,38 +69,38 @@ ja:
69
69
  title: 'あなたの認証されたアプリケーション'
70
70
  application: 'アプリケーション'
71
71
  created_at: '作成日時'
72
- date_format: '%Y-%m-%d %H:%M:%S'
72
+ date_format: '%Y年%m月%d %H:%M:%S'
73
73
 
74
74
  errors:
75
75
  messages:
76
76
  # Common error messages
77
- 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.'
79
- unauthorized_client: 'The client is not authorized to perform this request using this method.'
80
- access_denied: 'The resource owner or authorization server denied the request.'
81
- invalid_scope: 'The requested scope is invalid, unknown, or malformed.'
82
- server_error: 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.'
83
- temporarily_unavailable: 'The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.'
77
+ invalid_request: '必須パラメータが不足しているか、サポートされていないパラメータが含まれているか、もしくはパラメータが不正であるため、リクエストを処理できませんでした。'
78
+ invalid_redirect_uri: '含まれるリダイレクトURIが正しくありません。'
79
+ unauthorized_client: 'クライアントはこのメソッドを用いたリクエストを実行する権限がありません。'
80
+ access_denied: 'リソースオーナーもしくは認可サーバがリクエストを拒否しました。'
81
+ invalid_scope: '指定されたスコープが無効か、不明か、もしくは正しくありません。'
82
+ server_error: '予期せぬ事態が発生したため、認可サーバはリクエストを処理できませんでした。'
83
+ temporarily_unavailable: '認可サーバが一時的に高負荷な状態にあるか、もしくはメンテナンス中であるため、リクエストを処理できません。'
84
84
 
85
85
  #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.'
86
+ credential_flow_not_configured: 'Doorkeeper.configure.resource_owner_from_credentialsが設定されていないため、リソースオーナーパスワードクレデンシャルフローは失敗しました。'
87
+ resource_owner_authenticator_not_configured: 'Doorkeeper.configure.resource_owner_authenticatorが設定されていないため、リソースオーナーの取得に失敗しました。'
88
88
 
89
89
  # Access grant errors
90
- unsupported_response_type: 'The authorization server does not support this response type.'
90
+ unsupported_response_type: '認可サーバは指定されたレスポンスタイプをサポートしていません。'
91
91
 
92
92
  # Access token errors
93
- invalid_client: 'Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.'
94
- 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
- unsupported_grant_type: 'The authorization grant type is not supported by the authorization server.'
93
+ invalid_client: 'クライアントが不明か、クライアント認証が含まれていないか、もしくは認証メソッドがサポートされていないため、クライアント認証は失敗しました。'
94
+ invalid_grant: '指定された認可グラントは不正か、有効期限切れか、無効か、リダイレクトURIが異なるか、もしくは別のクライアントに適用されています。'
95
+ unsupported_grant_type: 'この認可グラントのタイプは認可サーバではサポートされていません。'
96
96
 
97
97
  # Password Access token errors
98
- invalid_resource_owner: 'The provided resource owner credentials are not valid, or resource owner cannot be found'
98
+ invalid_resource_owner: '指定されたリソースオーナークレデンシャルが不正か、もしくはリソースオーナーが見つかりません。'
99
99
 
100
100
  invalid_token:
101
- revoked: "The access token was revoked"
102
- expired: "The access token expired"
103
- unknown: "The access token is invalid"
101
+ revoked: "アクセストークンが取り消されました"
102
+ expired: "アクセストークンの有効期限が切れました"
103
+ unknown: "アクセストークンが無効です"
104
104
 
105
105
  flash:
106
106
  applications:
@@ -119,5 +119,6 @@ ja:
119
119
  nav:
120
120
  oauth2_provider: 'OAuth2 プロバイダー'
121
121
  applications: 'アプリケーション'
122
+ home: 'ホーム'
122
123
  application:
123
124
  title: 'OAuth認証が必要です'
@@ -0,0 +1,124 @@
1
+ nb:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Navn'
6
+ redirect_uri: 'VideresendingsURI'
7
+ errors:
8
+ models:
9
+ doorkeeper/application:
10
+ attributes:
11
+ redirect_uri:
12
+ fragment_present: 'kan ikke inneholde et fragment.'
13
+ invalid_uri: 'må være en gyldig URI.'
14
+ relative_uri: 'må være en fullstendig URI.'
15
+ secured_uri: 'må være en HTTPS/SSL URI.'
16
+
17
+ doorkeeper:
18
+ applications:
19
+ confirmations:
20
+ destroy: 'Er du sikker?'
21
+ buttons:
22
+ edit: 'Endre'
23
+ destroy: 'Slett'
24
+ submit: 'Lagre'
25
+ cancel: 'Avbryt'
26
+ authorize: 'Autoriser'
27
+ form:
28
+ error: 'Whoops! Sjekk skjema for mulige feil'
29
+ help:
30
+ redirect_uri: 'Bruk en linje per URI'
31
+ native_redirect_uri: 'Bruk %{native_redirect_uri} for lokale tester'
32
+ scopes: 'Separer tagger med mellomrom. La den være blank for standard tagger.'
33
+ edit:
34
+ title: 'Endre applikasjonen'
35
+ index:
36
+ title: 'Dine applikasjoner'
37
+ new: 'Ny applikasjon'
38
+ name: 'Navn'
39
+ callback_url: 'Callback URL'
40
+ new:
41
+ title: 'Ny Applikasjon'
42
+ show:
43
+ title: 'Applikasjon: %{name}'
44
+ application_id: 'Application Id'
45
+ secret: 'Secret'
46
+ scopes: 'Tagger'
47
+ callback_urls: 'Callback url-er'
48
+ actions: 'Handlinger'
49
+
50
+ authorizations:
51
+ buttons:
52
+ authorize: 'Autoriser'
53
+ deny: 'Nekt'
54
+ error:
55
+ title: 'En feil har oppstått'
56
+ new:
57
+ title: 'Autorisering nødvendig'
58
+ prompt: 'Autoriser %{client_name} til å bruke din bruker?'
59
+ able_to: 'Denne applikasjonen vil ha tilgang til å gjøre følgende'
60
+ show:
61
+ title: 'Autorisasjonskode'
62
+
63
+ authorized_applications:
64
+ confirmations:
65
+ revoke: 'Er du sikker?'
66
+ buttons:
67
+ revoke: 'Tilbakekall'
68
+ index:
69
+ title: 'Dine autoriserte applikasjoner'
70
+ application: 'Applikasjon'
71
+ created_at: 'Opprettet'
72
+ date_format: '%Y-%m-%d %H:%M:%S'
73
+
74
+ errors:
75
+ messages:
76
+ # Common error messages
77
+ invalid_request: 'Forespørselen mangler et nødvendig parameter, inkluderer et parameter som ikke er støttet, eller er på annen måte feilskrevet.'
78
+ invalid_redirect_uri: 'Videresendings uri-en inkludert er ikke gyldig.'
79
+ unauthorized_client: 'Klienten er ikke autorisert til å utføre denne forespørselen ved å bruke denne metoden.'
80
+ access_denied: 'Ressurs-eieren eller autorisasjonsserveren nektet forespørelsen fra å fullføre.'
81
+ invalid_scope: 'Forespørselens omfang er ugyldig, ukjent, eller feilskrevet.'
82
+ server_error: 'Autoriseringsserveren har møtt en uforventet betingelse som har forhindret serveren fra å fullføre forespørselen.'
83
+ temporarily_unavailable: 'Autorisasjonsserveren er for øyeblikket utilgjengelig på grunn av en foreløpig overlasting eller vedlikehold av serveren.'
84
+
85
+ #configuration error messages
86
+ credential_flow_not_configured: 'Ressurseierens Passord legitimasjonsflyt feilet på grunn av at Doorkeeper.configure.resource_owner_from_credentials ikke var konfigurert.'
87
+ resource_owner_authenticator_not_configured: 'Resource Owner find feilet på grunn av Doorkeeper.configure.resource_owner_authenticator ikke var konfigurert.'
88
+
89
+ # Access grant errors
90
+ unsupported_response_type: 'Autoriseringsserveren har ikke støtte for denne responstypen.'
91
+
92
+ # Access token errors
93
+ invalid_client: 'Klientautentikasjon feilet på grunn av ukjent klient, ingen klientautentikasjon inkludert, eller autentikasjonsmetode som ikke støttes.'
94
+ 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
+ unsupported_grant_type: 'Autoriseringsinnvilgelsens type er ikke støttet av autorisasjonsserveren'
96
+
97
+ # Password Access token errors
98
+ invalid_resource_owner: 'Den medfølgende ressurseierens legitimasjon er ikke gyldig, eller ressurseier er ikke funnet.'
99
+
100
+ invalid_token:
101
+ revoked: "Tilgangspolletten var tilbakekalt"
102
+ expired: "Tilgangspolletten er utgått"
103
+ unknown: "Tilgangspolletten er ugyldig"
104
+
105
+ flash:
106
+ applications:
107
+ create:
108
+ notice: 'Applikasjon opprettet.'
109
+ destroy:
110
+ notice: 'Applikasjon slettet.'
111
+ update:
112
+ notice: 'Applikasjon oppdatert.'
113
+ authorized_applications:
114
+ destroy:
115
+ notice: 'Applikasjon tilbakekalt.'
116
+
117
+ layouts:
118
+ admin:
119
+ nav:
120
+ oauth2_provider: 'OAuth2 Levrandør'
121
+ applications: 'Applikasjoner'
122
+ home: 'Hjem'
123
+ application:
124
+ title: 'OAuth autorisering nødvendig'
@@ -0,0 +1,124 @@
1
+ nl:
2
+ activerecord:
3
+ attributes:
4
+ doorkeeper/application:
5
+ name: 'Naam'
6
+ redirect_uri: 'Redirect URI'
7
+ errors:
8
+ models:
9
+ doorkeeper/application:
10
+ attributes:
11
+ redirect_uri:
12
+ fragment_present: 'kan geen fragment bevatten.'
13
+ invalid_uri: 'moet een geldige URI zijn.'
14
+ relative_uri: 'moet een absolute URI zijn.'
15
+ secured_uri: 'moet een HTTPS/SSL URI zijn.'
16
+
17
+ doorkeeper:
18
+ applications:
19
+ confirmations:
20
+ destroy: 'Weet je het zeker?'
21
+ buttons:
22
+ edit: 'Bewerken'
23
+ destroy: 'Verwijderen'
24
+ submit: 'Opslaan'
25
+ cancel: 'Annuleren'
26
+ authorize: 'Authoriseren'
27
+ form:
28
+ error: 'Oops! Controleer het formulier op fouten'
29
+ help:
30
+ redirect_uri: 'Gebruik één regel per URI. '
31
+ native_redirect_uri: 'Gebruik %{native_redirect_uri} voor lokale tests'
32
+ scopes: 'Scheid scopes met spaties. Laat leeg om de standaard scopes te gebruiken.'
33
+ edit:
34
+ title: 'Bewerk applicatie'
35
+ index:
36
+ title: 'Jouw applicaties'
37
+ new: 'Nieuwe applicatie'
38
+ name: 'Naam'
39
+ callback_url: 'Callback URL'
40
+ new:
41
+ title: 'Nieuwe applicatie'
42
+ show:
43
+ title: 'Applicatie: %{name}'
44
+ application_id: 'Applicatie Id'
45
+ secret: 'Secret'
46
+ scopes: 'Scopes'
47
+ callback_urls: 'Callback urls'
48
+ actions: 'Acties'
49
+
50
+ authorizations:
51
+ buttons:
52
+ authorize: 'Authoriseren'
53
+ deny: 'Weigeren'
54
+ error:
55
+ title: 'Er is een fout opgetreden'
56
+ new:
57
+ title: 'Authorisatie vereist'
58
+ prompt: '%{client_name} authoriseren om uw account te gebruiken?'
59
+ able_to: 'Deze applicatie zal in staat zijn om'
60
+ show:
61
+ title: 'Authorisatie code'
62
+
63
+ authorized_applications:
64
+ confirmations:
65
+ revoke: 'Weet je het zeker?'
66
+ buttons:
67
+ revoke: 'Intrekken'
68
+ index:
69
+ title: 'Jouw geauthoriseerde applicaties'
70
+ application: 'Applicatie'
71
+ created_at: 'Aangemaakt op'
72
+ date_format: '%d-%m-%Y %H:%M:%S'
73
+
74
+ errors:
75
+ messages:
76
+ # Common error messages
77
+ invalid_request: 'Het verzoek mist een vereiste parameter, bevat een niet-ondersteunde parameter waarde of is anderszins onjuist.'
78
+ invalid_redirect_uri: 'De opgegeven redirect uri is niet geldig.'
79
+ unauthorized_client: 'De client is niet bevoegd om dit verzoek met deze methode uit te voeren.'
80
+ access_denied: 'De resource eigenaar of authorisatie-server weigerde het verzoek.'
81
+ invalid_scope: 'De opgevraagde scope is niet geldig, onbekend of onjuist.'
82
+ server_error: 'De authorisatie server is een onverwachte voorwaarde tegengekomen die het verzoek verhinderd.'
83
+ temporarily_unavailable: 'De authorisatie-server is momenteel niet in staat het verzoek te behandelen als gevolg van een tijdelijke overbelasting of onderhoud aan de server.'
84
+
85
+ #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
+
89
+ # Access grant errors
90
+ unsupported_response_type: 'De authorisatie server ondersteund dit response type niet'
91
+
92
+ # Access token errors
93
+ invalid_client: 'Client verificatie is mislukt door onbekende klant, geen client authenticatie opgegeven, of een niet-ondersteunde authenticatie methode.'
94
+ 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
+ unsupported_grant_type: 'Het type authorisatie is niet ondersteund door de authorisatie-server'
96
+
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
+ invalid_token:
101
+ revoked: "Het toegangstoken is geweigerd"
102
+ expired: "Het toegangstoken is verlopen"
103
+ unknown: "Het toegangstoken is ongeldig"
104
+
105
+ flash:
106
+ applications:
107
+ create:
108
+ notice: 'Applicatie aangemaakt.'
109
+ destroy:
110
+ notice: 'Applicatie verwijderd.'
111
+ update:
112
+ notice: 'Applicatie bewerkt.'
113
+ authorized_applications:
114
+ destroy:
115
+ notice: 'Applicatie ingetrokken.'
116
+
117
+ layouts:
118
+ admin:
119
+ nav:
120
+ oauth2_provider: 'OAuth2 Provider'
121
+ applications: 'Applicaties'
122
+ home: 'Home'
123
+ application:
124
+ title: 'OAuth authorisatie vereist'
@@ -119,5 +119,6 @@ pt-BR:
119
119
  nav:
120
120
  oauth2_provider: 'Provedor OAuth2 (OAuth2 Provider)'
121
121
  applications: 'Aplicações'
122
+ home: 'Home'
122
123
  application:
123
124
  title: 'Autorização OAuth necessária'
@@ -29,7 +29,7 @@ zh-CN:
29
29
  help:
30
30
  redirect_uri: '每行只能有一个 URL'
31
31
  native_redirect_uri: '使用 %{native_redirect_uri} 作为本地测试'
32
- scopes: ~
32
+ scopes: '用空格隔开scope,留空则使用默认设置'
33
33
  edit:
34
34
  title: '修改应用'
35
35
  index:
@@ -43,7 +43,7 @@ zh-CN:
43
43
  title: '应用: %{name}'
44
44
  application_id: '应用 ID'
45
45
  secret: '私钥'
46
- scopes: ~
46
+ scopes: 'Scopes'
47
47
  callback_urls: '登录回调地址'
48
48
  actions: '操作'
49
49
 
@@ -119,5 +119,6 @@ zh-CN:
119
119
  nav:
120
120
  oauth2_provider: 'OAuth2 Provider'
121
121
  applications: '应用'
122
+ home: '首页'
122
123
  application:
123
124
  title: 'OAuth 认证'
@@ -119,5 +119,6 @@ zh-TW:
119
119
  nav:
120
120
  oauth2_provider: 'OAuth2 Provider'
121
121
  applications: '應用'
122
+ home: 'Home'
122
123
  application:
123
124
  title: 'OAuth 認證需求'
@@ -4,5 +4,6 @@ Dir.glob('rails/locales/*.yml').each do |locale_file|
4
4
  describe "a doorkeeper-i18n #{locale_file} locale file" do
5
5
  it_behaves_like 'a valid locale file', locale_file
6
6
  it { expect(locale_file).to be_a_subset_of 'rails/locales/en.yml' }
7
+ it { expect('rails/locales/en.yml').to be_a_subset_of locale_file }
7
8
  end
8
9
  end
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: 3.0.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tute Costa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-26 00:00:00.000000000 Z
11
+ date: 2016-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -74,8 +74,8 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - ".travis.yml"
77
78
  - Gemfile
78
- - Gemfile.lock
79
79
  - MIT-LICENSE
80
80
  - README.md
81
81
  - Rakefile
@@ -83,11 +83,14 @@ files:
83
83
  - lib/doorkeeper-i18n.rb
84
84
  - lib/doorkeeper-i18n/railtie.rb
85
85
  - log/development.log
86
+ - rails/locales/de.yml
86
87
  - rails/locales/en.yml
87
88
  - rails/locales/es.yml
88
89
  - rails/locales/fr.yml
89
90
  - rails/locales/it.yml
90
91
  - rails/locales/ja.yml
92
+ - rails/locales/nb.yml
93
+ - rails/locales/nl.yml
91
94
  - rails/locales/pt-BR.yml
92
95
  - rails/locales/zh-CN.yml
93
96
  - rails/locales/zh-TW.yml
@@ -115,9 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
118
  version: '0'
116
119
  requirements: []
117
120
  rubyforge_project:
118
- rubygems_version: 2.4.5.1
121
+ rubygems_version: 2.5.1
119
122
  signing_key:
120
123
  specification_version: 4
121
124
  summary: Translations for doorkeeper rubygem.
122
125
  test_files: []
123
- has_rdoc:
data/Gemfile.lock DELETED
@@ -1,89 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- doorkeeper-i18n (2.0.0)
5
-
6
- GEM
7
- remote: http://rubygems.org/
8
- specs:
9
- actionpack (4.2.5)
10
- actionview (= 4.2.5)
11
- activesupport (= 4.2.5)
12
- rack (~> 1.6)
13
- rack-test (~> 0.6.2)
14
- rails-dom-testing (~> 1.0, >= 1.0.5)
15
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
16
- actionview (4.2.5)
17
- activesupport (= 4.2.5)
18
- builder (~> 3.1)
19
- erubis (~> 2.7.0)
20
- rails-dom-testing (~> 1.0, >= 1.0.5)
21
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
22
- activesupport (4.2.5)
23
- i18n (~> 0.7)
24
- json (~> 1.7, >= 1.7.7)
25
- minitest (~> 5.1)
26
- thread_safe (~> 0.3, >= 0.3.4)
27
- tzinfo (~> 1.1)
28
- builder (3.2.2)
29
- diff-lcs (1.2.5)
30
- erubis (2.7.0)
31
- i18n (0.7.0)
32
- i18n-spec (0.6.0)
33
- iso
34
- iso (0.2.1)
35
- i18n
36
- json (1.8.3)
37
- loofah (2.0.3)
38
- nokogiri (>= 1.5.9)
39
- mini_portile (0.6.2)
40
- minitest (5.8.3)
41
- nokogiri (1.6.6.4)
42
- mini_portile (~> 0.6.0)
43
- rack (1.6.4)
44
- rack-test (0.6.3)
45
- rack (>= 1.0)
46
- rails-deprecated_sanitizer (1.0.3)
47
- activesupport (>= 4.2.0.alpha)
48
- rails-dom-testing (1.0.7)
49
- activesupport (>= 4.2.0.beta, < 5.0)
50
- nokogiri (~> 1.6.0)
51
- rails-deprecated_sanitizer (>= 1.0.1)
52
- rails-html-sanitizer (1.0.2)
53
- loofah (~> 2.0)
54
- railties (4.2.5)
55
- actionpack (= 4.2.5)
56
- activesupport (= 4.2.5)
57
- rake (>= 0.8.7)
58
- thor (>= 0.18.1, < 2.0)
59
- rake (10.4.2)
60
- rspec (3.2.0)
61
- rspec-core (~> 3.2.0)
62
- rspec-expectations (~> 3.2.0)
63
- rspec-mocks (~> 3.2.0)
64
- rspec-core (3.2.1)
65
- rspec-support (~> 3.2.0)
66
- rspec-expectations (3.2.0)
67
- diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.2.0)
69
- rspec-mocks (3.2.1)
70
- diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.2.0)
72
- rspec-support (3.2.2)
73
- thor (0.19.1)
74
- thread_safe (0.3.5)
75
- tzinfo (1.2.2)
76
- thread_safe (~> 0.1)
77
-
78
- PLATFORMS
79
- ruby
80
-
81
- DEPENDENCIES
82
- doorkeeper-i18n!
83
- i18n-spec (~> 0.6.0)
84
- railties
85
- rake
86
- rspec
87
-
88
- BUNDLED WITH
89
- 1.10.6