formstrap 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -1
- data/app/assets/javascripts/formstrap/controllers/file_preview_controller.js +5 -5
- data/app/assets/javascripts/formstrap/controllers/media_controller.js +4 -2
- data/app/assets/javascripts/formstrap/controllers/media_modal_controller.js +38 -2
- data/app/assets/javascripts/formstrap/controllers/popup_controller.js +75 -0
- data/app/assets/javascripts/formstrap/controllers/repeater_controller.js +4 -4
- data/app/assets/javascripts/formstrap/index.js +2 -0
- data/app/assets/javascripts/formstrap.js +1790 -129
- data/app/assets/stylesheets/formstrap/{forms/autocomplete.scss → autocomplete.scss} +1 -1
- data/app/assets/stylesheets/formstrap/{forms/file.scss → file.scss} +10 -10
- data/app/assets/stylesheets/formstrap/general.scss +8 -1
- data/app/assets/stylesheets/formstrap/media/_modal.scss +9 -0
- data/app/assets/stylesheets/formstrap/{forms/media.scss → media/_validation.scss} +2 -2
- data/app/assets/stylesheets/formstrap/media.scss +2 -1
- data/app/assets/stylesheets/formstrap/{forms/repeater.scss → repeater.scss} +8 -8
- data/app/assets/stylesheets/formstrap/shared/popup.scss +17 -0
- data/app/assets/stylesheets/formstrap/shared/thumbnail.scss +23 -0
- data/app/assets/stylesheets/formstrap/shared.scss +2 -0
- data/app/assets/stylesheets/formstrap/utilities/dropzone.scss +2 -2
- data/app/assets/stylesheets/formstrap/utilities.scss +0 -1
- data/app/assets/stylesheets/formstrap.css +155 -143
- data/app/assets/stylesheets/formstrap.scss +5 -1
- data/app/controllers/formstrap/media_controller.rb +41 -23
- data/app/helpers/application_helper.rb +20 -0
- data/app/models/concerns/formstrap/attachment.rb +16 -0
- data/app/models/concerns/formstrap/blob.rb +56 -0
- data/app/models/formstrap/file_view.rb +3 -3
- data/app/models/formstrap/media_view.rb +12 -1
- data/app/models/formstrap/thumbnail_view.rb +108 -0
- data/app/views/formstrap/_autocomplete.html.erb +1 -1
- data/app/views/formstrap/_file.html.erb +8 -8
- data/app/views/formstrap/_media.html.erb +6 -4
- data/app/views/formstrap/_repeater.html.erb +3 -3
- data/app/views/formstrap/media/_item.html.erb +10 -7
- data/app/views/formstrap/media/_modal.html.erb +35 -8
- data/app/views/formstrap/media/_thumbnail.html.erb +12 -8
- data/app/views/formstrap/media/_validation.html.erb +1 -1
- data/app/views/formstrap/media/create.turbo_stream.erb +3 -1
- data/app/views/formstrap/media/index.html.erb +1 -1
- data/app/views/formstrap/repeater/_row.html.erb +4 -4
- data/app/views/formstrap/shared/_popup.html.erb +1 -1
- data/app/views/formstrap/shared/_thumbnail.html.erb +5 -3
- data/config/locales/formstrap/forms/en.yml +0 -14
- data/config/locales/formstrap/forms/nl.yml +1 -15
- data/config/locales/formstrap/media/en.yml +2 -10
- data/config/locales/formstrap/media/nl.yml +2 -10
- data/config/routes.rb +0 -2
- data/lib/formstrap/version.rb +1 -1
- metadata +17 -30
- data/app/assets/stylesheets/formstrap/forms.scss +0 -12
- data/app/assets/stylesheets/formstrap/media/index.scss +0 -9
- data/app/assets/stylesheets/formstrap/utilities/buttons.scss +0 -27
- data/app/models/formstrap/blocks_view.rb +0 -43
- data/app/views/formstrap/_blocks.html.erb +0 -45
- data/app/views/formstrap/_to_ary.html.erb +0 -0
- data/app/views/formstrap/blocks/_modal.html.erb +0 -20
- data/app/views/formstrap/fields/_base.html.erb +0 -25
- data/app/views/formstrap/fields/_file.html.erb +0 -17
- data/app/views/formstrap/fields/_files.html.erb +0 -17
- data/app/views/formstrap/fields/_group.html.erb +0 -52
- data/app/views/formstrap/fields/_list.html.erb +0 -31
- data/app/views/formstrap/fields/_text.html.erb +0 -17
- data/app/views/formstrap/media/_media_item_modal.html.erb +0 -77
- data/app/views/formstrap/media/show.html.erb +0 -9
- data/app/views/formstrap/media/update.turbo_stream.erb +0 -3
- data/config/locales/activerecord/en.yml +0 -12
- data/config/locales/activerecord/nl.yml +0 -13
- data/config/locales/defaults/en.yml +0 -215
- data/config/locales/defaults/nl.yml +0 -213
- data/config/locales/devise/en.yml +0 -65
- data/config/locales/devise/nl.yml +0 -85
- /data/app/assets/stylesheets/formstrap/{forms/search.scss → search.scss} +0 -0
@@ -1,85 +0,0 @@
|
|
1
|
-
|
2
|
-
# The devise.en.yml file translated to Dutch
|
3
|
-
# https://github.com/plataformatec/devise/blob/master/config/locales/en.yml
|
4
|
-
#
|
5
|
-
# This includes the changes from Devise 4.5 and 4.6:
|
6
|
-
# A new key was added in Devise 4.5: `updated_but_not_signed_in:`
|
7
|
-
# In Devise 4.6, the old helper `<% devise_error_messages %>` was replaced with
|
8
|
-
# `<%= render 'devise/shared/error_messages', resource: resource %>`
|
9
|
-
|
10
|
-
# Starting points for this translation:
|
11
|
-
# * User-centered language: don't tell what the system knows, tell what the user should do or should expect
|
12
|
-
# (Except for widely used messages like 'account confirmed', 'password invalid').
|
13
|
-
# * Make the messages consistent, with proper grammar (especially with regard to verb tenses).
|
14
|
-
# * English has one definite article ('the'); Dutch has two ('het', 'de'). Sometimes rephrasing with 'je' ('your') is a better solution.
|
15
|
-
# * Use informal but polite wording.
|
16
|
-
# * Use `e-mailadres` for the email address (key: `:email`), `mail` for an email message (cf advice Taaldienst).
|
17
|
-
# * Use `update` for `update`, as it is accepted Dutch (Van Dale). But: avoid the hard to read past participle `geüpdatet`.
|
18
|
-
# * Use `account maken` for `sign up`, `inloggen` for `sign in`, consistently.
|
19
|
-
# * Avoid revealing too much information: use the same message for 'invalid' and 'not found in database' failure messages.
|
20
|
-
# * In Dutch, only complete sentences end with `.`.
|
21
|
-
|
22
|
-
|
23
|
-
nl:
|
24
|
-
devise:
|
25
|
-
confirmations:
|
26
|
-
confirmed: Je account is bevestigd.
|
27
|
-
send_instructions: Er is een mail onderweg waarmee je je account kunt bevestigen.
|
28
|
-
send_paranoid_instructions: Als je een account hebt voor dit e-mailadres, ontvang je een mail waarmee je je account kunt bevestigen.
|
29
|
-
failure:
|
30
|
-
already_authenticated: Je bent al ingelogd.
|
31
|
-
inactive: Je account is nog niet actief.
|
32
|
-
invalid: Je %{authentication_keys} of wachtwoord is ongeldig.
|
33
|
-
locked: Je account is geblokkeerd.
|
34
|
-
last_attempt: Je kan het nog één keer proberen voordat je account wordt geblokkeerd.
|
35
|
-
not_found_in_database: Je %{authentication_keys} of wachtwoord is ongeldig.
|
36
|
-
timeout: De sessie is verlopen. Log opnieuw in.
|
37
|
-
unauthenticated: Log eerst in of maak een account.
|
38
|
-
unconfirmed: Bevestig eerst je e-mailadres.
|
39
|
-
mailer:
|
40
|
-
confirmation_instructions:
|
41
|
-
subject: Bevestig je e-mailadres om je account te activeren.
|
42
|
-
reset_password_instructions:
|
43
|
-
subject: Een nieuw wachtwoord instellen.
|
44
|
-
unlock_instructions:
|
45
|
-
subject: De blokkering van je account opheffen.
|
46
|
-
email_changed:
|
47
|
-
subject: Je e-mailadres is aangepast.
|
48
|
-
password_change:
|
49
|
-
subject: Je wachtwoord is aangepast.
|
50
|
-
omniauth_callbacks:
|
51
|
-
failure: Inloggen met je %{kind} account is niet gelukt, doordat \"%{reason}\".
|
52
|
-
success: Je bent nu ingelogd met je %{kind} account.
|
53
|
-
passwords:
|
54
|
-
no_token: Je kunt je wachtwoord hier alleen veranderen vanuit de mail die je is toegestuurd. Klik op de link in de mail of kopieer de hele link in de adresbalk."
|
55
|
-
send_instructions: Er is een mail onderweg met uitleg hoe je je wachtwoord kunt updaten.
|
56
|
-
send_paranoid_instructions: Als je een account hebt voor dit e-mailadres, krijg je een mail waarmee je je wachtwoord kunt updaten."
|
57
|
-
updated: Het updaten van je wachtwoord is gelukt en je bent nu ingelogd.
|
58
|
-
updated_not_active: Het updaten van je wachtwoord is gelukt.
|
59
|
-
registrations:
|
60
|
-
destroyed: Je account is verwijderd. Dag!
|
61
|
-
signed_up: Je account is aangemaakt. Welkom!
|
62
|
-
signed_up_but_inactive: Je account is aangemaakt. Je account is nog niet actief en daarom ben je niet automatisch ingelogd.
|
63
|
-
signed_up_but_locked: Je account is aangemaakt, maar het is geblokkeerd.
|
64
|
-
signed_up_but_unconfirmed: Er is een bevestigingsmail onderweg. Klik op de link in de mail om je e-mailadres te bevestigen.
|
65
|
-
update_needs_confirmation: "Het updaten van je account is gelukt. Je hoeft alleen nog je e-mailadres te bevestigen: klik op de link in de bevestigingsmail."
|
66
|
-
updated: Het updaten van je account is gelukt.
|
67
|
-
updated_but_not_signed_in: Het updaten van je account is gelukt. Je kunt nu inloggen met je nieuwe wachtwoord.
|
68
|
-
sessions:
|
69
|
-
signed_in: Je bent nu ingelogd.
|
70
|
-
signed_out: Je bent nu uitgelogd.
|
71
|
-
already_signed_out: Je was al uitgelogd.
|
72
|
-
unlocks:
|
73
|
-
send_instructions: Er is een mail onderweg waarmee je de blokkering van je account kunt opheffen.
|
74
|
-
send_paranoid_instructions: Als je een account hebt voor dit e-mailadres, krijg je een mail waarmee je de blokkering van je account kunt opheffen.
|
75
|
-
unlocked: Je account werkt weer. Je kunt nu inloggen.
|
76
|
-
errors:
|
77
|
-
messages:
|
78
|
-
already_confirmed: was al bevestigd. Je kunt meteen inloggen.
|
79
|
-
confirmation_period_expired: is niet binnen de vereiste %{period} bevestigd. Vraag een nieuwe bevestigingsmail aan.
|
80
|
-
expired: is niet op tijd bevestigd.
|
81
|
-
not_found: bestaat niet.
|
82
|
-
not_locked: is niet geblokkeerd.
|
83
|
-
not_saved:
|
84
|
-
one: "De %{resource} kon niet worden opgeslagen vanwege een fout:"
|
85
|
-
other: "De %{resource} kon niet worden opgeslagen vanwege %{count} fouten:"
|
File without changes
|