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 src/components/PreferencesModal/GeneralTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const GeneralTab = () => {
<option value='es-ES'>Español (España)</option>
<option value='zh-CN'>Chinese (zh-CN)</option>
<option value='ko'>Korean</option>
<option value='pt-BR'>Portuguese (pt-BR)</option>
</SectionSelect>
</SectionControl>
</Section>
Expand Down
4 changes: 3 additions & 1 deletion src/lib/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ import esES from './esEs'
import zhCN from './zhCN'
import ja from './ja'
import ko from './ko'
import ptBR from './ptBR'

const resources = {
'en-US': enUS,
'es-ES': esES,
'zh-CN': zhCN,
ja: ja,
ko: ko
ko: ko,
'pt-BR': ptBR
}

i18n
Expand Down
163 changes: 163 additions & 0 deletions src/lib/i18n/ptBR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
export default {
translation: {
//General
'general.error': 'Erro',
'general.cancel': 'Cancelar',
'general.attachments': 'Anexos',
'general.trash': 'Lixo',
'general.allnote': 'All Notes',
'general.signin': 'Logar',
'general.signOut': 'Sair',
'general.save': 'Salvar',
'general.default': 'padrão',
'general.networkError': 'Erro de conexão',

// Storage
'storage.name': 'Nome de armazenamento',
'storage.noStorage': 'Sem armazenamentos',
'storage.create': 'Criar armazenamento',
'storage.edit': 'Editar armazenamento',
'storage.rename': 'Renomear armazenamento',
'storage.renameMessage': 'Introduza um novo nome de armazenamento',
'storage.remove': 'Remover armazenamento',
'storage.removeMessage':
'O armazenamento será desvinculado deste aplicativo.',
'storage.delete': 'Deletar armazenamento',
'storage.move': 'Mover nota',
'storage.moveTitle': 'Mover nota para outro armazenamento',
'storage.moveMessage':
'Você está tentando mover uma nota para outro armazenamento.',
'storage.copy': 'Copiar nota',
'storage.typeLocal': 'Local',
'storage.typeCloud': 'Nuvem',
'storage.needSignIn':
'Você precisa logar-se para criar um armazenamento em nuvem.',
'storage.syncDate': 'Sincronizado pela última vez em',

//Folder
'folder.create': 'Nova pasta',
'folder.rename': 'Renomear pasta',
'folder.renameMessage':
'Insira um novo nome de pasta, o caminho de cada nota e sub-pasta será também atualizado.',
'folder.renameErrorMessage': 'Não foi possível renomear a pasta',
'folder.remove': 'Remover pasta',
'folder.removeMessage': 'Todas as notas e sub-pastas serão deletadas.',

//Tag
'tag.tag': 'Tags',
'tag.remove': 'Remover Tag',
'tag.removeMessage': 'A Tag será removida de todas as notas.',

//Note
'note.duplicate': 'Duplicar',
'note.delete': 'Deletar',
'note.delete2': 'Deleter uma nota',
'note.deleteMessage': 'A nota será permanentemente deletada',
'note.empty': 'Nota vazia',
'note.unselect': 'Nenhuma nota está seleciona',
'note.search': 'Procurar notas',
'note.nothing': 'Sem notas',
'note.nothingMessage': 'Nenhuma nota foi encontrada.',
'note.noTitle': 'Sem título',
'note.date': 'Atrás',
'note.createKeyMac': 'Mac: Command(⌘) + n',
'note.createKeyWinLin': 'Windows/Linux: Ctrl + n',
'note.createkeymessage1': 'Para criar uma nova nota',
'note.createkeymessage2': 'Selecionar um armazenamento',
'note.createkeymessage3': 'Para criar uma nota',

//Bookmark
'bookmark.remove': 'Remover marcador',
'bookmark.add': 'Marcador',

//About
'about.about': 'Sobre',
'about.boostnoteDescription':
'Um programa de anotações de código aberto para programadores como você.',
'about.website': 'Site oficial',
'about.boostWiki': 'Time Boost Note',
'about.platform': 'Multi plataforma',
'about.community': 'Comunidade',
'about.github': 'Repositório no GitHub',
'about.bounty': 'Recompensa no IssueHunt',
'about.blog': 'Blog',
'about.slack': 'Grupo do Slack',
'about.twitter': 'Twitter',
'about.facebook': 'Grupo do Facebook',
'about.reddit': 'Reddit',

//Billing
'billing.billing': 'Seu plano',
'billing.message': 'Para poder atualizar o plano, faça o login.',
'billing.basic': 'Básico',
'billing.current': 'Atual',
'billing.premium': 'Premium',
'billing.price': '$3/Mês (Dólar) *',
'billing.browser': 'App Web',
'billing.desktop': 'App de Computador (Mac/Windows/Linux)',
'billing.mobile': 'App Móvel (Será lançado em janeiro de 2020)',
'billing.sync': 'Sincroniza múltiplos dispositivos',
'billing.local': 'Armazenamento local',
'billing.cloud': 'Armazenamento em nuvem',
'billing.storageSize': 'Tamanho de armazenamento em nuvem',
'billing.addStorageDescription':
'* Se você precisar de mais armazenamento em nuvem, poderá o adicionar a qualquer momento pagando $5 (Dólares) para cada 5GB. Clique no botão "Adicionar armazenamento extra" logo abaixo.',
'billing.addStorage': 'Adicionar armazenamento extra',

// Preferences
'preferences.general': 'Preferências',

// Preferences GeneralTab
'preferences.account': 'Conta',
'preferences.addAccount': 'Logar-se',
'preferences.loginWorking': 'Logando...',
'preferences.interfaceLanguage': 'Idioma da interface',
'preferences.applicationTheme': 'Tema do aplicativo',
'preferences.auto': 'Auto',
'preferences.light': 'Claro',
'preferences.dark': 'Escuro',
'preferences.sepia': 'Sepia',
'preferences.solarizedDark': 'Solarized Dark',
'preferences.noteSorting': 'Classificação de notas',
'preferences.dateUpdated': 'Data de atualização',
'preferences.dateCreated': 'Data de cricação',
'preferences.title': 'Título',
'preferences.analytics': 'Analítico',
'preferences.analyticsDescription1':
'O Boost Note coleta dados anônimos com o único objetivo de melhorar o aplicativo. Não é coletado nenhuma informação pessoal, como o conteúdo de suas anotações. Você pode ver exatamente como o código do programa funciona no GitHub.',
'preferences.analyticsDescription2':
'Você pode escolher ativar ou desativar esta opção.',
'preferences.analyticsLabel':
'Habilitar analítico para ajudar na melhora de Boost Note',
'preferences.displayTutorialsLabel': 'Tutoriais e FAQ',

// Preferences EditorTab
'preferences.editorTheme': 'Tema do editor',
'preferences.editorFontSize': 'Tamanho de fonte',
'preferences.editorFontFamily': 'Fonte',
'preferences.editorIndentType': 'Tipo de recuo',
'preferences.tab': 'Tab',
'preferences.spaces': 'Espaços',
'preferences.editorIndentSize': 'Tamanho do recup',
'preferences.editorKeymap': 'Funções das teclas',
'preferences.editorPreview': 'Pré visualização',

// Preferences MarkdownTab
'preferences.previewStyle': 'Prever estilo',
'preferences.markdownCodeBlockTheme': 'Code Block Theme',
'preferences.defaultTheme': 'Usar estilo padrão',
'preferences.markdownPreview': 'Pré-visualizar Markdown',

// Preferences ImportTab
'preferences.import': 'Import',
'preferences.description': 'Importar arquivos .cson do antigo Boostnote.',
'preferences.importFlow1': '1. Abrir pasta do antigo Boostnote em seu PC.',
'preferences.importFlow2':
'2. Arraste e solte os arquivos .cson no formulário abaixo.',
'preferences.importFlow3':
'3. Escolha o armazenamento e pasta que você quer mover seus arquivos antigos.',
'preferences.importFlow4': '4. Upload!',
'preferences.importRemove': 'Remover',
'preferences.importUpload': 'Upload'
}
}
8 changes: 7 additions & 1 deletion src/lib/preferences/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ export type GeneralThemeOptions =
| 'dark'
| 'sepia'
| 'solarizedDark'
export type GeneralLanguageOptions = 'en-US' | 'ja' | 'es-ES' | 'zh-CN' | 'ko'
export type GeneralLanguageOptions =
| 'en-US'
| 'ja'
| 'es-ES'
| 'zh-CN'
| 'ko'
| 'pt-BR'
export type GeneralNoteSortingOptions =
| 'date-updated'
| 'date-created'
Expand Down