mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: updated translations en/pt
This commit is contained in:
@@ -44,7 +44,7 @@ const MainListItems = () => {
|
||||
<ListItemLink to="/" primary="Dashboard" icon={<DashboardIcon />} />
|
||||
<ListItemLink
|
||||
to="/connections"
|
||||
primary="Connections"
|
||||
primary={i18n.t("mainDrawer.listItems.connections")}
|
||||
icon={<SyncAltIcon />}
|
||||
/>
|
||||
<ListItemLink
|
||||
@@ -61,7 +61,9 @@ const MainListItems = () => {
|
||||
{userProfile === "admin" && (
|
||||
<>
|
||||
<Divider />
|
||||
<ListSubheader inset>Administration</ListSubheader>
|
||||
<ListSubheader inset>
|
||||
{i18n.t("mainDrawer.listItems.administration")}
|
||||
</ListSubheader>
|
||||
<ListItemLink
|
||||
to="/users"
|
||||
primary={i18n.t("mainDrawer.listItems.users")}
|
||||
|
||||
@@ -20,6 +20,7 @@ import NotificationsPopOver from "../NotificationsPopOver";
|
||||
import UserModal from "../UserModal";
|
||||
import { AuthContext } from "../../context/Auth/AuthContext";
|
||||
import BackdropLoading from "../BackdropLoading";
|
||||
import { i18n } from "../../translate/i18n";
|
||||
|
||||
const drawerWidth = 240;
|
||||
|
||||
@@ -197,7 +198,7 @@ const LoggedInLayout = ({ appTitle, children }) => {
|
||||
noWrap
|
||||
className={classes.title}
|
||||
>
|
||||
WHATICKET
|
||||
WhaTicket
|
||||
</Typography>
|
||||
<NotificationsPopOver />
|
||||
|
||||
@@ -226,8 +227,12 @@ const LoggedInLayout = ({ appTitle, children }) => {
|
||||
open={menuOpen}
|
||||
onClose={handleCloseMenu}
|
||||
>
|
||||
<MenuItem onClick={handleOpenUserModal}>Profile</MenuItem>
|
||||
<MenuItem onClick={handleLogout}>Logout</MenuItem>
|
||||
<MenuItem onClick={handleOpenUserModal}>
|
||||
{i18n.t("mainDrawer.appBar.user.profile")}
|
||||
</MenuItem>
|
||||
<MenuItem onClick={handleLogout}>
|
||||
{i18n.t("mainDrawer.appBar.user.logout")}
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
</div>
|
||||
</Toolbar>
|
||||
|
||||
Reference in New Issue
Block a user