thecore_ui_rails_admin 3.8.1 → 3.8.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6fd3925ac3731ba34c6a8309921a3b2fc6e809ce252d4f35154bf64cfeb16e91
|
|
4
|
+
data.tar.gz: a3fbabe5802a62f590f901de7459b467ff5bf7f0ca310de8054afc93d9491492
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6c9b11bf195a4a09f47a57681a96b60875378ddda5e7c6745d7141766e639de9092c4a044e2c6595d9b8f0376866d5dda487407db279e3b93e08b33de4418a4d
|
|
7
|
+
data.tar.gz: c0bdd3226419acfa5a665e2205883b2e92f6ae186b40fda3e3954d677584d9292c1087fa0f4435d43b88b5027245cd291858b0cf0b02cd33de96cb4815a47c90
|
|
@@ -41,7 +41,7 @@ en:
|
|
|
41
41
|
breadcrumb: Change Password
|
|
42
42
|
menu: Change Password
|
|
43
43
|
success: Your password was changed successfully
|
|
44
|
-
error: Warning!
|
|
44
|
+
error: "Warning! Please correct the highlighted field(s) below."
|
|
45
45
|
requirements: "Password requirements: at least %{min_length} characters, including at least one uppercase letter, one lowercase letter, one number, and one special character (e.g. ! @ # $ % &). The password and its confirmation must match."
|
|
46
46
|
save_filters:
|
|
47
47
|
success: Filters saved successfully
|
|
@@ -41,7 +41,7 @@ it:
|
|
|
41
41
|
breadcrumb: Cambia Password
|
|
42
42
|
menu: Cambia Password
|
|
43
43
|
success: La tua password è stata cambiata con successo
|
|
44
|
-
error: "Attenzione!
|
|
44
|
+
error: "Attenzione! Controlla i campi evidenziati qui sotto."
|
|
45
45
|
requirements: "Requisiti password: almeno %{min_length} caratteri, con almeno una lettera maiuscola, una lettera minuscola, un numero e un carattere speciale (es. ! @ # $ % &). Password e conferma devono coincidere."
|
|
46
46
|
save_filters:
|
|
47
47
|
success: Filtri salvati con successo
|
|
@@ -19,8 +19,12 @@ RailsAdmin::Config::Actions.add_action "change_password", :base, :member do
|
|
|
19
19
|
else
|
|
20
20
|
# Stay on the change_password page, highlighting the error the same
|
|
21
21
|
# way RailsAdmin's own edit/new forms do on a validation failure --
|
|
22
|
-
# @object keeps its errors for the re-rendered form to read.
|
|
23
|
-
|
|
22
|
+
# @object keeps its errors for the re-rendered form to read. The flash
|
|
23
|
+
# is deliberately generic (no error list): the view already renders
|
|
24
|
+
# each field's own errors inline, right next to that field -- listing
|
|
25
|
+
# the same @object.errors.full_messages again up here would just show
|
|
26
|
+
# every message twice on a two-field form.
|
|
27
|
+
flash.now[:error] = I18n.t("admin.actions.change_password.error")
|
|
24
28
|
render :change_password, status: :not_acceptable
|
|
25
29
|
end
|
|
26
30
|
end
|