lato 3.12.0 โ 3.13.0
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/README.md +1 -1
- data/app/views/lato/components/_operation.html.erb +8 -8
- data/config/locales/en.yml +6 -0
- data/config/locales/it.yml +6 -0
- data/lib/lato/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd51e6200f38ef058645aae3e2684f967d2bcdd2965d7bdfd36b8f73ab6b5007
|
4
|
+
data.tar.gz: 1cee6903435fac581f18be2c0e7c6fda2fc6a2d1f141cea02bacf4f6f58f315c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8629876c8baa8092aa4ba662ddb5e492b68b11a75c985684e10d4fb04b24c9f13db65d542a47bda39cb454638a665a41e3df4764ec17c71d1ed3d5eddd367e07
|
7
|
+
data.tar.gz: 2920b2de9e327a6bcc2e6ff24ccf9cf9e2a5dbd4ee7d4cecdac1e8d9fa5e2db2ea3a1719de37cdaa102190a67849e93af3d6335a96116c4abd9bd5ed756d9f02
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ The gem is ready to be used with the **latest Rails 7+** features like **[ESM im
|
|
17
17
|
|
18
18
|
<img src="./preview.gif" alt="Lato preview" width="100%">
|
19
19
|
|
20
|
-
## Full documentation
|
20
|
+
## Full documentation
|
21
21
|
|
22
22
|
The full documentation is available at: ๐ ๐ [THIS LINK](http://lato.gregoriogalante.com/) ๐ ๐
|
23
23
|
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<div data-controller="lato-operation">
|
3
3
|
<% if operation.created_status? %>
|
4
4
|
<div class="text-center">
|
5
|
-
<h2
|
6
|
-
<p
|
5
|
+
<h2><%= I18n.t('lato.operation_title') %></h2>
|
6
|
+
<p><%= I18n.t('lato.operation_subtitle') %></p>
|
7
7
|
<div class="progress" style="height: 20px;">
|
8
8
|
<div class="progress-bar progress-bar-animated progress-bar-striped bg-primary" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
|
9
9
|
</div>
|
@@ -12,8 +12,8 @@
|
|
12
12
|
|
13
13
|
<% if operation.running_status? %>
|
14
14
|
<div class="text-center">
|
15
|
-
<h2
|
16
|
-
<p
|
15
|
+
<h2><%= I18n.t('lato.operation_title') %></h2>
|
16
|
+
<p><%= I18n.t('lato.operation_subtitle') %></p>
|
17
17
|
<% if operation.percentage.nil? %>
|
18
18
|
<div class="progress" style="height: 20px;">
|
19
19
|
<div class="progress-bar progress-bar-animated progress-bar-striped bg-primary" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
|
@@ -31,8 +31,8 @@
|
|
31
31
|
<div class="fs-1 text-success">
|
32
32
|
<i class="bi bi-check-circle"></i>
|
33
33
|
</div>
|
34
|
-
<h2
|
35
|
-
<p
|
34
|
+
<h2><%= I18n.t('lato.operation_completed_title') %></h2>
|
35
|
+
<p><%= I18n.t('lato.operation_completed_subtitle') %></p>
|
36
36
|
|
37
37
|
<% if operation.output_file? %>
|
38
38
|
<%= link_to '', main_app.url_for(operation.output_file), download: true, class: 'd-none', data: { lato_operation_target: 'outputFile' } %>
|
@@ -51,8 +51,8 @@
|
|
51
51
|
<div class="fs-1 text-danger">
|
52
52
|
<i class="bi bi-x-circle"></i>
|
53
53
|
</div>
|
54
|
-
<h2
|
55
|
-
<p
|
54
|
+
<h2><%= I18n.t('lato.operation_failed_title') %></h2>
|
55
|
+
<p><%= I18n.t('lato.operation_failed_subtitle') %></p>
|
56
56
|
<% if operation.output_error? %>
|
57
57
|
<p class="text-danger fw-bold">
|
58
58
|
<%= operation.output_error %>
|
data/config/locales/en.yml
CHANGED
@@ -64,6 +64,12 @@ en:
|
|
64
64
|
confirm_title: Confirm
|
65
65
|
confirm_yes: Yes, confirm
|
66
66
|
confirm_no: No, cancel
|
67
|
+
operation_title: Running operation
|
68
|
+
operation_subtitle: Please wait..
|
69
|
+
operation_completed_title: Operation completed
|
70
|
+
operation_completed_subtitle: The operation has been completed successfully
|
71
|
+
operation_failed_title: Operation failed
|
72
|
+
operation_failed_subtitle: The operation has failed because of an error
|
67
73
|
|
68
74
|
invitation_mailer:
|
69
75
|
invite_mail_subject: You received an invitation
|
data/config/locales/it.yml
CHANGED
@@ -66,6 +66,12 @@ it:
|
|
66
66
|
confirm_title: Conferma
|
67
67
|
confirm_yes: Sรฌ, procedi
|
68
68
|
confirm_no: No, annulla
|
69
|
+
operation_title: Operazione in corso
|
70
|
+
operation_subtitle: Si prega di attendere..
|
71
|
+
operation_completed_title: Operazione completata
|
72
|
+
operation_completed_subtitle: L'operazione รจ stata completata con successo
|
73
|
+
operation_failed_title: Operazione fallita
|
74
|
+
operation_failed_subtitle: Si รจ verificato un errore durante l'operazione
|
69
75
|
|
70
76
|
invitation_mailer:
|
71
77
|
invite_mail_subject: Hai ricevuto un invito
|
data/lib/lato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|