Skip to content

Commit

Permalink
fix: translate string
Browse files Browse the repository at this point in the history
  • Loading branch information
kweripx committed Jan 29, 2024
1 parent e054043 commit b59034c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ export const CollaborationList = () => {
type="submit"
isDisabled={!hasFullAccess}
>
Invite
Convidar
</Button>
</HStack>
{workspace && (
<Flex py="2" px="4" justifyContent="space-between" alignItems="center">
<HStack minW={0} spacing={3}>
<EmojiOrImageIcon icon={workspace.icon} boxSize="32px" />
<Text fontSize="15px" noOfLines={1}>
Everyone at {workspace.name}
Todos no {workspace.name}
</Text>
</HStack>
<Tag flexShrink={0}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ export const PublishButton = ({
)}
{!typebot?.isClosed ? (
<MenuItem onClick={closeTypebot} icon={<LockedIcon />}>
Close typebot to new responses
Impedir bot de receber novas respostas
</MenuItem>
) : (
<MenuItem onClick={openTypebot} icon={<UnlockedIcon />}>
Reopen typebot to new responses
Permitir bot para receber novas respostas
</MenuItem>
)}
<MenuItem onClick={unpublishTypebot} icon={<CloudOffIcon />}>
Unpublish typebot
Despublicar Bot
</MenuItem>
</MenuList>
</Menu>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ export const GeneralSettingsForm = ({
<MoreInfoTooltip>
<Stack>
<Text>
Choose <Tag size="sm">session</Tag> to remember the user as
long as he does not closes the tab or the browser.
Escolha <Tag size="sm">sessão</Tag> para lembrar o usuário
enquanto ele não fechar a aba ou o navegador.
</Text>
<Text>
Choose <Tag size="sm">local</Tag> to remember the user
forever.
Escolha <Tag size="sm">local</Tag> para lembrar o usuário
permanentemente.
</Text>
</Stack>
</MoreInfoTooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ export const SettingsSideMenu = () => {
pb="20"
>
<Heading fontSize="xl" textAlign="center">
Settings
Configurações
</Heading>
<Accordion allowMultiple defaultIndex={[0]}>
<AccordionItem>
<AccordionButton py={6}>
<HStack flex="1" pl={2}>
<MoreVerticalIcon transform={'rotate(90deg)'} />
<Heading fontSize="lg">General</Heading>
<Heading fontSize="lg">Geral</Heading>
</HStack>
<AccordionIcon />
</AccordionButton>
Expand All @@ -72,7 +72,7 @@ export const SettingsSideMenu = () => {
<AccordionButton py={6}>
<HStack flex="1" pl={2}>
<ChatIcon />
<Heading fontSize="lg">Typing emulation</Heading>
<Heading fontSize="lg">Emulação de Digitação</Heading>
</HStack>
<AccordionIcon />
</AccordionButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ export const TypingEmulationForm = ({ typingEmulation, onUpdate }: Props) => {
return (
<Stack spacing={6}>
<SwitchWithLabel
label={'Typing emulation'}
label={'Emulação de digitação'}
initialValue={isEnabled}
onCheckChange={updateIsEnabled}
/>
{isEnabled && (
<Stack pl={10}>
<NumberInput
label="Words per minutes:"
label="Palavras por minuto:"
data-testid="speed"
defaultValue={
typingEmulation?.speed ?? defaultSettings.typingEmulation.speed
Expand All @@ -48,7 +48,7 @@ export const TypingEmulationForm = ({ typingEmulation, onUpdate }: Props) => {
step={30}
/>
<NumberInput
label="Max delay (in seconds):"
label="Atraso maximo (em segundos):"
data-testid="max-delay"
defaultValue={
typingEmulation?.maxDelay ??
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const SharePopoverContent = () => {
<CollaborationList />
<Stack p="4" borderTopWidth={1}>
<SwitchWithRelatedSettings
label={'Make the flow publicly available'}
label={'Tornar o fluxo disponível publicamente'}
initialValue={typebot?.settings.publicShare?.isEnabled ?? false}
onCheckChange={updateIsPublicShareEnabled}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ShareTypebotButton = ({ isLoading }: { isLoading: boolean }) => {
aria-label="Open share popover"
size="sm"
>
Share
Compartilhar
</Button>
</PopoverTrigger>
<PopoverContent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const ChatThemeSettings = ({
typebotId,
fileName: 'hostAvatar',
}}
title="Bot avatar"
title="Avatar do Bot"
avatarProps={chatTheme?.hostAvatar}
isDefaultCheck
onAvatarChange={updateHostAvatar}
Expand All @@ -66,20 +66,20 @@ export const ChatThemeSettings = ({
typebotId,
fileName: 'guestAvatar',
}}
title="User avatar"
title="Avatar do usuario"
avatarProps={chatTheme?.guestAvatar}
onAvatarChange={updateGuestAvatar}
/>
<Stack borderWidth={1} rounded="md" p="4" spacing={4}>
<Heading fontSize="lg">Bot Messages</Heading>
<Heading fontSize="lg">Mensagens do bot</Heading>
<HostBubbles
hostBubbles={chatTheme?.hostBubbles}
onHostBubblesChange={updateHostBubbles}
/>
</Stack>

<Stack borderWidth={1} rounded="md" p="4" spacing={4}>
<Heading fontSize="lg">User Messages</Heading>
<Heading fontSize="lg">Mensagens do usuário</Heading>
<GuestBubbles
guestBubbles={chatTheme?.guestBubbles}
onGuestBubblesChange={updateGuestBubbles}
Expand Down

0 comments on commit b59034c

Please sign in to comment.