mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 07:50:54 -03:00
Adding translation of product page
The news/product/*.blade.php files are translated into PTB.
This commit is contained in:
63
resources/lang/en/product.php
Normal file
63
resources/lang/en/product.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<?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' => 'Insert',
|
||||
'close' => 'Close',
|
||||
'' => '',
|
||||
'' => '',
|
||||
|
||||
/**
|
||||
* addItemForm.blade.php
|
||||
*/
|
||||
'item' => 'Item:',
|
||||
'100yearsSolitude' => 'One Hundred Years of Solitude',
|
||||
|
||||
/**
|
||||
* addProductForm.blade.php
|
||||
*/
|
||||
'name' => 'Name:',
|
||||
'book' => 'Book',
|
||||
'url' => 'URL:',
|
||||
'optionalUrlExample' => '(Optional) http://bookwebsite.com',
|
||||
|
||||
/**
|
||||
* deleteButton.blade.php
|
||||
*/
|
||||
'delete' => 'Delete',
|
||||
'confirmation' => 'Confirmation...',
|
||||
'wannaDelete' => "Would you like to delete the product <strong>:productname</strong> and it's items?",
|
||||
'notAbleRestore' => 'You will not be able to restore it after deletion.',
|
||||
|
||||
/**
|
||||
* editButton.blade.php
|
||||
*/
|
||||
'edit' => 'Edit',
|
||||
'editProduct' => 'Edit product',
|
||||
'newName' => 'New name:',
|
||||
'newUrl' => 'New url:',
|
||||
|
||||
/**
|
||||
* index.blade.php
|
||||
*/
|
||||
'products' => 'Products',
|
||||
'noProductsYet' => 'There are no products yet. Include one with the form above.',
|
||||
'addProduct' => 'Add product',
|
||||
'yourItems' => 'Your items',
|
||||
|
||||
/**
|
||||
* show.blade.php
|
||||
*/
|
||||
'items' => 'Items:',
|
||||
'noItemsYet' => 'There are no items yet. Include one with the form above.',
|
||||
'addItem' => 'Add item',
|
||||
'back' => 'BACK',
|
||||
];
|
||||
61
resources/lang/pt-br/product.php
Normal file
61
resources/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',
|
||||
];
|
||||
Reference in New Issue
Block a user