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 +4 -4
- data/README.md +1 -1
- data/app/views/locales/edit.html.erb +5 -3
- data/lib/locales_panel/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca6f12a0dcea32db217afa54e19c9d889cea054f
|
4
|
+
data.tar.gz: 9b07852d80cbfdb13c0d9cd28a82bf10633f546a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64d1a0004cb7fb208ff4ff65b02762b48b1e092a23db0753c6e2ce9f42c6f87b03d140a73d674ead8bb3a30795b2a59a2bffff185f3cfe41497ff16ed322a6f7
|
7
|
+
data.tar.gz: 4093dcf0afeb0080f4699de69202de5da10b7903ea1a61ca90f6b5a257c430650e4d10b563e36fdb3f20b483fbb7cf825e09aa60bd4e51be3033df1d319145de
|
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
<%= form_tag(locales_path, method: :put) do %>
|
2
2
|
<% @files.each do |file| %>
|
3
|
-
<
|
4
|
-
|
5
|
-
|
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 %>
|
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.
|
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-
|
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
|
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.
|
108
|
+
rubygems_version: 2.4.5
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Edit yaml translations directly in application
|