Merge branch 'master' of github.com:akaunting/akaunting
This commit is contained in:
commit
09a340b80a
@ -52,13 +52,11 @@ class Users extends ApiController
|
||||
{
|
||||
$user = User::create($request->input());
|
||||
|
||||
if ($request->has('roles')) {
|
||||
$user->roles()->attach($request->get('roles'));
|
||||
}
|
||||
// Attach roles
|
||||
$user->roles()->attach($request->get('roles'));
|
||||
|
||||
if ($request->has('companies')) {
|
||||
$user->companies()->attach($request->get('companies'));
|
||||
}
|
||||
// Attach companies
|
||||
$user->companies()->attach($request->get('companies'));
|
||||
|
||||
return $this->response->created(url('api/users/'.$user->id));
|
||||
}
|
||||
@ -75,13 +73,11 @@ class Users extends ApiController
|
||||
// Except password as we don't want to let the users change a password from this endpoint
|
||||
$user->update($request->except('password'));
|
||||
|
||||
if ($request->has('roles')) {
|
||||
$user->roles()->attach($request->get('roles'));
|
||||
}
|
||||
// Sync roles
|
||||
$user->roles()->sync($request->get('roles'));
|
||||
|
||||
if ($request->has('companies')) {
|
||||
$user->companies()->attach($request->get('companies'));
|
||||
}
|
||||
// Sync companies
|
||||
$user->companies()->sync($request->get('companies'));
|
||||
|
||||
return $this->response->item($user->fresh(), new Transformer());
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ class Users extends Controller
|
||||
// Update user
|
||||
$user->update($request->input());
|
||||
|
||||
// Attach roles
|
||||
// Sync roles
|
||||
$user->roles()->sync($request['roles']);
|
||||
|
||||
// Sync companies
|
||||
|
@ -20,7 +20,7 @@ class Menu
|
||||
$company_id = session('company_id');
|
||||
|
||||
// Get all companies
|
||||
$companies = Auth::user()->companies()->get()->sortBy('name');
|
||||
$companies = Auth::user()->companies()->limit(15)->get()->sortBy('name');
|
||||
foreach ($companies as $com) {
|
||||
$com->setSettings();
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'allowed' => ['en-GB', 'de-DE', 'tr-TR'],
|
||||
'allowed' => ['en-GB', 'de-DE', 'pt-BR', 'tr-TR'],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
15
resources/lang/pt-BR/accounts.php
Normal file
15
resources/lang/pt-BR/accounts.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'account_name' => 'Nome',
|
||||
'number' => 'Número',
|
||||
'opening_balance' => 'Saldo Inicial',
|
||||
'current_balance' => 'Valor Atual',
|
||||
'bank_name' => 'Nome do Banco',
|
||||
'bank_phone' => 'Telefone',
|
||||
'bank_address' => 'Endereço',
|
||||
'default_account' => 'Conta Padrão',
|
||||
'all' => 'Todas as Contas',
|
||||
|
||||
];
|
29
resources/lang/pt-BR/auth.php
Normal file
29
resources/lang/pt-BR/auth.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'profile' => 'Perfil',
|
||||
'logout' => 'Sair',
|
||||
'login' => 'Logar',
|
||||
'login_to' => 'Entre para iniciar sua sessão',
|
||||
'remember_me' => 'Lembrar-me',
|
||||
'forgot_password' => 'Lembrar senha',
|
||||
'reset_password' => 'Resetar Senha',
|
||||
'enter_email' => 'Entre com o seu endereço de e-mail',
|
||||
'current_email' => 'E-mail atual',
|
||||
'reset' => 'Resetar',
|
||||
'never' => 'Nunca',
|
||||
'password' => [
|
||||
'current' => 'Senha',
|
||||
'current_confirm' => 'Confirmação da Senha',
|
||||
'new' => 'Nova Senha',
|
||||
'new_confirm' => 'Confirmação da Nova Senha',
|
||||
],
|
||||
'error' => [
|
||||
'self_delete' => 'Erro: não pode se excluir!'
|
||||
],
|
||||
|
||||
'failed' => 'Essas credenciais não correspondem aos nossos registros.',
|
||||
'throttle' => 'Muitas tentativas de login. Tente novamente em :seconds segundos.',
|
||||
|
||||
];
|
36
resources/lang/pt-BR/bills.php
Normal file
36
resources/lang/pt-BR/bills.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'bill_number' => 'Número da conta',
|
||||
'bill_date' => 'Data de Emissão',
|
||||
'total_price' => 'Valor Total',
|
||||
'due_date' => 'Data de Vencimento',
|
||||
'order_number' => 'Número',
|
||||
'bill_from' => 'Bill From',
|
||||
|
||||
'quantity' => 'Quantidade',
|
||||
'price' => 'Preço',
|
||||
'sub_total' => 'Subtotal',
|
||||
'tax_total' => 'Taxa',
|
||||
'total' => 'Total',
|
||||
|
||||
'item_name' => 'Nome(s) do(s) Item(s)',
|
||||
|
||||
'payment_due' => 'Valor Devido',
|
||||
'amount_due' => 'Total Devido',
|
||||
'paid' => 'Pago',
|
||||
'histories' => 'Histórico',
|
||||
'payments' => 'Pagamentos',
|
||||
'add_payment' => 'Novo Pagamento',
|
||||
'download_pdf' => 'Baixar em PDF',
|
||||
'send_mail' => 'Enviar E-mail',
|
||||
|
||||
'status' => [
|
||||
'new' => 'Novo',
|
||||
'updated' => 'Atualizar',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pago',
|
||||
],
|
||||
|
||||
];
|
7
resources/lang/pt-BR/categories.php
Normal file
7
resources/lang/pt-BR/categories.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'all' => 'Todas as categorias',
|
||||
'all_types' => 'Todos tipos'
|
||||
];
|
13
resources/lang/pt-BR/companies.php
Normal file
13
resources/lang/pt-BR/companies.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'domain' => 'Endereço do site',
|
||||
'logo' => 'Logotipo',
|
||||
'manage' => 'Gerenciar empresas',
|
||||
'all' => 'Todas as empresas',
|
||||
'error' => [
|
||||
'delete_active' => 'Erro: não é possível deletar a empresa em atividade, por favor altere o cadastro!',
|
||||
],
|
||||
|
||||
];
|
9
resources/lang/pt-BR/currencies.php
Normal file
9
resources/lang/pt-BR/currencies.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'code' => 'Código',
|
||||
'rate' => 'Taxa',
|
||||
'default' => 'Moeda Padrão',
|
||||
|
||||
];
|
5
resources/lang/pt-BR/customer.php
Normal file
5
resources/lang/pt-BR/customer.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'all' => 'Todos os clientes',
|
||||
];
|
24
resources/lang/pt-BR/dashboard.php
Normal file
24
resources/lang/pt-BR/dashboard.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'total_incomes' => 'Rendimentos totais',
|
||||
'receivables' => 'Recebíveis',
|
||||
'open_invoices' => 'Faturas em aberto',
|
||||
'overdue_invoices' => 'Faturas vencidas',
|
||||
'total_expenses' => 'Despesas totais',
|
||||
'payables' => 'Pagamentos',
|
||||
'open_bills' => 'Contas Abertas',
|
||||
'overdue_bills' => 'Contas Vencidas',
|
||||
'total_profit' => 'Lucro Total',
|
||||
'open_profit' => 'Lucro em Aberto',
|
||||
'overdue_profit' => 'Lucro Vencido',
|
||||
'cash_flow' => 'Fluxo de Caixa',
|
||||
'no_profit_loss' => 'Sem perda de lucro',
|
||||
'incomes_by_category' => 'Resultados por Categoria',
|
||||
'expenses_by_category' => 'Despesas por Categoria',
|
||||
'account_balance' => 'Saldo da Conta',
|
||||
'latest_incomes' => 'Últimos Rendimentos',
|
||||
'latest_expenses' => 'Últimas Despesas',
|
||||
|
||||
];
|
17
resources/lang/pt-BR/demo.php
Normal file
17
resources/lang/pt-BR/demo.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'accounts_cash' => 'Dinheiro',
|
||||
'categories_uncat' => 'Sem Categoria',
|
||||
'categories_deposit' => 'Depósito',
|
||||
'categories_sales' => 'Vendas',
|
||||
'currencies_usd' => 'US Americado',
|
||||
'currencies_eur' => 'Euro',
|
||||
'currencies_gbp' => 'Libras Britânicas',
|
||||
'currencies_try' => 'Lira Turca',
|
||||
'taxes_exempt' => 'Isento de Imposto',
|
||||
'taxes_normal' => 'Normal',
|
||||
'taxes_sales' => 'Imposto sobre venda',
|
||||
|
||||
];
|
9
resources/lang/pt-BR/footer.php
Normal file
9
resources/lang/pt-BR/footer.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'version' => 'Versão',
|
||||
'powered' => 'Desenvolvido por Akaunting',
|
||||
'software' => 'Software de contabilidade gratuito',
|
||||
|
||||
];
|
109
resources/lang/pt-BR/general.php
Normal file
109
resources/lang/pt-BR/general.php
Normal file
@ -0,0 +1,109 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'items' => 'Item | Itens',
|
||||
'incomes' => 'Renda|Rendas',
|
||||
'invoices' => 'Fatura|Faturas',
|
||||
'revenues' => 'Receita|Receitas',
|
||||
'customers' => 'Cliente|Clientes',
|
||||
'expenses' => 'Despesa|Despesas',
|
||||
'bills' => 'Fatura|Faturas',
|
||||
'payments' => 'Pagamento|Pagamento',
|
||||
'vendors' => 'Fornecedor|Fornecedores',
|
||||
'accounts' => 'Conta|Contas',
|
||||
'transfers' => 'Transferência|Transferências',
|
||||
'transactions' => 'Transação|Transações',
|
||||
'reports' => 'Relatório|Relatórios',
|
||||
'settings' => 'Configuração|Configurações',
|
||||
'categories' => 'Categoria|Categorias',
|
||||
'currencies' => 'Moeda|Moedas',
|
||||
'tax_rates' => 'Taxa de Imposto|Taxa de Impostos',
|
||||
'users' => 'Usuário|Usuário',
|
||||
'roles' => 'Regra|Regras',
|
||||
'permissions' => 'Permissão|Permissões',
|
||||
'modules' => 'App | Apps',
|
||||
'companies' => 'Empresa|Empresas',
|
||||
'profits' => 'Lucro|Lucros',
|
||||
'taxes' => 'Imposto|Impostos',
|
||||
'pictures' => 'Imagen|Imagens',
|
||||
'types' => 'Tipo|Tipos',
|
||||
'payment_methods' => 'Método de pagamento|Método de pagamentos',
|
||||
'compares' => 'Receita vs Despesa|Receitas vs Despesas',
|
||||
'notes' => 'Nota|Notas',
|
||||
'totals' => 'Total|Totais',
|
||||
'languages' => 'Idioma|Idiomas',
|
||||
'updates' => 'Atualização|Atualizações',
|
||||
'numbers' => 'Número|Números',
|
||||
|
||||
'dashboard' => 'Painel',
|
||||
'banking' => 'Banco',
|
||||
'general' => 'Geral',
|
||||
'no_records' => 'Sem registros.',
|
||||
'date' => 'Data',
|
||||
'amount' => 'Montante',
|
||||
'enabled' => 'Ativado',
|
||||
'disabled' => 'Desativado',
|
||||
'yes' => 'Sim',
|
||||
'no' => 'Não',
|
||||
'na' => 'N/A',
|
||||
'daily' => 'Diariamente',
|
||||
'monthly' => 'Mensal',
|
||||
'yearly' => 'Anual',
|
||||
'add' => 'Adicionar',
|
||||
'add_new' => 'Adicionar novo',
|
||||
'show' => 'Visualizar',
|
||||
'edit' => 'Editar',
|
||||
'delete' => 'Excluir',
|
||||
'send' => 'Enviar',
|
||||
'download' => 'Baixar',
|
||||
'delete_confirm' => 'Confirma a exclusão :name :type?',
|
||||
'name' => 'Nome',
|
||||
'email' => 'E-mail',
|
||||
'tax_number' => 'Número de identificação fisca',
|
||||
'phone' => 'Telefone',
|
||||
'address' => 'Endereço',
|
||||
'website' => 'Site',
|
||||
'actions' => 'Ações',
|
||||
'description' => 'Descrição',
|
||||
'manage' => 'Gerenciar',
|
||||
'code' => 'Código',
|
||||
'alias' => 'Alias',
|
||||
'balance' => 'Balancear',
|
||||
'reference' => 'Referência',
|
||||
'attachment' => 'Anexo',
|
||||
'change' => 'Alterar',
|
||||
'color' => 'Cor',
|
||||
'save' => 'Salvar',
|
||||
'cancel' => 'Cancelar',
|
||||
'status' => 'Status',
|
||||
'from' => 'De',
|
||||
'to' => 'Para',
|
||||
'print' => 'Imprimir',
|
||||
'search' => 'Localizar',
|
||||
'search_placeholder' => 'Digite para pesquisa..',
|
||||
'filter' => 'Filtar',
|
||||
'create_user' => 'Criar Usuário',
|
||||
'created_user' => 'Usuário criado',
|
||||
'all_statuses' => 'Todos os Estatutos',
|
||||
'bank' => 'Transferência bancária',
|
||||
'cash' => 'Dinheiro',
|
||||
'paypal' => 'PayPal',
|
||||
'help' => 'Ajuda',
|
||||
'all' => 'Todos',
|
||||
'upcoming' => 'Próximos',
|
||||
|
||||
'title' => [
|
||||
'new' => 'Novo :type',
|
||||
'edit' => 'Editar :type',
|
||||
],
|
||||
'form' => [
|
||||
'enter' => 'Digite :filed',
|
||||
'select' => [
|
||||
'field' => '- Selecionar :field -',
|
||||
'file' => 'Selecionar Arquivo',
|
||||
],
|
||||
'no_file_selected' => 'Nenhum arquivo selecionado...',
|
||||
],
|
||||
|
||||
];
|
14
resources/lang/pt-BR/header.php
Normal file
14
resources/lang/pt-BR/header.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'change_language' => 'Alterar Idioma',
|
||||
'last_login' => 'Último Login :time',
|
||||
'notifications' => [
|
||||
'counter' => '{0} Você não tem notificação|{1} Você tem :count notificação|[2,*] Você tem :count notificações',
|
||||
'overdue_invoices' => '{1} :count nota atrasada|[2,*] :count notas atrasadas',
|
||||
'upcoming_bills' => '{1} :count vencimento atual|[2,*] :count vencimentos atual',
|
||||
'view_all' => 'Visualizar todos'
|
||||
],
|
||||
|
||||
];
|
45
resources/lang/pt-BR/install.php
Normal file
45
resources/lang/pt-BR/install.php
Normal file
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'next' => 'Próximo',
|
||||
'refresh' => 'Atualizar',
|
||||
|
||||
'steps' => [
|
||||
'requirements' => 'Por favor, verifque os seguintes pré-requisitos!',
|
||||
'language' => 'Passo 1/3 : Selecionar idioma',
|
||||
'database' => 'Passo 2/3 : Configuração do Banco de Dados',
|
||||
'settings' => 'Passo 3/3 : Detalhes da empresa e do administrador',
|
||||
],
|
||||
|
||||
'language' => [
|
||||
'select' => 'Selecionar Idioma',
|
||||
],
|
||||
|
||||
'requirements' => [
|
||||
'php_version' => 'PHP 5.6.4 ou superior!',
|
||||
'enabled' => ':feature precisa esta habilitado!',
|
||||
'disabled' => ':feature precisa esta desabilitado!',
|
||||
'extension' => 'A :extension precisa esta instalada!',
|
||||
'directory' => 'O diretório :directory precisa de permissão para escrita!',
|
||||
],
|
||||
|
||||
'database' => [
|
||||
'hostname' => 'Nome do servidor',
|
||||
'username' => 'Nome de usuário',
|
||||
'password' => 'Senha',
|
||||
'name' => 'Banco de Dados',
|
||||
],
|
||||
|
||||
'settings' => [
|
||||
'company_name' => 'Nome da empresa',
|
||||
'company_email' => 'E-mail da empresa',
|
||||
'admin_email' => 'E-mail do Admin',
|
||||
'admin_password' => 'Senha do Admin',
|
||||
],
|
||||
|
||||
'error' => [
|
||||
'connection' => 'Erro: Não foi possível conectar ao banco de dados! Certifique-se de que os detalhes estão corretos.',
|
||||
],
|
||||
|
||||
];
|
37
resources/lang/pt-BR/invoices.php
Normal file
37
resources/lang/pt-BR/invoices.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'invoice_number' => 'Número da Fatura',
|
||||
'invoice_date' => 'Data de Emissão',
|
||||
'total_price' => 'Valor total',
|
||||
'due_date' => 'Data de Vencimento',
|
||||
'order_number' => 'Número',
|
||||
'bill_to' => 'Pagar para',
|
||||
|
||||
'quantity' => 'Quantidade',
|
||||
'price' => 'Preço',
|
||||
'sub_total' => 'Subtotal',
|
||||
'tax_total' => 'Valor da taxa',
|
||||
'total' => 'Total',
|
||||
|
||||
'item_name' => 'Item|Itens',
|
||||
|
||||
'payment_due' => 'Pagamento vencido',
|
||||
'paid' => 'Pago',
|
||||
'histories' => 'Histórico',
|
||||
'payments' => 'Pagamentos',
|
||||
'add_payment' => 'Novo Pagamento',
|
||||
'download_pdf' => 'Baixar em PDF',
|
||||
'send_mail' => 'Enviar E-mail',
|
||||
|
||||
'status' => [
|
||||
'draft' => 'Rascunho',
|
||||
'sent' => 'Enviar',
|
||||
'viewed' => 'Visto',
|
||||
'approved' => 'Aprovado',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pago',
|
||||
],
|
||||
|
||||
];
|
10
resources/lang/pt-BR/items.php
Normal file
10
resources/lang/pt-BR/items.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'quantities' => 'Quantidade|Quantidades',
|
||||
'sales_price' => 'Preço de Venda',
|
||||
'purchase_price' => 'Preço de Compra',
|
||||
'sku' => 'SKU',
|
||||
|
||||
];
|
17
resources/lang/pt-BR/messages.php
Normal file
17
resources/lang/pt-BR/messages.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'success' => [
|
||||
'added' => ':type adicionado!',
|
||||
'updated' => ':type atualizado!',
|
||||
'deleted' => ':type excluído!',
|
||||
],
|
||||
'error' => [
|
||||
'not_user_company' => 'Erro: você não tem permissão para gerenciar esta empresa!',
|
||||
],
|
||||
'warning' => [
|
||||
'deleted' => 'Atenção: Você não pode excluir :type. Por causa de :text',
|
||||
],
|
||||
|
||||
];
|
42
resources/lang/pt-BR/modules.php
Normal file
42
resources/lang/pt-BR/modules.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'api_token' => 'Token',
|
||||
'enter_api_token' => 'Digitar o códiga da API do token',
|
||||
'top_paid' => 'Pago a maior',
|
||||
'new' => 'Novo',
|
||||
'top_free' => 'Melhores Grátis',
|
||||
'free' => 'Gratis',
|
||||
'install' => 'Instalar',
|
||||
'buy_now' => 'Comprar Agora',
|
||||
'faq' => 'FAQ',
|
||||
'changelog' => 'Changelog',
|
||||
'installed' => 'Changelog',
|
||||
'uninstalled' => 'Changelog',
|
||||
|
||||
'enabled' => ':module módulo habilitado',
|
||||
'disabled' => ':module módulo desabilitado',
|
||||
|
||||
'installation' => [
|
||||
'header' => 'Instalação do Módulo',
|
||||
'start' => 'Instalando :module.',
|
||||
'download' => 'Baixando arquivos do módulo :module.',
|
||||
'unzip' => 'Extraindo arquivos do módulo :module.',
|
||||
'install' => 'Atualizando arquivos do módulo :module.',
|
||||
],
|
||||
|
||||
'history' => [
|
||||
'installed' => ':module instalado',
|
||||
'uninstalled' => ':module removido',
|
||||
'updated' => ':module atualizado',
|
||||
'enabled' => ':module ativado',
|
||||
'disabled' => ':module desativado',
|
||||
],
|
||||
|
||||
'button' => [
|
||||
'uninstall' => 'Remover',
|
||||
'disable' => 'Desativar',
|
||||
'enable' => 'Ativar',
|
||||
],
|
||||
];
|
9
resources/lang/pt-BR/pagination.php
Normal file
9
resources/lang/pt-BR/pagination.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'previous' => '« Anterior',
|
||||
'next' => 'Próximo »',
|
||||
'showing' => 'Mostrando :first de :last do :total :type',
|
||||
|
||||
];
|
22
resources/lang/pt-BR/passwords.php
Normal file
22
resources/lang/pt-BR/passwords.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'A senha deve possuir no mínimo 6 caracteres e ser igual a confirmação.',
|
||||
'reset' => 'Sua senha foi redefinida!',
|
||||
'sent' => 'O link para redefinição de senha foi enviado para o seu e-mail!',
|
||||
'token' => 'Token para recuperação de senha inválido.',
|
||||
'user' => "Não encontramos nenhum usuário com esse endereço de e-mail.",
|
||||
|
||||
];
|
11
resources/lang/pt-BR/reports.php
Normal file
11
resources/lang/pt-BR/reports.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'summary' => [
|
||||
'income' => 'Resumo de Venda',
|
||||
'expense' => 'Resumo de Despesas',
|
||||
'income_expense' => 'Receita vs Despesa',
|
||||
],
|
||||
|
||||
];
|
7
resources/lang/pt-BR/roles.php
Normal file
7
resources/lang/pt-BR/roles.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'all' => 'Todas as regras',
|
||||
|
||||
];
|
85
resources/lang/pt-BR/settings.php
Normal file
85
resources/lang/pt-BR/settings.php
Normal file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'company' => [
|
||||
'name' => 'Nome',
|
||||
'email' => 'E-mail',
|
||||
'phone' => 'Telefone',
|
||||
'address' => 'Endereço',
|
||||
'logo' => 'Logo',
|
||||
],
|
||||
'localisation' => [
|
||||
'tab' => 'Localizção',
|
||||
'date' => [
|
||||
'format' => 'Formato da Data',
|
||||
'separator' => 'Separador de Data',
|
||||
'dash' => 'Traço (-)',
|
||||
'dot' => 'Ponto (.)',
|
||||
'comma' => 'Vírgula (,)',
|
||||
'slash' => 'Barra (/)',
|
||||
'space' => 'Espaço ( )',
|
||||
],
|
||||
'timezone' => 'Fuso Horário',
|
||||
],
|
||||
'invoice' => [
|
||||
'tab' => 'Faturas',
|
||||
'prefix' => 'Prefixo',
|
||||
'digit' => 'Número de Fatura',
|
||||
'start' => 'Inicar número com',
|
||||
'logo' => 'Logo da Fatura',
|
||||
],
|
||||
'default' => [
|
||||
'tab' => 'Padrões',
|
||||
'account' => 'Conta Padrão',
|
||||
'currency' => 'Moeda Padrão',
|
||||
'tax' => 'Imposto Padrão',
|
||||
'payment' => 'Metodo de pagamento padrão',
|
||||
'language' => 'Idioma Padrão',
|
||||
],
|
||||
'email' => [
|
||||
'protocol' => 'Protocolo',
|
||||
'php' => 'PHP Mail',
|
||||
'smtp' => [
|
||||
'name' => 'SMTP',
|
||||
'host' => 'SMTP Host',
|
||||
'port' => 'SMTP Porta',
|
||||
'username' => 'SMTP Usuário',
|
||||
'password' => 'SMTP Senha',
|
||||
'encryption' => 'SMTP Criptografia',
|
||||
'none' => 'Nenhum',
|
||||
],
|
||||
'sendmail' => 'Sendmail',
|
||||
'sendmail_path' => 'Sendmail Path',
|
||||
'log' => 'Log Emails',
|
||||
],
|
||||
'scheduling' => [
|
||||
'tab' => 'Agendamento',
|
||||
'send_invoice' => 'Enviar lembrete de faturas',
|
||||
'invoice_days' => 'Enviar após dias de vencimento',
|
||||
'send_bill' => 'Enviar lembrança',
|
||||
'bill_days' => 'Enviar antes de vencer',
|
||||
'cron_command' => 'Comando Cron',
|
||||
'schedule_time' => 'Iniciar Cron',
|
||||
],
|
||||
'appearance' => [
|
||||
'tab' => 'Aparência',
|
||||
'theme' => 'Tema',
|
||||
'light' => 'Claro',
|
||||
'dark' => 'Escuro',
|
||||
'list_limit' => 'Registros por Página',
|
||||
'use_gravatar' => 'Usar Gravatar',
|
||||
],
|
||||
'system' => [
|
||||
'tab' => 'Sistema',
|
||||
'session' => [
|
||||
'lifetime' => 'Finalizar sessão (Minutos)',
|
||||
'handler' => 'Manipulador de sessão',
|
||||
'file' => 'Arquivo',
|
||||
'database' => 'Database',
|
||||
],
|
||||
'file_size' => 'Tamanho máximo do arquivo (MB)',
|
||||
'file_types' => 'Tipos de arquivos permitidos',
|
||||
],
|
||||
|
||||
];
|
8
resources/lang/pt-BR/taxes.php
Normal file
8
resources/lang/pt-BR/taxes.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'rate' => 'Taxa',
|
||||
'rate_percent' => 'Taxa (%)',
|
||||
|
||||
];
|
8
resources/lang/pt-BR/transfers.php
Normal file
8
resources/lang/pt-BR/transfers.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'from_account' => 'Da conta',
|
||||
'to_account' => 'Para conta',
|
||||
|
||||
];
|
12
resources/lang/pt-BR/updates.php
Normal file
12
resources/lang/pt-BR/updates.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'installed_version' => 'Versão Instalada',
|
||||
'latest_version' => 'Última Versão',
|
||||
'update' => 'Atualiza o Akaunting para a versão :version',
|
||||
'changelog' => 'Changelog',
|
||||
'new_core' => 'Está disponível uma versão atualizada do Sistema Akaunting.',
|
||||
'latest_core' => 'Parabéns! Você tem a versão mais recente do Akaunting. Futuras atualizações de segurança serão aplicadas automaticamente.',
|
||||
|
||||
];
|
119
resources/lang/pt-BR/validation.php
Normal file
119
resources/lang/pt-BR/validation.php
Normal file
@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'O :attribute deve ser aceito.',
|
||||
'active_url' => 'O :attribute não é uma URL válida.',
|
||||
'after' => 'O :attribute deve ser uma data posterior a :date.',
|
||||
'after_or_equal' => 'O :attribute deve ser uma data posterior ou igual a :date.',
|
||||
'alpha' => 'O :attribute deve conter somente letras.',
|
||||
'alpha_dash' => 'O :attribute deve conter letras, números e traços.',
|
||||
'alpha_num' => 'O :attribute deve conter somente letras e números.',
|
||||
'array' => 'O :attribute deve ser um array.',
|
||||
'before' => 'O :attribute deve ser uma data anterior a :date.',
|
||||
'before_or_equal' => 'O :attribute deve ser uma data anterior ou igual a :date.',
|
||||
'between' => [
|
||||
'numeric' => 'O :attribute deve estar entre :min e :max.',
|
||||
'file' => 'O :attribute deve estar entre :min e :max kilobytes.',
|
||||
'string' => 'O :attribute deve estar entre :min e :max caracteres.',
|
||||
'array' => 'O :attribute deve ter entre :min e :max itens.',
|
||||
],
|
||||
'boolean' => 'O :attribute deve ser verdadeiro ou falso.',
|
||||
'confirmed' => 'A confirmação de :attribute não confere.',
|
||||
'date' => 'O :attribute não é uma data válida.',
|
||||
'date_format' => 'O :attribute não confere com o formato :format.',
|
||||
'different' => 'O :attribute e :other devem ser diferentes.',
|
||||
'digits' => 'O :attribute deve ter :digits dígitos.',
|
||||
'digits_between' => 'O :attribute deve ter entre :min e :max dígitos.',
|
||||
'dimensions' => 'O :attribute não tem dimensões válidas.',
|
||||
'distinct' => 'O :attribute campo contém um valor duplicado.',
|
||||
'email' => 'O :attribute deve ser um endereço de e-mail válido.',
|
||||
'exists' => 'O :attribute selecionado é inválido.',
|
||||
'file' => 'O :attribute precisa ser um arquivo.',
|
||||
'filled' => 'O :attribute é um campo obrigatório.',
|
||||
'image' => 'O :attribute deve ser uma imagem.',
|
||||
'in' => 'O :attribute é inválido.',
|
||||
'in_array' => 'O :attribute campo não existe em :other.',
|
||||
'integer' => 'O :attribute deve ser um inteiro.',
|
||||
'ip' => 'O :attribute deve ser um endereço IP válido.',
|
||||
'json' => 'O :attribute deve ser um JSON válido.',
|
||||
'max' => [
|
||||
'numeric' => 'O :attribute não deve ser maior que :max.',
|
||||
'file' => 'O :attribute não deve ter mais que :max kilobytes.',
|
||||
'string' => 'O :attribute não deve ter mais que :max caracteres.',
|
||||
'array' => 'O :attribute não pode ter mais que :max itens.',
|
||||
],
|
||||
'mimes' => 'O :attribute deve ser um arquivo do tipo: :values.',
|
||||
'mimetypes' => 'O :attribute deve ser um arquivo do tipo: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'O :attribute deve ser no mínimo :min.',
|
||||
'file' => 'O :attribute deve ter no mínimo :min kilobytes.',
|
||||
'string' => 'O :attribute deve ter no mínimo :min caracteres.',
|
||||
'array' => 'O :attribute deve ter no mínimo :min itens.',
|
||||
],
|
||||
'not_in' => 'O :attribute selecionado é inválido.',
|
||||
'numeric' => 'O :attribute deve ser um número.',
|
||||
'present' => 'O :attribute deve estar presente.',
|
||||
'regex' => 'O formato de :attribute é inválido.',
|
||||
'required' => 'O campo :attribute é obrigatório.',
|
||||
'required_if' => 'O campo :attribute é obrigatório quando :other é :value.',
|
||||
'required_unless' => 'O :attribute é necessário a menos que :other esteja em :values.',
|
||||
'required_with' => 'O campo :attribute é obrigatório quando :values está presente.',
|
||||
'required_with_all' => 'O campo :attribute é obrigatório quando :values estão presentes.',
|
||||
'required_without' => 'O campo :attribute é obrigatório quando :values não está presente.',
|
||||
'required_without_all' => 'O campo :attribute é obrigatório quando nenhum destes estão presentes: :values.',
|
||||
'same' => 'O :attribute e :other devem ser iguais.',
|
||||
'size' => [
|
||||
'numeric' => 'O :attribute deve ser :size.',
|
||||
'file' => 'O :attribute deve ter :size kilobytes.',
|
||||
'string' => 'O :attribute deve ter :size caracteres.',
|
||||
'array' => 'O :attribute deve conter :size itens.',
|
||||
],
|
||||
'string' => 'O :attribute deve ser uma string',
|
||||
'timezone' => 'O :attribute deve ser uma timezone válida.',
|
||||
'unique' => 'O :attribute já está em uso.',
|
||||
'uploaded' => 'O :attribute falhou no upload.',
|
||||
'url' => 'O formato de :attribute é inválido.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap attribute place-holders
|
||||
| with something more reader friendly such as E-Mail Address instead
|
||||
| of "email". This simply helps us make messages a little cleaner.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
];
|
@ -12,7 +12,7 @@
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="caret"></span> {{ trans('general.change') }}</a>
|
||||
<ul class="dropdown-menu">
|
||||
@foreach($companies as $com)
|
||||
<li><a href="{{ url('companies/companies/'. $com->id .'/set') }}">{{ str_limit($com->company_name, 20) }}</a></li>
|
||||
<li><a href="{{ url('companies/companies/'. $com->id .'/set') }}">{{ str_limit($com->company_name, 18) }}</a></li>
|
||||
@endforeach
|
||||
@permission('update-companies-companies')
|
||||
<li role="separator" class="divider"></li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user