awesome_translations 0.0.64 → 0.0.66

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: 62035170a703c453f82d55eae3b2703bc5d8e356568d47935f4cac04fbc253a0
4
- data.tar.gz: 21e2067c0fd54de04c7cfbaeb5be1d0bb614ff1426ee3fa943a88840bfadd713
3
+ metadata.gz: d460ee15bd42bacf6aa5ec1adb1438e8cffb81e929ee20a7dbcdec73d4dd2c43
4
+ data.tar.gz: 3f53538bf471e18e31abbf5475d799b0f786cd4e7aa53322a29d8c69cdf186c6
5
5
  SHA512:
6
- metadata.gz: af3499ac5a0426e95277ddcc395757fbfcb6a1616cd24a62178cd66996acaafbade9b5f134a56122322e1122a0cd92b809900498a4bbc2fa048db72c3fbb8e56
7
- data.tar.gz: 49f979fd7db8e6316bd4ebe1535080725fd360f1e8fc25f13947c2e87475c8545c441139ecde536d2f214181795dd3aafe5218307e80c5fc814597be5e4cbc13
6
+ metadata.gz: 2da3bfe416adf369ed0b665231a0228cc9005ce8471478e95c1fb1a16cbc7da842b7d62f3c459a4fd349ad6a8dbe6cd1a5c2a19985682f20e98ee38f1b421fa3
7
+ data.tar.gz: 0a4cf304c668d621b91b448c10e5624ed5cb02c29209f83df648cd8162dcefc12b8633e6d271ddc444a667a0d916a7d9c86a0ffb57102a0c5480cb4ec3d99b08
@@ -53,7 +53,7 @@
53
53
  </td>
54
54
  <% I18n.available_locales.each do |locale| %>
55
55
  <td class="translation">
56
- <%= text_field "t", "#{translation.key}[#{locale}]", class: "translation-input", lang: locale, value: translation.translation_value(locale: locale) %>
56
+ <%= text_field "t", "#{translation.key}[#{locale}]", class: "translation-input", lang: locale, name: "t[#{translation.key}][#{locale}]", value: translation.translation_value(locale: locale) %>
57
57
  </td>
58
58
  <% end %>
59
59
  </tr>
@@ -2,7 +2,7 @@ class AwesomeTranslations::ErbInspector::FileInspector
2
2
  JS_FILE_EXTS = [".cjs", ".coffee", ".coffee.erb", ".es6", ".es6.erb", ".js", ".js.erb", ".jsx", ".mjs"].freeze
3
3
  METHOD_NAMES = %w[t controller_t helper_t].freeze
4
4
  VALID_BEGINNING = '(^|\s+|\(|\{|\[|<%=\s*|I18n\.)'.freeze
5
- VALID_BEGINNING_JS = '(^|\s+|\(|\[|I18n\.)'.freeze
5
+ VALID_BEGINNING_JS = '(^|\s+|\(|\[|\{|\.)'.freeze
6
6
 
7
7
  attr_reader :root_path, :file_path
8
8
 
@@ -1,3 +1,3 @@
1
1
  module AwesomeTranslations
2
- VERSION = "0.0.64".freeze
2
+ VERSION = "0.0.66".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.64
4
+ version: 0.0.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Stöckel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-record-transactioner