Skip to content

Commit

Permalink
Atendente no appBar
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Mar 21, 2023
1 parent 20621e2 commit d29363e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const LoggedInLayout = ({ children }) => {
noWrap
className={classes.title}
>
{system.name || "Press Ticket"}
{i18n.t("mainDrawer.appBar.message.hi")} {user.name}, {i18n.t("mainDrawer.appBar.message.text")} {system.name || "Press Ticket"}
</Typography>
{user.id && <NotificationsPopOver />}

Expand Down
4 changes: 4 additions & 0 deletions frontend/src/translate/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ const messages = {
token: "Token"
},
appBar: {
message: {
hi: "Hello",
text: "welcome to the System"
},
user: {
profile: "Profile",
logout: "Logout",
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/translate/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ const messages = {
token: "Ficha"
},
appBar: {
message: {
hi: "Hola",
text: "bienvenido al Sistema"
},
user: {
profile: "Perfil",
logout: "Cerrar sesión",
Expand Down
8 changes: 6 additions & 2 deletions frontend/src/translate/languages/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ const messages = {
token: "Token"
},
appBar: {
message: {
hi: "Olá",
text: "seja bem vindo ao Sistema"
},
user: {
profile: "Perfil",
logout: "Sair",
Expand Down Expand Up @@ -553,7 +557,7 @@ const messages = {
buttons: {
return: "Retornar",
resolve: "Resolver",
reopen: "Reabrir",
reopen: "Reabrir",
accept: "Aceitar",
},
},
Expand All @@ -571,7 +575,7 @@ const messages = {
extraInfo: "Outras informações",
},
copyToClipboard: {
copy:"Copiar",
copy: "Copiar",
copied: "Copiado"
},
ticketOptionsMenu: {
Expand Down

0 comments on commit d29363e

Please sign in to comment.