egov_utils 1.5.0.alpha5 → 1.5.0.alpha6

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
  SHA256:
3
- metadata.gz: 046c5759eba0d80446d93f8a3c3b8ce4dc18a83aa7fd5c562a5f5cb4dcac7359
4
- data.tar.gz: b8b0bbb2f87977252bca9a46a14d62149ecd9bee5d153b54e4fd6aae3dbbcda3
3
+ metadata.gz: e2bc0db722008e17fe249d9f926ef682158347617a2996376e3d49977988e156
4
+ data.tar.gz: 79ec1be625f5a89a6c2ff83eb23d90cdacf98aebfc8e5f13b408f7575789bf3d
5
5
  SHA512:
6
- metadata.gz: 80a826cb596f3add692963cc1b6b3924138c48409b0c3e91a0459ecd6712573de12f8ca22f2969c54828a89e69889ba9dc8f8bcd8a09fbfa064d96d7fae2e97f
7
- data.tar.gz: 44ce23500051b01ac765299531ff15f9fed61ea7fd11c04056939a5fa0419103d0fb8902e3fc25783880737b9e222ac91a709768142412936512c9002c31483e
6
+ metadata.gz: 5886bc235bf093751ceec0bf69785e7a6f391a24bdb548ba059f0f202f8c8c170b127b9e7f53abb955024aad6ab43d7996672802be88d1dfc4c75ada0587e508
7
+ data.tar.gz: ba7c6a6fb1f924e001d33108451d9dfbb97beebe98d9ddd54f454fa435ba7f85d1ea692de9fea720f17c2ae656ba6c435283442ddc9f0662b52a46fbd81f448c
@@ -45,7 +45,7 @@ module EgovUtils
45
45
  errors.add(:base, :not_found)
46
46
  nil
47
47
  elsif people.count > 1
48
- errors.add(:base, :multiple_results_found)
48
+ errors.add(:base, :multiple_records_found)
49
49
  nil
50
50
  elsif people.count == 1
51
51
  people.first
@@ -98,7 +98,7 @@
98
98
  $old_person_form.find("input[name*='[birth_place]']").val(selected_birth_place);
99
99
  $old_person_form.find("input[name*='[birth_date]']").val(form_data.birth_date);
100
100
  }
101
- else if(error_kind == 'multiple_results_found') {
101
+ else if(error_kind == 'multiple_records_found') {
102
102
  $form_group = $('<div>').addClass('form-group');
103
103
  $label = $('<label>').attr('for', 'birth_place').text('Místo narození');
104
104
  $input = $('<select>').attr('name', 'birth_place').addClass('form-control');
@@ -252,7 +252,7 @@ cs:
252
252
  legal_person:
253
253
  not_found: Osoba nebyla nalezena
254
254
  natural_person:
255
- multiple_results_found: Nalezeno více shod, je nutné doplnit místo narození
255
+ multiple_records_found: Nalezeno více shod, je nutné doplnit místo narození
256
256
  extended_search_not_found: Nebylo možné nalézt osobu
257
257
  extended_search_multiple_records_found: Nalezeno více shod, je nutné údaje ručně vyplnit
258
258
  not_found: Osobu nebylo možné najít
@@ -1,7 +1,7 @@
1
1
  en:
2
2
  errors:
3
3
  messages:
4
- multiple_results_found: Multiple results found
4
+ multiple_records_found: Multiple results found
5
5
  extended_search_not_found: No results found
6
6
  extended_search_multiple_records_found: Multiple results found
7
7
  not_found: No results found
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.5.0.alpha5'
2
+ VERSION = '1.5.0.alpha6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.alpha5
4
+ version: 1.5.0.alpha6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr