Skip to content

Commit 1408809

Browse files
committed
[TRANSLATION] -Translate in some source code files.
Signed-off-by: Iván Rodriguez <ivanrwcm25@gmail.com>
1 parent d3ccd39 commit 1408809

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

ShpCore.Kernel/Factory/ProtocolFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ public static IProtocol Get(string protocol)
1919

2020
};
2121
}
22-
}
22+
}

ShpCore.Kernel/Kernel_init/SCKernel_init.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ public void Run(string payloadPath, string protocol, string adapter, bool devMod
1212
if (devMode)
1313
{
1414

15-
KernelLog.Debug("[CLI MODE] Modo de desarrollo activado. init con Kernel referenciado localmente.");
15+
KernelLog.Debug("[CLI MODE] DevMode on. init with your own microkernel.");
1616

1717
if (!File.Exists(payloadPath))
1818
{
19-
KernelLog.Panic($"[Kernel Loader SckernelInit line:19] El payload no existe en la ruta: {payloadPath}");
19+
KernelLog.Panic($"[Kernel Loader SckernelInit line:19] Payload does not exists on: {payloadPath}");
2020
return;
2121
}
2222

2323
if (!Directory.Exists(adapter))
2424
{
25-
KernelLog.Panic($"[Kernel Loader SckernelInit line:25] La ruta del adaptador no existe: {adapter}");
25+
KernelLog.Panic($"[Kernel Loader SckernelInit line:25] Adapter path does not exists: {adapter}");
2626
return;
2727
}
2828

@@ -35,16 +35,16 @@ public void Run(string payloadPath, string protocol, string adapter, bool devMod
3535
var json = File.ReadAllText(payloadPath);
3636
bridge.Send(json);
3737

38-
KernelLog.Info("[Kernel Loader] Payload enviado exitosamente.");
38+
KernelLog.Info("[Kernel Loader] Payload send succesfully.");
3939
}
4040
catch (Exception ex)
4141
{
42-
KernelLog.Panic("[Kernel Loader SckernelInit line:42] Fallo al ejecutar el kernel.", ex);
42+
KernelLog.Panic("[Kernel Loader SckernelInit line:42] Kernel Execution failure.", ex);
4343
}
4444

4545
}
4646

47-
KernelLog.Info("[Kernel Loader] Ejecución del kernel finalizada.");
47+
KernelLog.Info("[Kernel Loader] Kernel exec terminated.");
4848

4949
}
5050
}

ShpCore.Kernel/Protocols/NamedPipe_protocol.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using MSharp.Validation.Payloads;
44

55
namespace ShpCore.Kernel.Protocols;
6-
public class NamedPipeProtocol : IProtocol
6+
public class NamedPipeProtocol : IProtocol //No se si es buena idea tener una clase por cada implementacion de IProtocol
77
{
88
public IBridgeConnection CreateBridge(string adapterPath)
99
{

ShpCore.Kernel/Protocols/RemoteLinuxProtocol.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ public IBridgeConnection CreateBridge(string adapterPath)
1515

1616
if (urls.Length == 0)
1717
{
18-
KernelLog.Panic("[RemoteLinuxProtocol] Adapterpath vacío.");
18+
KernelLog.Panic("[RemoteLinuxProtocol] Adapterpath is empty.");
1919
throw new ArgumentException(nameof(adapterPath));
2020
}
2121

2222
if (urls.Length == 0)
2323
{
24-
KernelLog.Panic("[RemoteLinuxProtocol] Dev, No se proporcionaron URLs para la conexión remota.");
25-
throw new ArgumentException();;
24+
KernelLog.Panic("[RemoteLinuxProtocol] Dev, you didnt wrote any URL.");
25+
throw new ArgumentException();
2626
}
2727

2828

0 commit comments

Comments
 (0)