fix(gui): use localized label for code cache preferences

This commit is contained in:
Skylot
2026-03-16 19:49:02 +00:00
parent 81dfac6d83
commit 11b38ffed2
@@ -26,6 +26,11 @@ public enum CodeCacheMode {
return NLS.str(descKey);
}
@Override
public String toString() {
return getLocalizedName();
}
public static String buildToolTip() {
return Stream.of(values())
.map(v -> v.getLocalizedName() + " - " + v.getDesc())