mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Adding translation support in Tooltip for Unique Card Filter
This commit is contained in:
@@ -179,7 +179,7 @@ public abstract class ItemView<T extends InventoryItem> {
|
|||||||
*/
|
*/
|
||||||
protected void setUniqueCardsOnlyFilter() {
|
protected void setUniqueCardsOnlyFilter() {
|
||||||
this.uniqueCardsOnlyChkBox.setFont(ROW_FONT);
|
this.uniqueCardsOnlyChkBox.setFont(ROW_FONT);
|
||||||
this.uniqueCardsOnlyChkBox.setToolTipText("Toggle whether to show unique cards only");
|
this.uniqueCardsOnlyChkBox.setToolTipText(localizer.getMessage("ttUniqueCardsOnly"));
|
||||||
this.uniqueCardsOnlyChkBox.addChangeListener(new ChangeListener() {
|
this.uniqueCardsOnlyChkBox.addChangeListener(new ChangeListener() {
|
||||||
@Override public void stateChanged(final ChangeEvent arg0) {
|
@Override public void stateChanged(final ChangeEvent arg0) {
|
||||||
final boolean wantUnique = uniqueCardsOnlyChkBox.isSelected();
|
final boolean wantUnique = uniqueCardsOnlyChkBox.isSelected();
|
||||||
|
|||||||
Reference in New Issue
Block a user