locales_panel 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 11f0824ac89a95496a797e817a4ca4b7eb4c1f9d
4
- data.tar.gz: 27e9df08c2fb459bd330a34a2d1fc25d6ce9972f
3
+ metadata.gz: ca6f12a0dcea32db217afa54e19c9d889cea054f
4
+ data.tar.gz: 9b07852d80cbfdb13c0d9cd28a82bf10633f546a
5
5
  SHA512:
6
- metadata.gz: 4aeb401d64eb979892216838c04a580a113da2448012f7a7bc4c9448a6694f89788a784c75ecb5f7628c7fa68ce7bd24b175efecf9eddd724dc644cb6a3ea940
7
- data.tar.gz: 7765c984084d78a3906c51b74d628852b2bf4437aa0cf6aebb7b7339a4633cfa7c47fd8f7216cc6c0fd8fc91a0bcca1a51c8e27b1fa6fcd45f295c160823394a
6
+ metadata.gz: 64d1a0004cb7fb208ff4ff65b02762b48b1e092a23db0753c6e2ce9f42c6f87b03d140a73d674ead8bb3a30795b2a59a2bffff185f3cfe41497ff16ed322a6f7
7
+ data.tar.gz: 4093dcf0afeb0080f4699de69202de5da10b7903ea1a61ca90f6b5a257c430650e4d10b563e36fdb3f20b483fbb7cf825e09aa60bd4e51be3033df1d319145de
data/README.md CHANGED
@@ -4,7 +4,7 @@ Change translations directly in a published site.
4
4
 
5
5
  Use by visiting `http://.../locales/edit`.
6
6
 
7
- Saving will overwrite YAML locale files and apply changes.
7
+ Saving will overwrite YAML locale files.
8
8
 
9
9
  # Installation
10
10
 
@@ -1,8 +1,10 @@
1
1
  <%= form_tag(locales_path, method: :put) do %>
2
2
  <% @files.each do |file| %>
3
- <h2><%= file[:name] %></h2>
4
- <input type="hidden" name="files[][path]" value="<%= file[:path] %>"/>
5
- <textarea name="files[][content]" cols="80" rows="20" wrap="off" style="width:100%"><%= file[:content] %></textarea>
3
+ <div class="locale_file" />
4
+ <h2><%= file[:name] %></h2>
5
+ <input type="hidden" name="files[][path]" value="<%= file[:path] %>"/>
6
+ <textarea name="files[][content]" cols="80" rows="20" wrap="off" style="width:100%"><%= file[:content] %></textarea>
7
+ </div>
6
8
  <% end %>
7
9
  <input type="submit" value="submit"/>
8
10
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module LocalesPanel
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locales_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Kasprzyk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -67,7 +67,7 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: Change translations directly in a published site. Use by visiting http://.../locales/edit.
70
- Saving will overwrite YAML locale files and apply changes.
70
+ Saving will overwrite YAML locale files.
71
71
  email:
72
72
  - kapustka.maciek@gmail.com
73
73
  executables: []
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.4
108
+ rubygems_version: 2.4.5
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Edit yaml translations directly in application