bullet_train-themes-tailwind_css 1.7.22 → 1.7.23

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: f8e35e050fdcf65e954ed05172912ac2393605de8a37abde193740b7b6fc01f8
4
- data.tar.gz: 374d1d6a31ce9ba3cbd077020d14650adf7fca0e13cd8921f1187af6db24e63e
3
+ metadata.gz: 20a71035a2bc6529abf1b1171a26c9b5e3c676d860f4c9515dcb47d00301bc6a
4
+ data.tar.gz: 95b69d8288c982c90e8880c6d4b2a400fde94821c50ad2a01146dcee01739506
5
5
  SHA512:
6
- metadata.gz: 9d17b4161133f0c766532d121a56a6a285bbcfa3fa7e4b51eaf7af3c33b728de3d3f0d9874f93e6e333133b2fa25079c362550d9b0ad152c1d9a56ef86069c7a
7
- data.tar.gz: f535499456be001df288cea1e676eca91bf9c7ea0780f07a67aadfbb4eb11e5d1c43ecef1b663fb33941632c2531b8882a9f1ebefc248b459e11258fa96d972f
6
+ metadata.gz: 29e00153833afaacbafd25c075077238b76040b19e9d038c4f5b2a9a1ae8d124484c651739fb43ced7d5899dda8ed21a0f319800765dd2b3152fbb9f5bf8a5fa
7
+ data.tar.gz: 8e61e184147c12e8bd0cf7236e5f7691245f521e4ae1a346db4de9b430f2e2061d1f8e6f71f995a8c5b8659aca0100bedfe1776357bbbc076f54c4d2f5e2115f
@@ -36,15 +36,15 @@ persisted_files = options[:multiple] ? form.object.send(method) : [form.object.s
36
36
  </span>
37
37
  <%= link_to url_for(file), class: 'button download-file mr-3', data: {'fields--file-item-target': 'downloadFileButton'} do %>
38
38
  <i class="leading-none mr-2 text-base ti ti-download"></i>
39
- <span><%= t('fields.download_document') %></span>
39
+ <span><%= t('fields.download_file') %></span>
40
40
  <% end %>
41
41
  <div class="button-alternative cursor-pointer mr-3" data-action="click->fields--file-item#removeFile" data-fields--file-item-target="removeFileButton">
42
42
  <i class="leading-none mr-2 text-base ti ti-trash"></i>
43
- <span><%= t('fields.remove_document') %></span>
43
+ <span><%= t('fields.remove_file') %></span>
44
44
  </div>
45
45
  <div class="button-alternative cursor-pointer mr-3 hidden" data-action="click->fields--file-item#cancelRemoveFile" data-fields--file-item-target="cancelRemoveFileButton">
46
46
  <i class="leading-none mr-2 text-base ti ti-na"></i>
47
- <span><%= t('fields.cancel_remove_document') %></span>
47
+ <span><%= t('fields.cancel_remove_file') %></span>
48
48
  </div>
49
49
  </div>
50
50
  <% end %>
@@ -71,13 +71,13 @@ persisted_files = options[:multiple] ? form.object.send(method) : [form.object.s
71
71
  <i class="leading-none mr-2 text-base ti ti-upload dark:text-white" data-fields--file-field-target="selectFileButtonIcon"></i>
72
72
  <span class="dark:text-white" data-fields--file-field-target="selectFileButtonText">
73
73
  <% if form.object.send(method).attached? && !options[:multiple] %>
74
- <%= t('fields.replace_document') %>
74
+ <%= t('fields.replace_file') %>
75
75
  <% elsif form.object.send(method).attached? && options[:multiple] %>
76
- <%= t('fields.add_another_document') %>
76
+ <%= t('fields.add_another_file') %>
77
77
  <% elsif options[:multiple] %>
78
- <%= t('fields.upload_documents') %>
78
+ <%= t('fields.upload_file') %>
79
79
  <% else %>
80
- <%= t('fields.upload_document') %>
80
+ <%= t('fields.upload_file') %>
81
81
  <% end %>
82
82
  </span>
83
83
  </div>
@@ -1,12 +1,12 @@
1
1
  en:
2
2
  fields:
3
- download_document: Download Current Document
4
- upload_document: Upload New Document
5
- upload_documents: Upload New Documents
6
- add_another_document: Add Another Document
7
- replace_document: Replace Document
8
- remove_document: Remove Current Document
9
- cancel_remove_document: Cancel Removal
3
+ download_file: Download Current File
4
+ upload_file: Upload New File
5
+ upload_files: Upload New Files
6
+ add_another_file: Add Another File
7
+ replace_file: Replace File
8
+ remove_file: Remove Current File
9
+ cancel_remove_file: Cancel Removal
10
10
  download_image: Download Current Image
11
11
  upload_image: Upload New Image
12
12
  upload_images: Upload New Images
@@ -15,3 +15,14 @@ en:
15
15
  remove_image: Remove Current Image
16
16
  cancel_remove_image: Cancel Removal
17
17
  select_different_file: Select A Different File
18
+ # NOTE: These _document translations were the original keys uses for file fields.
19
+ # We've changed all of the templates to reference the _file versions, but we're
20
+ # leaving the _document variants here so that we don't break things for people
21
+ # who have ejected the file field partial.
22
+ download_document: Download Current File
23
+ upload_document: Upload New File
24
+ upload_documents: Upload New Files
25
+ add_another_document: Add Another File
26
+ replace_document: Replace File
27
+ remove_document: Remove Current File
28
+ cancel_remove_document: Cancel Removal
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module Themes
3
3
  module TailwindCss
4
- VERSION = "1.7.22"
4
+ VERSION = "1.7.23"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes-tailwind_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.22
4
+ version: 1.7.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-14 00:00:00.000000000 Z
11
+ date: 2024-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard