diff --git a/.github/screenshots/4.jpg b/.github/screenshots/4.jpg index 8a19ec9..4d8f9ee 100644 Binary files a/.github/screenshots/4.jpg and b/.github/screenshots/4.jpg differ diff --git a/.github/screenshots/8.jpg b/.github/screenshots/8.jpg new file mode 100644 index 0000000..e81b98d Binary files /dev/null and b/.github/screenshots/8.jpg differ diff --git a/README.en.md b/README.en.md index 3a6d42e..3c3364c 100644 --- a/README.en.md +++ b/README.en.md @@ -24,7 +24,8 @@ Read this in other languages: [English](README.en.md), [Português](README.md)
- + +
## Firebase diff --git a/README.md b/README.md index 9fa1208..e1aba78 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,8 @@ Read this in other languages: [English](README.en.md), [Português](README.md)
- + +
## Firebase diff --git a/src/__tests__/navigation-mocks.ts b/src/__tests__/navigation-mocks.ts index b635110..f9def86 100644 --- a/src/__tests__/navigation-mocks.ts +++ b/src/__tests__/navigation-mocks.ts @@ -13,3 +13,9 @@ export const useNavigationMocks = { setParams: jest.fn(), openDrawer: jest.fn(), }; + +export const useRouteMock = { + params: {}, + key: '', + name: '' +}; \ No newline at end of file diff --git a/src/locales/enUS/general.ts b/src/locales/enUS/general.ts index b4142f3..92d28c0 100644 --- a/src/locales/enUS/general.ts +++ b/src/locales/enUS/general.ts @@ -11,6 +11,7 @@ const general = { yes: `Yes`, no: `No`, currency: '$', + logout: 'Logout', }; export default general; diff --git a/src/locales/enUS/product-items.ts b/src/locales/enUS/product-items.ts index 8dd5ed1..a781c94 100644 --- a/src/locales/enUS/product-items.ts +++ b/src/locales/enUS/product-items.ts @@ -1,6 +1,7 @@ const productItems = { items: `Items`, newItem: `New item`, + editItem: 'Edit item', total: `Total`, amount: `Amount`, qtd: `Quantity`, diff --git a/src/locales/enUS/product-lists.ts b/src/locales/enUS/product-lists.ts index e2f8e36..4e696c1 100644 --- a/src/locales/enUS/product-lists.ts +++ b/src/locales/enUS/product-lists.ts @@ -1,6 +1,8 @@ const productLists = { lists: `Lists`, + productLists: "Product lists", newList: `New list`, + editList: 'Edit List', buyDate: 'Purchase date' }; diff --git a/src/locales/ptBR/general.ts b/src/locales/ptBR/general.ts index 1f79c3a..bfad79c 100644 --- a/src/locales/ptBR/general.ts +++ b/src/locales/ptBR/general.ts @@ -11,6 +11,7 @@ const general = { yes: 'Sim', no: 'Não', currency: 'R$', + logout: 'Desconectar', }; export default general; diff --git a/src/locales/ptBR/product-items.ts b/src/locales/ptBR/product-items.ts index f7f8286..c949b18 100644 --- a/src/locales/ptBR/product-items.ts +++ b/src/locales/ptBR/product-items.ts @@ -1,6 +1,7 @@ const productItems = { items: 'Itens', newItem: 'Novo item', + editItem: 'Editar item', total: 'Total', amount: `Valor`, qtd: `Quantidade`, diff --git a/src/locales/ptBR/product-lists.ts b/src/locales/ptBR/product-lists.ts index ba51ad0..81a3b71 100644 --- a/src/locales/ptBR/product-lists.ts +++ b/src/locales/ptBR/product-lists.ts @@ -1,6 +1,8 @@ const productLists = { lists: 'Listas', + productLists: "Listas de produtos", newList: 'Nova lista', + editList: 'Editar lista', buyDate: 'Data de compra' }; diff --git a/src/navigator/authenticated.tsx b/src/navigator/authenticated.tsx index a570f4b..46351b1 100644 --- a/src/navigator/authenticated.tsx +++ b/src/navigator/authenticated.tsx @@ -1,6 +1,7 @@ import { createDrawerNavigator } from '@react-navigation/drawer'; import React from 'react'; +import { translate } from '@locales'; import { Routes } from '@routes'; import Drawer from './components/drawer'; @@ -23,14 +24,17 @@ const AuthenticatedNavigator = () => { { const { onLogoutPress } = useDrawerBottom(); return ( -