Translation Changes

This commit is contained in:
Peter Wilson 2015-11-16 12:03:44 -06:00
parent 08a9dc11d2
commit 822542a381
2 changed files with 17 additions and 5 deletions

View File

@ -1472,8 +1472,8 @@ namespace EduNetworkBuilder
Network myNet = NB.GetNetwork();
if (tPacket.MyType == PacketType.tun_packet || tPacket.MyType == PacketType.vpn_packet)
{
tPacket.Tracking.AddMessage(DebugLevel.info,this,"Arrived at the tunnel endpoint.");
tPacket.Tracking.Status = "Arrived at the tunnel endpoint.";
tPacket.Tracking.AddMessage(DebugLevel.info,this,NB.Translate("ND_ProcessArrival_Arrived"));
tPacket.Tracking.Status = NB.Translate("ND_ProcessArrival_Arrived");
//We If the encryption matches, we succeed. Otherwise, we fail
tPacket.MyStatus = PacketStatus.finished_ok; //It stops here
@ -1485,10 +1485,10 @@ namespace EduNetworkBuilder
{
if(nPacket.destMAC != nc.MAC)
{
nPacket.Tracking.Status = "No VPN nic to recieve packet. Check VPN IP";
nPacket.Tracking.AddMessage(DebugLevel.info, this, "No corresponding IP on vpn. Packet dropped.");
nPacket.Tracking.Status = NB.Translate("ND_ProcessArrival_IPError1");
nPacket.Tracking.AddMessage(DebugLevel.info, this, NB.Translate("ND_ProcessArrival_IPError2"));
nPacket.MyStatus = PacketStatus.finished_failed;
myNet.addPacket(nPacket); //so it gets pulled out apropriately
myNet.addPacket(nPacket); //so it gets pulled out apropriatelya
tPacket.payloadPacket = null;
return;
}

View File

@ -777,6 +777,18 @@
<data name="H_WirelessSSID_Title" xml:space="preserve">
<value>Wireless SSID</value>
</data>
<data name="ND_ProcessArrival_Arrived" xml:space="preserve">
<value>Arrived at the tunnel endpoint.</value>
<comment>ND_ProcessArrival_Arrived = Arrived at the tunnel endpoint.</comment>
</data>
<data name="ND_ProcessArrival_IPError1" xml:space="preserve">
<value>No VPN nic to recieve packet. Check VPN IP</value>
<comment>ND_ProcessArrival_IPError1 = No VPN nic to recieve packet. Check VPN IP</comment>
</data>
<data name="ND_ProcessArrival_IPError2" xml:space="preserve">
<value>No corresponding IP on vpn. Packet dropped.</value>
<comment>ND_ProcessArrival_IPError2 = No corresponding IP on vpn. Packet dropped.</comment>
</data>
<data name="ND_TunnelPacketFromHere_Error" xml:space="preserve">
<value>Packet sent out tunnel but no endpoint set. Dropping</value>
<comment>ND_TunnelPacketFromHere_Error = Packet sent out tunnel but no endpoint set. Dropping</comment>