solidus_brazilian_adaptations 1.0.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generators/solidus_brazilian_adaptations/install/install_generator.rb +4 -0
- data/lib/generators/solidus_brazilian_adaptations/install/templates/config/locales/pt-BR.yml +60 -0
- data/lib/solidus_brazilian_adaptations/version.rb +1 -1
- metadata +2 -2
- data/config/locales/pt-BR.yml +0 -59
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4563c0b6cf2bc3357f7d0e28818c86bb822609a64a02947835a4ed6b38346bd
|
|
4
|
+
data.tar.gz: acb711161cb3411667607da9163b51ac891a429f66b942feb0c4a82e79278d4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_brazilian_adaptations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ulysses-bull
|
|
@@ -156,7 +156,6 @@ files:
|
|
|
156
156
|
- bin/sandbox
|
|
157
157
|
- bin/setup
|
|
158
158
|
- config/locales/en.yml
|
|
159
|
-
- config/locales/pt-BR.yml
|
|
160
159
|
- config/routes.rb
|
|
161
160
|
- db/migrate/20230911133000_add_tax_id_to_spree_orders.rb
|
|
162
161
|
- db/migrate/20230911133157_add_number_district_to_addresses.rb
|
|
@@ -173,6 +172,7 @@ files:
|
|
|
173
172
|
- db/spree_br/store_credit.rb
|
|
174
173
|
- db/spree_br/stores.rb
|
|
175
174
|
- lib/generators/solidus_brazilian_adaptations/install/install_generator.rb
|
|
175
|
+
- lib/generators/solidus_brazilian_adaptations/install/templates/config/locales/pt-BR.yml
|
|
176
176
|
- lib/generators/solidus_brazilian_adaptations/install/templates/initializer.rb
|
|
177
177
|
- lib/solidus_brazilian_adaptations.rb
|
|
178
178
|
- lib/solidus_brazilian_adaptations/configuration.rb
|
data/config/locales/pt-BR.yml
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
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
|
-
shipment_details: Entrega via %{shipping_method}
|
|
13
|
-
please_enter_reasonable_quantity: "Insira uma quantidade razoável"
|
|
14
|
-
coupon_code_applied: O Código do cupom foi acrescentado ao seu pedido
|
|
15
|
-
name_contains: "Nome"
|
|
16
|
-
minimize_menu: "Minimizar Menu"
|
|
17
|
-
discount_rules: "Regras da Promoção"
|
|
18
|
-
adjustment_type: "Tipo de Ajuste"
|
|
19
|
-
character_limit: "Limite de 255 caracteres"
|
|
20
|
-
admin:
|
|
21
|
-
promotion_status:
|
|
22
|
-
active: "Ativo"
|
|
23
|
-
variants:
|
|
24
|
-
form:
|
|
25
|
-
options: "Opções"
|
|
26
|
-
properties: "Propriedades"
|
|
27
|
-
prices:
|
|
28
|
-
master_variant_table:
|
|
29
|
-
master_variant: "Variante Principal"
|
|
30
|
-
table:
|
|
31
|
-
variant_pricing: "Preço das Variantes"
|
|
32
|
-
order:
|
|
33
|
-
events:
|
|
34
|
-
approve: "Aprovar"
|
|
35
|
-
cancel: "Cancelar"
|
|
36
|
-
users:
|
|
37
|
-
edit:
|
|
38
|
-
api_access: "Acesso API"
|
|
39
|
-
key: "Chave API"
|
|
40
|
-
no_key: "Sem chaves API"
|
|
41
|
-
clear_key: "Excluir chave API"
|
|
42
|
-
generate_key: "Gerar chave API"
|
|
43
|
-
regenerate_key: "Atualizar chave API"
|
|
44
|
-
adjustment_labels:
|
|
45
|
-
line_item: "%{promotion} (%{promotion_name})"
|
|
46
|
-
order: "%{promotion} (%{promotion_name})"
|
|
47
|
-
tax_rates:
|
|
48
|
-
flat_fee: "%{name}"
|
|
49
|
-
sales_tax: "%{name}"
|
|
50
|
-
sales_tax_with_rate: "%{name} %{amount}"
|
|
51
|
-
vat: "%{name} (Incluído no preço)"
|
|
52
|
-
vat_with_rate: "%{name} %{amount} (Incluído no preço)"
|
|
53
|
-
hints:
|
|
54
|
-
spree/promotion:
|
|
55
|
-
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."
|
|
56
|
-
devise:
|
|
57
|
-
sessions:
|
|
58
|
-
spree_user:
|
|
59
|
-
signed_out: "Logout com sucesso"
|