spree_billing_sisow 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +26 -0
- data/README.md +54 -0
- data/app/assets/javascripts/spree/backend/spree_billing_sisow.js +0 -0
- data/app/assets/javascripts/spree/frontend/spree_billing_sisow.js +0 -0
- data/app/assets/stylesheets/spree/backend/spree_billing_sisow.css +0 -0
- data/app/assets/stylesheets/spree/frontend/spree_billing_sisow.css +0 -0
- data/app/controllers/spree/admin/sisow_controller.rb +22 -0
- data/app/controllers/spree/checkout_controller_decorator.rb +70 -0
- data/app/controllers/spree/sisow_status_controller.rb +18 -0
- data/app/models/spree/app_configuration_decorator.rb +7 -0
- data/app/models/spree/billing_integration.rb +38 -0
- data/app/models/spree/payment_method/sisow_billing/bancontact.rb +9 -0
- data/app/models/spree/payment_method/sisow_billing/creditcard.rb +9 -0
- data/app/models/spree/payment_method/sisow_billing/ideal.rb +14 -0
- data/app/models/spree/payment_method/sisow_billing/paypalec.rb +9 -0
- data/app/models/spree/payment_method/sisow_billing/purchase.rb +19 -0
- data/app/models/spree/payment_method/sisow_billing/sisow_payment_method.rb +24 -0
- data/app/models/spree/payment_method/sisow_billing/sofort.rb +9 -0
- data/app/models/spree/payment_method/sisow_billing.rb +123 -0
- data/app/models/spree/sisow_transaction.rb +10 -0
- data/app/overrides/admin_decorator.rb +6 -0
- data/app/views/spree/admin/payments/source_forms/_bancontact.html.erb +8 -0
- data/app/views/spree/admin/payments/source_forms/_ideal.html.erb +8 -0
- data/app/views/spree/admin/payments/source_forms/_paypalec.html.erb +8 -0
- data/app/views/spree/admin/payments/source_forms/_sofort.html.erb +8 -0
- data/app/views/spree/admin/payments/source_views/_bancontact.html.erb +33 -0
- data/app/views/spree/admin/payments/source_views/_ideal.html.erb +33 -0
- data/app/views/spree/admin/payments/source_views/_sofort.html.erb +33 -0
- data/app/views/spree/admin/shared/_configurations_menu_sisow.html.erb +1 -0
- data/app/views/spree/admin/sisow/_form.html.erb +42 -0
- data/app/views/spree/admin/sisow/edit.html.erb +5 -0
- data/app/views/spree/checkout/payment/_bancontact.html.erb +1 -0
- data/app/views/spree/checkout/payment/_creditcard.html.erb +1 -0
- data/app/views/spree/checkout/payment/_ideal.html.erb +6 -0
- data/app/views/spree/checkout/payment/_paypalec.html.erb +1 -0
- data/app/views/spree/checkout/payment/_sofort.html.erb +1 -0
- data/config/locales/en.yml +16 -0
- data/config/locales/nl.yml +16 -0
- data/config/routes.rb +17 -0
- data/db/migrate/20130525124432_create_sisow_transactions.rb +14 -0
- data/db/migrate/20130527131828_add_transaction_type_to_sisow_transactions.rb +7 -0
- data/db/migrate/20150417081217_change_name_of_payment_method_types.rb +24 -0
- data/lib/generators/spree_billing_sisow/install/install_generator.rb +21 -0
- data/lib/spree_billing_sisow/engine.rb +33 -0
- data/lib/spree_billing_sisow/factories.rb +6 -0
- data/lib/spree_billing_sisow.rb +2 -0
- data/spec/controllers/spree/sisow_status_controller_spec.rb +70 -0
- data/spec/dummy/README.md +24 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -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 +2 -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/models/spree/dummy_model.rb +6 -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/bundle +3 -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/bin/update +28 -0
- data/spec/dummy/config/application.rb +54 -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 +16 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +61 -0
- data/spec/dummy/config/environments/production.rb +94 -0
- data/spec/dummy/config/environments/test.rb +38 -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 +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/devise.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -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/spree.rb +30 -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/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +11 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/migrate/20190729091650_create_active_storage_tables.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20190729091651_spree_one_two.spree.rb +482 -0
- data/spec/dummy/db/migrate/20190729091652_spree_promo_one_two.spree.rb +46 -0
- data/spec/dummy/db/migrate/20190729091653_add_tax_rate_label.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091654_add_toggle_tax_rate_display.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091655_remove_unused_preference_columns.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091656_add_lock_version_to_variant.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091657_add_states_required_to_countries.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091658_add_on_demand_to_product_and_variant.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091659_remove_not_null_constraint_from_products_on_hand.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091660_split_prices_from_variants.spree.rb +32 -0
- data/spec/dummy/db/migrate/20190729091661_remove_not_null_from_spree_prices_amount.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091662_add_currency_to_line_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091663_add_currency_to_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091664_add_cost_currency_to_variants.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091665_remove_display_on_from_payment_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091666_add_position_to_taxonomies.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091667_add_last_ip_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091668_add_state_to_spree_adjustments.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091669_add_display_on_to_spree_payment_methods.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091670_add_position_to_product_properties.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091671_add_identifier_to_spree_payments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091672_add_order_id_index_to_payments.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091673_add_primary_to_spree_products_taxons.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091674_create_spree_stock_items.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091675_create_spree_stock_locations.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091676_create_default_stock.spree.rb +34 -0
- data/spec/dummy/db/migrate/20190729091677_add_order_id_index_to_shipments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091678_change_meta_description_on_spree_products_to_text.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091679_add_stock_location_id_to_spree_shipments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091680_add_pending_to_inventory_unit.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091681_remove_on_demand_from_product_and_variant.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091682_create_shipping_method_zone.spree.rb +22 -0
- data/spec/dummy/db/migrate/20190729091683_remove_shipping_category_id_from_shipping_method.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091684_create_shipping_method_categories.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091685_add_tracking_url_to_spree_shipping_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091686_create_spree_shipping_rates.spree.rb +25 -0
- data/spec/dummy/db/migrate/20190729091687_remove_category_match_attributes_from_shipping_method.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091688_create_stock_movements.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091689_add_address_fields_to_stock_location.spree.rb +23 -0
- data/spec/dummy/db/migrate/20190729091690_add_active_field_to_stock_locations.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091691_add_backorderable_to_stock_item.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091692_add_default_quantity_to_stock_movement.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091693_add_source_and_destination_to_stock_movements.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091694_change_orders_total_precision.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091695_change_spree_payments_amount_precision.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091696_change_spree_return_authorization_amount_precision.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091697_change_adjustments_amount_precision.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091698_add_originator_to_stock_movement.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091699_drop_source_and_destination_from_stock_movement.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091700_migrate_inventory_unit_sold_to_on_hand.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091701_add_stock_location_to_rma.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091702_update_shipment_state_for_canceled_orders.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091703_add_seo_metas_to_taxons.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091704_remove_stock_item_and_variant_lock.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091705_add_name_to_spree_credit_cards.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091706_update_name_fields_on_spree_credit_cards.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091707_add_index_to_source_columns_on_adjustments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091708_update_adjustment_states.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091709_add_shipping_rates_to_shipments.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091710_create_spree_stock_transfers.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091711_drop_products_count_on_hand.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091712_set_default_shipping_rate_cost.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091713_add_number_to_stock_transfer.spree.rb +24 -0
- data/spec/dummy/db/migrate/20190729091714_add_sku_index_to_spree_variants.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091715_add_backorderable_default_to_spree_stock_location.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091716_add_propage_all_variants_to_spree_stock_location.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091717_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091718_add_user_id_index_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091719_add_updated_at_to_spree_countries.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091720_add_updated_at_to_spree_states.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091721_add_cvv_result_code_and_cvv_result_message_to_spree_payments.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091722_add_unique_index_to_permalink_on_spree_products.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091723_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091724_add_deleted_at_to_spree_tax_rates.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091725_remove_lock_version_from_inventory_units.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091726_add_cost_price_to_line_item.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091727_set_backorderable_to_default_to_false.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091728_add_created_by_id_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091729_index_completed_at_on_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091730_add_tax_category_id_to_spree_line_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091731_migrate_tax_categories_to_line_items.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091732_drop_spree_mail_methods.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091733_set_default_stock_location_on_shipments.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091734_upgrade_adjustments.spree.rb +47 -0
- data/spec/dummy/db/migrate/20190729091735_rename_adjustment_fields.spree.rb +21 -0
- data/spec/dummy/db/migrate/20190729091736_add_admin_name_column_to_spree_shipping_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091737_add_admin_name_column_to_spree_stock_locations.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091738_add_shipment_total_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091739_expand_order_number_size.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091740_rename_activators_to_promotions.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091741_add_adjustment_total_to_line_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091742_add_adjustment_total_to_shipments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091743_add_depth_to_spree_taxons.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091744_add_tax_total_to_line_items_shipments_and_orders.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091745_add_shipping_category_to_shipping_methods_and_products.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091746_migrate_old_shipping_calculators.spree.rb +20 -0
- data/spec/dummy/db/migrate/20190729091747_add_code_to_spree_promotion_rules.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091748_change_states_required_for_countries.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091749_add_deleted_at_to_spree_stock_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091750_remove_promotions_event_name_field.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091751_add_promo_total_to_line_items_and_shipments_and_orders.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091752_remove_unused_credit_card_fields.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091753_add_track_inventory_to_variant.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091754_add_tax_category_to_variants.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091755_add_channel_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091756_add_included_to_adjustments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091757_rename_tax_total_fields.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091758_add_line_item_id_to_spree_inventory_units.spree.rb +22 -0
- data/spec/dummy/db/migrate/20190729091759_add_updated_at_to_variants.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091760_add_position_to_classifications.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091761_create_spree_orders_promotions.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091762_unique_shipping_method_categories.spree.rb +25 -0
- data/spec/dummy/db/migrate/20190729091763_add_item_count_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091764_remove_value_type_from_spree_preferences.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091765_rename_permalink_to_slug_for_products.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091766_add_index_to_variant_id_and_currency_on_prices.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091767_rename_activator_id_in_rules_and_actions_to_promotion_id.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091768_add_deleted_at_to_spree_prices.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091769_add_approver_id_and_approved_at_to_orders.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091770_add_confirmation_delivered_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091771_add_auto_capture_to_payment_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091772_create_spree_payment_capture_events.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091773_add_uncaptured_amount_to_payments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091774_default_variant_weight_to_zero.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091775_add_tax_category_id_to_shipping_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091776_add_tax_rate_id_to_shipping_rates.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091777_add_pre_tax_amount_to_line_items_and_shipments.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091778_add_more_indexes.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091779_add_considered_risky_to_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091780_add_preference_store_to_everything.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091781_add_user_id_to_spree_credit_cards.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091782_migrate_old_preferences.spree.rb +28 -0
- data/spec/dummy/db/migrate/20190729091783_create_spree_stores.spree.rb +26 -0
- data/spec/dummy/db/migrate/20190729091784_create_store_from_preferences.spree.rb +38 -0
- data/spec/dummy/db/migrate/20190729091785_add_timestamps_to_spree_assets.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091786_create_spree_taxons_promotion_rules.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091787_add_additional_store_fields.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091788_add_many_missing_indexes.spree.rb +19 -0
- data/spec/dummy/db/migrate/20190729091789_correct_some_polymorphic_index_and_add_more_missing.spree.rb +67 -0
- data/spec/dummy/db/migrate/20190729091790_add_user_id_created_by_id_index_to_order.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091791_change_spree_price_amount_precision.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091792_add_token_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091793_move_order_token_from_tokenized_permission.spree.rb +30 -0
- data/spec/dummy/db/migrate/20190729091794_set_shipment_total_for_users_upgrading.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091795_drop_credit_card_first_name_and_last_name.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091796_add_deleted_at_to_spree_promotion_actions.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091797_remove_uncaptured_amount_from_spree_payments.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091798_create_spree_refunds.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091799_create_spree_return_authorization_inventory_unit.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091800_rename_return_authorization_inventory_unit_to_return_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091801_backfill_line_item_pre_tax_amount.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091802_recreate_spree_return_authorizations.spree.rb +56 -0
- data/spec/dummy/db/migrate/20190729091803_add_amount_fields_to_return_items.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091804_drop_return_authorization_amount.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091805_create_spree_return_authorization_reasons.spree.rb +29 -0
- data/spec/dummy/db/migrate/20190729091806_create_spree_refund_reasons.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091807_rename_return_authorization_reason.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091808_create_spree_promotion_categories.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091809_drop_received_at_on_return_items.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091810_add_reception_and_acceptance_status_to_return_items.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091811_create_default_refund_reason.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091812_add_default_to_spree_stock_locations.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091813_create_spree_customer_returns.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091814_add_customer_return_id_to_return_item.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091815_create_friendly_id_slugs.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091816_rename_spree_refund_return_authorization_id.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091817_increase_return_item_pre_tax_amount_precision.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091818_copy_product_slugs_to_slug_history.spree.rb +16 -0
- data/spec/dummy/db/migrate/20190729091819_create_spree_reimbursements.spree.rb +22 -0
- data/spec/dummy/db/migrate/20190729091820_add_promotionable_to_spree_products.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091821_add_exchange_inventory_unit_foreign_keys.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091822_add_acceptance_status_errors_to_return_item.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091823_create_spree_reimbursement_types.spree.rb +21 -0
- data/spec/dummy/db/migrate/20190729091824_add_default_to_shipment_cost.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091825_add_default_to_spree_credit_cards.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091826_make_existing_credit_cards_default.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091827_add_type_to_reimbursement_type.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091828_create_spree_reimbursement_credits.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091829_add_meta_title_to_spree_products.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091830_add_kind_to_zone.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091831_add_code_to_spree_tax_categories.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091832_default_pre_tax_amount_should_be_zero.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091833_add_code_to_spree_shipping_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091834_add_cancel_audit_fields_to_spree_orders.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091835_add_store_id_to_orders.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091836_create_spree_taxons_prototypes.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091837_add_state_lock_version_to_order.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091838_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091839_fix_adjustment_order_presence.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091840_update_classifications_positions.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091841_add_guest_token_index_to_spree_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091842_remove_token_permissions_table.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091843_remove_extra_products_slug_index.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091844_update_product_slug_index.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091845_rename_identifier_to_number_for_payment.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091846_create_spree_store_credits.spree.rb +25 -0
- data/spec/dummy/db/migrate/20190729091847_create_spree_store_credit_categories.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091848_create_spree_store_credit_events.spree.rb +18 -0
- data/spec/dummy/db/migrate/20190729091849_create_spree_store_credit_types.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091850_remove_environment_from_payment_method.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091851_add_resellable_to_return_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091852_add_code_to_spree_promotion_categories.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091853_remove_environment_from_tracker.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091854_remove_spree_configurations.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091855_add_index_to_spree_stock_items_variant_id.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091856_ensure_payments_have_numbers.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091857_add_missing_indexes_on_spree_tables.spree.rb +68 -0
- data/spec/dummy/db/migrate/20190729091858_remove_duplicated_indexes_from_multi_columns.spree.rb +19 -0
- data/spec/dummy/db/migrate/20190729091859_remove_user_index_from_spree_state_changes.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091860_fix_adjustment_order_id.spree.rb +71 -0
- data/spec/dummy/db/migrate/20190729091861_add_position_to_spree_payment_methods.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091862_add_deleted_at_to_friendly_id_slugs.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091863_increase_scale_on_pre_tax_amounts.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091864_add_taxable_adjustment_total_to_line_item.spree.rb +20 -0
- data/spec/dummy/db/migrate/20190729091865_migrate_payment_methods_display.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091866_enable_acts_as_paranoid_on_calculators.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091867_spree_payment_method_store_credits.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091868_rename_has_and_belongs_to_associations_to_model_names.spree.rb +19 -0
- data/spec/dummy/db/migrate/20190729091869_spree_store_credit_types.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091870_add_discontinued_to_products_and_variants.spree.rb +69 -0
- data/spec/dummy/db/migrate/20190729091871_remove_shipping_method_id_from_spree_orders.spree.rb +14 -0
- data/spec/dummy/db/migrate/20190729091872_add_id_column_to_earlier_habtm_tables.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091873_add_indexes.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091874_remove_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091875_acts_as_taggable_on_spree_migration.spree.rb +41 -0
- data/spec/dummy/db/migrate/20190729091876_change_collation_for_spree_tag_names.spree.rb +10 -0
- data/spec/dummy/db/migrate/20190729091877_add_missing_indexes_to_spree_taggings.spree.rb +15 -0
- data/spec/dummy/db/migrate/20190729091878_add_zipcode_required_to_spree_countries.spree.rb +8 -0
- data/spec/dummy/db/migrate/20190729091879_add_created_at_to_variant.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091880_add_null_false_to_spree_variants_timestamps.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091881_add_quantity_to_inventory_units.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091882_add_original_return_item_id_to_spree_inventory_units.spree.rb +30 -0
- data/spec/dummy/db/migrate/20190729091883_add_unique_index_on_number_to_spree_orders.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091884_add_unique_index_on_number_to_spree_stock_transfer.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091885_add_unique_index_on_number_to_spree_shipment.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091886_add_unique_index_on_number_to_spree_payments.spree.rb +18 -0
- data/spec/dummy/db/migrate/20190729091887_add_unique_index_on_number_to_spree_return_authorizations.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091888_add_unique_index_on_number_to_spree_customer_returns.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091889_add_unique_index_on_number_to_spree_reimbursements.spree.rb +17 -0
- data/spec/dummy/db/migrate/20190729091890_add_missing_unique_indexes_for_unique_attributes.spree.rb +38 -0
- data/spec/dummy/db/migrate/20190729091891_add_index_on_stock_location_to_spree_customer_returns.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091892_add_index_on_prototype_to_spree_option_type_prototype.spree.rb +20 -0
- data/spec/dummy/db/migrate/20190729091893_add_indexes_to_spree_option_value_variant.spree.rb +20 -0
- data/spec/dummy/db/migrate/20190729091894_add_index_on_promotion_id_to_order_promotions.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091895_add_indexes_for_property_prototype.spree.rb +21 -0
- data/spec/dummy/db/migrate/20190729091896_add_index_for_prototype_id_to_prototype_taxons.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091897_add_indexes_to_refunds.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091898_add_indexes_to_reimbursement_credits.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091899_add_indexes_to_return_authorizations.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091900_add_indexes_to_return_items.spree.rb +12 -0
- data/spec/dummy/db/migrate/20190729091901_add_index_to_role_users.spree.rb +19 -0
- data/spec/dummy/db/migrate/20190729091902_add_index_to_shipping_method_categories.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091903_add_index_to_shipping_method_zones.spree.rb +21 -0
- data/spec/dummy/db/migrate/20190729091904_add_index_to_spree_shipping_rates.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091905_add_index_to_spree_stock_items.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091906_add_index_to_spree_stock_movement.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091907_change_indexes_on_friendly_id_slugs.spree.rb +11 -0
- data/spec/dummy/db/migrate/20190729091908_add_analytics_kind_to_spree_trackers.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091909_rename_tracker_kind_field.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091910_remove_icon_from_taxons.spree.rb +9 -0
- data/spec/dummy/db/migrate/20190729091911_add_unique_index_on_spree_promotions_code.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091912_rename_guest_token_to_token_in_orders.spree.rb +6 -0
- data/spec/dummy/db/migrate/20190729091913_add_timestamps_to_spree_prices.spree.rb +13 -0
- data/spec/dummy/db/migrate/20190729091914_add_deleted_at_to_spree_credit_cards.spree.rb +7 -0
- data/spec/dummy/db/migrate/20190729091915_create_users.spree_auth.rb +30 -0
- data/spec/dummy/db/migrate/20190729091916_rename_columns_for_devise.spree_auth.rb +38 -0
- data/spec/dummy/db/migrate/20190729091917_convert_user_remember_field.spree_auth.rb +12 -0
- data/spec/dummy/db/migrate/20190729091918_add_reset_password_sent_at_to_spree_users.spree_auth.rb +9 -0
- data/spec/dummy/db/migrate/20190729091919_make_users_email_index_unique.spree_auth.rb +10 -0
- data/spec/dummy/db/migrate/20190729091920_add_deleted_at_to_users.spree_auth.rb +7 -0
- data/spec/dummy/db/migrate/20190729091921_add_confirmable_to_users.spree_auth.rb +8 -0
- data/spec/dummy/db/migrate/20190729091922_add_missing_indices_on_user.spree_auth.rb +11 -0
- data/spec/dummy/db/migrate/20190729091923_create_sisow_transactions.spree_billing_sisow.rb +15 -0
- data/spec/dummy/db/migrate/20190729091924_add_transaction_type_to_sisow_transactions.spree_billing_sisow.rb +8 -0
- data/spec/dummy/db/migrate/20190729091925_change_name_of_payment_method_types.spree_billing_sisow.rb +25 -0
- data/spec/dummy/db/migrate/20190729091926_add_api_key_to_spree_users.spree_api.rb +8 -0
- data/spec/dummy/db/migrate/20190729091927_resize_api_key_field.spree_api.rb +8 -0
- data/spec/dummy/db/migrate/20190729091928_rename_api_key_to_spree_api_key.spree_api.rb +8 -0
- data/spec/dummy/db/migrate/20190729091929_add_index_to_user_spree_api_key.spree_api.rb +8 -0
- data/spec/dummy/db/migrate/20190729091930_create_doorkeeper_tables.spree_api.rb +70 -0
- data/spec/dummy/db/migrate/20190729091931_create_spree_dummy_models.rb +10 -0
- data/spec/dummy/db/schema.rb +1141 -0
- data/spec/dummy/db/seeds.rb +10 -0
- data/spec/dummy/db/spree_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +60773 -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/assets/admin/logo-80200db37ace2294842fdb8cadf550b3681426b5551d89ad8fc4c0a53249d729.png +0 -0
- data/spec/dummy/public/assets/application-f0d704deea029cf000697e2c0181ec173a1b474645466ed843eb5ee7bb215794.css +16 -0
- data/spec/dummy/public/assets/application-f0d704deea029cf000697e2c0181ec173a1b474645466ed843eb5ee7bb215794.css.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg +288 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf.gz +0 -0
- data/spec/dummy/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2 +0 -0
- data/spec/dummy/public/assets/credit_cards/amex_cid-110b3c8694faccb08f6c0e150833efd218b6fe420fdca7175e3551c8bd4b925e.gif +0 -0
- data/spec/dummy/public/assets/credit_cards/credit_card-5ca047adf17e2e7fdd101d108b2ac90178b4ccb32d02628ce723bb14ccb9bcea.gif +0 -0
- data/spec/dummy/public/assets/credit_cards/discover_cid-a3047727fc48922fb60924d854938c44924fe3580e89b22e07afc00d6fd6cc69.gif +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/american_express-bddd7ca01fc4468e3c198995040f060ee885cf3bf7dfd4525717c4457d518ed2.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/cirrus-4f875cd1f8b69d983eae94789064e64beee80a3d00d01c2407ef80ec4333bab5.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/delta-f8058ef2e9c52116978902e28d578c11d37b50f58c2ae20c05f431d483f34d79.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/diners_club-106b815730e7585d6fdf2899aa341979235406c82efcb489ed889ffc96cde880.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/directdebit-b02eaf68946ab2547eb63e884e749bff74ce3f7b4e54710d63efb930968d9f84.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/discover-7657f566fa8ab8b930fa2a1fa90caf0c5d5430afbd1b23425471cc29fc95c48a.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/egold-7fa5daf64d696d244c6e1d8847c1823c30934ac9ce2772d44622d150b0ab36c6.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/jcb-226f02afb616c5cc05c6e1c14cfa511f2484ea5212fe84864fd84e337707de3e.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/maestro-04253c601b66912deff0ee2a481c9bcf9154b8965ea4a52761db273fdff70144.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/master-c93be9b003aa2d00eabb76e6ae9bfd3412548da8b64606e4a552c945934b45c2.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/paypal-f85bbab879c983e0a969228fc30f9a6b8bf3897e82e519968c0c81368c0d0c96.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/solo-91b1d214eaa7c8cbbc1509f628c325f265e226053d1de40702e4ef32435cc71f.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/switch-808fe60a28ba3b4e4ebb41a712434d1fc0f5ae7d16b3fb290cd63d8e315c0975.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/visa-601f8c5e3262bae9694d84d6859e1f99f8f4c8c03f08456183b80ea19c469054.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/visaelectron-6ac6e40b7af2dedd1ee0aad0665fae12f2ebf690c8421fe0f24141d02643be75.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/westernunion-5060c8fc7fe0efd1d05f9f39ea85d87d9117f7d8ac92de1fc7acdd740cbef338.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/wirecard-0570018a538835cb2b0f0ab5ae72cc4b01661d0369c1b9977318a914509d4139.png +0 -0
- data/spec/dummy/public/assets/credit_cards/icons/worldpay-114e072092625fad239074dd7851848fdc7529e548145fa7ec6e564dbb2056a6.png +0 -0
- data/spec/dummy/public/assets/credit_cards/master_cid-aebcf5a0020689ae243e0b8c31da62d8801c1d071bfe0c7c97528fc298abbf96.jpg +0 -0
- data/spec/dummy/public/assets/credit_cards/visa_cid-0c885c2d8c5795439e23387124fcd92b7f330589a755c13c78556d19657d9c14.gif +0 -0
- data/spec/dummy/public/assets/doorkeeper/admin/application-a644908e7bab54fb749be0f59fb64a7480bbf9c4c2b79d4a65791cb7ab4d8730.css +18 -0
- data/spec/dummy/public/assets/doorkeeper/admin/application-a644908e7bab54fb749be0f59fb64a7480bbf9c4c2b79d4a65791cb7ab4d8730.css.gz +0 -0
- data/spec/dummy/public/assets/doorkeeper/application-c93dac2ad9d65e3393e0e2c958481e86ef7a5e5b0f6ce406842a7b99b25a4850.css +83 -0
- data/spec/dummy/public/assets/doorkeeper/application-c93dac2ad9d65e3393e0e2c958481e86ef7a5e5b0f6ce406842a7b99b25a4850.css.gz +0 -0
- data/spec/dummy/public/assets/favicon-92e86d463e909754599d66730477622cd3dd0b9bff58c47c9c38bebceb8073e5.ico +0 -0
- data/spec/dummy/public/assets/favicon-92e86d463e909754599d66730477622cd3dd0b9bff58c47c9c38bebceb8073e5.ico.gz +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_444444_256x240-31d988765b4e6f56553c29588c500381dc3e6f0aa2980c8212202e5644aefd5d.png +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_555555_256x240-32175261daee76c82bb0edf0eea16a56421866fbc31e94f3c1d570aa114502f5.png +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_777620_256x240-0b020fc6e696d88d296e7bb1f61f1eb2ad827848e2c7382a4c3e0999e702dd9b.png +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_777777_256x240-faf32007ae120c302213557626e660dd10e711c5dd4f1113d35f26dc05b78d2f.png +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_cc0000_256x240-40985a64b4d5dd213fba27fcd862a1bd1b337a97674f6ff0b9ec20abcee4bc69.png +0 -0
- data/spec/dummy/public/assets/jquery-ui/ui-icons_ffffff_256x240-350df1b7131037de20e83c5c0f3a41a770d2ac48b5762ea772b3f4a8a7b9d47a.png +0 -0
- data/spec/dummy/public/assets/jquery.jstree/themes/spree/style-2470eb16445ffbdc7a49f4d003d39aa0362a27d31f983631067ad1a198ec9440.css +144 -0
- data/spec/dummy/public/assets/jquery.jstree/themes/spree/style-2470eb16445ffbdc7a49f4d003d39aa0362a27d31f983631067ad1a198ec9440.css.gz +0 -0
- data/spec/dummy/public/assets/jquery.jstree/themes/spree/throbber-4e4d43ccac9f0ed6eb6f48ea2b00e10a578b68df0e162df6c4c19d2c9725c04b.gif +0 -0
- data/spec/dummy/public/assets/logo/spree_50-0ae687ccd486b63b01687b1df9e5394430f6fce3ab40c28250b179be4363ddc1.png +0 -0
- data/spec/dummy/public/assets/noimage/large-fe154e843e2b66339f5460ae669c9a6307224a451ed6ba86479c8bf9837ede96.png +0 -0
- data/spec/dummy/public/assets/noimage/mini-d5d987414566f22657bbe0b08a980ddb4230d156845a31ab3cad0a0825016ce8.png +0 -0
- data/spec/dummy/public/assets/noimage/product-fe154e843e2b66339f5460ae669c9a6307224a451ed6ba86479c8bf9837ede96.png +0 -0
- data/spec/dummy/public/assets/noimage/small-1eaf254c069b00a8a692912bddd1660da5f1f80ac202c6bdc4d81b40fd2e0792.png +0 -0
- data/spec/dummy/public/assets/select2-d6b5d8d83dbc18fb8d77c8761d331cd9e5123c9684950bab0406e98a24ac5ae8.png +0 -0
- data/spec/dummy/public/assets/select2-spinner-f6ecff617ec2ba7f559e6f535cad9b70a3f91120737535dab4d4548a6c83576c.gif +0 -0
- data/spec/dummy/public/assets/select2_locale_ar-bc0d626cff33032b13b9d8be220714308a915ac598183fbeafd6a69d2e69685f.js +20 -0
- data/spec/dummy/public/assets/select2_locale_ar-bc0d626cff33032b13b9d8be220714308a915ac598183fbeafd6a69d2e69685f.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_az-17ed2058772cfa1896093f5d59dc7031dc5fc2e539c55d8085fa1e68d3fcd927.js +21 -0
- data/spec/dummy/public/assets/select2_locale_az-17ed2058772cfa1896093f5d59dc7031dc5fc2e539c55d8085fa1e68d3fcd927.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_bg-42c546b39ddf465f36571419fd70bb4f6e44ca4bba6443f8dc62228121441f49.js +21 -0
- data/spec/dummy/public/assets/select2_locale_bg-42c546b39ddf465f36571419fd70bb4f6e44ca4bba6443f8dc62228121441f49.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ca-b9b0ff178adfc196bc79779e5e641069f376b9ec7ee3f3e2836c5df71511eea8.js +20 -0
- data/spec/dummy/public/assets/select2_locale_ca-b9b0ff178adfc196bc79779e5e641069f376b9ec7ee3f3e2836c5df71511eea8.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_cs-27b95541bf7f4e2155d0f0cdc7af062aac217a807b348036c417eea70b0a2897.js +52 -0
- data/spec/dummy/public/assets/select2_locale_cs-27b95541bf7f4e2155d0f0cdc7af062aac217a807b348036c417eea70b0a2897.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_da-0772bb942f0ec472cd18b49adcfaf7bab125b32648e0759016ae6e39ea417f0a.js +20 -0
- data/spec/dummy/public/assets/select2_locale_da-0772bb942f0ec472cd18b49adcfaf7bab125b32648e0759016ae6e39ea417f0a.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_de-7ca5c4c1e6d14a86b68592e8e11974657602388c7745f8f7e3a1e4510614be7e.js +19 -0
- data/spec/dummy/public/assets/select2_locale_de-7ca5c4c1e6d14a86b68592e8e11974657602388c7745f8f7e3a1e4510614be7e.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_el-48bf3eef5ba982cb3ff1b70638a91c5ac1860fbc336728eb810f1f7fd1fd9812.js +20 -0
- data/spec/dummy/public/assets/select2_locale_el-48bf3eef5ba982cb3ff1b70638a91c5ac1860fbc336728eb810f1f7fd1fd9812.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_es-c055394ecd38af8b84f490a20ff6291780ab22b123d88457d8338868db2a329d.js +18 -0
- data/spec/dummy/public/assets/select2_locale_es-c055394ecd38af8b84f490a20ff6291780ab22b123d88457d8338868db2a329d.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_et-cda4d2bc92439ee6207db832ea34fca366cf2119268b755023cc4861da6d7df9.js +20 -0
- data/spec/dummy/public/assets/select2_locale_et-cda4d2bc92439ee6207db832ea34fca366cf2119268b755023cc4861da6d7df9.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_eu-b6732998ea9a29f182c344889e9de5cf0a3d8e9e839ebdc5ce4aee3f293af1d8.js +46 -0
- data/spec/dummy/public/assets/select2_locale_eu-b6732998ea9a29f182c344889e9de5cf0a3d8e9e839ebdc5ce4aee3f293af1d8.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_fa-d98464510d779afc9e003a282b93000caff3b66d3f9fef5fe54df44ea9732909.js +22 -0
- data/spec/dummy/public/assets/select2_locale_fa-d98464510d779afc9e003a282b93000caff3b66d3f9fef5fe54df44ea9732909.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_fi-d3aca88f97706ace6062209f688e77f477f4ba66541a2f797ae05d57045a54f5.js +31 -0
- data/spec/dummy/public/assets/select2_locale_fi-d3aca88f97706ace6062209f688e77f477f4ba66541a2f797ae05d57045a54f5.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_fr-cca326cd42a17caf363015e0632ae360a2d9c924f15b05a0d7749c6575d4aa24.js +19 -0
- data/spec/dummy/public/assets/select2_locale_fr-cca326cd42a17caf363015e0632ae360a2d9c924f15b05a0d7749c6575d4aa24.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_gl-4a273116f1ea3b1fafd8a04cc4b713277e8e4c0f0576196dc30e106dd8125e01.js +46 -0
- data/spec/dummy/public/assets/select2_locale_gl-4a273116f1ea3b1fafd8a04cc4b713277e8e4c0f0576196dc30e106dd8125e01.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_he-7d98d7c309a3707124d24a22741efad6c676dfa669e3a573619ffe806a98c0a3.js +20 -0
- data/spec/dummy/public/assets/select2_locale_he-7d98d7c309a3707124d24a22741efad6c676dfa669e3a573619ffe806a98c0a3.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_hr-fb37ea68ac5e8664d41bac4727949c4269753586ec93d26b4f8f43ca50d901fd.js +25 -0
- data/spec/dummy/public/assets/select2_locale_hr-fb37ea68ac5e8664d41bac4727949c4269753586ec93d26b4f8f43ca50d901fd.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_hu-e8969fcadba7926e0a2e1e6a20f5df3ce4818b13196d07e6ce16879f602d0583.js +18 -0
- data/spec/dummy/public/assets/select2_locale_hu-e8969fcadba7926e0a2e1e6a20f5df3ce4818b13196d07e6ce16879f602d0583.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_id-f968506088bfa7c18689a5bb0331647f36a97352c590b99fc2949f3823e9f2cd.js +20 -0
- data/spec/dummy/public/assets/select2_locale_id-f968506088bfa7c18689a5bb0331647f36a97352c590b99fc2949f3823e9f2cd.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_is-012b25e8d0f0d399924a26f0c9aebc4615006276ddec1f3d84e713f97cacd0d2.js +18 -0
- data/spec/dummy/public/assets/select2_locale_is-012b25e8d0f0d399924a26f0c9aebc4615006276ddec1f3d84e713f97cacd0d2.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_it-dcc45fb356269c7d56bee8485bfaa9b7d768b813d62d57dea6a1655a9df000ea.js +18 -0
- data/spec/dummy/public/assets/select2_locale_it-dcc45fb356269c7d56bee8485bfaa9b7d768b813d62d57dea6a1655a9df000ea.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ja-b2b311c42b079b65dc4bd77084a487f23d814fadcafeedeed3b134533ee47b6a.js +18 -0
- data/spec/dummy/public/assets/select2_locale_ja-b2b311c42b079b65dc4bd77084a487f23d814fadcafeedeed3b134533ee47b6a.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ka-6d93c37b19d576388bb67f4afa6dda1a352c9d99478ffac539c9b194fa5707ee.js +20 -0
- data/spec/dummy/public/assets/select2_locale_ka-6d93c37b19d576388bb67f4afa6dda1a352c9d99478ffac539c9b194fa5707ee.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ko-9dec66b6f325e13b849ec4e800e0693429625e6c859262f14e7a53e1e761c5ac.js +20 -0
- data/spec/dummy/public/assets/select2_locale_ko-9dec66b6f325e13b849ec4e800e0693429625e6c859262f14e7a53e1e761c5ac.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_lt-b56ef195311a71cb8a3e2a55c20faf70f723a9232caa8116a19d3ea288586350.js +27 -0
- data/spec/dummy/public/assets/select2_locale_lt-b56ef195311a71cb8a3e2a55c20faf70f723a9232caa8116a19d3ea288586350.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_lv-334e18838f800abaff51f83b34beaba3e0c1640bc957bbefd6722bfa518cc04c.js +20 -0
- data/spec/dummy/public/assets/select2_locale_lv-334e18838f800abaff51f83b34beaba3e0c1640bc957bbefd6722bfa518cc04c.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_mk-ac7a50fd55dd9ff5b4163857f6eba040aeaf7420c696b95cf5bcb00e958a3d5b.js +20 -0
- data/spec/dummy/public/assets/select2_locale_mk-ac7a50fd55dd9ff5b4163857f6eba040aeaf7420c696b95cf5bcb00e958a3d5b.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ms-f9c316c48b79dd693ca74b9462e8080400dc5d47ab516ac31b1272791979c3ce.js +20 -0
- data/spec/dummy/public/assets/select2_locale_ms-f9c316c48b79dd693ca74b9462e8080400dc5d47ab516ac31b1272791979c3ce.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_nl-b3bd6541e18715eabc9b402bc87ee926471f16806c644506dee5f2f3d967b286.js +18 -0
- data/spec/dummy/public/assets/select2_locale_nl-b3bd6541e18715eabc9b402bc87ee926471f16806c644506dee5f2f3d967b286.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_no-450ea11297318434f9c5e427302333062ba0b4497f866f8010a85294604cf801.js +21 -0
- data/spec/dummy/public/assets/select2_locale_no-450ea11297318434f9c5e427302333062ba0b4497f866f8010a85294604cf801.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_pl-54e8b177a932b0c6f70ccc81f3c650e3c488bb99bd56e1d8e6187415de649b86.js +26 -0
- data/spec/dummy/public/assets/select2_locale_pl-54e8b177a932b0c6f70ccc81f3c650e3c488bb99bd56e1d8e6187415de649b86.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_pt-BR-bb12e4123097c6327ec6cbc82159dbe1574cb2fa6f1dcfc1a6af3c00755c31d5.js +18 -0
- data/spec/dummy/public/assets/select2_locale_pt-BR-bb12e4123097c6327ec6cbc82159dbe1574cb2fa6f1dcfc1a6af3c00755c31d5.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_pt-PT-2dc9ef1f7bf4ce21d4be57f85c304d525b2b5f19ad62b714ba94d2b118c84498.js +18 -0
- data/spec/dummy/public/assets/select2_locale_pt-PT-2dc9ef1f7bf4ce21d4be57f85c304d525b2b5f19ad62b714ba94d2b118c84498.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ro-8c0bb8fa885ab577e50d6643d9ec68f87d9ba2a99b3e436c6cb21f67421d870a.js +18 -0
- data/spec/dummy/public/assets/select2_locale_ro-8c0bb8fa885ab577e50d6643d9ec68f87d9ba2a99b3e436c6cb21f67421d870a.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_rs-1016c79a680bca3c3b8095ad04e67c9b89412ff6f6051dbc196627828e592c9b.js +20 -0
- data/spec/dummy/public/assets/select2_locale_rs-1016c79a680bca3c3b8095ad04e67c9b89412ff6f6051dbc196627828e592c9b.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ru-4c1cd4a76b568e7452b09b8a665a28f5808d5854aec120985101c17b7b960687.js +24 -0
- data/spec/dummy/public/assets/select2_locale_ru-4c1cd4a76b568e7452b09b8a665a28f5808d5854aec120985101c17b7b960687.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_sk-c91946ae59a294854489563706f97cb3b690617ec2dbac799b184c6336189f1b.js +51 -0
- data/spec/dummy/public/assets/select2_locale_sk-c91946ae59a294854489563706f97cb3b690617ec2dbac799b184c6336189f1b.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_sv-92964e4300e520e23f5f83492c2e750b5875484b6420ed54c5c7422e50bff49e.js +20 -0
- data/spec/dummy/public/assets/select2_locale_sv-92964e4300e520e23f5f83492c2e750b5875484b6420ed54c5c7422e50bff49e.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_th-9d64c8b41fcc2d5d28d505f0d7b325b04edc51ca0ac74b3d9c5dd0275fa4dcbd.js +20 -0
- data/spec/dummy/public/assets/select2_locale_th-9d64c8b41fcc2d5d28d505f0d7b325b04edc51ca0ac74b3d9c5dd0275fa4dcbd.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_tr-22bf3c62ec7c4d81cd046c1ce7b60f3921ab75099438d5e547d2beab674cd5f6.js +20 -0
- data/spec/dummy/public/assets/select2_locale_tr-22bf3c62ec7c4d81cd046c1ce7b60f3921ab75099438d5e547d2beab674cd5f6.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_ug-CN-3a320caea8f59ef6c10c7fa462697a38029ab59a4450390c2ca9ec509b4a8263.js +17 -0
- data/spec/dummy/public/assets/select2_locale_ug-CN-3a320caea8f59ef6c10c7fa462697a38029ab59a4450390c2ca9ec509b4a8263.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_uk-e912e0547b8a72e9caa72693c78a0e88db81dcd03f1cee8db45456c4eacbfab3.js +26 -0
- data/spec/dummy/public/assets/select2_locale_uk-e912e0547b8a72e9caa72693c78a0e88db81dcd03f1cee8db45456c4eacbfab3.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_vi-29766aff66ab669df184f4e4402f1d67ea7a5c3369a553e7cf0c64bbc46f6db6.js +21 -0
- data/spec/dummy/public/assets/select2_locale_vi-29766aff66ab669df184f4e4402f1d67ea7a5c3369a553e7cf0c64bbc46f6db6.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_zh-CN-86b8afaa82c0b8de71d37c2cfe3949a130055880c203c785022e32a6cb7f7aaa.js +17 -0
- data/spec/dummy/public/assets/select2_locale_zh-CN-86b8afaa82c0b8de71d37c2cfe3949a130055880c203c785022e32a6cb7f7aaa.js.gz +0 -0
- data/spec/dummy/public/assets/select2_locale_zh-TW-a408bf991b2672ab5d537ff08915acecd2c043311c31f6b4041b8e04b51ba2a4.js +17 -0
- data/spec/dummy/public/assets/select2_locale_zh-TW-a408bf991b2672ab5d537ff08915acecd2c043311c31f6b4041b8e04b51ba2a4.js.gz +0 -0
- data/spec/dummy/public/assets/select2x2-6fe28d687dc0ed4d96016238c608ba1e7198c9c9accfa0b360b78018b9fb9bc2.png +0 -0
- data/spec/dummy/public/assets/spree/backend/address_states-76840b8177a1aba71ee06233175b713fb4855f7b4fe28db303c47be7807ae36b.js +33 -0
- data/spec/dummy/public/assets/spree/backend/address_states-76840b8177a1aba71ee06233175b713fb4855f7b4fe28db303c47be7807ae36b.js.gz +0 -0
- data/spec/dummy/public/assets/spree/backend/all-7a9f9297e55c2d8089e033e69e2a1458be789bdf1ea980f6d285886026badd52.css +10939 -0
- data/spec/dummy/public/assets/spree/backend/all-7a9f9297e55c2d8089e033e69e2a1458be789bdf1ea980f6d285886026badd52.css.gz +0 -0
- data/spec/dummy/public/assets/spree/backend/all-da2e1beed5f92ec67ec299f8a83b4d6cf6858f47fe7f75de11c11732253a9542.js +33204 -0
- data/spec/dummy/public/assets/spree/backend/all-da2e1beed5f92ec67ec299f8a83b4d6cf6858f47fe7f75de11c11732253a9542.js.gz +0 -0
- data/spec/dummy/public/assets/spree/frontend/all-18b1bdb166c10b8b6e8a17fc67461e63abe20eac64986802a13d71e1894b0918.js +16398 -0
- data/spec/dummy/public/assets/spree/frontend/all-18b1bdb166c10b8b6e8a17fc67461e63abe20eac64986802a13d71e1894b0918.js.gz +0 -0
- data/spec/dummy/public/assets/spree/frontend/all-46820e63933a6180828e01f6fc77d4535d878536540a5d13f08f40d4aa0ac5c6.css +5868 -0
- data/spec/dummy/public/assets/spree/frontend/all-46820e63933a6180828e01f6fc77d4535d878536540a5d13f08f40d4aa0ac5c6.css.gz +0 -0
- data/spec/dummy/public/assets/spree/frontend/checkout/shipment-9295a502364634d0279a37cf8b01f068adc338048fb1319162372ab527b86d4e.js +49 -0
- data/spec/dummy/public/assets/spree/frontend/checkout/shipment-9295a502364634d0279a37cf8b01f068adc338048fb1319162372ab527b86d4e.js.gz +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 +15 -0
- data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +16 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +14 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +14 -0
- data/spec/features/administer_spec.rb +48 -0
- data/spec/features/callback_spec.rb +88 -0
- data/spec/features/checkout_spec.rb +74 -0
- data/spec/features/creditcard_spec.rb +63 -0
- data/spec/features/paypal_spec.rb +63 -0
- data/spec/models/spree/billing_integration_spec.rb +26 -0
- data/spec/models/spree/payment_method/sisow_billing/bancontact_spec.rb +34 -0
- data/spec/models/spree/payment_method/sisow_billing/ideal_spec.rb +42 -0
- data/spec/models/spree/payment_method/sisow_billing/paypalec_spec.rb +66 -0
- data/spec/models/spree/payment_method/sisow_billing/purchase_spec.rb +20 -0
- data/spec/models/spree/payment_method/sisow_billing/sisow_payment_method_spec.rb +19 -0
- data/spec/models/spree/payment_method/sisow_billing/sofort_spec.rb +34 -0
- data/spec/models/spree/payment_method/sisow_billing_spec.rb +268 -0
- data/spec/models/spree/sisow_transaction.rb +4 -0
- data/spec/sisow.yml +4 -0
- data/spec/spec_helper.rb +99 -0
- data/spec/support/spree/spree_stubs.rb +17 -0
- data/spec/support/webmock/web_mock_fixture_helpers.rb +6 -0
- data/spec/webmock_files/bancontact_redirect_url_output +10 -0
- data/spec/webmock_files/creditcard_redirect_url_output +10 -0
- data/spec/webmock_files/ideal_issuer_output +10 -0
- data/spec/webmock_files/ideal_redirect_url_output +10 -0
- data/spec/webmock_files/paypal_redirect_url_output +10 -0
- data/spec/webmock_files/sofort_redirect_url_output +10 -0
- metadata +1106 -4
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Korean translation.
|
3
|
+
*
|
4
|
+
* @author Swen Mun <longfinfunnel@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['ko'] = {
|
11
|
+
formatNoMatches: function () { return "결과 없음"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "너무 짧습니다. "+n+"글자 더 입력해주세요."; },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "너무 깁니다. "+n+"글자 지워주세요."; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "최대 "+limit+"개까지만 선택하실 수 있습니다."; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "불러오는 중…"; },
|
16
|
+
formatSearching: function () { return "검색 중…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ko']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Lithuanian translation.
|
3
|
+
*
|
4
|
+
* @author CRONUS Karmalakas <cronus dot karmalakas at gmail dot com>
|
5
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function ($) {
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
$.fn.select2.locales['lt'] = {
|
12
|
+
formatNoMatches: function () { return "Atitikmenų nerasta"; },
|
13
|
+
formatInputTooShort: function (input, min) { return "Įrašykite dar" + character(min - input.length); },
|
14
|
+
formatInputTooLong: function (input, max) { return "Pašalinkite" + character(input.length - max); },
|
15
|
+
formatSelectionTooBig: function (limit) {
|
16
|
+
return "Jūs galite pasirinkti tik " + limit + " element" + ((limit%100 > 9 && limit%100 < 21) || limit%10 == 0 ? "ų" : limit%10 > 1 ? "us" : "ą");
|
17
|
+
},
|
18
|
+
formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų…"; },
|
19
|
+
formatSearching: function () { return "Ieškoma…"; }
|
20
|
+
};
|
21
|
+
|
22
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['lt']);
|
23
|
+
|
24
|
+
function character (n) {
|
25
|
+
return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į");
|
26
|
+
}
|
27
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Latvian translation.
|
3
|
+
*
|
4
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['lv'] = {
|
11
|
+
formatNoMatches: function () { return "Sakritību nav"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Lūdzu ievadiet vēl " + n + " simbol" + (n == 11 ? "us" : n%10 == 1 ? "u" : "us"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Lūdzu ievadiet par " + n + " simbol" + (n == 11 ? "iem" : n%10 == 1 ? "u" : "iem") + " mazāk"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : limit%10 == 1 ? "u" : "us"); },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Datu ielāde…"; },
|
16
|
+
formatSearching: function () { return "Meklēšana…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['lv']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Macedonian translation.
|
3
|
+
*
|
4
|
+
* Author: Marko Aleksic <psybaron@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['mk'] = {
|
11
|
+
formatNoMatches: function () { return "Нема пронајдено совпаѓања"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Ве молиме внесете уште " + n + " карактер" + (n == 1 ? "" : "и"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Ве молиме внесете " + n + " помалку карактер" + (n == 1? "" : "и"); },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Можете да изберете само " + limit + " ставк" + (limit == 1 ? "а" : "и"); },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Вчитување резултати…"; },
|
16
|
+
formatSearching: function () { return "Пребарување…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['mk']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Malay translation.
|
3
|
+
*
|
4
|
+
* Author: Kepoweran <kepoweran@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['ms'] = {
|
11
|
+
formatNoMatches: function () { return "Tiada padanan yang ditemui"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sila masukkan " + n + " aksara lagi"; },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Sila hapuskan " + n + " aksara"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan…"; },
|
16
|
+
formatSearching: function () { return "Mencari…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ms']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Dutch translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
$.fn.select2.locales['nl'] = {
|
9
|
+
formatNoMatches: function () { return "Geen resultaten gevonden"; },
|
10
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul nog " + n + " karakter" + (n == 1? "" : "s") + " in"; },
|
11
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Haal " + n + " karakter" + (n == 1? "" : "s") + " weg"; },
|
12
|
+
formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; },
|
13
|
+
formatLoadMore: function (pageNumber) { return "Meer resultaten laden…"; },
|
14
|
+
formatSearching: function () { return "Zoeken…"; }
|
15
|
+
};
|
16
|
+
|
17
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['nl']);
|
18
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Norwegian translation.
|
3
|
+
*
|
4
|
+
* Author: Torgeir Veimo <torgeir.veimo@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['no'] = {
|
11
|
+
formatNoMatches: function () { return "Ingen treff"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vennligst skriv inn " + n + (n>1 ? " flere tegn" : " tegn til"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vennligst fjern " + n + " tegn"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Du kan velge maks " + limit + " elementer"; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Laster flere resultater…"; },
|
16
|
+
formatSearching: function () { return "Søker…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['no']);
|
20
|
+
})(jQuery);
|
21
|
+
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Polish translation.
|
3
|
+
*
|
4
|
+
* @author Jan Kondratowicz <jan@kondratowicz.pl>
|
5
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
+
* @author Michał Połtyn <mike@poltyn.com>
|
7
|
+
*/
|
8
|
+
|
9
|
+
(function ($) {
|
10
|
+
"use strict";
|
11
|
+
|
12
|
+
$.fn.select2.locales['pl'] = {
|
13
|
+
formatNoMatches: function () { return "Brak wyników"; },
|
14
|
+
formatInputTooShort: function (input, min) { return "Wpisz co najmniej" + character(min - input.length, "znak", "i"); },
|
15
|
+
formatInputTooLong: function (input, max) { return "Wpisana fraza jest za długa o" + character(input.length - max, "znak", "i"); },
|
16
|
+
formatSelectionTooBig: function (limit) { return "Możesz zaznaczyć najwyżej" + character(limit, "element", "y"); },
|
17
|
+
formatLoadMore: function (pageNumber) { return "Ładowanie wyników…"; },
|
18
|
+
formatSearching: function () { return "Szukanie…"; }
|
19
|
+
};
|
20
|
+
|
21
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pl']);
|
22
|
+
|
23
|
+
function character (n, word, pluralSuffix) {
|
24
|
+
return " " + n + " " + word + (n == 1 ? "" : n%10 < 5 && n%10 > 1 && (n%100 < 5 || n%100 > 20) ? pluralSuffix : "ów");
|
25
|
+
}
|
26
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Brazilian Portuguese translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
$.fn.select2.locales['pt-BR'] = {
|
9
|
+
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
|
10
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " caracter" + (n == 1? "" : "es"); },
|
11
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); },
|
12
|
+
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
13
|
+
formatLoadMore: function (pageNumber) { return "Carregando mais resultados…"; },
|
14
|
+
formatSearching: function () { return "Buscando…"; }
|
15
|
+
};
|
16
|
+
|
17
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-BR']);
|
18
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Portuguese (Portugal) translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
$.fn.select2.locales['pt-PT'] = {
|
9
|
+
formatNoMatches: function () { return "Nenhum resultado encontrado"; },
|
10
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " car" + (n == 1 ? "ácter" : "acteres"); },
|
11
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " car" + (n == 1 ? "ácter" : "acteres"); },
|
12
|
+
formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); },
|
13
|
+
formatLoadMore: function (pageNumber) { return "A carregar mais resultados…"; },
|
14
|
+
formatSearching: function () { return "A pesquisar…"; }
|
15
|
+
};
|
16
|
+
|
17
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['pt-PT']);
|
18
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Romanian translation.
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
$.fn.select2.locales['ro'] = {
|
9
|
+
formatNoMatches: function () { return "Nu a fost găsit nimic"; },
|
10
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vă rugăm să introduceți incă " + n + " caracter" + (n == 1 ? "" : "e"); },
|
11
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vă rugăm să introduceți mai puțin de " + n + " caracter" + (n == 1? "" : "e"); },
|
12
|
+
formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); },
|
13
|
+
formatLoadMore: function (pageNumber) { return "Se încarcă…"; },
|
14
|
+
formatSearching: function () { return "Căutare…"; }
|
15
|
+
};
|
16
|
+
|
17
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ro']);
|
18
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Serbian translation.
|
3
|
+
*
|
4
|
+
* @author Limon Monte <limon.monte@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['rs'] = {
|
11
|
+
formatNoMatches: function () { return "Ništa nije pronađeno"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Ukucajte bar još " + n + " simbol" + (n % 10 == 1 && n % 100 != 11 ? "" : "a"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Obrišite " + n + " simbol" + (n % 10 == 1 && n % 100 != 11 ? "" : "a"); },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Možete izabrati samo " + limit + " stavk" + (limit % 10 == 1 && limit % 100 != 11 ? "u" : (limit % 10 >= 2 && limit % 10 <= 4 && (limit % 100 < 12 || limit % 100 > 14)? "e" : "i")); },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Preuzimanje još rezultata…"; },
|
16
|
+
formatSearching: function () { return "Pretraga…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['rs']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Russian translation.
|
3
|
+
*
|
4
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['ru'] = {
|
11
|
+
formatNoMatches: function () { return "Совпадений не найдено"; },
|
12
|
+
formatInputTooShort: function (input, min) { return "Пожалуйста, введите еще хотя бы" + character(min - input.length); },
|
13
|
+
formatInputTooLong: function (input, max) { return "Пожалуйста, введите на" + character(input.length - max) + " меньше"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit%10 == 1 && limit%100 != 11 ? "а" : "ов"); },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Загрузка данных…"; },
|
16
|
+
formatSearching: function () { return "Поиск…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ru']);
|
20
|
+
|
21
|
+
function character (n) {
|
22
|
+
return " " + n + " символ" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 20) ? n%10 > 1 ? "a" : "" : "ов");
|
23
|
+
}
|
24
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Slovak translation.
|
3
|
+
*
|
4
|
+
* Author: David Vallner <david@vallner.net>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
// use text for the numbers 2 through 4
|
10
|
+
var smallNumbers = {
|
11
|
+
2: function(masc) { return (masc ? "dva" : "dve"); },
|
12
|
+
3: function() { return "tri"; },
|
13
|
+
4: function() { return "štyri"; }
|
14
|
+
};
|
15
|
+
$.fn.select2.locales['sk'] = {
|
16
|
+
formatNoMatches: function () { return "Nenašli sa žiadne položky"; },
|
17
|
+
formatInputTooShort: function (input, min) {
|
18
|
+
var n = min - input.length;
|
19
|
+
if (n == 1) {
|
20
|
+
return "Prosím, zadajte ešte jeden znak";
|
21
|
+
} else if (n <= 4) {
|
22
|
+
return "Prosím, zadajte ešte ďalšie "+smallNumbers[n](true)+" znaky";
|
23
|
+
} else {
|
24
|
+
return "Prosím, zadajte ešte ďalších "+n+" znakov";
|
25
|
+
}
|
26
|
+
},
|
27
|
+
formatInputTooLong: function (input, max) {
|
28
|
+
var n = input.length - max;
|
29
|
+
if (n == 1) {
|
30
|
+
return "Prosím, zadajte o jeden znak menej";
|
31
|
+
} else if (n <= 4) {
|
32
|
+
return "Prosím, zadajte o "+smallNumbers[n](true)+" znaky menej";
|
33
|
+
} else {
|
34
|
+
return "Prosím, zadajte o "+n+" znakov menej";
|
35
|
+
}
|
36
|
+
},
|
37
|
+
formatSelectionTooBig: function (limit) {
|
38
|
+
if (limit == 1) {
|
39
|
+
return "Môžete zvoliť len jednu položku";
|
40
|
+
} else if (limit <= 4) {
|
41
|
+
return "Môžete zvoliť najviac "+smallNumbers[limit](false)+" položky";
|
42
|
+
} else {
|
43
|
+
return "Môžete zvoliť najviac "+limit+" položiek";
|
44
|
+
}
|
45
|
+
},
|
46
|
+
formatLoadMore: function (pageNumber) { return "Načítavajú sa ďalšie výsledky…"; },
|
47
|
+
formatSearching: function () { return "Vyhľadávanie…"; }
|
48
|
+
};
|
49
|
+
|
50
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['sk']);
|
51
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Swedish translation.
|
3
|
+
*
|
4
|
+
* Author: Jens Rantil <jens.rantil@telavox.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['sv'] = {
|
11
|
+
formatNoMatches: function () { return "Inga träffar"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; },
|
16
|
+
formatSearching: function () { return "Söker…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['sv']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Thai translation.
|
3
|
+
*
|
4
|
+
* Author: Atsawin Chaowanakritsanakul <joke@nakhon.net>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['th'] = {
|
11
|
+
formatNoMatches: function () { return "ไม่พบข้อมูล"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "โปรดพิมพ์เพิ่มอีก " + n + " ตัวอักษร"; },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "โปรดลบออก " + n + " ตัวอักษร"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; },
|
16
|
+
formatSearching: function () { return "กำลังค้นข้อมูล…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['th']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Turkish translation.
|
3
|
+
*
|
4
|
+
* Author: Salim KAYABAŞI <salim.kayabasi@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['tr'] = {
|
11
|
+
formatNoMatches: function () { return "Sonuç bulunamadı"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Daha fazla…"; },
|
16
|
+
formatSearching: function () { return "Aranıyor…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['tr']);
|
20
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Uyghur translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
$.fn.select2.locales['ug-CN'] = {
|
8
|
+
formatNoMatches: function () { return "ماس كېلىدىغان ئۇچۇر تېپىلمىدى"; },
|
9
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "يەنە " + n + " ھەرپ كىرگۈزۈڭ";},
|
10
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "" + n + "ھەرپ ئۆچۈرۈڭ";},
|
11
|
+
formatSelectionTooBig: function (limit) { return "ئەڭ كۆپ بولغاندا" + limit + " تال ئۇچۇر تاللىيالايسىز"; },
|
12
|
+
formatLoadMore: function (pageNumber) { return "ئۇچۇرلار ئوقۇلىۋاتىدۇ…"; },
|
13
|
+
formatSearching: function () { return "ئىزدەۋاتىدۇ…"; }
|
14
|
+
};
|
15
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['ug-CN']);
|
17
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Ukrainian translation.
|
3
|
+
*
|
4
|
+
* @author bigmihail <bigmihail@bigmir.net>
|
5
|
+
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function ($) {
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
$.fn.select2.locales['uk'] = {
|
12
|
+
formatMatches: function (matches) { return character(matches, "результат") + " знайдено, використовуйте клавіші зі стрілками вверх та вниз для навігації."; },
|
13
|
+
formatNoMatches: function () { return "Нічого не знайдено"; },
|
14
|
+
formatInputTooShort: function (input, min) { return "Введіть буль ласка ще " + character(min - input.length, "символ"); },
|
15
|
+
formatInputTooLong: function (input, max) { return "Введіть буль ласка на " + character(input.length - max, "символ") + " менше"; },
|
16
|
+
formatSelectionTooBig: function (limit) { return "Ви можете вибрати лише " + character(limit, "елемент"); },
|
17
|
+
formatLoadMore: function (pageNumber) { return "Завантаження даних…"; },
|
18
|
+
formatSearching: function () { return "Пошук…"; }
|
19
|
+
};
|
20
|
+
|
21
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['uk']);
|
22
|
+
|
23
|
+
function character (n, word) {
|
24
|
+
return n + " " + word + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 19) ? n%10 > 1 ? "и" : "" : "ів");
|
25
|
+
}
|
26
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Vietnamese translation.
|
3
|
+
*
|
4
|
+
* Author: Long Nguyen <olragon@gmail.com>
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function ($) {
|
8
|
+
"use strict";
|
9
|
+
|
10
|
+
$.fn.select2.locales['vi'] = {
|
11
|
+
formatNoMatches: function () { return "Không tìm thấy kết quả"; },
|
12
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Vui lòng nhập nhiều hơn " + n + " ký tự" + (n == 1 ? "" : "s"); },
|
13
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Vui lòng nhập ít hơn " + n + " ký tự" + (n == 1? "" : "s"); },
|
14
|
+
formatSelectionTooBig: function (limit) { return "Chỉ có thể chọn được " + limit + " tùy chọn" + (limit == 1 ? "" : "s"); },
|
15
|
+
formatLoadMore: function (pageNumber) { return "Đang lấy thêm kết quả…"; },
|
16
|
+
formatSearching: function () { return "Đang tìm…"; }
|
17
|
+
};
|
18
|
+
|
19
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['vi']);
|
20
|
+
})(jQuery);
|
21
|
+
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Chinese translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
$.fn.select2.locales['zh-CN'] = {
|
8
|
+
formatNoMatches: function () { return "没有找到匹配项"; },
|
9
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";},
|
10
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";},
|
11
|
+
formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; },
|
12
|
+
formatLoadMore: function (pageNumber) { return "加载结果中…"; },
|
13
|
+
formatSearching: function () { return "搜索中…"; }
|
14
|
+
};
|
15
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['zh-CN']);
|
17
|
+
})(jQuery);
|
Binary file
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Select2 Traditional Chinese translation
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function ($) {
|
6
|
+
"use strict";
|
7
|
+
$.fn.select2.locales['zh-TW'] = {
|
8
|
+
formatNoMatches: function () { return "沒有找到相符的項目"; },
|
9
|
+
formatInputTooShort: function (input, min) { var n = min - input.length; return "請再輸入" + n + "個字元";},
|
10
|
+
formatInputTooLong: function (input, max) { var n = input.length - max; return "請刪掉" + n + "個字元";},
|
11
|
+
formatSelectionTooBig: function (limit) { return "你只能選擇最多" + limit + "項"; },
|
12
|
+
formatLoadMore: function (pageNumber) { return "載入中…"; },
|
13
|
+
formatSearching: function () { return "搜尋中…"; }
|
14
|
+
};
|
15
|
+
|
16
|
+
$.extend($.fn.select2.defaults, $.fn.select2.locales['zh-TW']);
|
17
|
+
})(jQuery);
|
Binary file
|
Binary file
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// eslint-disable-next-line camelcase, no-unused-vars
|
2
|
+
function update_state (region, done) {
|
3
|
+
'use strict'
|
4
|
+
|
5
|
+
var country = $('span#' + region + 'country .select2').select2('val')
|
6
|
+
var stateSelect = $('span#' + region + 'state select.select2')
|
7
|
+
var stateInput = $('span#' + region + 'state input.state_name')
|
8
|
+
|
9
|
+
$.get(Spree.routes.states_search + '?country_id=' + country, function (data) {
|
10
|
+
var states = data.states
|
11
|
+
if (states.length > 0) {
|
12
|
+
stateSelect.html('')
|
13
|
+
var statesWithBlank = [{
|
14
|
+
name: '',
|
15
|
+
id: ''
|
16
|
+
}].concat(states)
|
17
|
+
$.each(statesWithBlank, function (pos, state) {
|
18
|
+
var opt = $(document.createElement('option'))
|
19
|
+
.prop('value', state.id)
|
20
|
+
.html(state.name)
|
21
|
+
stateSelect.append(opt)
|
22
|
+
})
|
23
|
+
stateSelect.prop('disabled', false).show()
|
24
|
+
stateSelect.select2()
|
25
|
+
stateInput.hide().prop('disabled', true)
|
26
|
+
} else {
|
27
|
+
stateInput.prop('disabled', false).show()
|
28
|
+
stateSelect.select2('destroy').hide()
|
29
|
+
}
|
30
|
+
|
31
|
+
if (done) done()
|
32
|
+
})
|
33
|
+
};
|