forked from I2P_Developers/i2p.i2p
Remove tagged string that was never translated anyway
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user