spree_simple_product_translations 0.0.6 → 0.0.7.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/app/views/admin/option_types/_form.html.erb +1 -3
- data/app/views/admin/option_types/_option_value_fields.html.erb +1 -3
- data/app/views/admin/products/_product_form_left.html.erb +0 -1
- data/app/views/admin/properties/_form.html.erb +1 -3
- data/app/views/admin/taxons/_form.html.erb +1 -3
- metadata +16 -10
data/README.md
CHANGED
@@ -29,7 +29,7 @@ In the current version of [Globalize3](https://github.com/svenfuchs/globalize3)
|
|
29
29
|
|
30
30
|
If you are using the fallbacks, you might want to use [my fork](https://github.com/jeroenj/globalize3) of [Globalize3](https://github.com/svenfuchs/globalize3) in your Gemfile until it gets merged into [Globalize3](https://github.com/svenfuchs/globalize3)'s [master branch](https://github.com/svenfuchs/globalize3):
|
31
31
|
|
32
|
-
gem 'globalize3', :git => 'git://github.com/jeroenj/globalize3.git'
|
32
|
+
gem 'globalize3', :git => 'git://github.com/jeroenj/globalize3.git', :branch => 'fallbacks-master'
|
33
33
|
|
34
34
|
For those interested, you can follow [the pull request here](https://github.com/svenfuchs/globalize3/pull/32).
|
35
35
|
|
@@ -16,10 +16,8 @@
|
|
16
16
|
<% I18n.available_locales.each do |l| %>
|
17
17
|
<div id="tabs-<%= l %>">
|
18
18
|
<%= f.globalize_fields_for l do |g| %>
|
19
|
-
<% default_locale = l.to_sym == I18n.default_locale %>
|
20
|
-
<% g = f if default_locale %>
|
21
19
|
<%= f.field_container :presentation do %>
|
22
|
-
<%= g.label :presentation, t("presentation") %> <% if default_locale %><span class="required">*</span><% end %><br />
|
20
|
+
<%= g.label :presentation, t("presentation") %> <% if l.to_sym == I18n.default_locale %><span class="required">*</span><% end %><br />
|
23
21
|
<%= g.text_field :presentation %>
|
24
22
|
<%= f.error_message_on :presentation %>
|
25
23
|
<% end %>
|
@@ -5,10 +5,8 @@
|
|
5
5
|
<% I18n.available_locales.each do |l| %>
|
6
6
|
<p>
|
7
7
|
<%= f.globalize_fields_for l do |g| %>
|
8
|
-
<% default_locale = l.to_sym == I18n.default_locale %>
|
9
|
-
<% g = f if default_locale %>
|
10
8
|
<%= g.label :presentation, "#{t(l)}: " %>
|
11
|
-
<%= g.text_field :presentation %><% if default_locale %><span class="required">*</span><% end %>
|
9
|
+
<%= g.text_field :presentation %><% if l.to_sym == I18n.default_locale %><span class="required">*</span><% end %>
|
12
10
|
<% end %>
|
13
11
|
</p>
|
14
12
|
<% end %>
|
@@ -13,7 +13,6 @@
|
|
13
13
|
<div id="tabs-<%= l %>">
|
14
14
|
<%= f.globalize_fields_for l do |g| %>
|
15
15
|
<% default_locale = l.to_sym == I18n.default_locale %>
|
16
|
-
<% g = f if default_locale %>
|
17
16
|
<%= f.field_container :name do %>
|
18
17
|
<%= g.label :name, t("name") %> <% if default_locale %><span class="required">*</span><br /><% end %>
|
19
18
|
<%= g.text_field :name, :class => 'fullwidth title' %>
|
@@ -16,10 +16,8 @@
|
|
16
16
|
<% I18n.available_locales.each do |l| %>
|
17
17
|
<div id="tabs-<%= l %>">
|
18
18
|
<%= f.globalize_fields_for l do |g| %>
|
19
|
-
<% default_locale = l.to_sym == I18n.default_locale %>
|
20
|
-
<% g = f if default_locale %>
|
21
19
|
<%= f.field_container :presentation do %>
|
22
|
-
<%= g.label :presentation, t("presentation") %> <% if default_locale %><span class="required">*</span><% end %><br />
|
20
|
+
<%= g.label :presentation, t("presentation") %> <% if l.to_sym == I18n.default_locale %><span class="required">*</span><% end %><br />
|
23
21
|
<%= g.text_field :presentation %>
|
24
22
|
<%= f.error_message_on :presentation %>
|
25
23
|
<% end %>
|
@@ -11,10 +11,8 @@
|
|
11
11
|
<% I18n.available_locales.each do |l| %>
|
12
12
|
<div id="tabs-<%= l %>">
|
13
13
|
<%= f.globalize_fields_for l do |g| %>
|
14
|
-
<% default_locale = l.to_sym == I18n.default_locale %>
|
15
|
-
<% g = f if default_locale %>
|
16
14
|
<%= f.field_container :name do %>
|
17
|
-
<%= g.label :name, t("name") %> <% if default_locale %><span class="required">*</span><% end %><br />
|
15
|
+
<%= g.label :name, t("name") %> <% if l.to_sym == I18n.default_locale %><span class="required">*</span><% end %><br />
|
18
16
|
<%= error_message_on :taxon, :name, :class => 'fullwidth title' %>
|
19
17
|
<%= g.text_field :name %>
|
20
18
|
<% end %>
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_simple_product_translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 62196377
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
9
|
+
- 7
|
10
|
+
- beta
|
11
|
+
- 1
|
12
|
+
version: 0.0.7.beta1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Jeroen Jacobs
|
@@ -15,7 +17,8 @@ autorequire:
|
|
15
17
|
bindir: bin
|
16
18
|
cert_chain: []
|
17
19
|
|
18
|
-
date: 2011-05-
|
20
|
+
date: 2011-05-18 00:00:00 +02:00
|
21
|
+
default_executable:
|
19
22
|
dependencies:
|
20
23
|
- !ruby/object:Gem::Dependency
|
21
24
|
name: spree_core
|
@@ -85,6 +88,7 @@ files:
|
|
85
88
|
- public/stylesheets/smoothness/images/ui-icons_888888_256x240.png
|
86
89
|
- public/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
|
87
90
|
- public/stylesheets/smoothness/jquery-ui-1.7.3.custom.css
|
91
|
+
has_rdoc: true
|
88
92
|
homepage: https://github.com/jeroenj/spree-simple_product_translations
|
89
93
|
licenses: []
|
90
94
|
|
@@ -107,16 +111,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
112
|
none: false
|
109
113
|
requirements:
|
110
|
-
- - "
|
114
|
+
- - ">"
|
111
115
|
- !ruby/object:Gem::Version
|
112
|
-
hash:
|
116
|
+
hash: 25
|
113
117
|
segments:
|
114
|
-
-
|
115
|
-
|
118
|
+
- 1
|
119
|
+
- 3
|
120
|
+
- 1
|
121
|
+
version: 1.3.1
|
116
122
|
requirements:
|
117
123
|
- none
|
118
124
|
rubyforge_project:
|
119
|
-
rubygems_version: 1.
|
125
|
+
rubygems_version: 1.4.2
|
120
126
|
signing_key:
|
121
127
|
specification_version: 3
|
122
128
|
summary: Spree Extension that adds an intuitive way to translate product details in the backend
|