-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌐 Add pt_BR and more translations (#767)
Original PR: #694 --------- Co-authored-by: Daniel Oliveira <daniel.oliveira@kununu.com> Co-authored-by: Daniel Oliveira <daniel@headdev.com.br>
- Loading branch information
1 parent
e4ece31
commit aaa208c
Showing
34 changed files
with
1,153 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
apps/builder/src/features/blocks/bubbles/audio/components/AudioBubbleNode.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import { Text } from '@chakra-ui/react' | ||
import { AudioBubbleContent } from '@typebot.io/schemas' | ||
import { isDefined } from '@typebot.io/lib' | ||
import { useScopedI18n } from '@/locales' | ||
|
||
type Props = { | ||
url: AudioBubbleContent['url'] | ||
} | ||
|
||
export const AudioBubbleNode = ({ url }: Props) => | ||
isDefined(url) ? ( | ||
export const AudioBubbleNode = ({ url }: Props) => { | ||
const scopedT = useScopedI18n('editor.blocks.bubbles.audio.node') | ||
return isDefined(url) ? ( | ||
<audio src={url} controls /> | ||
) : ( | ||
<Text color={'gray.500'}>Click to edit...</Text> | ||
<Text color={'gray.500'}>{scopedT('clickToEdit.text')}</Text> | ||
) | ||
} |
13 changes: 10 additions & 3 deletions
13
apps/builder/src/features/blocks/bubbles/embed/components/EmbedBubbleContent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import { useScopedI18n } from '@/locales' | ||
import { Text } from '@chakra-ui/react' | ||
import { EmbedBubbleBlock } from '@typebot.io/schemas' | ||
|
||
export const EmbedBubbleContent = ({ block }: { block: EmbedBubbleBlock }) => { | ||
if (!block.content?.url) return <Text color="gray.500">Click to edit...</Text> | ||
return <Text>Show embed</Text> | ||
type Props = { | ||
block: EmbedBubbleBlock | ||
} | ||
|
||
export const EmbedBubbleContent = ({ block }: Props) => { | ||
const scopedT = useScopedI18n('editor.blocks.bubbles.embed.node') | ||
if (!block.content?.url) | ||
return <Text color="gray.500">{scopedT('clickToEdit.text')}</Text> | ||
return <Text>{scopedT('show.text')}</Text> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
apps/builder/src/features/blocks/bubbles/image/components/ImageBubbleContent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
apps/builder/src/features/blocks/bubbles/video/components/VideoBubbleContent.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
aaa208c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./apps/docs
docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app
docs.typebot.io
aaa208c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landing-page-v2 – ./apps/landing-page
landing-page-v2-git-main-typebot-io.vercel.app
home.typebot.io
www.typebot.io
get-typebot.com
landing-page-v2-typebot-io.vercel.app
www.get-typebot.com
aaa208c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
builder-v2 – ./apps/builder
builder-v2-git-main-typebot-io.vercel.app
app.typebot.io
builder-v2-typebot-io.vercel.app
aaa208c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viewer-v2 – ./apps/viewer
83242573.actualizar.xyz
87656003.actualizar.xyz
88152257.actualizar.xyz
app.youvisitedthis.site
bot.conquistadoralpha.site
bot.desafiode15dias.online
bot.descobrindotraicao.top
bot2.fusionstarreviews.com
casestudyemb.wpwakanda.com
chat.atlasoutfittersk9.com
configurator.bouclidom.com
demo.virtuesocialmedia.com
descobrincomeufilho.com.br
descobrindomeufilho.com.br
gabinete.baleia.formulario
help.atlasoutfittersk9.com
homepageonly.wpwakanda.com
internal.adleradvisors.com
liveconvert.kandalearn.com
mainmenu1one.wpwakanda.com
newsletter.itshcormeos.com
osimplesquefunciona.com.br
protocolosecabarriga.store
robertosanchesoficial.site
rsvp.virtuesocialmedia.com
tarian.theiofoundation.org
ted.meujalecobrasil.com.br
type.dericsoncalari.com.br
zap.primewealthfinserv.com
baleia.eventos.progenbr.com
bot.desafioserrabarriga.fit
bot.educacaopelodigital.com
bot.pinpointinteractive.com
bot.polychromes-project.com
bot.relacionesaludables.com
chat.semanalimpanome.com.br
designguide.techyscouts.com
drayuminakamuraoficial.site
liveconvert2.kandalearn.com
presente.empresarias.com.mx
register.algorithmpress.com
revelacaoastral.utuahub.com
sell.sellthemotorhome.co.uk
teste.captacao.progenbr.com
webwhatsapp.laconteudos.com
ajuda.meujalecobrasil.com.br
alavancagem.horadelucrar.com
anamnese.odontopavani.com.br
austin.channelautomation.com
bot.marketingplusmindset.com
desabafe.sergiolimajr.com.br
detective.chatvirtual.online
download.venturemarketing.in
mdb.gabinete.rp.progenbr.com
viewer-v2-typebot-io.vercel.app
download.thailandmicespecialist.com
mdb.assessoria.aloisio.progenbr.com
mdb.assessoria.girotto.progenbr.com
mdb.assessoria.marinho.progenbr.com
mdb.assessoria.rodrigo.progenbr.com
register.thailandmicespecialist.com
mdb.assessoria.desideri.progenbr.com
mdb.assessoria.fernanda.progenbr.com
mdb.assessoria.jbatista.progenbr.com
mdb.assessoria.mauricio.progenbr.com
mdb.evento.autocadastro.progenbr.com
form.shopmercedesbenzsouthorlando.com
mdb.evento.equipeinterna.progenbr.com
bot.studiotecnicoimmobiliaremerelli.it
mdb.assessoria.boaventura.progenbr.com
mdb.assessoria.jtrebesqui.progenbr.com
pesquisa.escolamodacomproposito.com.br
anamnese.clinicaramosodontologia.com.br
gabinete.baleia.formulario.progenbr.com
mdb.assessoria.carreirinha.progenbr.com
chrome-os-inquiry-system.itschromeos.com
mdb.assessoria.paulomarques.progenbr.com
viewer-v2-git-main-typebot-io.vercel.app
main-menu-for-itschromeos.itschromeos.com
mdb.assessoria.qrcode.ademir.progenbr.com
mdb.assessoria.qrcode.arthur.progenbr.com
mdb.assessoria.qrcode.danilo.progenbr.com
mdb.assessoria.qrcode.marcao.progenbr.com
mdb.assessoria.qrcode.marcio.progenbr.com
mdb.assessoria.qrcode.aloisio.progenbr.com
mdb.assessoria.qrcode.girotto.progenbr.com
mdb.assessoria.qrcode.marinho.progenbr.com
mdb.assessoria.qrcode.rodrigo.progenbr.com
mdb.assessoria.carlosalexandre.progenbr.com
mdb.assessoria.qrcode.desideri.progenbr.com
mdb.assessoria.qrcode.fernanda.progenbr.com
mdb.assessoria.qrcode.jbatista.progenbr.com
mdb.assessoria.qrcode.mauricio.progenbr.com
mdb.assessoria.fernanda.regional.progenbr.com
mdb.assessoria.qrcode.boaventura.progenbr.com
mdb.assessoria.qrcode.jtrebesqui.progenbr.com
mdb.assessoria.qrcode.carreirinha.progenbr.com
mdb.assessoria.qrcode.paulomarques.progenbr.com
mdb.assessoria.qrcode.carlosalexandre.progenbr.com
mdb.assessoria.qrcode.fernanda.regional.progenbr.com