summaryrefslogtreecommitdiff
path: root/sources/protocols/implementations/VSInternalTimeSyncProtocol.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-15 00:25:46 +0300
committerPaul Buetow <paul@buetow.org>2025-04-15 00:25:46 +0300
commit53b373ad26ff3f3c1900b9baa0d5366113884ef6 (patch)
treec2cc9168347a5d9e17cdaa9dac9d287613764d86 /sources/protocols/implementations/VSInternalTimeSyncProtocol.java
parentfcd42f8cf114aa1ee1dbe70c6b2a1b57c4b30dab (diff)
some translations
Diffstat (limited to 'sources/protocols/implementations/VSInternalTimeSyncProtocol.java')
-rw-r--r--sources/protocols/implementations/VSInternalTimeSyncProtocol.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sources/protocols/implementations/VSInternalTimeSyncProtocol.java b/sources/protocols/implementations/VSInternalTimeSyncProtocol.java
index e72c563..e3bd181 100644
--- a/sources/protocols/implementations/VSInternalTimeSyncProtocol.java
+++ b/sources/protocols/implementations/VSInternalTimeSyncProtocol.java
@@ -25,8 +25,8 @@ public class VSInternalTimeSyncProtocol extends VSAbstractProtocol {
* @see events.VSAbstractProtocol#onClientInit()
*/
public void onClientInit() {
- initLong("t_min", 2000, "Max. Übetragungszeit", "ms");
- initLong("t_max", 500, "Min. Übertragungszeit", "ms");
+ initLong("t_min", 2000, "Max. transmission time", "ms");
+ initLong("t_max", 500, "Min. transmission time", "ms");
}
/* (non-Javadoc)
@@ -66,9 +66,9 @@ public class VSInternalTimeSyncProtocol extends VSAbstractProtocol {
long serverTime = recvMessage.getLong("time");
long newTime = serverTime + (long) ((tMax + tMin) / 2 );
- log("Server Zeit: " + serverTime + "; (t_min,t_max): (" + tMin +
- "," + tMax + "); Alte Zeit: " + process.getTime() +
- "; Neue Zeit: " + newTime + "; Offset: " +
+ log("Server time: " + serverTime + "; (t_min,t_max): (" + tMin +
+ "," + tMax + "); Old time: " + process.getTime() +
+ "; New time: " + newTime + "; Offset: " +
(process.getTime() - newTime));
process.setTime(newTime);