solidus_brazilian_adaptations 1.0.8 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa340352bf3bdbd83004ac7e1586475c97b711dc885a1ff863e56217c635077c
4
- data.tar.gz: c8380825a0d218d87b7627aaeb4cc16c2a0d3f06224794f2b42065849072d527
3
+ metadata.gz: a4563c0b6cf2bc3357f7d0e28818c86bb822609a64a02947835a4ed6b38346bd
4
+ data.tar.gz: acb711161cb3411667607da9163b51ac891a429f66b942feb0c4a82e79278d4f
5
5
  SHA512:
6
- metadata.gz: 664b659cc65a2681ccc34177e1eeecb049384cdd1bc5bd95103a252700c0e894b33461d5ebc144a8551c4c2e17444f18aab19ae23331f8b2910541205d785c4b
7
- data.tar.gz: 95579b93f2e3ca2beec1d5e51aed4cec713a52080ae30a7a36203107fc4a155761a4a1aa31c238445c4dd97e236f8c6d557f59d1ca15747979f21192aea01dde
6
+ metadata.gz: 956dfaeb74cab94b47a689642ef42e5ae6bc1bbe031c5f2d287f84a5e8a493034d03d3324a8a3a241c038254d88112c9d7354fb91e05027a73cae035550b126a
7
+ data.tar.gz: b0c3f189bd7c6fc07c9e571e7bba82e5e6e69ae72ab0c06005446cb1dff03e0241eddd63ef4cfdb333911324873357e32f9c2bd75dcc500e249ed5b0f2a3ffe5
@@ -14,6 +14,10 @@ module SolidusBrazilianAdaptations
14
14
  template "initializer.rb", "config/initializers/solidus_brazilian_adaptations.rb"
15
15
  end
16
16
 
17
+ def copy_translate_yml
18
+ template "config/locales/pt-BR.yml", "config/locales/pt-BR.yml"
19
+ end
20
+
17
21
  def add_migrations
18
22
  run "bin/rails railties:install:migrations FROM=solidus_brazilian_adaptations"
19
23
  end
@@ -0,0 +1,60 @@
1
+
2
+ pt-BR:
3
+ activerecord:
4
+ models:
5
+ spree/calculator/tiered_flat_rate:
6
+ one: Taxa Fixa por Níveis
7
+ other: Taxa Fixa por Níveis
8
+ spree/calculator/flexi_rate:
9
+ one: Taxa Flexível
10
+ other: Taxa Flexível
11
+ spree:
12
+ address: Endereço
13
+ shipment_details: "Entrega via %{shipping_method}"
14
+ please_enter_reasonable_quantity: Insira uma quantidade razoável
15
+ coupon_code_applied: O Código do cupom foi acrescentado ao seu pedido
16
+ name_contains: Nome
17
+ minimize_menu: Minimizar Menu
18
+ discount_rules: Regras da Promoção
19
+ adjustment_type: Tipo de Ajuste
20
+ character_limit: Limite de 255 caracteres
21
+ admin:
22
+ promotion_status:
23
+ active: Ativo
24
+ variants:
25
+ form:
26
+ options: Opções
27
+ properties: Propriedades
28
+ prices:
29
+ master_variant_table:
30
+ master_variant: Variante Principal
31
+ table:
32
+ variant_pricing: Preço das Variantes
33
+ order:
34
+ events:
35
+ approve: Aprovar
36
+ cancel: Cancelar
37
+ users:
38
+ edit:
39
+ api_access: Acesso API
40
+ key: Chave API
41
+ no_key: Sem chaves API
42
+ clear_key: Excluir chave API
43
+ generate_key: Gerar chave API
44
+ regenerate_key: Atualizar chave API
45
+ adjustment_labels:
46
+ line_item: "%{promotion} (%{promotion_name})"
47
+ order: "%{promotion} (%{promotion_name})"
48
+ tax_rates:
49
+ flat_fee: "%{name}"
50
+ sales_tax: "%{name}"
51
+ sales_tax_with_rate: "%{name} %{amount}"
52
+ vat: "%{name} (Incluído no preço)"
53
+ vat_with_rate: "%{name} %{amount} (Incluído no preço)"
54
+ hints:
55
+ spree/promotion:
56
+ promo_code_will_be_disabled: Selecionando esta opção, os códigos promocionais serão desabilitados para esta promoção, pois todas as suas regras/ações serão aplicadas automaticamente a todos os pedidos.
57
+ devise:
58
+ sessions:
59
+ spree_user:
60
+ signed_out: Logout com sucesso
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusBrazilianAdaptations
4
- VERSION = "1.0.8"
4
+ VERSION = "1.1.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_brazilian_adaptations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses-bull
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-07 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core
@@ -172,6 +172,7 @@ files:
172
172
  - db/spree_br/store_credit.rb
173
173
  - db/spree_br/stores.rb
174
174
  - lib/generators/solidus_brazilian_adaptations/install/install_generator.rb
175
+ - lib/generators/solidus_brazilian_adaptations/install/templates/config/locales/pt-BR.yml
175
176
  - lib/generators/solidus_brazilian_adaptations/install/templates/initializer.rb
176
177
  - lib/solidus_brazilian_adaptations.rb
177
178
  - lib/solidus_brazilian_adaptations/configuration.rb