@@ -28,25 +28,27 @@ public enum BrowseFilterMode {
2828 /**
2929 * Show all shops
3030 */
31- ALL ("all" , "gui.browse.filter.all" ),
31+ ALL ("all" , "gui.browse.filter.all" , "gui.browse.filter.all-indicator" ),
3232
3333 /**
3434 * Show only buying shops (shops that buy from players)
3535 */
36- BUYING ("buying" , "gui.browse.filter.buying" ),
36+ BUYING ("buying" , "gui.browse.filter.buying" , "gui.browse.filter.buying-indicator" ),
3737
3838 /**
3939 * Show only selling shops (shops that sell to players)
4040 */
41- SELLING ("selling" , "gui.browse.filter.selling" );
41+ SELLING ("selling" , "gui.browse.filter.selling" , "gui.browse.filter.selling-indicator" );
4242
4343 private final String id ;
4444 private final String translationKey ;
45+ private final String indicatorTranslationKey ;
4546
46- BrowseFilterMode (final String id , final String translationKey ) {
47+ BrowseFilterMode (final String id , final String translationKey , final String indicatorTranslationKey ) {
4748
4849 this .id = id ;
4950 this .translationKey = translationKey ;
51+ this .indicatorTranslationKey = indicatorTranslationKey ;
5052 }
5153
5254 /**
@@ -76,6 +78,11 @@ public String getTranslationKey() {
7678 return translationKey ;
7779 }
7880
81+ public String indicatorTranslationKey () {
82+
83+ return indicatorTranslationKey ;
84+ }
85+
7986 /**
8087 * Get the next filter mode in the cycle
8188 *
0 commit comments