Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions homepage/components/organisms/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ const Header = () => {
<option value='ko'>🇰🇷</option>
<option value='nl'>🇳🇱</option>
<option value='pt'>🇵🇹</option>
<option value='ptBR'>🇧🇷</option>
<option value='ru'>🇷🇺</option>
<option value='vn'>🇻🇳</option>
<option value='zh'>🇨🇳</option>
Expand Down
2 changes: 1 addition & 1 deletion homepage/components/organisms/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const HeroSection = () => {
fontSize={[3]}
fontWeight={'normal'}
>
Stay up to date with our latest news and products
{t('newsletter.title')}
</Text>
<SubscribeNewsLettersForm />
</Box>
Expand Down
6 changes: 4 additions & 2 deletions homepage/components/organisms/SubscribeNewsLettersForm.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useState, useCallback, FormEvent, ChangeEvent } from 'react'
import ky from 'ky-universal'
import { useTranslation } from 'react-i18next'

import styled from '../../lib/styled'
import { SpaceProps, space } from 'styled-system'
Expand Down Expand Up @@ -28,6 +29,7 @@ const SubscribeNewsLettersForm = () => {
const [status, setStatus] = useState<Status>('idle')
const [errorMessage, setErrorMessage] = useState<string | null>(null)
const [email, setEmail] = useState('')
const { t } = useTranslation()

const subscribe = useCallback(
async (event: FormEvent<HTMLFormElement>) => {
Expand Down Expand Up @@ -64,7 +66,7 @@ const SubscribeNewsLettersForm = () => {
<>
{status === 'done' ? (
<FlexBox justifyContent='center' mt={2}>
<Text as='p'>Thanks for the subscription!</Text>
<Text as='p'>{t('newsletter.subscribed')}</Text>
</FlexBox>
) : (
<>
Expand All @@ -85,7 +87,7 @@ const SubscribeNewsLettersForm = () => {
fontSize={1}
disabled={status === 'sending'}
>
Subscribe
{t('newsletter.buttonText')}
</Button>
</div>
</form>
Expand Down
2 changes: 2 additions & 0 deletions homepage/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import ko from '../locales/ko'
import nl from '../locales/nl'
import zh from '../locales/zh'
import pt from '../locales/pt'
import ptBR from '../locales/ptBR'
import ru from '../locales/ru'
import es from '../locales/es'
import de from '../locales/de'
Expand All @@ -20,6 +21,7 @@ const resources = {
nl,
zh,
pt,
ptBR,
ru,
es,
de,
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
subtitle:
"Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
subtitle:
"Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
title: 'Also, please join our newsletter to get the latest news and update notes.',
buttonText: 'Subscribe',
subscribed: 'Thanks for the subscription!'
},
boostHub: {
title: 'Boost Hub, the team version of Boost Note',
description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
subtitle:
"Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
subtitle:
'Een intuïtieve en stijlvolle markdown notitie-app voor ontwikkelaars. Volledig open-source.',
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
title: 'Kent u Boost Hub al?',
description:
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
100 changes: 100 additions & 0 deletions homepage/locales/ptBR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
export default {
translation: {
common: {
openInBrowser: 'Abrir no navegador',
downloadApp: 'Baixar App',
fileSystemBasedStorage: 'Armazenamento baseado em sistema de arquivos',
comingSoon: 'Em Breve',
webApp: 'Aplicativo Web',
desktopApp: 'App de Computador',
mobileApp: 'App móvel',
boostHub: 'Saiba mais sobre Boost Hub',
},
header: {
forTeams: 'Para Equipes',
community: 'Comunidade',
},
hero: {
title: 'Melhore sua Satisfação, Produtividade e Criatividade.',
subtitle:
"Boost Note é um intuitivo e elegante editor markdown. É completamente open-source, e utilizado por 1 milhão de desenvolvedores!",
},
newsletter: {
title: 'Cadastre-se em nossa newsletter e receba as últimas notícias e atualizações.',
buttonText: 'Cadastrar',
subscribed: 'Obrigado por juntar-se à nossa newsletter!'
},
boostHub: {
title: 'Procurando por uma versão para equipes?',
description1: 'Boost Hub é mais que um editor markdown ou wiki.',
description2:
'Você pode colaborar com membros da sua equipe em tempo real, de qualquer lugar.',
feature1Name: 'Edição Múltipla em Tempo Real',
feature1Detail:
'Crie e edite documentos como uma equipe, compartilhe seu conhecimento e ideias em tempo real. Ninguém ficará para trás.',
feature2Name: 'Crie Diagramas Profissionais',
feature2Detail:
'Suporta Charts.js, Mermaid, e PlantUML, ou seja, você pode incluir diagramas no seu documento.',
feature3Name: 'Linguagem Matemática Elegante',
feature3Detail:
'Para uma representação clara de equações matemáticas, utilize LaTex no editor do Boost Hub.'
},
features: {
title: 'Recursos',
cloudStorage: 'Armazenamento em nuvem',
cloudStorageDescription:
'Documentos na nuvem serão armazenados com segurança e acessíveis a partir de outros dispositivos.',
multiplePlatforms: 'Diversas Plataformas',
multiplePlatformsDescription:
'Boost Note tem versões para web, desktop e mobile.',
syntaxHighlight: 'Destaque de Sintaxe',
syntaxHighlightDescription:
'Boost Note pode destacar a sintaxe de mais de 100 linguagens de programação.',
mathEquations: 'Equações Matemáticas',
mathEquationsDescription:
'Boost Note suporta blocos matemáticos. Dentro dos blocos, você pode escrever equações matemáticas utilizando a sintaxe LaTeX.',
customizableTheme: 'Tema Customizável',
customizableThemeDescription:
'Voce pode customizar o estilo da interface do app, seu editor e o conteúdo markdown renderizado.',
fileSystemBasedStorageDescription:
'Você tem controle total dos seus dados. Compartilhe seus documentos com o seu armazenamento em nuvem favorito.',
extensibleMarkdown: 'Markdown Personalizado',
extensibleMarkdownDescription:
'Voce pode incluir sintaxe markdown personalizada e configurar sua exibição.'
},
pricing: {
title: 'Planos',
feature: 'Característica',
basic: 'Básico',
premium: 'Premium',
sync: 'Sincronizado em Múltiplos Dispositivos',
localStorageSize: 'Tamanho de armazenamento local',
unlimited: 'Ilimitado',
cloudStorageSize: 'Tamanho de armazenamento em nuvem',
price: 'Preço',
free: 'Grátis',
month: 'Mês',
furtherPlan: 'Depois disso, $5.00 para cada 5GB.',
},
download: {
legacyApp: 'App Legado',
legacyAppDescription:
"Nós continuaremos a dar suporte ao sistema antigo até que a versão atual, Boost Note.next, tenha a maioria dos recursos do sistema antigo como armazenamento baseado em sistema de arquivos e extensões markdown. Então faça a migração para o novo app quando sentir-se confortável.",
legacyDownloadLinks: 'Download Links',
legacyRepository: 'Repositório Legado',
},
community: {
title: 'Faça parte da nossa comunidade',
description:
'Nossa comunidade de desenvolvedores apoia o Boost Note. Ela ganhou muita atenção no GitHub e tem o apoio de muitos contribuidores. Nossa Comunidade sempre estará aberta. Venha fazer parte dela!',
},
footer: {
mission: 'Missão',
pressKit: 'Imprensa',
backers: 'Apoiadores',
userTerms: 'Termos de uso',
privacyPolicy: 'Políticas de Privacidade',
},
},
}

5 changes: 5 additions & 0 deletions homepage/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/vn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
subtitle:
"Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down
5 changes: 5 additions & 0 deletions homepage/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export default {
// subtitle:
// "Boost Note is an intuitive and stylish markdown editor. It's fully open-source, and used by 1 million developers!",
},
newsletter: {
// title: 'Also, please join our newsletter to get the latest news and update notes.',
// buttonText: 'Subscribe',
// subscribed: 'Thanks for the subscription!'
},
boostHub: {
// title: 'Boost Hub, the team version of Boost Note',
// description1: 'We’ve developed a collaborative workspace app called “Boost Hub” for developer teams.',
Expand Down