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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aadafe0850acec99cad51f9b499db2c090a6342b2fe97f5360c568bd9c3ee72b
4
- data.tar.gz: eb4cb537bc88a79a55c58a039ba712e239b1e8d263611dac10946b2c6719f669
3
+ metadata.gz: ec09f9c986a1d70494492989384278398a16354ec383ff3e3aeb011dd76ab9ed
4
+ data.tar.gz: 8c4ea850abb4422328ac84ebb8fbda38dcfb1929cd2a9b7f8fe62adf5e79f532
5
5
  SHA512:
6
- metadata.gz: a75e321e1d88ff5766cc602a627f58ea3378fb2c0256a8d1710fa5239cff1d43c7e55797b0b9d603bea0de5c111e61745d6a2cd1a9e769ca8159e0ab7a9d4c03
7
- data.tar.gz: b3901268cd849586be03bcb75f38af7893978b7e4480367f203fd070e0e870ca33039e30380fcb896af05963df45527eaee2619396769987d0344ae89b0be9ce
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: "%{callback} selhal: %{error}"
9
- callback_invalid_return: callback musí vrátit pole nebo 'stop'
10
- callback_required: Implementujte callback %{callback}
11
- invalid_credentials: neplatné přihlašovací údaje
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: implementujte vícefaktorové ověření
15
- multistep_callback_required: přidejte callback pro zpracování vícefázového ověření
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 ověření není nastaveno
18
- oauth2_revoke_failed: Přístupový token nelze zrušit, HTTP %{status}
19
- token_request_failed: 'Token nelze vyžádat: %{message}'
20
- token_revoke_failed: 'Token nelze zrušit: %{message}'
21
- token_step_failed: 'Krok ověření ''%{action}'' selhal: %{message}'
22
- unsupported_auth_action: Nepodporovaná ověřovací akce '%{action}'
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: Přístup odepřen. Chybné uživatelské jméno nebo heslo? Nejste
25
- oprávněni?
26
- action_failed: "%{action} selhala: %{message}"
27
- fatal_api_error: 'Fatální chyba API: %{error}'
28
- input_parameters_not_valid: vstupní parametry nejsou platné
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
- nejsou platné
31
- invalid_input_parameters: neplatné vstupní parametry
32
- uncancelable_action: 'Stav akce #%{id} nelze zrušit'
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: neplatná pravdivostní hodnota
38
+ invalid_boolean: není platná pravdivostní hodnota
37
39
  invalid_datetime: není ve formátu ISO 8601
38
- invalid_float: neplatné desetinné číslo
40
+ invalid_float: není platné desetinné číslo
39
41
  invalid_input_layout: neplatná struktura vstupu
40
- invalid_integer: neplatné celé číslo
41
- invalid_resource_id: neplatné ID prostředku
42
- invalid_string: neplatný řetězec
43
- required_parameter_missing: povinný parametr chybí
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: "%{callback} failed: %{error}"
9
- callback_invalid_return: callback has to return an array or 'stop'
10
- callback_required: Implement callback %{callback}
11
- invalid_credentials: 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: implement multi-factor authentication
15
- multistep_callback_required: add callback to handle multi-step authentication
16
- oauth2_access_token_required: Option access_token must be provided
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: 'Failed at authentication step ''%{action}'': %{message}'
21
+ token_step_failed: 'Authentication step ''%{action}'' failed: %{message}'
22
22
  unsupported_auth_action: Unsupported authentication action '%{action}'
23
23
  errors:
24
- access_forbidden: Access forbidden. Bad user name or password? Not authorized?
25
- action_failed: "%{action} failed: %{message}"
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: 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: invalid input parameters
31
- uncancelable_action: 'Action state #%{id} cannot be cancelled'
32
- unresolved_arguments: 'Unable to execute action ''%{action}'': unresolved arguments'
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 id
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}'
@@ -1,6 +1,6 @@
1
1
  module HaveAPI
2
2
  module Client
3
3
  PROTOCOL_VERSION = '2.0'.freeze
4
- VERSION = '0.29.2'.freeze
4
+ VERSION = '0.29.3'.freeze
5
5
  end
6
6
  end
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('vstupní parametry nejsou platné')
33
- expect(err.errors[:i]).to include('neplatné celé číslo')
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.2
4
+ version: 0.29.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan