Adding translation support in Tooltip for Unique Card Filter

This commit is contained in:
leriomaggio
2021-09-23 13:18:42 +01:00
parent 12052b973e
commit 6c782448dd

View File

@@ -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();