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
data/config/locales/pt.yml
CHANGED
@@ -237,50 +237,6 @@ pt:
|
|
237
237
|
spree/user:
|
238
238
|
spree/variant:
|
239
239
|
spree/zone:
|
240
|
-
devise:
|
241
|
-
confirmations:
|
242
|
-
confirmed:
|
243
|
-
send_instructions:
|
244
|
-
failure:
|
245
|
-
inactive:
|
246
|
-
invalid:
|
247
|
-
invalid_token:
|
248
|
-
locked:
|
249
|
-
timeout:
|
250
|
-
unauthenticated:
|
251
|
-
unconfirmed:
|
252
|
-
mailer:
|
253
|
-
confirmation_instructions:
|
254
|
-
subject:
|
255
|
-
reset_password_instructions:
|
256
|
-
subject:
|
257
|
-
unlock_instructions:
|
258
|
-
subject:
|
259
|
-
oauth_callbacks:
|
260
|
-
failure:
|
261
|
-
success:
|
262
|
-
unlocks:
|
263
|
-
send_instructions:
|
264
|
-
unlocked:
|
265
|
-
user_passwords:
|
266
|
-
user:
|
267
|
-
cannot_be_blank:
|
268
|
-
send_instructions:
|
269
|
-
updated:
|
270
|
-
user_registrations:
|
271
|
-
destroyed:
|
272
|
-
inactive_signed_up:
|
273
|
-
signed_up:
|
274
|
-
updated:
|
275
|
-
user_sessions:
|
276
|
-
signed_in:
|
277
|
-
signed_out:
|
278
|
-
errors:
|
279
|
-
messages:
|
280
|
-
already_confirmed:
|
281
|
-
not_found:
|
282
|
-
not_locked:
|
283
|
-
not_saved:
|
284
240
|
spree:
|
285
241
|
abbreviation: Abreviação
|
286
242
|
accept:
|
@@ -518,10 +474,6 @@ pt:
|
|
518
474
|
jirafe_settings_updated:
|
519
475
|
date:
|
520
476
|
date_completed: Date Completed
|
521
|
-
date_picker:
|
522
|
-
first_day:
|
523
|
-
format:
|
524
|
-
js_format:
|
525
477
|
date_range: Entre as Datas
|
526
478
|
default: Padrão
|
527
479
|
default_refund_amount:
|
data/config/locales/ro.yml
CHANGED
@@ -281,52 +281,6 @@ ro:
|
|
281
281
|
spree/zone:
|
282
282
|
one: Zonă
|
283
283
|
other: Zone
|
284
|
-
devise:
|
285
|
-
confirmations:
|
286
|
-
confirmed: Contul dumneavoastră a fost confirmat cu succes. Sunteți autentificat.
|
287
|
-
send_instructions: Veți primi un email cu instrucțiuni pentru confirmarea contului în câteva minute.
|
288
|
-
failure:
|
289
|
-
inactive: Contul dumneavoastră nu a fost activat încă.
|
290
|
-
invalid: Email sau parolă nevalide.
|
291
|
-
invalid_token: Cod de autentificare nevalid.
|
292
|
-
locked: Contul dumneavoastră este blocat.
|
293
|
-
timeout: Sesiunea dumneavoastră a expirat, vă rugăm reautentificați-vă pentru a continua.
|
294
|
-
unauthenticated: Trebuie să vă înregistrați sau autentificați înainte de a continua.
|
295
|
-
unconfirmed: Trebuie să confirmați contul înainte de a continua.
|
296
|
-
mailer:
|
297
|
-
confirmation_instructions:
|
298
|
-
subject: Instrucțiuni de confirmare
|
299
|
-
reset_password_instructions:
|
300
|
-
subject: Instrucțiuni resetare parolă
|
301
|
-
unlock_instructions:
|
302
|
-
subject: Instrucțiuni deblocare
|
303
|
-
oauth_callbacks:
|
304
|
-
failure:
|
305
|
-
success:
|
306
|
-
unlocks:
|
307
|
-
send_instructions: Veți primi un email cu instrucțiuni pentru a vă debloca contul în câteva minute.
|
308
|
-
unlocked: Contul dumneavoastră a fost deblocat cu succes. Puteți să vă autentificați.
|
309
|
-
user_passwords:
|
310
|
-
user:
|
311
|
-
cannot_be_blank: Parola dumneavoastră nu poate să fie goală.
|
312
|
-
send_instructions: Veți primi un email cu instrucțiuni pentru a vă reseta parola în câteva minute.
|
313
|
-
updated: Parola dumneavoastră a fost schimbată cu success. Sunteți autentificat.
|
314
|
-
user_registrations:
|
315
|
-
destroyed: La revedere! Contul dumneavoastră a fost șters cu succes. Sperăm să vă revedem în curând.
|
316
|
-
inactive_signed_up: V-ați înscris cu succes. Din păcate nu am putut să vă autentificăm din cauză că acest cont este %{reason}.
|
317
|
-
signed_up: Bun venit! V-ați înscris cu succes.
|
318
|
-
updated: V-ați actualizat contul cu succes.
|
319
|
-
user_sessions:
|
320
|
-
signed_in: Autentificare cu succes.
|
321
|
-
signed_out: Deautentificare cu success.
|
322
|
-
errors:
|
323
|
-
messages:
|
324
|
-
already_confirmed: a fost deja confirmat
|
325
|
-
not_found: nu a fost găsit
|
326
|
-
not_locked: nu a fost blocat
|
327
|
-
not_saved:
|
328
|
-
one: 'o eroare a împiedicat acest %{resource} să fie salvat:'
|
329
|
-
other: "%{count} erori au împiedicat acest %{resource} să fie salvat:"
|
330
284
|
spree:
|
331
285
|
abbreviation: Prescurtare
|
332
286
|
accept:
|
@@ -567,7 +521,7 @@ ro:
|
|
567
521
|
date_picker:
|
568
522
|
first_day:
|
569
523
|
format: "%d.%m.%Y"
|
570
|
-
js_format: "
|
524
|
+
js_format: "d.m.Y"
|
571
525
|
date_range: Perioada
|
572
526
|
default: Standard
|
573
527
|
default_refund_amount:
|
@@ -620,7 +574,8 @@ ro:
|
|
620
574
|
no_shipping_methods_available: Nu există nicio modalitate de expediție pentru locația aleasă, te rugăm să schimbi adresa și să mai încerci odată.
|
621
575
|
errors_prohibited_this_record_from_being_saved:
|
622
576
|
one: 1 eroare nu permite ca această înregistrare să fie salvată
|
623
|
-
|
577
|
+
few: "%{count} erori nu permit ca această înregistrare să fie salvată"
|
578
|
+
other: "%{count} de erori nu permit ca această înregistrare să fie salvată"
|
624
579
|
event: Cazuri
|
625
580
|
events:
|
626
581
|
spree:
|