Skip to content

Commit 46c789e

Browse files
Merge pull request #1766 from shivendra-webkul/locale-support
Added support for Portuguese locale
2 parents 8b49be2 + a75b1dc commit 46c789e

File tree

105 files changed

+2669
-407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+2669
-407
lines changed

config/app.php

+6-5
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,12 @@
108108
*/
109109

110110
'available_locales' => [
111-
'ar' => 'Arabic',
112-
'en' => 'English',
113-
'es' => 'Español',
114-
'fa' => 'Persian',
115-
'tr' => 'Türkçe',
111+
'ar' => 'Arabic',
112+
'en' => 'English',
113+
'es' => 'Español',
114+
'fa' => 'Persian',
115+
'tr' => 'Türkçe',
116+
'pt_BR' => 'Portuguese',
116117
],
117118

118119
/*

packages/Webkul/Admin/src/Resources/assets/js/plugins/vue-cal.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import 'vue-cal/dist/vuecal.css';
66
import 'vue-cal/dist/i18n/en.es.js';
77
import 'vue-cal/dist/i18n/ar.es.js';
88
import 'vue-cal/dist/i18n/tr.es.js';
9+
import 'vue-cal/dist/i18n/pt-br.es.js';
910

1011
export default {
1112
install: (app, options) => app.component('v-vue-cal', VueCal),

packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php

+2,023
Large diffs are not rendered by default.

packages/Webkul/Installer/src/Console/Commands/Installer.php

+6-5
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ class Installer extends Command
3838
* @var array
3939
*/
4040
protected $locales = [
41-
'ar' => 'Arabic',
42-
'en' => 'English',
43-
'tr' => 'Turkish',
44-
'es' => 'Spanish',
45-
'fa' => 'Persian',
41+
'ar' => 'Arabic',
42+
'en' => 'English',
43+
'tr' => 'Turkish',
44+
'es' => 'Spanish',
45+
'fa' => 'Persian',
46+
'pt_BR' => 'Portuguese',
4647
];
4748

