awesome_translations 0.0.65 → 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: 4a064cb6ccd392d08ccc04527a80a5b5926d7e49597f05560a6a0168d1498d1d
4
- data.tar.gz: 151f20aed7e4142f9446894ce8d5f11ad02e20e3d51df242d7a4b264dc1102cf
3
+ metadata.gz: d460ee15bd42bacf6aa5ec1adb1438e8cffb81e929ee20a7dbcdec73d4dd2c43
4
+ data.tar.gz: 3f53538bf471e18e31abbf5475d799b0f786cd4e7aa53322a29d8c69cdf186c6
5
5
  SHA512:
6
- metadata.gz: 16dbaadb429667549c1ab80bd40fe24086ef8bfb47018b4e248dd2e401e4de97a217ebe26a58dfaf4ed29f614b9403516ab79e075140a8b5c8e8b80be2d96db3
7
- data.tar.gz: 7c70d4067de4bad81339467c0e5f270a9146f02fd4b9947f5b07c812f2682b1933f1e768fe8c8707909cd1bcf7fedceb5646e3f072fac43df3ab7e59673f9656
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+|\(|\[|\.)'.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.65".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.65
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