mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
revert transport error translations cuz they were dumb and also incorrect
This commit is contained in:
parent
6e86ce8dda
commit
cef539d178
@ -1,5 +1,4 @@
|
|||||||
using Mirror;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace QSB.Localization;
|
namespace QSB.Localization;
|
||||||
|
|
||||||
@ -29,7 +28,6 @@ public class Translation
|
|||||||
public string OK;
|
public string OK;
|
||||||
public string ServerRefusedConnection;
|
public string ServerRefusedConnection;
|
||||||
public string ClientDisconnectWithError;
|
public string ClientDisconnectWithError;
|
||||||
public Dictionary<TransportError, string> TransportErrors;
|
|
||||||
public string QSBVersionMismatch;
|
public string QSBVersionMismatch;
|
||||||
public string OWVersionMismatch;
|
public string OWVersionMismatch;
|
||||||
public string DLCMismatch;
|
public string DLCMismatch;
|
||||||
|
@ -736,7 +736,7 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
OpenInfoPopup(string.Format(QSBLocalization.Current.ClientDisconnectWithError, QSBLocalization.Current.TransportErrors[error], reason), QSBLocalization.Current.OK);
|
OpenInfoPopup(string.Format(QSBLocalization.Current.ClientDisconnectWithError, reason), QSBLocalization.Current.OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetButtonActive(DisconnectButton, false);
|
SetButtonActive(DisconnectButton, false);
|
||||||
|
@ -22,17 +22,7 @@
|
|||||||
"Connecting": "CONNECTING...",
|
"Connecting": "CONNECTING...",
|
||||||
"OK": "OK",
|
"OK": "OK",
|
||||||
"ServerRefusedConnection": "Server refused connection.\n{0}",
|
"ServerRefusedConnection": "Server refused connection.\n{0}",
|
||||||
"ClientDisconnectWithError": "Client disconnected with error!\n{0}\nMore info: {1}",
|
"ClientDisconnectWithError": "Client disconnected with error!\n{0}",
|
||||||
"TransportErrors": {
|
|
||||||
"DnsResolve": "Failed to resolve host name.",
|
|
||||||
"Refused": "Connection refused.",
|
|
||||||
"Timeout": "Connection timed out.",
|
|
||||||
"Congestion": "Congestion on transport.",
|
|
||||||
"InvalidReceive": "Error receiving message.",
|
|
||||||
"InvalidSend": "Error sending message.",
|
|
||||||
"ConnectionClosed": "Connection closed.",
|
|
||||||
"Unexpected": "Unexpected error."
|
|
||||||
},
|
|
||||||
"QSBVersionMismatch": "QSB version does not match. (Client:{0}, Server:{1})",
|
"QSBVersionMismatch": "QSB version does not match. (Client:{0}, Server:{1})",
|
||||||
"OWVersionMismatch": "Outer Wilds version does not match. (Client:{0}, Server:{1})",
|
"OWVersionMismatch": "Outer Wilds version does not match. (Client:{0}, Server:{1})",
|
||||||
"DLCMismatch": "DLC installation state does not match. (Client:{0}, Server:{1})",
|
"DLCMismatch": "DLC installation state does not match. (Client:{0}, Server:{1})",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user