Skip to content

Commit

Permalink
Merge pull request #1766 from shivendra-webkul/locale-support
Browse files Browse the repository at this point in the history
Added support for Portuguese locale
  • Loading branch information
jitendra-webkul authored Dec 6, 2024
2 parents 8b49be2 + a75b1dc commit 46c789e
Show file tree
Hide file tree
Showing 105 changed files with 2,669 additions and 407 deletions.
11 changes: 6 additions & 5 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,12 @@
*/

'available_locales' => [
'ar' => 'Arabic',
'en' => 'English',
'es' => 'Español',
'fa' => 'Persian',
'tr' => 'Türkçe',
'ar' => 'Arabic',
'en' => 'English',
'es' => 'Español',
'fa' => 'Persian',
'tr' => 'Türkçe',
'pt_BR' => 'Portuguese',
],

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'vue-cal/dist/vuecal.css';
import 'vue-cal/dist/i18n/en.es.js';
import 'vue-cal/dist/i18n/ar.es.js';
import 'vue-cal/dist/i18n/tr.es.js';
import 'vue-cal/dist/i18n/pt-br.es.js';

export default {
install: (app, options) => app.component('v-vue-cal', VueCal),
Expand Down
2,023 changes: 2,023 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions packages/Webkul/Installer/src/Console/Commands/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ class Installer extends Command
* @var array
*/
protected $locales = [
'ar' => 'Arabic',
'en' => 'English',
'tr' => 'Turkish',
'es' => 'Spanish',
'fa' => 'Persian',
'ar' => 'Arabic',
'en' => 'English',
'tr' => 'Turkish',
'es' => 'Spanish',
'fa' => 'Persian',
'pt_BR' => 'Portuguese',
];

/**
Expand Down
212 changes: 212 additions & 0 deletions packages/Webkul/Installer/src/Resources/lang/pt_BR/app.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
<?php

return [
'seeders' => [
'attributes' => [
'leads' => [
'description' => 'Descrição',
'expected-close-date' => 'Data de Fechamento Esperada',
'lead-value' => 'Valor do Lead',
'sales-owner' => 'Responsável pela Venda',
'source' => 'Fonte',
'title' => 'Título',
'type' => 'Tipo',
'pipeline' => 'Pipeline',
'stage' => 'Estágio',
],

'persons' => [
'contact-numbers' => 'Números de Contato',
'emails' => 'Emails',
'job-title' => 'Cargo',
'name' => 'Nome',
'organization' => 'Organização',
'sales-owner' => 'Responsável pela Venda',
],

'organizations' => [
'address' => 'Endereço',
'name' => 'Nome',
'sales-owner' => 'Responsável pela Venda',
],

'products' => [
'description' => 'Descrição',
'name' => 'Nome',
'price' => 'Preço',
'quantity' => 'Quantidade',
'sku' => 'SKU',
],

'quotes' => [
'adjustment-amount' => 'Valor de Ajuste',
'billing-address' => 'Endereço de Cobrança',
'description' => 'Descrição',
'discount-amount' => 'Valor do Desconto',
'discount-percent' => 'Percentual de Desconto',
'expired-at' => 'Expira em',
'grand-total' => 'Total Geral',
'person' => 'Pessoa',
'sales-owner' => 'Responsável pela Venda',
'shipping-address' => 'Endereço de Entrega',
'sub-total' => 'Subtotal',
'subject' => 'Assunto',
'tax-amount' => 'Valor do Imposto',
],

'warehouses' => [
'contact-address' => 'Endereço de Contato',
'contact-emails' => 'Emails de Contato',
'contact-name' => 'Nome do Contato',
'contact-numbers' => 'Números de Contato',
'description' => 'Descrição',
'name' => 'Nome',
],
],

'email' => [
'activity-created' => 'Atividade criada',
'activity-modified' => 'Atividade modificada',
'date' => 'Data',
'new-activity' => 'Você tem uma nova atividade, veja os detalhes abaixo',
'new-activity-modified' => 'Uma nova atividade foi modificada, veja os detalhes abaixo',
'participants' => 'Participantes',
'title' => 'Título',
'type' => 'Tipo',
],

'lead' => [
'pipeline' => [
'default' => 'Pipeline Padrão',

'pipeline-stages' => [
'follow-up' => 'Acompanhamento',
'lost' => 'Perdido',
'negotiation' => 'Negociação',
'new' => 'Novo',
'prospect' => 'Prospecto',
'won' => 'Ganho',
],
],

'source' => [
'direct' => 'Direto',
'email' => 'Email',
'phone' => 'Telefone',
'web' => 'Web',
'web-form' => 'Formulário Web',
],

'type' => [
'existing-business' => 'Negócio Existente',
'new-business' => 'Novo Negócio',
],
],

'user' => [
'role' => [
'administrator-role' => 'Função de Administrador',
'administrator' => 'Administrador',
],
],

'workflow' => [
'email-to-participants-after-activity-updation' => 'Emails para participantes após atualização de atividade',
'email-to-participants-after-activity-creation' => 'Emails para participantes após criação de atividade',
],
],

'installer' => [
'index' => [
'create-administrator' => [
'admin' => 'Administrador',
'krayin' => 'Krayin',
'confirm-password' => 'Confirmar Senha',
'email' => 'E-mail',
'email-address' => '[email protected]',
'password' => 'Senha',
'title' => 'Criar Administrador',
],

'environment-configuration' => [
'algerian-dinar' => 'Dinar Argelino (DZD)',
'allowed-currencies' => 'Moedas Permitidas',
'allowed-locales' => 'Idiomas Permitidos',
'application-name' => 'Nome do Aplicativo',
'argentine-peso' => 'Peso Argentino (ARS)',
'australian-dollar' => 'Dólar Australiano (AUD)',
'krayin' => 'Krayin',
'bangladeshi-taka' => 'Taka de Bangladesh (BDT)',
'brazilian-real' => 'Real Brasileiro (BRL)',
'british-pound-sterling' => 'Libra Esterlina (GBP)',
'canadian-dollar' => 'Dólar Canadense (CAD)',
'cfa-franc-bceao' => 'Franco CFA BCEAO (XOF)',
'cfa-franc-beac' => 'Franco CFA BEAC (XAF)',
'chilean-peso' => 'Peso Chileno (CLP)',
'chinese-yuan' => 'Yuan Chinês (CNY)',
'colombian-peso' => 'Peso Colombiano (COP)',
'czech-koruna' => 'Coroa Checa (CZK)',
'danish-krone' => 'Coroa Dinamarquesa (DKK)',
'database-connection' => 'Conexão com Banco de Dados',
'database-hostname' => 'Nome do Host do Banco de Dados',
'database-name' => 'Nome do Banco de Dados',
'database-password' => 'Senha do Banco de Dados',
'database-port' => 'Porta do Banco de Dados',
'database-prefix' => 'Prefixo do Banco de Dados',
'database-username' => 'Usuário do Banco de Dados',
'default-currency' => 'Moeda Padrão',
'default-locale' => 'Idioma Padrão',
'default-timezone' => 'Fuso Horário Padrão',
'default-url' => 'URL Padrão',
'default-url-link' => 'https://localhost',
'euro' => 'Euro (EUR)',
'mysql' => 'MySQL',
'pgsql' => 'pgSQL',
'select-timezone' => 'Selecionar Fuso Horário',
'warning-message' => 'Atenção! As configurações de idioma e moeda padrão não podem ser alteradas após definidas.',
'united-states-dollar' => 'Dólar Americano (USD)',
'brazilian-real' => 'Real Brasileiro (BRL)',
],

'installation-processing' => [
'krayin' => 'Instalação do Krayin',
'krayin-info' => 'Criando as tabelas do banco de dados, isso pode levar alguns momentos',
'title' => 'Instalação',
],

'installation-completed' => [
'admin-panel' => 'Painel de Administração',
'krayin-forums' => 'Fórum Krayin',
'customer-panel' => 'Painel do Cliente',
'explore-krayin-extensions' => 'Explorar Extensões Krayin',
'title' => 'Instalação Concluída',
'title-info' => 'Krayin foi instalado com sucesso no seu sistema.',
],

'ready-for-installation' => [
'create-databsae-table' => 'Criar tabela do banco de dados',
'install' => 'Instalação',
'start-installation' => 'Iniciar Instalação',
'title' => 'Pronto para Instalação',
],

'start' => [
'locale' => 'Idioma',
'main' => 'Início',
'select-locale' => 'Selecionar Idioma',
'title' => 'Instalação do Krayin',
'welcome-title' => 'Bem-vindo ao Krayin',
],

'server-requirements' => [
'php-version' => '8.1 ou superior',
'title' => 'Requisitos do Sistema',
],

'back' => 'Voltar',
'continue' => 'Continuar',
'installation-title' => 'Bem-vindo à Instalação',
'title' => 'Instalador Krayin',
],
],
];
20 changes: 20 additions & 0 deletions packages/Webkul/WebForm/src/Resources/lang/pt_BR/app.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

return [
'acl' => [
'title' => 'Formulários Web',
'view' => 'Visualizar',
'create' => 'Criar',
'edit' => 'Editar',
'delete' => 'Excluir',
],

'menu' => [
'title' => 'Formulários Web',
'title-info' => 'Adicione, edite ou exclua formulários web no CRM',
],

'validations' => [
'invalid-phone-number' => 'Número de telefone inválido',
],
];

Large diffs are not rendered by default.

71 changes: 0 additions & 71 deletions public/admin/build/assets/app-2032dc2b.js

This file was deleted.

74 changes: 74 additions & 0 deletions public/admin/build/assets/app-5af6f62c.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/admin/build/assets/app-d6168e0d.css

This file was deleted.

1 change: 1 addition & 0 deletions public/admin/build/assets/app-e8c28635.css

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions public/admin/build/assets/ar.es-1c5432ef.js

This file was deleted.

5 changes: 5 additions & 0 deletions public/admin/build/assets/ar.es-2968a13f.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions public/admin/build/assets/bg.es-133f1d79.js

This file was deleted.

5 changes: 5 additions & 0 deletions public/admin/build/assets/bg.es-182cdcb3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions public/admin/build/assets/bn.es-3f8773a4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions public/admin/build/assets/bn.es-d6f1145b.js

This file was deleted.

5 changes: 0 additions & 5 deletions public/admin/build/assets/bs.es-424f8392.js

This file was deleted.

5 changes: 5 additions & 0 deletions public/admin/build/assets/bs.es-47a220af.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions public/admin/build/assets/ca.es-10691e62.js

This file was deleted.

Loading

0 comments on commit 46c789e

Please sign in to comment.