-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add Brazilian Portuguese (pt-BR) translation #581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nxc-7
wants to merge
1
commit into
siddharthvaddem:main
Choose a base branch
from
nxc-7:feat/pt-BR-translation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+504
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "actions": { | ||
| "cancel": "Cancelar", | ||
| "save": "Salvar", | ||
| "delete": "Deletar", | ||
| "close": "Fechar", | ||
| "share": "Compartilhar", | ||
| "done": "Concluir", | ||
| "open": "Abrir", | ||
| "upload": "Upload", | ||
| "export": "Exportar", | ||
| "showInFolder": "Mostrar na Pasta", | ||
| "file": "Arquivo", | ||
| "edit": "Editar", | ||
| "view": "Visualizar", | ||
| "window": "Janela", | ||
| "quit": "Sair", | ||
| "stopRecording": "Parar Gravação", | ||
| "undo": "Desfazer", | ||
| "redo": "Refazer", | ||
| "cut": "Recortar", | ||
| "copy": "Copiar", | ||
| "paste": "Colar", | ||
| "selectAll": "Selecionar Tudo", | ||
| "minimize": "Minimizar", | ||
| "reload": "Recarregar", | ||
| "forceReload": "Forçar Recarregar", | ||
| "toggleDevTools": "Alternar ferramentas de desenvolvedor", | ||
| "actualSize": "Tamanho Original", | ||
| "zoomIn": "Aumentar Zoom", | ||
| "zoomOut": "Diminuir Zoom", | ||
| "toggleFullScreen": "Tela Cheia", | ||
| "recordingStatus": "Gravando: {{source}}", | ||
| "about": "Sobre o OpenScreen", | ||
| "services": "Serviços", | ||
| "hide": "Ocultar OpenScreen", | ||
| "hideOthers": "Ocultar Outros", | ||
| "unhide": "Mostrar Todos" | ||
| }, | ||
| "playback": { | ||
| "play": "Play", | ||
| "pause": "Pause", | ||
| "fullscreen": "Tela Cheia", | ||
| "exitFullscreen": "Sair da Tela Cheia" | ||
| }, | ||
| "locale": { | ||
| "name": "Português Brasileiro", | ||
| "short": "PT-BR" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| { | ||
| "export": { | ||
| "complete": "Exportação Concluída", | ||
| "yourFormatReady": "Seu {{format}} está pronto", | ||
| "showInFolder": "Mostrar na Pasta", | ||
| "finalizingVideo": "Finalizando exportação do vídeo...", | ||
| "compilingGifProgress": "Compilando GIF... {{progress}}%", | ||
| "compilingGifWait": "Compilando GIF... Isso pode demorar um pouco", | ||
| "takeMoment": "Isso pode levar um momento...", | ||
| "failed": "Falha na Exportação", | ||
| "tryAgain": "Por favor, tente novamente", | ||
| "finalizingVideoTitle": "Finalizando Vídeo", | ||
| "compilingGif": "Compilando GIF", | ||
| "exportingFormat": "Exportando {{format}}", | ||
| "compiling": "Compilando", | ||
| "renderingFrames": "Renderizando Quadros", | ||
| "processing": "Processando...", | ||
| "finalizing": "Finalizando...", | ||
| "compilingStatus": "Compilando...", | ||
| "status": "Status", | ||
| "format": "Formato", | ||
| "frames": "Quadros", | ||
| "cancelExport": "Cancelar Exportação", | ||
| "savedSuccessfully": "{{format}} salvo com sucesso!" | ||
| }, | ||
| "tutorial": { | ||
| "triggerLabel": "Como funciona o recorte", | ||
| "title": "Como Funciona o Recorte", | ||
| "description": "Entendendo como cortar partes indesejadas do seu vídeo.", | ||
| "explanationBefore": "A ferramenta de Recorte funciona definindo os segmentos que você deseja", | ||
| "remove": "remover", | ||
| "explanationMiddle": " — qualquer coisa", | ||
| "covered": "coberta", | ||
| "explanationAfter": "por um segmento de recorte vermelho será removida quando você exportar.", | ||
| "visualExample": "Exemplo Visual", | ||
| "removed": "REMOVIDO", | ||
| "kept": "Mantido", | ||
| "part1": "Parte 1", | ||
| "part2": "Parte 2", | ||
| "part3": "Parte 3", | ||
| "finalVideo": "Vídeo Final", | ||
| "step1Title": "1. Adicionar Recorte", | ||
| "step1DescriptionBefore": "Pressione ", | ||
| "step1DescriptionAfter": " ou clique no ícone da tesoura para marcar uma seção para remoção.", | ||
|
|
||
| "step2Title": "2. Ajustar", | ||
| "step2Description": "Arraste as bordas da região vermelha para cobrir exatamente o que você deseja cortar." | ||
| }, | ||
| "unsavedChanges": { | ||
| "title": "Alterações Não Salvas", | ||
| "message": "Você tem alterações não salvas.", | ||
| "detail": "Deseja salvar seu projeto antes de fechar?", | ||
| "saveAndClose": "Salvar e Fechar", | ||
| "discardAndClose": "Descartar e Fechar", | ||
| "loadProject": "Carregar Projeto…", | ||
| "saveProject": "Salvar Projeto…", | ||
| "saveProjectAs": "Salvar Projeto Como…" | ||
| }, | ||
| "fileDialogs": { | ||
| "saveGif": "Salvar GIF Exportado", | ||
| "saveVideo": "Salvar Vídeo Exportado", | ||
| "selectVideo": "Selecionar Arquivo de Vídeo", | ||
| "saveProject": "Salvar Projeto OpenScreen", | ||
| "openProject": "Abrir Projeto OpenScreen", | ||
| "gifImage": "Imagem GIF", | ||
| "mp4Video": "Vídeo MP4", | ||
| "videoFiles": "Arquivos de Vídeo", | ||
| "openscreenProject": "Projeto OpenScreen", | ||
| "allFiles": "Todos os Arquivos" | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| { | ||
| "newRecording": { | ||
| "title": "Voltar ao Gravador", | ||
| "description": "Sua sessão atual foi salva.", | ||
| "cancel": "Cancelar", | ||
| "confirm": "Confirmar" | ||
| }, | ||
| "loadingVideo": "Carregando vídeo...", | ||
| "errors": { | ||
| "noVideoLoaded": "Nenhum vídeo carregado", | ||
| "videoNotReady": "Vídeo não está pronto", | ||
| "unableToDetermineSourcePath": "Não foi possível determinar o caminho do vídeo de origem", | ||
| "failedToSaveGif": "Falha ao salvar GIF", | ||
| "gifExportFailed": "Falha na exportação do GIF", | ||
| "failedToSaveVideo": "Falha ao salvar vídeo", | ||
| "exportFailed": "Falha na exportação", | ||
| "exportFailedWithError": "Falha na exportação: {{error}}", | ||
| "exportBackgroundLoadFailed": "Falha na exportação: não foi possível carregar a imagem de fundo ({{url}})", | ||
| "failedToSaveExport": "Falha ao salvar exportação", | ||
| "failedToSaveExportedVideo": "Falha ao salvar vídeo exportado", | ||
| "failedToRevealInFolder": "Erro ao mostrar na pasta: {{error}}" | ||
| }, | ||
| "export": { | ||
| "canceled": "Exportação cancelada", | ||
| "exportedSuccessfully": "{{format}} exportado com sucesso" | ||
| }, | ||
| "project": { | ||
| "saveCanceled": "Salvamento do projeto cancelado", | ||
| "failedToSave": "Falha ao salvar o projeto", | ||
| "savedTo": "Projeto salvo em {{path}}", | ||
| "failedToLoad": "Falha ao carregar o projeto", | ||
| "invalidFormat": "Formato de arquivo de projeto inválido", | ||
| "loadedFrom": "Projeto carregado de {{path}}" | ||
| }, | ||
| "recording": { | ||
| "failedCameraAccess": "Falha ao solicitar acesso à câmera.", | ||
| "cameraBlocked": "O acesso à câmera está bloqueado. Ative-o nas configurações do sistema para usar a webcam.", | ||
| "systemAudioUnavailable": "Áudio do sistema não disponível. Gravando sem áudio do sistema.", | ||
| "microphoneDenied": "Acesso ao microfone negado. A gravação continuará sem áudio.", | ||
| "cameraDenied": "Acesso à câmera negado. A gravação continuará sem webcam.", | ||
| "cameraDisconnected": "Webcam desconectada.", | ||
| "cameraNotFound": "Câmera não encontrada.", | ||
| "permissionDenied": "Permissão de gravação negada. Por favor, permita a gravação de tela." | ||
| } | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "tooltips": { | ||
| "hideHUD": "Ocultar HUD", | ||
| "closeApp": "Fechar App", | ||
| "restartRecording": "Reiniciar gravação", | ||
| "cancelRecording": "Cancelar gravação", | ||
| "pauseRecording": "Pausar gravação", | ||
| "resumeRecording": "Retomar gravação", | ||
| "openVideoFile": "Abrir arquivo de vídeo", | ||
| "openProject": "Abrir projeto" | ||
| }, | ||
| "audio": { | ||
| "enableSystemAudio": "Ativar áudio do sistema", | ||
| "disableSystemAudio": "Desativar áudio do sistema", | ||
| "enableMicrophone": "Ativar microfone", | ||
| "disableMicrophone": "Desativar microfone", | ||
| "defaultMicrophone": "Microfone Padrão" | ||
| }, | ||
| "webcam": { | ||
| "enableWebcam": "Ativar webcam", | ||
| "disableWebcam": "Desativar webcam", | ||
| "defaultCamera": "Câmera Padrão", | ||
| "searching": "Procurando...", | ||
| "noneFound": "Nenhuma câmera encontrada", | ||
| "unavailable": "Câmera indisponível" | ||
| }, | ||
| "cursor": { | ||
| "useEditableCursor": "Usar cursor editável", | ||
| "useSystemCursor": "Usar cursor do sistema" | ||
| }, | ||
| "sourceSelector": { | ||
| "loading": "Carregando fontes...", | ||
| "screens": "Telas ({{count}})", | ||
| "windows": "Janelas ({{count}})", | ||
| "defaultSourceName": "Tela" | ||
| }, | ||
| "recording": { | ||
| "selectSource": "Por favor, selecione uma fonte para gravar" | ||
| }, | ||
| "language": "Idioma", | ||
| "systemLanguagePrompt": { | ||
| "title": "Usar o idioma do seu sistema?", | ||
| "description": "Detectamos {{language}} como o idioma do seu sistema. Deseja mudar o OpenScreen para {{language}}?", | ||
| "switch": "Mudar para {{language}}", | ||
| "keepDefault": "Manter idioma atual" | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
When users select the newly exposed
pt-BRlocale, the renderer saves it and callswindow.electronAPI.setLocale(newLocale), but the main-process i18n registry still only imports/accepts locales throughviinelectron/i18n.ts(setMainLocalesilently ignores anything else). In that scenario the HUD/editor text switches to Portuguese while the application menu and tray strings remain in the previous/default language, so this locale needs to be added to the main-processLocale,messages, and allow-list as well.Useful? React with 👍 / 👎.