Adds some tooltips to buttons in chat rooms window.

cusax-fix 4776
Damian Minkov 12 years ago
parent 2e8e92307f
commit 6f4ca47396

@ -109,6 +109,8 @@ service.gui.CHAT_ROOM_USER_JOINED=has joined {0}
service.gui.CHAT_ROOM_USER_LEFT=has left {0}
service.gui.CHAT_ROOM_USER_KICKED=has been kicked from {0}
service.gui.CHAT_ROOM_USER_QUIT=has quit {0}
service.gui.CHAT_ROOM_SAVE_BUTTON_TOOLTIP=Saves chat room for future use
service.gui.CHAT_ROOM_REMOVE_BUTTON_TOOLTIP=Removes selected room from the list of saved rooms
service.gui.CHAT_ROOM_NAME=Chat room name
service.gui.CLEAR_CUSTOM_MESSAGES=Clear custom messages
service.gui.ROOM_NAME=Chat Room

@ -68,7 +68,7 @@ public class ChatRoomTableDialog
*/
private final JButton okButton
= new JButton(
GuiActivator.getResources().getI18NString("service.gui.OK"));
GuiActivator.getResources().getI18NString("service.gui.JOIN"));
/**
* The cancel button.
@ -233,6 +233,13 @@ else if(roomsCombo.getSelectedIndex() == -1
okButton.addActionListener(this);
cancelButton.addActionListener(this);
addButton.setToolTipText(GuiActivator.getResources()
.getI18NString("service.gui.CHAT_ROOM_SAVE_BUTTON_TOOLTIP"));
removeButton.setToolTipText(GuiActivator.getResources()
.getI18NString("service.gui.CHAT_ROOM_REMOVE_BUTTON_TOOLTIP"));
okButton.setToolTipText(GuiActivator.getResources()
.getI18NString("service.gui.JOIN_CHAT_ROOM"));
addButton.setEnabled(false);
removeButton.setEnabled(false);

Loading…
Cancel
Save