diff --git a/resources/lang/en/product.php b/resources/lang/en/product.php new file mode 100644 index 0000000..19201be --- /dev/null +++ b/resources/lang/en/product.php @@ -0,0 +1,63 @@ + '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 :productname 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', +]; \ No newline at end of file diff --git a/resources/lang/pt-br/product.php b/resources/lang/pt-br/product.php new file mode 100644 index 0000000..c8f9065 --- /dev/null +++ b/resources/lang/pt-br/product.php @@ -0,0 +1,61 @@ + '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 :productname 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', +]; \ No newline at end of file diff --git a/resources/views/product/addItemForm.blade.php b/resources/views/product/addItemForm.blade.php index 5038106..73056c2 100644 --- a/resources/views/product/addItemForm.blade.php +++ b/resources/views/product/addItemForm.blade.php @@ -3,10 +3,10 @@
-
-
+
+
-
+
diff --git a/resources/views/product/addProductForm.blade.php b/resources/views/product/addProductForm.blade.php index 02e10a9..8b02119 100644 --- a/resources/views/product/addProductForm.blade.php +++ b/resources/views/product/addProductForm.blade.php @@ -2,16 +2,16 @@ {{ csrf_field() }}
-
-
+
+
-
-
+
+
-
+
@include ('layouts.errors') diff --git a/resources/views/product/deleteButton.blade.php b/resources/views/product/deleteButton.blade.php index 3ec5681..855f741 100644 --- a/resources/views/product/deleteButton.blade.php +++ b/resources/views/product/deleteButton.blade.php @@ -1,26 +1,26 @@ - +