solidus_i18n 1.2.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +35 -0
- data/.gem_release.yml +5 -0
- data/.github/stale.yml +17 -0
- data/.gitignore +4 -8
- data/.hound.yml +1 -1
- data/.rspec +2 -0
- data/.rubocop.yml +3 -6
- data/.rubocop_todo.yml +18 -0
- data/Gemfile +20 -10
- data/{LICENSE.md → LICENSE} +2 -2
- data/README.md +47 -46
- data/Rakefile +8 -24
- data/bin/console +17 -0
- data/bin/rails +12 -4
- data/bin/setup +8 -0
- data/config/locales/bg.yml +1 -47
- data/config/locales/ca.yml +12 -49
- data/config/locales/cs.yml +1 -48
- data/config/locales/da.yml +1 -47
- data/config/locales/de-CH.yml +0 -48
- data/config/locales/de.yml +408 -257
- data/config/locales/en-AU.yml +0 -48
- data/config/locales/en-GB.yml +1 -47
- data/config/locales/en-IN.yml +7 -53
- data/config/locales/en-NZ.yml +0 -48
- data/config/locales/es-CL.yml +1 -49
- data/config/locales/es-EC.yml +1 -47
- data/config/locales/es-MX.yml +417 -111
- data/config/locales/es.yml +27 -63
- data/config/locales/et.yml +0 -50
- data/config/locales/fa.yml +0 -48
- data/config/locales/fi.yml +1 -47
- data/config/locales/fr.yml +660 -264
- data/config/locales/id.yml +2 -46
- data/config/locales/it.yml +1196 -646
- data/config/locales/ja.yml +7 -53
- data/config/locales/ko.yml +0 -48
- data/config/locales/lv.yml +0 -48
- data/config/locales/nb.yml +0 -48
- data/config/locales/nl.yml +1 -47
- data/config/locales/pl.yml +1 -47
- data/config/locales/pt-BR.yml +1093 -251
- data/config/locales/pt.yml +0 -48
- data/config/locales/ro.yml +3 -48
- data/config/locales/ru.yml +1884 -1240
- data/config/locales/sk.yml +1 -45
- data/config/locales/sl-SI.yml +0 -48
- data/config/locales/sv.yml +1 -47
- data/config/locales/th.yml +1 -45
- data/config/locales/tr.yml +1 -45
- data/config/locales/uk.yml +1 -49
- data/config/locales/vi.yml +1 -45
- data/config/locales/zh-CN.yml +1 -45
- data/config/locales/zh-TW.yml +1 -45
- data/config/routes.rb +2 -8
- data/i18n-tasks.yml +4 -0
- data/lib/generators/solidus_i18n/install/install_generator.rb +10 -13
- data/lib/solidus_i18n/engine.rb +9 -36
- data/lib/solidus_i18n/factories.rb +4 -0
- data/lib/solidus_i18n/version.rb +3 -16
- data/lib/solidus_i18n.rb +4 -5
- data/lib/tasks/solidus_i18n/upgrade.rake +13 -11
- data/solidus_i18n.gemspec +29 -37
- data/spec/dummy/README.md +24 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +2 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config/application.rb +53 -0
- data/spec/dummy/config/boot.rb +6 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/credentials.yml.enc +1 -0
- data/spec/dummy/config/database.yml +12 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +76 -0
- data/spec/dummy/config/environments/production.rb +120 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/initializers/spree.rb +74 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/master.key +1 -0
- data/spec/dummy/config/routes.rb +9 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +6 -0
- data/spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb +36 -0
- data/spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb +14 -0
- data/spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb +14 -0
- data/spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb +1103 -0
- data/spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb +28 -0
- data/spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb +30 -0
- data/spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb +31 -0
- data/spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb +39 -0
- data/spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb +23 -0
- data/spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb +9 -0
- data/spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb +31 -0
- data/spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb +51 -0
- data/spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb +9 -0
- data/spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb +9 -0
- data/spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb +19 -0
- data/spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb +13 -0
- data/spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb +13 -0
- data/spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb +10 -0
- data/spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb +62 -0
- data/spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb +12 -0
- data/spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb +13 -0
- data/spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb +56 -0
- data/spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb +43 -0
- data/spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb +20 -0
- data/spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb +7 -0
- data/spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb +8 -0
- data/spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb +14 -0
- data/spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb +10 -0
- data/spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb +10 -0
- data/spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb +10 -0
- data/spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb +10 -0
- data/spec/dummy/db/schema.rb +1215 -0
- data/spec/dummy/db/seeds.rb +10 -0
- data/spec/dummy/db/solidus_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1198 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +10 -0
- data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +10 -0
- data/{app/assets/stylesheets/spree/backend/solidus_i18n.css → spec/dummy/vendor/assets/stylesheets/spree/backend/all.css} +1 -0
- data/{app/assets/stylesheets/spree/frontend/solidus_i18n.css → spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css} +1 -0
- data/spec/examples.txt +4 -0
- data/spec/solidus_i18n_spec.rb +67 -0
- data/spec/spec_helper.rb +15 -13
- metadata +222 -264
- data/.travis.yml +0 -30
- data/app/assets/javascripts/spree/backend/solidus_i18n.js +0 -2
- data/app/assets/javascripts/spree/backend/translations.js.coffee +0 -5
- data/app/assets/javascripts/spree/frontend/locale.js.coffee +0 -3
- data/app/assets/javascripts/spree/frontend/solidus_i18n.js +0 -2
- data/app/controllers/spree/admin/locales_controller.rb +0 -16
- data/app/controllers/spree/api/base_controller_decorator.rb +0 -3
- data/app/controllers/spree/base_controller_decorator.rb +0 -3
- data/app/controllers/spree/locale_controller_decorator.rb +0 -6
- data/app/helpers/solidus_i18n/locale_helper.rb +0 -31
- data/app/overrides/spree/admin/shared/_configuration_menu/add_i18n_tab.html.erb.deface +0 -2
- data/app/overrides/spree/shared/_main_nav_bar/locale_selector.html.erb.deface +0 -16
- data/app/views/spree/admin/locales/show.html.erb +0 -27
- data/config/initializers/country_names.rb +0 -51
- data/config/initializers/routing_filter.rb +0 -2
- data/db/migrate/20150609154031_remove_translations_from_spree_tables.rb +0 -65
- data/lib/solidus_i18n/configuration.rb +0 -9
- data/lib/solidus_i18n/controller_locale_helper.rb +0 -29
- data/lib/solidus_i18n/locale.rb +0 -13
- data/spec/controllers/locales_controller_spec.rb +0 -24
- data/spec/features/admin/translations_spec.rb +0 -34
- data/spec/features/russian_errors_translation_spec.rb +0 -17
- data/spec/features/translation_spec.rb +0 -31
- data/spec/features/translations_spec.rb +0 -28
- data/spec/support/capybara.rb +0 -11
- data/spec/support/database_cleaner.rb +0 -23
- data/spec/support/factory_girl.rb +0 -5
- data/spec/support/i18n.rb +0 -5
- data/spec/support/spree.rb +0 -12
metadata
CHANGED
@@ -1,77 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
8
|
-
autorequire:
|
9
|
-
bindir:
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: i18n_data
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.7.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 0.7.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails-i18n
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 4.0.1
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: '6'
|
37
|
-
type: :runtime
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 4.0.1
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '6'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: kaminari-i18n
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 0.3.2
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 0.3.2
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: routing-filter
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 0.6.0
|
68
|
-
type: :runtime
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 0.6.0
|
75
13
|
- !ruby/object:Gem::Dependency
|
76
14
|
name: solidus_core
|
77
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +19,7 @@ dependencies:
|
|
81
19
|
version: '1.1'
|
82
20
|
- - "<"
|
83
21
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
22
|
+
version: '4'
|
85
23
|
type: :runtime
|
86
24
|
prerelease: false
|
87
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -91,37 +29,23 @@ dependencies:
|
|
91
29
|
version: '1.1'
|
92
30
|
- - "<"
|
93
31
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
32
|
+
version: '4'
|
95
33
|
- !ruby/object:Gem::Dependency
|
96
34
|
name: solidus_support
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - ">="
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
|
-
type: :runtime
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - ">="
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: deface
|
111
35
|
requirement: !ruby/object:Gem::Requirement
|
112
36
|
requirements:
|
113
37
|
- - "~>"
|
114
38
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
39
|
+
version: '0.4'
|
116
40
|
type: :runtime
|
117
41
|
prerelease: false
|
118
42
|
version_requirements: !ruby/object:Gem::Requirement
|
119
43
|
requirements:
|
120
44
|
- - "~>"
|
121
45
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
46
|
+
version: '0.4'
|
123
47
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
48
|
+
name: solidus_dev_support
|
125
49
|
requirement: !ruby/object:Gem::Requirement
|
126
50
|
requirements:
|
127
51
|
- - ">="
|
@@ -134,164 +58,28 @@ dependencies:
|
|
134
58
|
- - ">="
|
135
59
|
- !ruby/object:Gem::Version
|
136
60
|
version: '0'
|
137
|
-
|
138
|
-
name: capybara
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: 2.4.4
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: 2.4.4
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: database_cleaner
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '1.3'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '1.3'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: factory_bot
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '4.5'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '4.5'
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: ffaker
|
181
|
-
requirement: !ruby/object:Gem::Requirement
|
182
|
-
requirements:
|
183
|
-
- - ">="
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version: 1.25.0
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: 1.25.0
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: poltergeist
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - "~>"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '1.5'
|
200
|
-
type: :development
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - "~>"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '1.5'
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: pry-rails
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - ">="
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: 0.3.0
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
requirements:
|
218
|
-
- - ">="
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: 0.3.0
|
221
|
-
- !ruby/object:Gem::Dependency
|
222
|
-
name: rubocop
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - ">="
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: 0.24.1
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - ">="
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: 0.24.1
|
235
|
-
- !ruby/object:Gem::Dependency
|
236
|
-
name: rspec-rails
|
237
|
-
requirement: !ruby/object:Gem::Requirement
|
238
|
-
requirements:
|
239
|
-
- - "~>"
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: '3.1'
|
242
|
-
type: :development
|
243
|
-
prerelease: false
|
244
|
-
version_requirements: !ruby/object:Gem::Requirement
|
245
|
-
requirements:
|
246
|
-
- - "~>"
|
247
|
-
- !ruby/object:Gem::Version
|
248
|
-
version: '3.1'
|
249
|
-
- !ruby/object:Gem::Dependency
|
250
|
-
name: simplecov
|
251
|
-
requirement: !ruby/object:Gem::Requirement
|
252
|
-
requirements:
|
253
|
-
- - "~>"
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
version: '0.9'
|
256
|
-
type: :development
|
257
|
-
prerelease: false
|
258
|
-
version_requirements: !ruby/object:Gem::Requirement
|
259
|
-
requirements:
|
260
|
-
- - "~>"
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
version: '0.9'
|
263
|
-
description: Provides locale information for use in Solidus.
|
61
|
+
description: A collection of translations for Solidus.
|
264
62
|
email: tvd@magiclabs.de
|
265
63
|
executables: []
|
266
64
|
extensions: []
|
267
65
|
extra_rdoc_files: []
|
268
66
|
files:
|
67
|
+
- ".circleci/config.yml"
|
68
|
+
- ".gem_release.yml"
|
69
|
+
- ".github/stale.yml"
|
269
70
|
- ".gitignore"
|
270
71
|
- ".hound.yml"
|
72
|
+
- ".rspec"
|
271
73
|
- ".rubocop.yml"
|
272
|
-
- ".
|
74
|
+
- ".rubocop_todo.yml"
|
273
75
|
- CONTRIBUTING.md
|
274
76
|
- Gemfile
|
275
|
-
- LICENSE
|
77
|
+
- LICENSE
|
276
78
|
- README.md
|
277
79
|
- Rakefile
|
278
|
-
-
|
279
|
-
- app/assets/javascripts/spree/backend/translations.js.coffee
|
280
|
-
- app/assets/javascripts/spree/frontend/locale.js.coffee
|
281
|
-
- app/assets/javascripts/spree/frontend/solidus_i18n.js
|
282
|
-
- app/assets/stylesheets/spree/backend/solidus_i18n.css
|
283
|
-
- app/assets/stylesheets/spree/frontend/solidus_i18n.css
|
284
|
-
- app/controllers/spree/admin/locales_controller.rb
|
285
|
-
- app/controllers/spree/api/base_controller_decorator.rb
|
286
|
-
- app/controllers/spree/base_controller_decorator.rb
|
287
|
-
- app/controllers/spree/locale_controller_decorator.rb
|
288
|
-
- app/helpers/solidus_i18n/locale_helper.rb
|
289
|
-
- app/overrides/spree/admin/shared/_configuration_menu/add_i18n_tab.html.erb.deface
|
290
|
-
- app/overrides/spree/shared/_main_nav_bar/locale_selector.html.erb.deface
|
291
|
-
- app/views/spree/admin/locales/show.html.erb
|
80
|
+
- bin/console
|
292
81
|
- bin/rails
|
293
|
-
-
|
294
|
-
- config/initializers/routing_filter.rb
|
82
|
+
- bin/setup
|
295
83
|
- config/locales/bg.yml
|
296
84
|
- config/locales/ca.yml
|
297
85
|
- config/locales/cs.yml
|
@@ -332,32 +120,118 @@ files:
|
|
332
120
|
- config/locales/zh-CN.yml
|
333
121
|
- config/locales/zh-TW.yml
|
334
122
|
- config/routes.rb
|
335
|
-
-
|
123
|
+
- i18n-tasks.yml
|
336
124
|
- lib/generators/solidus_i18n/install/install_generator.rb
|
337
125
|
- lib/solidus_i18n.rb
|
338
|
-
- lib/solidus_i18n/configuration.rb
|
339
|
-
- lib/solidus_i18n/controller_locale_helper.rb
|
340
126
|
- lib/solidus_i18n/engine.rb
|
341
|
-
- lib/solidus_i18n/
|
127
|
+
- lib/solidus_i18n/factories.rb
|
342
128
|
- lib/solidus_i18n/version.rb
|
343
129
|
- lib/tasks/solidus_i18n/upgrade.rake
|
344
130
|
- solidus_i18n.gemspec
|
345
|
-
- spec/
|
346
|
-
- spec/
|
347
|
-
- spec/
|
348
|
-
- spec/
|
349
|
-
- spec/
|
131
|
+
- spec/dummy/README.md
|
132
|
+
- spec/dummy/Rakefile
|
133
|
+
- spec/dummy/app/assets/config/manifest.js
|
134
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
135
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
136
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
137
|
+
- spec/dummy/app/controllers/application_controller.rb
|
138
|
+
- spec/dummy/app/helpers/application_helper.rb
|
139
|
+
- spec/dummy/app/jobs/application_job.rb
|
140
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
141
|
+
- spec/dummy/app/models/application_record.rb
|
142
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
143
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
144
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
145
|
+
- spec/dummy/bin/rails
|
146
|
+
- spec/dummy/bin/rake
|
147
|
+
- spec/dummy/bin/setup
|
148
|
+
- spec/dummy/config.ru
|
149
|
+
- spec/dummy/config/application.rb
|
150
|
+
- spec/dummy/config/boot.rb
|
151
|
+
- spec/dummy/config/cable.yml
|
152
|
+
- spec/dummy/config/credentials.yml.enc
|
153
|
+
- spec/dummy/config/database.yml
|
154
|
+
- spec/dummy/config/environment.rb
|
155
|
+
- spec/dummy/config/environments/development.rb
|
156
|
+
- spec/dummy/config/environments/production.rb
|
157
|
+
- spec/dummy/config/environments/test.rb
|
158
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
159
|
+
- spec/dummy/config/initializers/assets.rb
|
160
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
161
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
162
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
163
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
164
|
+
- spec/dummy/config/initializers/inflections.rb
|
165
|
+
- spec/dummy/config/initializers/mime_types.rb
|
166
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
167
|
+
- spec/dummy/config/initializers/spree.rb
|
168
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
169
|
+
- spec/dummy/config/locales/en.yml
|
170
|
+
- spec/dummy/config/master.key
|
171
|
+
- spec/dummy/config/routes.rb
|
172
|
+
- spec/dummy/config/storage.yml
|
173
|
+
- spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
|
174
|
+
- spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
|
175
|
+
- spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
|
176
|
+
- spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
|
177
|
+
- spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
|
178
|
+
- spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
|
179
|
+
- spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
|
180
|
+
- spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
|
181
|
+
- spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
|
182
|
+
- spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
|
183
|
+
- spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
|
184
|
+
- spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
|
185
|
+
- spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
|
186
|
+
- spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
|
187
|
+
- spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
|
188
|
+
- spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
|
189
|
+
- spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
|
190
|
+
- spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
|
191
|
+
- spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
|
192
|
+
- spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
|
193
|
+
- spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
|
194
|
+
- spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
|
195
|
+
- spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
|
196
|
+
- spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
|
197
|
+
- spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
|
198
|
+
- spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
|
199
|
+
- spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
|
200
|
+
- spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
|
201
|
+
- spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
|
202
|
+
- spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
|
203
|
+
- spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
|
204
|
+
- spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
|
205
|
+
- spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
|
206
|
+
- spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
|
207
|
+
- spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
|
208
|
+
- spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
|
209
|
+
- spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
|
210
|
+
- spec/dummy/db/schema.rb
|
211
|
+
- spec/dummy/db/seeds.rb
|
212
|
+
- spec/dummy/db/solidus_test.sqlite3
|
213
|
+
- spec/dummy/log/test.log
|
214
|
+
- spec/dummy/public/404.html
|
215
|
+
- spec/dummy/public/422.html
|
216
|
+
- spec/dummy/public/500.html
|
217
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
218
|
+
- spec/dummy/public/apple-touch-icon.png
|
219
|
+
- spec/dummy/public/favicon.ico
|
220
|
+
- spec/dummy/tmp/development_secret.txt
|
221
|
+
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
222
|
+
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
223
|
+
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
224
|
+
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
225
|
+
- spec/examples.txt
|
226
|
+
- spec/solidus_i18n_spec.rb
|
350
227
|
- spec/spec_helper.rb
|
351
|
-
|
352
|
-
- spec/support/database_cleaner.rb
|
353
|
-
- spec/support/factory_girl.rb
|
354
|
-
- spec/support/i18n.rb
|
355
|
-
- spec/support/spree.rb
|
356
|
-
homepage: https://solidus.io
|
228
|
+
homepage: https://github.com/solidusio/solidus_i18n
|
357
229
|
licenses:
|
358
|
-
- BSD-3
|
359
|
-
metadata:
|
360
|
-
|
230
|
+
- BSD-3-Clause
|
231
|
+
metadata:
|
232
|
+
homepage_uri: https://github.com/solidusio/solidus_i18n
|
233
|
+
source_code_uri: https://github.com/solidusio/solidus_i18n
|
234
|
+
post_install_message:
|
361
235
|
rdoc_options: []
|
362
236
|
require_paths:
|
363
237
|
- lib
|
@@ -365,28 +239,112 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
365
239
|
requirements:
|
366
240
|
- - ">="
|
367
241
|
- !ruby/object:Gem::Version
|
368
|
-
version:
|
242
|
+
version: 2.5.0
|
369
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
370
244
|
requirements:
|
371
245
|
- - ">="
|
372
246
|
- !ruby/object:Gem::Version
|
373
247
|
version: '0'
|
374
|
-
requirements:
|
375
|
-
|
376
|
-
|
377
|
-
rubygems_version: 2.7.3
|
378
|
-
signing_key:
|
248
|
+
requirements: []
|
249
|
+
rubygems_version: 3.2.20
|
250
|
+
signing_key:
|
379
251
|
specification_version: 4
|
380
252
|
summary: Provides locale information for use in Solidus.
|
381
253
|
test_files:
|
382
|
-
- spec/controllers/locales_controller_spec.rb
|
383
|
-
- spec/features/admin/translations_spec.rb
|
384
|
-
- spec/features/russian_errors_translation_spec.rb
|
385
|
-
- spec/features/translation_spec.rb
|
386
|
-
- spec/features/translations_spec.rb
|
387
254
|
- spec/spec_helper.rb
|
388
|
-
- spec/
|
389
|
-
- spec/
|
390
|
-
- spec/
|
391
|
-
- spec/
|
392
|
-
- spec/
|
255
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
256
|
+
- spec/dummy/app/models/application_record.rb
|
257
|
+
- spec/dummy/app/jobs/application_job.rb
|
258
|
+
- spec/dummy/app/controllers/application_controller.rb
|
259
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
260
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
261
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
262
|
+
- spec/dummy/app/assets/config/manifest.js
|
263
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
264
|
+
- spec/dummy/app/helpers/application_helper.rb
|
265
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
266
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
267
|
+
- spec/dummy/bin/rake
|
268
|
+
- spec/dummy/bin/setup
|
269
|
+
- spec/dummy/bin/rails
|
270
|
+
- spec/dummy/config/routes.rb
|
271
|
+
- spec/dummy/config/locales/en.yml
|
272
|
+
- spec/dummy/config/cable.yml
|
273
|
+
- spec/dummy/config/environments/production.rb
|
274
|
+
- spec/dummy/config/environments/development.rb
|
275
|
+
- spec/dummy/config/environments/test.rb
|
276
|
+
- spec/dummy/config/master.key
|
277
|
+
- spec/dummy/config/environment.rb
|
278
|
+
- spec/dummy/config/storage.yml
|
279
|
+
- spec/dummy/config/application.rb
|
280
|
+
- spec/dummy/config/credentials.yml.enc
|
281
|
+
- spec/dummy/config/database.yml
|
282
|
+
- spec/dummy/config/boot.rb
|
283
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
284
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
285
|
+
- spec/dummy/config/initializers/mime_types.rb
|
286
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
287
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
288
|
+
- spec/dummy/config/initializers/assets.rb
|
289
|
+
- spec/dummy/config/initializers/spree.rb
|
290
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
291
|
+
- spec/dummy/config/initializers/permissions_policy.rb
|
292
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
293
|
+
- spec/dummy/config/initializers/inflections.rb
|
294
|
+
- spec/dummy/config.ru
|
295
|
+
- spec/dummy/README.md
|
296
|
+
- spec/dummy/Rakefile
|
297
|
+
- spec/dummy/public/favicon.ico
|
298
|
+
- spec/dummy/public/422.html
|
299
|
+
- spec/dummy/public/apple-touch-icon.png
|
300
|
+
- spec/dummy/public/500.html
|
301
|
+
- spec/dummy/public/404.html
|
302
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
303
|
+
- spec/dummy/db/schema.rb
|
304
|
+
- spec/dummy/db/seeds.rb
|
305
|
+
- spec/dummy/db/solidus_test.sqlite3
|
306
|
+
- spec/dummy/db/migrate/20210218213838_create_store_shipping_methods.spree.rb
|
307
|
+
- spec/dummy/db/migrate/20210218213820_solidus_one_four.spree.rb
|
308
|
+
- spec/dummy/db/migrate/20210218213828_add_index_to_spree_payments_number.spree.rb
|
309
|
+
- spec/dummy/db/migrate/20210218213839_add_available_locales_to_stores.spree.rb
|
310
|
+
- spec/dummy/db/migrate/20210218213841_add_join_characters_to_promotion_code_batch.spree.rb
|
311
|
+
- spec/dummy/db/migrate/20210218213827_add_available_to_users_and_remove_display_on_from_shipping_methods.spree.rb
|
312
|
+
- spec/dummy/db/migrate/20210218213832_transform_tax_rate_category_relation.spree.rb
|
313
|
+
- spec/dummy/db/migrate/20210218213849_add_name_to_spree_addresses.spree.rb
|
314
|
+
- spec/dummy/db/migrate/20210218213836_remove_default_tax_from_spree_zones.spree.rb
|
315
|
+
- spec/dummy/db/migrate/20210218213850_add_api_key_to_spree_users.spree_api.rb
|
316
|
+
- spec/dummy/db/migrate/20210218213847_add_bcc_email_to_spree_stores.spree.rb
|
317
|
+
- spec/dummy/db/migrate/20210218213829_remove_spree_store_credits_column.spree.rb
|
318
|
+
- spec/dummy/db/migrate/20210218213821_create_spree_wallet_payment_sources.spree.rb
|
319
|
+
- spec/dummy/db/migrate/20210218213843_create_spree_store_credit_reasons_table.spree.rb
|
320
|
+
- spec/dummy/db/migrate/20210218213845_drop_spree_store_credit_update_reasons.spree.rb
|
321
|
+
- spec/dummy/db/migrate/20210218213851_resize_api_key_field.spree_api.rb
|
322
|
+
- spec/dummy/db/migrate/20210218213844_remove_code_from_spree_promotions.spree.rb
|
323
|
+
- spec/dummy/db/migrate/20210218213819_create_action_text_tables.action_text.rb
|
324
|
+
- spec/dummy/db/migrate/20210218213846_add_default_billng_flag_to_user_addresses.spree.rb
|
325
|
+
- spec/dummy/db/migrate/20210218213842_add_apply_to_all_to_variant_property_rule.spree.rb
|
326
|
+
- spec/dummy/db/migrate/20210218213834_add_time_range_to_tax_rate.spree.rb
|
327
|
+
- spec/dummy/db/migrate/20210218213823_remove_is_default_from_prices.spree.rb
|
328
|
+
- spec/dummy/db/migrate/20210218213831_remove_order_id_from_inventory_units.spree.rb
|
329
|
+
- spec/dummy/db/migrate/20210218213835_rename_bogus_gateways.spree.rb
|
330
|
+
- spec/dummy/db/migrate/20210218213818_create_action_mailbox_tables.action_mailbox.rb
|
331
|
+
- spec/dummy/db/migrate/20210218213853_add_index_to_user_spree_api_key.spree_api.rb
|
332
|
+
- spec/dummy/db/migrate/20210218213833_add_roles_unique_constraints.spree.rb
|
333
|
+
- spec/dummy/db/migrate/20210218213848_add_discontinue_on_to_spree_products.spree.rb
|
334
|
+
- spec/dummy/db/migrate/20210218213837_create_promotion_rule_stores.spree.rb
|
335
|
+
- spec/dummy/db/migrate/20210218213825_add_available_to_columns_and_remove_display_on_from_payment_methods.spree.rb
|
336
|
+
- spec/dummy/db/migrate/20210218213826_create_spree_promotion_code_batch.spree.rb
|
337
|
+
- spec/dummy/db/migrate/20210218213840_add_amount_remaining_to_store_credit_events.spree.rb
|
338
|
+
- spec/dummy/db/migrate/20210218213814_create_active_storage_tables.active_storage.rb
|
339
|
+
- spec/dummy/db/migrate/20210218213822_migrate_credit_cards_to_wallet_payment_sources.spree.rb
|
340
|
+
- spec/dummy/db/migrate/20210218213852_rename_api_key_to_spree_api_key.spree_api.rb
|
341
|
+
- spec/dummy/db/migrate/20210218213824_remove_currency_from_line_items.spree.rb
|
342
|
+
- spec/dummy/db/migrate/20210218213830_add_lft_and_rgt_indexes_to_taxons.spree.rb
|
343
|
+
- spec/dummy/log/test.log
|
344
|
+
- spec/dummy/tmp/development_secret.txt
|
345
|
+
- spec/dummy/vendor/assets/javascripts/spree/frontend/all.js
|
346
|
+
- spec/dummy/vendor/assets/javascripts/spree/backend/all.js
|
347
|
+
- spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css
|
348
|
+
- spec/dummy/vendor/assets/stylesheets/spree/backend/all.css
|
349
|
+
- spec/solidus_i18n_spec.rb
|
350
|
+
- spec/examples.txt
|
data/.travis.yml
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
# Need to stay on precise until Travis fixes their MySQL problems
|
2
|
-
# See: https://github.com/travis-ci/travis-ci/issues/8331
|
3
|
-
dist: precise
|
4
|
-
sudo: false
|
5
|
-
cache: bundler
|
6
|
-
language: ruby
|
7
|
-
rvm:
|
8
|
-
- 2.3.1
|
9
|
-
env:
|
10
|
-
matrix:
|
11
|
-
- SOLIDUS_BRANCH=v1.1 DB=postgres
|
12
|
-
- SOLIDUS_BRANCH=v1.2 DB=postgres
|
13
|
-
- SOLIDUS_BRANCH=v1.3 DB=postgres
|
14
|
-
- SOLIDUS_BRANCH=v1.4 DB=postgres
|
15
|
-
- SOLIDUS_BRANCH=v2.0 DB=postgres
|
16
|
-
- SOLIDUS_BRANCH=v2.1 DB=postgres
|
17
|
-
- SOLIDUS_BRANCH=v2.2 DB=postgres
|
18
|
-
- SOLIDUS_BRANCH=v2.3 DB=postgres
|
19
|
-
- SOLIDUS_BRANCH=v2.4 DB=postgres
|
20
|
-
- SOLIDUS_BRANCH=master DB=postgres
|
21
|
-
- SOLIDUS_BRANCH=v1.1 DB=mysql
|
22
|
-
- SOLIDUS_BRANCH=v1.2 DB=mysql
|
23
|
-
- SOLIDUS_BRANCH=v1.3 DB=mysql
|
24
|
-
- SOLIDUS_BRANCH=v1.4 DB=mysql
|
25
|
-
- SOLIDUS_BRANCH=v2.0 DB=mysql
|
26
|
-
- SOLIDUS_BRANCH=v2.1 DB=mysql
|
27
|
-
- SOLIDUS_BRANCH=v2.2 DB=mysql
|
28
|
-
- SOLIDUS_BRANCH=v2.3 DB=mysql
|
29
|
-
- SOLIDUS_BRANCH=v2.4 DB=mysql
|
30
|
-
- SOLIDUS_BRANCH=master DB=mysql
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Spree
|
2
|
-
module Admin
|
3
|
-
class LocalesController < Spree::Admin::BaseController
|
4
|
-
def show
|
5
|
-
end
|
6
|
-
|
7
|
-
def update
|
8
|
-
params.each do |name, value|
|
9
|
-
next unless SolidusI18n::Config.has_preference? name
|
10
|
-
SolidusI18n::Config[name] = value.map(&:to_sym)
|
11
|
-
end
|
12
|
-
redirect_to admin_locale_path
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|