4849
/**
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
<?php
2+
3+
return [
4+
'seeders' => [
5+
'attributes' => [
6+
'leads' => [
7+
'description' => 'Descrição',
8+
'expected-close-date' => 'Data de Fechamento Esperada',
9+
'lead-value' => 'Valor do Lead',
10+
'sales-owner' => 'Responsável pela Venda',
11+
'source' => 'Fonte',
12+
'title' => 'Título',
13+
'type' => 'Tipo',
14+
'pipeline' => 'Pipeline',
15+
'stage' => 'Estágio',
16+
],
17+
18+
'persons' => [
19+
'contact-numbers' => 'Números de Contato',
20+
'emails' => 'Emails',
21+
'job-title' => 'Cargo',
22+
'name' => 'Nome',
23+
'organization' => 'Organização',
24+
'sales-owner' => 'Responsável pela Venda',
25+
],
26+
27+
'organizations' => [
28+
'address' => 'Endereço',
29+
'name' => 'Nome',
30+
'sales-owner' => 'Responsável pela Venda',
31+
],
32+
33+
'products' => [
34+
'description' => 'Descrição',
35+
'name' => 'Nome',
36+
'price' => 'Preço',
37+
'quantity' => 'Quantidade',
38+
'sku' => 'SKU',
39+
],
40+
41+
'quotes' => [
42+
'adjustment-amount' => 'Valor de Ajuste',
43+
'billing-address' => 'Endereço de Cobrança',
44+
'description' => 'Descrição',
45+
'discount-amount' => 'Valor do Desconto',
46+
'discount-percent' => 'Percentual de Desconto',
47+
'expired-at' => 'Expira em',
48+
'grand-total' => 'Total Geral',
49+
'person' => 'Pessoa',
50+
'sales-owner' => 'Responsável pela Venda',
51+
'shipping-address' => 'Endereço de Entrega',
52+
'sub-total' => 'Subtotal',
53+
'subject' => 'Assunto',
54+
'tax-amount' => 'Valor do Imposto',
55+
],
56+
57+
'warehouses' => [
58+
'contact-address' => 'Endereço de Contato',
59+
'contact-emails' => 'Emails de Contato',
60+
'contact-name' => 'Nome do Contato',
61+
'contact-numbers' => 'Números de Contato',
62+
'description' => 'Descrição',
63+
'name' => 'Nome',
64+
],
65+
],
66+
67+
'email' => [
68+
'activity-created' => 'Atividade criada',
69+
'activity-modified' => 'Atividade modificada',
70+
'date' => 'Data',
71+
'new-activity' => 'Você tem uma nova atividade, veja os detalhes abaixo',
72+
'new-activity-modified' => 'Uma nova atividade foi modificada, veja os detalhes abaixo',
73+
'participants' => 'Participantes',
74+
'title' => 'Título',
75+
'type' => 'Tipo',
76+
],
77+
78+
'lead' => [
79+
'pipeline' => [
80+
'default' => 'Pipeline Padrão',
81+
82+
'pipeline-stages' => [
83+
'follow-up' => 'Acompanhamento',
84+
'lost' => 'Perdido',
85+
'negotiation' => 'Negociação',
86+
'new' => 'Novo',
87+
'prospect' => 'Prospecto',
88+
'won' => 'Ganho',
89+
],
90+
],
91+
92+
'source' => [
93+
'direct' => 'Direto',
94+
'email' => 'Email',
95+
'phone' => 'Telefone',
96+
'web' => 'Web',
97+
'web-form' => 'Formulário Web',
98+
],
99+
100+
'type' => [
101+
'existing-business' => 'Negócio Existente',
102+
'new-business' => 'Novo Negócio',
103+
],
104+
],
105+
106+
'user' => [
107+
'role' => [
108+
'administrator-role' => 'Função de Administrador',
109+
'administrator' => 'Administrador',
110+
],
111+
],
112+
113+
'workflow' => [
114+
'email-to-participants-after-activity-updation' => 'Emails para participantes após atualização de atividade',
115+
'email-to-participants-after-activity-creation' => 'Emails para participantes após criação de atividade',
116+
],
117+
],
118+
119+
'installer' => [
120+
'index' => [
121+
'create-administrator' => [
122+
'admin' => 'Administrador',
123+
'krayin' => 'Krayin',
124+
'confirm-password' => 'Confirmar Senha',
125+
'email' => 'E-mail',
126+
'email-address' => 'admin@example.com',
127+
'password' => 'Senha',
128+
'title' => 'Criar Administrador',
129+
],
130+
131+
'environment-configuration' => [
132+
'algerian-dinar' => 'Dinar Argelino (DZD)',
133+
'allowed-currencies' => 'Moedas Permitidas',
134+
'allowed-locales' => 'Idiomas Permitidos',
135+
'application-name' => 'Nome do Aplicativo',
136+
'argentine-peso' => 'Peso Argentino (ARS)',
137+
'australian-dollar' => 'Dólar Australiano (AUD)',
138+
'krayin' => 'Krayin',
139+
'bangladeshi-taka' => 'Taka de Bangladesh (BDT)',
140+
'brazilian-real' => 'Real Brasileiro (BRL)',
141+
'british-pound-sterling' => 'Libra Esterlina (GBP)',
142+
'canadian-dollar' => 'Dólar Canadense (CAD)',
143+
'cfa-franc-bceao' => 'Franco CFA BCEAO (XOF)',
144+
'cfa-franc-beac' => 'Franco CFA BEAC (XAF)',
145+
'chilean-peso' => 'Peso Chileno (CLP)',
146+
'chinese-yuan' => 'Yuan Chinês (CNY)',
147+
'colombian-peso' => 'Peso Colombiano (COP)',
148+
'czech-koruna' => 'Coroa Checa (CZK)',
149+
'danish-krone' => 'Coroa Dinamarquesa (DKK)',
150+
'database-connection' => 'Conexão com Banco de Dados',
151+
'database-hostname' => 'Nome do Host do Banco de Dados',
152+
'database-name' => 'Nome do Banco de Dados',
153+
'database-password' => 'Senha do Banco de Dados',
154+
'database-port' => 'Porta do Banco de Dados',
155+
'database-prefix' => 'Prefixo do Banco de Dados',
156+
'database-username' => 'Usuário do Banco de Dados',
157+
'default-currency' => 'Moeda Padrão',
158+
'default-locale' => 'Idioma Padrão',
159+
'default-timezone' => 'Fuso Horário Padrão',
160+
'default-url' => 'URL Padrão',
161+
'default-url-link' => 'https://localhost',
162+
'euro' => 'Euro (EUR)',
163+
'mysql' => 'MySQL',
164+
'pgsql' => 'pgSQL',
165+
'select-timezone' => 'Selecionar Fuso Horário',
166+
'warning-message' => 'Atenção! As configurações de idioma e moeda padrão não podem ser alteradas após definidas.',
167+
'united-states-dollar' => 'Dólar Americano (USD)',
168+
'brazilian-real' => 'Real Brasileiro (BRL)',
169+
],
170+
171+
'installation-processing' => [
172+
'krayin' => 'Instalação do Krayin',
173+
'krayin-info' => 'Criando as tabelas do banco de dados, isso pode levar alguns momentos',
174+
'title' => 'Instalação',
175+
],
176+
177+
'installation-completed' => [
178+
'admin-panel' => 'Painel de Administração',
179+
'krayin-forums' => 'Fórum Krayin',
180+
'customer-panel' => 'Painel do Cliente',
181+
'explore-krayin-extensions' => 'Explorar Extensões Krayin',
182+
'title' => 'Instalação Concluída',
183+
'title-info' => 'Krayin foi instalado com sucesso no seu sistema.',
184+
],
185+
186+
'ready-for-installation' => [
187+
'create-databsae-table' => 'Criar tabela do banco de dados',
188+
'install' => 'Instalação',
189+
'start-installation' => 'Iniciar Instalação',
190+
'title' => 'Pronto para Instalação',
191+
],
192+
193+
'start' => [
194+
'locale' => 'Idioma',
195+
'main' => 'Início',
196+
'select-locale' => 'Selecionar Idioma',
197+
'title' => 'Instalação do Krayin',
198+
'welcome-title' => 'Bem-vindo ao Krayin',
199+
],
200+
201+
'server-requirements' => [
202+
'php-version' => '8.1 ou superior',
203+
'title' => 'Requisitos do Sistema',
204+
],
205+
206+
'back' => 'Voltar',
207+
'continue' => 'Continuar',
208+
'installation-title' => 'Bem-vindo à Instalação',
209+
'title' => 'Instalador Krayin',
210+
],
211+
],
212+
];
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
return [
4+
'acl' => [
5+
'title' => 'Formulários Web',
6+
'view' => 'Visualizar',
7+
'create' => 'Criar',
8+
'edit' => 'Editar',
9+
'delete' => 'Excluir',
10+
],
11+
12+
'menu' => [
13+
'title' => 'Formulários Web',
14+
'title-info' => 'Adicione, edite ou exclua formulários web no CRM',
15+
],
16+
17+
'validations' => [
18+
'invalid-phone-number' => 'Número de telefone inválido',
19+
],
20+
];

public/admin/build/assets/app-7974ef6e.css renamed to public/admin/build/assets/app-06ae2a33.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/app-2032dc2b.js

-71
This file was deleted.

public/admin/build/assets/app-5af6f62c.js

+74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/app-d6168e0d.css

-1
This file was deleted.

public/admin/build/assets/app-e8c28635.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/ar.es-1c5432ef.js

-5
This file was deleted.

public/admin/build/assets/ar.es-2968a13f.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/bg.es-133f1d79.js

-5
This file was deleted.

public/admin/build/assets/bg.es-182cdcb3.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/bn.es-3f8773a4.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/bn.es-d6f1145b.js

-5
This file was deleted.

public/admin/build/assets/bs.es-424f8392.js

-5
This file was deleted.

public/admin/build/assets/bs.es-47a220af.js

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/admin/build/assets/ca.es-10691e62.js

-5
This file was deleted.

0 commit comments

Comments
 (0)