Replace playlist status icons with SF Symbols
On Big Sur and up only, of course. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
a4387dc6d1
commit
8f1143818b
|
@ -28,3 +28,7 @@
|
||||||
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
||||||
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
||||||
|
|
||||||
|
"PlayingTrackTooltip" = "Playing";
|
||||||
|
"QueuedTrackTooltip" = "Queued";
|
||||||
|
"ErrorTrackTooltip" = "Error";
|
||||||
|
"StopAfterTrackTooltip" = "Stop After Track";
|
||||||
|
|
|
@ -26,10 +26,17 @@
|
||||||
- (id)init {
|
- (id)init {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if(self) {
|
if(self) {
|
||||||
self.playImage = [NSImage imageNamed:@"playTemplate"];
|
if(@available(macOS 11.0, *)) {
|
||||||
self.queueImage = [NSImage imageNamed:@"NSAddTemplate"];
|
self.playImage = [NSImage imageWithSystemSymbolName:@"play.fill" accessibilityDescription:NSLocalizedString(@"PlayingTrackTooltip", "")];
|
||||||
self.errorImage = [NSImage imageNamed:@"NSStopProgressTemplate"];
|
self.queueImage = [NSImage imageWithSystemSymbolName:@"plus" accessibilityDescription:NSLocalizedString(@"QueuedTrackTooltip", "")];
|
||||||
self.stopAfterImage = [NSImage imageNamed:@"stopTemplate"];
|
self.errorImage = [NSImage imageWithSystemSymbolName:@"nosign" accessibilityDescription:NSLocalizedString(@"ErrorTrackTooltip", "")];
|
||||||
|
self.stopAfterImage = [NSImage imageWithSystemSymbolName:@"stop.fill" accessibilityDescription:NSLocalizedString(@"StopAfterTrackTooltip", "")];
|
||||||
|
} else {
|
||||||
|
self.playImage = [NSImage imageNamed:@"playTemplate"];
|
||||||
|
self.queueImage = [NSImage imageNamed:@"NSAddTemplate"];
|
||||||
|
self.errorImage = [NSImage imageNamed:@"NSStopProgressTemplate"];
|
||||||
|
self.stopAfterImage = [NSImage imageNamed:@"stopTemplate"];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
|
@ -28,3 +28,7 @@
|
||||||
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
||||||
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
||||||
|
|
||||||
|
"PlayingTrackTooltip" = "Playing";
|
||||||
|
"QueuedTrackTooltip" = "Queued";
|
||||||
|
"ErrorTrackTooltip" = "Error";
|
||||||
|
"StopAfterTrackTooltip" = "Stop After Track";
|
||||||
|
|
|
@ -28,3 +28,7 @@
|
||||||
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
"SwitchToMiniPlayer" = "Switch to Mini Player";
|
||||||
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
"SwitchFromMiniPlayer" = "Switch from Mini Player";
|
||||||
|
|
||||||
|
"PlayingTrackTooltip" = "Playing";
|
||||||
|
"QueuedTrackTooltip" = "Queued";
|
||||||
|
"ErrorTrackTooltip" = "Error";
|
||||||
|
"StopAfterTrackTooltip" = "Stop After Track";
|
||||||
|
|
Loading…
Reference in New Issue