From feeec2acdd3d2ec9efb9e14b5a2778c50c4352c1 Mon Sep 17 00:00:00 2001 From: Eduardo Farinati Date: Sat, 4 Nov 2023 15:19:22 -0300 Subject: [PATCH 1/2] Add pt-br translations --- i18n/pt-BR/cosmic_edit.ftl | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 i18n/pt-BR/cosmic_edit.ftl diff --git a/i18n/pt-BR/cosmic_edit.ftl b/i18n/pt-BR/cosmic_edit.ftl new file mode 100644 index 0000000..a67a942 --- /dev/null +++ b/i18n/pt-BR/cosmic_edit.ftl @@ -0,0 +1,71 @@ +new-document = Novo documento +open-project = Abrir projeto + +# Context Pages + +## Document statistics +document-statistics = Estatísticas do documento +word-count = Contagem de palavras +character-count = Caracteres +character-count-no-spaces = Caracteres (sem espaços) +line-count = Linhas + +## Settings +settings = Configurações + +## Appearance +appearance = Aparência +theme = Tema +default-font = Fonte padrão +default-font-size = Tamanho padrão da fonte + +### Keyboard shortcuts +keyboard-shortcuts = Atalhos do teclado +enable-vim-bindings = Habilitar atalhos do Vim + +# Menu + +## File +file = Arquivo +new-file = Novo arquivo +new-window = Nova janela +open-file = Abrir arquivo... +open-recent = Abrir recente +todo = TODO +save = Salvar +save-as = Salvar como... +revert-all-changes = Reverter todas alterações +menu-document-statistics = Estatísticas do documento... +document-type = Tipo de documento... +encoding = Codificação... +print = Imprimir +quit = Sair + +## Edit +edit = Editar +undo = Desfazer +redo = Refazer +cut = Cortar +copy = Copiar +paste = Colar +find = Localizar +replace = Substituir +spell-check = Verificação ortográfica... + +## View +view = Visualizar +indentation = Indentação + +### Indentation +automatic-indentation = Indentação automática +tab-width = Largura do tab: {$tab_width} +convert-indentation-to-spaces = Converter indentação para espaços +convert-indentation-to-tabs = Converter indentação para tabs + +word-wrap = Quebra de linha +show-line-numbers = Mostrar números das linhas +highlight-current-line = Destacar linha atual +syntax-highlighting = Destaque de sintaxe... +menu-settings = Configurações... +menu-keyboard-shortcuts = Atalhos do teclado... +about-cosmic-text-editor = Sobre o Editor de Texto COSMIC From 0fa76f00363a6064b666be382b64e4366fb373ca Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 4 Nov 2023 12:51:34 -0600 Subject: [PATCH 2/2] Rebuild if i18n changes --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 build.rs diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..db93806 --- /dev/null +++ b/build.rs @@ -0,0 +1,4 @@ +fn main() { + // Rebuild if i18n files change + println!("cargo:rerun-if-changed=i18n/*/cosmic_edit.ftl") +}