mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
chore: Update to Laravel 9.0
This commit is contained in:
19
lang/pt-br/auth.php
Normal file
19
lang/pt-br/auth.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'Login ou senha inválidos.',
|
||||
'throttle' => 'Limite tentativas excedido. Você pode tentar novamente após :seconds segundos.',
|
||||
|
||||
];
|
||||
74
lang/pt-br/help.php
Normal file
74
lang/pt-br/help.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/**
|
||||
* Strings from the Help page
|
||||
* They are separeted by help group
|
||||
*/
|
||||
|
||||
return [
|
||||
'helpTitle' => 'Ajuda...',
|
||||
/**
|
||||
* What is it?
|
||||
*/
|
||||
'whatIsIt' => 'O que é?',
|
||||
'siteHelpOthers' => '<p><strong>Share It!</strong> é um site que te ajudar a compartilhar seus items com seus amigos.</p>
|
||||
<p>Mas antes de qualquer coisa, você precisa entender duas ideias básicas:</p>',
|
||||
'product_item' => '<li><strong>Produto</strong> - Um grupo que contém itens similares</li>
|
||||
<li><strong>Item</strong> - O item que será compartilhado. Cada item pertence a um <strong>Produto</strong></li>',
|
||||
'examples' => "<strong><em>Exemplos:</em></strong> Você pode criar os seguintes Produtos/Itens:</p>
|
||||
<p>
|
||||
<ul>
|
||||
<li>Livros -> Don Quixote, O guia do mochileiro das galáxias</li>
|
||||
<li>Filmes Matrix -> Matrix 1, Matrix 2, Matrix 3</li>
|
||||
<li>Site Y -> <em>SuaConta</em>*</li>
|
||||
</ul>
|
||||
<p><em>* Observe que muitos sites não permitem compartilhar sua conta. Leia atentamente o contrato do serviço antes de incluí-lo aqui.</em></p>",
|
||||
|
||||
/**
|
||||
* Step-by-step
|
||||
*/
|
||||
'step_title' => 'Passo a passo',
|
||||
'step_sharing_subtitle' => 'Compartilhando um produto/item',
|
||||
'step_sharing_steps' => '<li>Vá para a página <strong><a href="/product">Produtos</a></strong>;</li>
|
||||
<li>Inclua o Produto e clique nele;</li>
|
||||
<li>Inclua um item que pertence ao produto cadastrado e clique nele;</li>
|
||||
<li>Adicione outras pessoas pelo e-mail que elas se cadastram.</li>',
|
||||
|
||||
'step_sharedItem_subtitle' => 'Usando um item compartilhado',
|
||||
'step_sharedItem_steps' => '<li>Vá até a página <strong><a href="/home">Início</a></strong> (dica: adicione essa página aos seus favoritos);</li>
|
||||
<li>Clique em <strong>Usar</strong> para usar o item que deseja;</li>
|
||||
<li>Ao terminar de usar, clique no botão <strong>Devolver</strong>.</li>',
|
||||
|
||||
'step_getAlerted_subtitle' => 'Sendo avisado quando um item está disponível',
|
||||
'step_getAlerted_steps' => '<li>Vá até a página <strong><a href="/home">Início</a></strong> (dica: adicione essa página aos seus favoritos);</li>
|
||||
<li>Clique no botão <strong>Alertar</strong> próximo ao item que está em uso;</li>
|
||||
<li>O atual usuário será avisado que você quer usar o item. Quando a pessoa devolver, você será notificado.</li>',
|
||||
|
||||
/**
|
||||
* Screens
|
||||
*/
|
||||
'screens_title' => 'Páginas',
|
||||
|
||||
/**
|
||||
* Home
|
||||
*/
|
||||
'home_title' => 'Início',
|
||||
'home_body' => '<p>A tela <strong>Início</strong> é a sua página principal. Lá você vai <strong>Usar</strong>
|
||||
e <strong>Devolver</strong> itens.</p>
|
||||
<p>Ela exibe todos os itens que estão sendo compartilhados com você ou que você está compartilhando
|
||||
a menos que você se remova de lá.</p>
|
||||
<p>Se um item tiver um site cadastrado, ele aparecerá como um link. Então você pode clicar nele para abrir a página.</p>
|
||||
<p>Quanto o item que você quiser já estiver em uso, você vai ver quem o está usando e por quanto tempo.
|
||||
Então você pode identificar se a pessoa ainda está usando ou se aparentemente ela esqueceu de retorná-lo.</p>
|
||||
<p>Você também pode pedir para ser avisado quando o item estiver disponível. Isso vai avisar o usuário ativo
|
||||
que você está esperando por ele. Então a pessoa pode devolvê-lo assim que ela terminar de usar.</p>',
|
||||
|
||||
/**
|
||||
* Products
|
||||
*/
|
||||
'products_title' => 'Produtos',
|
||||
'products_body' => '<p>A página <strong>Produtos</strong> é a tela usada para incluir Produtos e Itens.</p>
|
||||
<p>Você também pode <strong>incluir usuários</strong> aos seus items nessa tela.
|
||||
Para fazer isso, você só precisa clicar no item que deseja compartilhar e incluir outras pessoas.</p>
|
||||
<p class="mb-4">Ao adicionar um produto, você pode especificar um site (opcional).</p>',
|
||||
|
||||
];
|
||||
12
lang/pt-br/home.php
Normal file
12
lang/pt-br/home.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
// /resources/views/home.blade.php
|
||||
|
||||
return [
|
||||
'no_messages' => 'Ainda não há itens compartilhados com você.',
|
||||
'share_item' => 'Compartilhe um item!',
|
||||
'return' => 'Devolver',
|
||||
'cancel_alert' => 'Cancelar alerta',
|
||||
'alert_me' => 'Alertar',
|
||||
'take' => 'Usar'
|
||||
];
|
||||
39
lang/pt-br/item.php
Normal file
39
lang/pt-br/item.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Strings from Item Delete button menu
|
||||
*/
|
||||
'confirmation' => 'Confirmação...',
|
||||
'confirmDeletion' => 'Você gostaria de apagar o item <strong>:itemname</strong>?',
|
||||
'notAbleRestore' => 'Não será possível restaurá-lo posteriormente.',
|
||||
'close' => 'Fechar',
|
||||
'delete' => 'Apagar',
|
||||
|
||||
/**
|
||||
* Strings from Item Edit button menu
|
||||
*/
|
||||
'edit' => 'Editar',
|
||||
'edititem' => 'Editar item',
|
||||
'newname' => 'Novo nome:',
|
||||
|
||||
/**
|
||||
* Strings from the Users box on Item page
|
||||
*/
|
||||
'users' => 'Usuários:',
|
||||
'noItems' => 'Não há itens cadastrados. Adicione um no formulário acima.',
|
||||
'addUser' => 'Adicionar usuário',
|
||||
'email' => 'E-mail: ',
|
||||
'nameDomain' => 'nome@dominio.com.br',
|
||||
'insert' => 'Inserir',
|
||||
|
||||
/**
|
||||
* String from otherItems.blade.php - Other items box from item page
|
||||
*/
|
||||
'otherItems' => 'Outros items do mesmo produto',
|
||||
|
||||
/**
|
||||
* String from item.blade.php
|
||||
*/
|
||||
'back' => 'VOLTAR',
|
||||
];
|
||||
19
lang/pt-br/pagination.php
Normal file
19
lang/pt-br/pagination.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Anterior',
|
||||
'next' => 'Próxima »',
|
||||
|
||||
];
|
||||
22
lang/pt-br/passwords.php
Normal file
22
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' => 'As senhas precisam ter pelo menos 6 caracteres e serem iguais a confirmação.',
|
||||
'reset' => 'Sua senha foi redefinida!',
|
||||
'sent' => 'O link para redefinir sua senha foi enviado por e-mail!',
|
||||
'token' => 'O token de redefinição de senha é inválido.',
|
||||
'user' => "Não foi possível encontrar um usuário com o e-mail digitado.",
|
||||
|
||||
];
|
||||
61
lang/pt-br/product.php
Normal file
61
lang/pt-br/product.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* Strings from the product pages
|
||||
* They are separeted by the file that calls them.
|
||||
* Sometimes, a string is used on another file,
|
||||
* so it will stay at the common segment.
|
||||
*/
|
||||
|
||||
return [
|
||||
/**
|
||||
* COMMON
|
||||
*/
|
||||
'insert' => 'Inserir',
|
||||
'close' => 'Fechar',
|
||||
|
||||
/**
|
||||
* addItemForm.blade.php
|
||||
*/
|
||||
'item' => 'Item:',
|
||||
'100yearsSolitude' => 'Cem anos de solidão',
|
||||
|
||||
/**
|
||||
* addProductForm.blade.php
|
||||
*/
|
||||
'name' => 'Nome:',
|
||||
'book' => 'Livro',
|
||||
'url' => 'URL:',
|
||||
'optionalUrlExample' => '(Opcional) http://sitedolivro.com.br',
|
||||
|
||||
/**
|
||||
* deleteButton.blade.php
|
||||
*/
|
||||
'delete' => 'Apagar',
|
||||
'confirmation' => 'Confirmação...',
|
||||
'wannaDelete' => "Você gostaria de apagar o produto <strong>:productname</strong> e seus items?",
|
||||
'notAbleRestore' => 'Não será possível recuperá-los depois.',
|
||||
|
||||
/**
|
||||
* editButton.blade.php
|
||||
*/
|
||||
'edit' => 'Editar',
|
||||
'editProduct' => 'Editar produto',
|
||||
'newName' => 'Novo nome:',
|
||||
'newUrl' => 'Nova url:',
|
||||
|
||||
/**
|
||||
* index.blade.php
|
||||
*/
|
||||
'products' => 'Produtos',
|
||||
'noProductsYet' => 'Ainda não há produtos cadastrados. Inclua um no formulário acima.',
|
||||
'addProduct' => 'Incluir produto',
|
||||
'yourItems' => 'Seus items',
|
||||
|
||||
/**
|
||||
* show.blade.php
|
||||
*/
|
||||
'items' => 'Items:',
|
||||
'noItemsYet' => 'Ainda não há itens cadastrados. Inclua um no formulário acima.',
|
||||
'addItem' => 'Incluir item',
|
||||
'back' => 'VOLTAR',
|
||||
];
|
||||
148
lang/pt-br/validation.php
Normal file
148
lang/pt-br/validation.php
Normal file
@@ -0,0 +1,148 @@
|
||||
<?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' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, dashes and underscores.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'Os campos :attribute e confirmar :attribute são diferentes.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'dimensions' => 'The :attribute has invalid image dimensions.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'file' => 'The :attribute must be a file.',
|
||||
'filled' => 'The :attribute field must have a value.',
|
||||
'gt' => [
|
||||
'numeric' => 'The :attribute must be greater than :value.',
|
||||
'file' => 'The :attribute must be greater than :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than :value characters.',
|
||||
'array' => 'The :attribute must have more than :value items.',
|
||||
],
|
||||
'gte' => [
|
||||
'numeric' => 'The :attribute must be greater than or equal :value.',
|
||||
'file' => 'The :attribute must be greater than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be greater than or equal :value characters.',
|
||||
'array' => 'The :attribute must have :value items or more.',
|
||||
],
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'ipv4' => 'The :attribute must be a valid IPv4 address.',
|
||||
'ipv6' => 'The :attribute must be a valid IPv6 address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'lt' => [
|
||||
'numeric' => 'The :attribute must be less than :value.',
|
||||
'file' => 'The :attribute must be less than :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than :value characters.',
|
||||
'array' => 'The :attribute must have less than :value items.',
|
||||
],
|
||||
'lte' => [
|
||||
'numeric' => 'The :attribute must be less than or equal :value.',
|
||||
'file' => 'The :attribute must be less than or equal :value kilobytes.',
|
||||
'string' => 'The :attribute must be less than or equal :value characters.',
|
||||
'array' => 'The :attribute must not have more than :value items.',
|
||||
],
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'mimetypes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'O campo :attribute precisa ter pelo menos :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'O campo :attribute precisa ter pelo menos :min caracteres.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'not_regex' => 'The :attribute format is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values is present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'uploaded' => 'The :attribute failed to upload.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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' => [
|
||||
'password' => 'senha'
|
||||
],
|
||||
|
||||
];
|
||||
10
lang/pt-br/welcome.php
Normal file
10
lang/pt-br/welcome.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
return [
|
||||
'Home' => 'Início',
|
||||
'Login' => 'Login',
|
||||
'Register' => 'Cadastrar',
|
||||
'Products' => 'Produtos',
|
||||
'Help' => 'Ajuda',
|
||||
'copyright' => '© 2018 Bruno Fontes Todos os direitos reservados',
|
||||
'byAuthor' => 'Por Bruno Fontes',
|
||||
];
|
||||
Reference in New Issue
Block a user