haveapi-client 0.29.2 → 0.29.3
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 +4 -4
- data/lib/haveapi/client/locales/cs.yml +30 -28
- data/lib/haveapi/client/locales/en.yml +20 -17
- data/lib/haveapi/client/version.rb +1 -1
- data/spec/i18n_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec09f9c986a1d70494492989384278398a16354ec383ff3e3aeb011dd76ab9ed
|
|
4
|
+
data.tar.gz: 8c4ea850abb4422328ac84ebb8fbda38dcfb1929cd2a9b7f8fe62adf5e79f532
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c2edb00db3357d5a096cee1e582f74347f73404312f7df42564fb2edf4bd695496f0ebcecc4fe75fb908b40cc17b246bf086f422a8e0c7b3fe9a8cc7dc47572
|
|
7
|
+
data.tar.gz: 33b212fbfc310e85698919b780f175be7252361f0461f90ab61e6126c94bf4f948c7210f25c406473462ef087f0c35882f7874d7c35a823e65ccdee594dda5b4
|
|
@@ -5,41 +5,43 @@
|
|
|
5
5
|
cs:
|
|
6
6
|
haveapi_client:
|
|
7
7
|
authentication:
|
|
8
|
-
callback_failed:
|
|
9
|
-
callback_invalid_return:
|
|
10
|
-
callback_required:
|
|
11
|
-
invalid_credentials:
|
|
8
|
+
callback_failed: 'Callback %{callback} selhal: %{error}'
|
|
9
|
+
callback_invalid_return: Callback musí vrátit pole nebo 'stop'
|
|
10
|
+
callback_required: Je potřeba implementovat callback %{callback}
|
|
11
|
+
invalid_credentials: Neplatné přihlašovací údaje
|
|
12
12
|
invalid_oauth2_pkce_verifier: Neplatný OAuth2 PKCE verifier
|
|
13
|
-
invalid_oauth2_state: Neplatný OAuth2 state
|
|
14
|
-
mfa_required:
|
|
15
|
-
multistep_callback_required:
|
|
13
|
+
invalid_oauth2_state: Neplatný parametr OAuth2 state
|
|
14
|
+
mfa_required: Klient musí implementovat vícefaktorové ověření
|
|
15
|
+
multistep_callback_required: Je potřeba přidat callback pro zpracování vícefázové
|
|
16
|
+
autentizace
|
|
16
17
|
oauth2_access_token_required: Volba access_token musí být zadána
|
|
17
|
-
oauth2_not_configured: OAuth2
|
|
18
|
-
oauth2_revoke_failed: Přístupový token
|
|
19
|
-
token_request_failed: 'Token
|
|
20
|
-
token_revoke_failed: 'Token
|
|
21
|
-
token_step_failed: 'Krok
|
|
22
|
-
unsupported_auth_action: Nepodporovaná
|
|
18
|
+
oauth2_not_configured: OAuth2 autentizace není nastavena
|
|
19
|
+
oauth2_revoke_failed: Přístupový token se nepodařilo zneplatnit, HTTP %{status}
|
|
20
|
+
token_request_failed: 'Token se nepodařilo vyžádat: %{message}'
|
|
21
|
+
token_revoke_failed: 'Token se nepodařilo zneplatnit: %{message}'
|
|
22
|
+
token_step_failed: 'Krok autentizace ''%{action}'' se nezdařil: %{message}'
|
|
23
|
+
unsupported_auth_action: Nepodporovaná autentizační akce '%{action}'
|
|
23
24
|
errors:
|
|
24
|
-
access_forbidden:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
access_forbidden: |-
|
|
26
|
+
Přístup odepřen.
|
|
27
|
+
Chybné uživatelské jméno nebo heslo? Nedostatečná oprávnění?
|
|
28
|
+
action_failed: 'Akce %{action} se nezdařila: %{message}'
|
|
29
|
+
fatal_api_error: 'Závažná chyba API: %{error}'
|
|
30
|
+
input_parameters_not_valid: Vstupní parametry jsou neplatné
|
|
29
31
|
input_parameters_not_valid_for_action: Vstupní parametry pro akci '%{action}'
|
|
30
|
-
|
|
31
|
-
invalid_input_parameters:
|
|
32
|
-
uncancelable_action: '
|
|
33
|
-
unresolved_arguments: 'Akci ''%{action}'' nelze spustit: chybí argumenty'
|
|
32
|
+
jsou neplatné
|
|
33
|
+
invalid_input_parameters: Neplatné vstupní parametry
|
|
34
|
+
uncancelable_action: 'Akci se stavem #%{id} nelze zrušit'
|
|
35
|
+
unresolved_arguments: 'Akci ''%{action}'' nelze spustit: chybí argumenty cesty'
|
|
34
36
|
validation:
|
|
35
37
|
cannot_be_null: nesmí být null
|
|
36
|
-
invalid_boolean:
|
|
38
|
+
invalid_boolean: není platná pravdivostní hodnota
|
|
37
39
|
invalid_datetime: není ve formátu ISO 8601
|
|
38
|
-
invalid_float:
|
|
40
|
+
invalid_float: není platné desetinné číslo
|
|
39
41
|
invalid_input_layout: neplatná struktura vstupu
|
|
40
|
-
invalid_integer:
|
|
41
|
-
invalid_resource_id: neplatné ID
|
|
42
|
-
invalid_string:
|
|
43
|
-
required_parameter_missing: povinný parametr
|
|
42
|
+
invalid_integer: není platné celé číslo
|
|
43
|
+
invalid_resource_id: neplatné ID zdroje
|
|
44
|
+
invalid_string: není platný řetězec
|
|
45
|
+
required_parameter_missing: chybí povinný parametr
|
|
44
46
|
validation_failed: validace selhala
|
|
45
47
|
validation_failed_with_errors: 'validace selhala: %{errors}'
|
|
@@ -5,31 +5,34 @@
|
|
|
5
5
|
en:
|
|
6
6
|
haveapi_client:
|
|
7
7
|
authentication:
|
|
8
|
-
callback_failed:
|
|
9
|
-
callback_invalid_return: callback
|
|
10
|
-
callback_required:
|
|
11
|
-
invalid_credentials:
|
|
8
|
+
callback_failed: 'Callback %{callback} failed: %{error}'
|
|
9
|
+
callback_invalid_return: The callback must return an array or 'stop'
|
|
10
|
+
callback_required: Callback %{callback} must be implemented
|
|
11
|
+
invalid_credentials: Invalid credentials
|
|
12
12
|
invalid_oauth2_pkce_verifier: Invalid OAuth2 PKCE verifier
|
|
13
13
|
invalid_oauth2_state: Invalid OAuth2 state
|
|
14
|
-
mfa_required:
|
|
15
|
-
multistep_callback_required:
|
|
16
|
-
oauth2_access_token_required:
|
|
14
|
+
mfa_required: Multi-factor authentication support must be implemented
|
|
15
|
+
multistep_callback_required: Add a callback to handle multi-step authentication
|
|
16
|
+
oauth2_access_token_required: The access_token option must be provided
|
|
17
17
|
oauth2_not_configured: OAuth2 authentication is not configured
|
|
18
18
|
oauth2_revoke_failed: Unable to revoke access token, HTTP %{status}
|
|
19
19
|
token_request_failed: 'Unable to request token: %{message}'
|
|
20
20
|
token_revoke_failed: 'Unable to revoke token: %{message}'
|
|
21
|
-
token_step_failed: '
|
|
21
|
+
token_step_failed: 'Authentication step ''%{action}'' failed: %{message}'
|
|
22
22
|
unsupported_auth_action: Unsupported authentication action '%{action}'
|
|
23
23
|
errors:
|
|
24
|
-
access_forbidden:
|
|
25
|
-
|
|
24
|
+
access_forbidden: |-
|
|
25
|
+
Access forbidden.
|
|
26
|
+
Bad username or password? Insufficient permissions?
|
|
27
|
+
action_failed: 'Action %{action} failed: %{message}'
|
|
26
28
|
fatal_api_error: 'Fatal API error: %{error}'
|
|
27
|
-
input_parameters_not_valid:
|
|
28
|
-
input_parameters_not_valid_for_action: Input parameters not valid for action
|
|
29
|
+
input_parameters_not_valid: Input parameters are not valid
|
|
30
|
+
input_parameters_not_valid_for_action: Input parameters are not valid for action
|
|
29
31
|
'%{action}'
|
|
30
|
-
invalid_input_parameters:
|
|
31
|
-
uncancelable_action: 'Action state #%{id} cannot be cancelled'
|
|
32
|
-
unresolved_arguments: 'Unable to execute action ''%{action}'': unresolved
|
|
32
|
+
invalid_input_parameters: Invalid input parameters
|
|
33
|
+
uncancelable_action: 'Action with state #%{id} cannot be cancelled'
|
|
34
|
+
unresolved_arguments: 'Unable to execute action ''%{action}'': unresolved path
|
|
35
|
+
arguments'
|
|
33
36
|
validation:
|
|
34
37
|
cannot_be_null: cannot be null
|
|
35
38
|
invalid_boolean: not a valid boolean
|
|
@@ -37,8 +40,8 @@ en:
|
|
|
37
40
|
invalid_float: not a valid float
|
|
38
41
|
invalid_input_layout: invalid input layout
|
|
39
42
|
invalid_integer: not a valid integer
|
|
40
|
-
invalid_resource_id: not a valid resource
|
|
43
|
+
invalid_resource_id: not a valid resource ID
|
|
41
44
|
invalid_string: not a valid string
|
|
42
|
-
required_parameter_missing: required parameter missing
|
|
45
|
+
required_parameter_missing: required parameter is missing
|
|
43
46
|
validation_failed: validation failed
|
|
44
47
|
validation_failed_with_errors: 'validation failed: %{errors}'
|
data/spec/i18n_spec.rb
CHANGED
|
@@ -29,8 +29,8 @@ RSpec.describe HaveAPI::Client::Client do
|
|
|
29
29
|
|
|
30
30
|
expect { client.test.echo(valid_params.merge(i: 'abc')) }
|
|
31
31
|
.to raise_error(HaveAPI::Client::ValidationError) do |err|
|
|
32
|
-
expect(err.message).to include('
|
|
33
|
-
expect(err.errors[:i]).to include('
|
|
32
|
+
expect(err.message).to include('Vstupní parametry jsou neplatné')
|
|
33
|
+
expect(err.errors[:i]).to include('není platné celé číslo')
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
end
|