Remove tagged string that was never translated anyway

This commit is contained in:
zzz
2020-02-25 15:01:37 +00:00
parent e7a66659e9
commit 88a4261b03

View File

@ -238,7 +238,7 @@ class MessageReceiver {
_transport.sendDestroy(ps);
_transport.dropPeer(ps, true, "Corrupt DSM");
_context.banlist().banlistRouterForever(state.getFrom(),
_x("Sent corrupt DSM"));
"Sent corrupt message"); // don't bother translating
}
}
_context.messageHistory().droppedInboundMessage(state.getMessageId(), state.getFrom(), "error: " + ime.toString() + ": " + state.toString());
@ -253,15 +253,4 @@ class MessageReceiver {
state.releaseResources();
}
}
/**
* Mark a string for extraction by xgettext and translation.
* Use this only in static initializers.
* It does not translate!
* @return s
* @since 0.9.20
*/
private static final String _x(String s) {
return s;
}
}