Some minor reformatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2685 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ChatDirector.java,v 1.46 2003/06/04 02:50:18 ray Exp $
|
// $Id: ChatDirector.java,v 1.47 2003/06/26 19:57:24 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.crowd.chat.client;
|
package com.threerings.crowd.chat.client;
|
||||||
|
|
||||||
@@ -337,9 +337,9 @@ public class ChatDirector extends BasicDirector
|
|||||||
_cservice.broadcast(
|
_cservice.broadcast(
|
||||||
_ctx.getClient(), message, new ChatService.InvocationListener() {
|
_ctx.getClient(), message, new ChatService.InvocationListener() {
|
||||||
public void requestFailed (String reason) {
|
public void requestFailed (String reason) {
|
||||||
displayFeedback(
|
reason = MessageBundle.compose(
|
||||||
_bundle, MessageBundle.compose(
|
"m.broadcast_failed", reason);
|
||||||
"m.broadcast_failed", reason));
|
displayFeedback(_bundle, reason);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -375,10 +375,11 @@ public class ChatDirector extends BasicDirector
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void tellSucceededIdle (long idletime) {
|
public void tellSucceededIdle (long idletime) {
|
||||||
success(xlate(_bundle, MessageBundle.compose(
|
String msg = MessageBundle.compose(
|
||||||
"m.told_idle_format", MessageBundle.taint(target),
|
"m.told_idle_format", MessageBundle.taint(target),
|
||||||
MessageBundle.taint(message),
|
MessageBundle.taint(message),
|
||||||
TimeUtil.getTimeOrderString(idletime, TimeUtil.MINUTE))));
|
TimeUtil.getTimeOrderString(idletime, TimeUtil.MINUTE));
|
||||||
|
success(xlate(_bundle, msg));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void success (String feedback) {
|
protected void success (String feedback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user