From 61bd99cae94dce374d6c274cac418ebd7223fa1e Mon Sep 17 00:00:00 2001 From: Israel Vargas Merljak Date: Tue, 7 Aug 2018 09:35:24 -0300 Subject: [PATCH] pt_BR translation added Altered .gitignore to negate *.properties rule for the i18n bundle resources. (why are the .properties files being ignored anyway?) --- .gitignore | 1 + .../com/rarchives/ripme/ui/MainWindow.java | 2 +- .../resources/LabelsBundle_pt_BR.properties | 37 +++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/LabelsBundle_pt_BR.properties diff --git a/.gitignore b/.gitignore index 434f0343..e7813bc7 100644 --- a/.gitignore +++ b/.gitignore @@ -113,6 +113,7 @@ rips/ ripme.jar.update *.swp *.properties +!LabelsBundle*.properties history.json *.iml .settings/ diff --git a/src/main/java/com/rarchives/ripme/ui/MainWindow.java b/src/main/java/com/rarchives/ripme/ui/MainWindow.java index f3c88f0a..a7e9d046 100644 --- a/src/main/java/com/rarchives/ripme/ui/MainWindow.java +++ b/src/main/java/com/rarchives/ripme/ui/MainWindow.java @@ -144,7 +144,7 @@ public final class MainWindow implements Runnable, RipStatusHandler { private ResourceBundle rb = Utils.getResourceBundle(null); // All the langs ripme has been translated into - private static String[] supportedLanges = new String[] {"en_US", "de_DE", "es_ES", "fr_CH", "kr_KR", "pt_PT", + private static String[] supportedLanges = new String[] {"en_US", "de_DE", "es_ES", "fr_CH", "kr_KR", "pt_BR", "pt_PT", "fi_FI", "in_ID", "nl_NL", "porrisavvo_FI", "ru_RU"}; private void updateQueueLabel() { diff --git a/src/main/resources/LabelsBundle_pt_BR.properties b/src/main/resources/LabelsBundle_pt_BR.properties new file mode 100644 index 00000000..853bad99 --- /dev/null +++ b/src/main/resources/LabelsBundle_pt_BR.properties @@ -0,0 +1,37 @@ +Log = Registro +History = Histórico +created = criado +modified = modificado +Queue = Fila +Configuration = Configuração + +# Keys for the Configuration menu + +current.version = Versão atual +check.for.updates = Verificar atualizações +auto.update = Atualização automática? +max.download.threads = Número máximo de conexões: +timeout.mill = Tempo limite (em milissegundos): +retry.download.count = Número de tentativas +overwrite.existing.files = Sobrescrever arquivos existentes? +sound.when.rip.completes = Som quando terminar o rip +preserve.order = Preservar ordem +save.logs = Salvar registros +notification.when.rip.starts = Som quando rip começar +save.urls.only = Salvar apenas URLs +save.album.titles = Salvar títulos dos álbums +autorip.from.clipboard = Autorip da área de transferência +save.descriptions = Salvar descrições +prefer.mp4.over.gif = Preferir MP4 a GIF +restore.window.position = Restaurar posição da janela +remember.url.history = Lembrar histórico de URL +loading.history.from = Carregando histórico de + +# Misc UI keys + +loading.history.from.configuration = Carregando o histórico da configuração +interrupted.while.waiting.to.rip.next.album = Interrompido enquanto esperava o rip do próximo álbum +inactive = Inativo +re-rip.checked = Re-ripar selecionados +remove = Remover +clear = Limpar