X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/c99066bb8eb3a6f60be746f1ae150390dea4bd51..57cbba98e6ff809563b1dff6fd55603761ec995b:/MenuController.m diff --git a/MenuController.m b/MenuController.m index 6f7cb03..54f9809 100755 --- a/MenuController.m +++ b/MenuController.m @@ -312,7 +312,7 @@ if (!_playingRadio) { NS_DURING - if ([defaults boolForKey:@"showPlayCount"]) { + if ([defaults boolForKey:@"showPlayCount"] && [mtr currentSource] == ITMTRemoteLibrarySource) { [menu indentItem:[menu addItemWithTitle:[NSString stringWithFormat:@"Play Count: %i", [mtr currentSongPlayCount]] action:nil keyEquivalent:@""]]; } if ([defaults boolForKey:@"showTrackRating"] && ( [mtr currentSongRating] != -1.0 )) { @@ -682,7 +682,7 @@ } [indices release]; [playlistsMenu addItem:[NSMenuItem separatorItem]]; - [[playlistsMenu addItemWithTitle:@"Refresh" action:@selector(rebuildSubmenus) keyEquivalent:@""] setTarget:self]; + [[playlistsMenu addItemWithTitle:NSLocalizedString(@"refresh", @"Refresh") action:@selector(rebuildSubmenus) keyEquivalent:@""] setTarget:self]; ITDebugLog(@"Done Building \"Playlists\" menu"); return playlistsMenu; }