lato 0.1.23 → 0.1.25

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: 9de0f3c577de71281285308e350bed0073176c965ebf547b2f25444b878c1d08
4
- data.tar.gz: 3af1560ba719db9e0c70207691390bdc5f531753e6f03c7c68c26fbc9956a2cc
3
+ metadata.gz: aa9beb746a47be8370c1807d010863aaea3eafd046fa3c84f73918b28d57a149
4
+ data.tar.gz: 31ba29f6fb38c5969426f1f9bf5a1cee242ef44dc30719371949dd9717e79937
5
5
  SHA512:
6
- metadata.gz: 7881dc95427a4bc0dd67a1639acb8522f68dcbda8fc03cbe435e4bc1ccfdd6012b55eedb445f37e9ccc1e43b400e27290379396cb749d700f518eb1bb7c1c454
7
- data.tar.gz: a50fef0983d22202e8b82a5981bddac638d2adcacf0399bd34c7f0fe188fb0e9cb15583c9b3977cc723714bc50bb4315394498722cb349730376351419af53cd
6
+ metadata.gz: aea5bef9a1226bba06120a7548645d7e32097e8f718515e80a6a8f85266aea5d34f901dc2aa5d2f6b865e567766577272890f0d53c263157afdf16fc38feeb97
7
+ data.tar.gz: 32fe506382b9e0edf74d3e6a32835b1b21604853249afdd34980c58738e07eeb8a07998a902879e1bf9cbd165dac481f6702184b8e817273a48b8542891df2cc
@@ -14,7 +14,7 @@
14
14
  <div class="d-flex justify-content-between mb-3">
15
15
  <% if searchable_columns.any? %>
16
16
  <div class="input-group">
17
- <input type="text" name="search" class="form-control" placeholder="Ricerca per: <%= searchable_columns.map { |c| collection.model.human_attribute_name(c) }.to_sentence %>" value="<%= params[:search] %>">
17
+ <input type="text" name="search" class="form-control" placeholder="<%= I18n.t('labels.search_for') %>: <%= searchable_columns.map { |c| collection.model.human_attribute_name(c) }.to_sentence %>" value="<%= params[:search] %>">
18
18
  <button class="btn btn-outline-primary" type="submit"><i class="bi bi-search"></i></button>
19
19
  </div>
20
20
  <% else %>
@@ -80,7 +80,7 @@
80
80
  <% else %>
81
81
  <div></div>
82
82
  <% end %>
83
- <span class="text-muted"><%= collection.count %> risultati visualizzati
83
+ <span class="text-muted"><%= collection.count %> <%= I18n.t('labels.viewed_results').downcase %>
84
84
  </div>
85
85
  </td>
86
86
  </tr>
@@ -18,6 +18,8 @@ en:
18
18
  there_are_some_errors: There are some errors
19
19
  update_password: Update password
20
20
  confirm: Confirm
21
+ search_for: Search for
22
+ viewed_results: Results viewed
21
23
  activerecord:
22
24
  attributes:
23
25
  lato/user:
@@ -20,6 +20,8 @@ it:
20
20
  there_are_some_errors: Si sono verificati i seguenti errori
21
21
  update_password: Aggiornamento password
22
22
  confirm: Conferma
23
+ search_for: Ricerca per
24
+ viewed_results: Risultati visualizzati
23
25
  activerecord:
24
26
  attributes:
25
27
  lato/user:
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "0.1.23"
2
+ VERSION = "0.1.25"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante