Rename add to queue text

This commit is contained in:
jeffvli 2023-01-07 03:49:18 -08:00
parent 8a48abbbc8
commit 1b25d88692
9 changed files with 18 additions and 18 deletions

View file

@ -105,11 +105,11 @@ const PLAY_TYPES = [
play: Play.NOW, play: Play.NOW,
}, },
{ {
label: 'Add to queue (last)', label: 'Add to queue',
play: Play.LAST, play: Play.LAST,
}, },
{ {
label: 'Add to queue (next)', label: 'Add to queue next',
play: Play.NEXT, play: Play.NEXT,
}, },
]; ];

View file

@ -105,11 +105,11 @@ const PLAY_TYPES = [
play: Play.NOW, play: Play.NOW,
}, },
{ {
label: 'Add to queue (last)', label: 'Add to queue',
play: Play.LAST, play: Play.LAST,
}, },
{ {
label: 'Add to queue (next)', label: 'Add to queue next',
play: Play.NEXT, play: Play.NEXT,
}, },
]; ];

View file

@ -541,10 +541,10 @@ export const AlbumListHeader = ({ itemCount, gridRef, tableRef }: AlbumListHeade
<DropdownMenu.Dropdown> <DropdownMenu.Dropdown>
<DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item> <DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}> <DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}>
Add to queue (last) Add to queue
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}> <DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}>
Add to queue (next) Add to queue next
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Divider /> <DropdownMenu.Divider />
<DropdownMenu.Item onClick={handleRefresh}>Refresh</DropdownMenu.Item> <DropdownMenu.Item onClick={handleRefresh}>Refresh</DropdownMenu.Item>

View file

@ -489,8 +489,8 @@ export const AlbumArtistListHeader = ({ gridRef, tableRef }: AlbumArtistListHead
</DropdownMenu.Target> </DropdownMenu.Target>
<DropdownMenu.Dropdown> <DropdownMenu.Dropdown>
<DropdownMenu.Item disabled>Play</DropdownMenu.Item> <DropdownMenu.Item disabled>Play</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to queue (next)</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to queue next</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to queue (last)</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to queue</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to playlist</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to playlist</DropdownMenu.Item>
</DropdownMenu.Dropdown> </DropdownMenu.Dropdown>
</DropdownMenu> </DropdownMenu>

View file

@ -170,12 +170,12 @@ export const ContextMenuProvider = ({ children }: ContextMenuProviderProps) => {
}, },
playLast: { playLast: {
id: 'playLast', id: 'playLast',
label: 'Add to queue (last)', label: 'Add to queue',
onClick: () => handlePlay(Play.LAST), onClick: () => handlePlay(Play.LAST),
}, },
playNext: { playNext: {
id: 'playNext', id: 'playNext',
label: 'Add to queue (next)', label: 'Add to queue next',
onClick: () => handlePlay(Play.NEXT), onClick: () => handlePlay(Play.NEXT),
}, },
removeFromFavorites: { removeFromFavorites: {

View file

@ -379,10 +379,10 @@ export const PlaylistDetailSongListHeader = ({
<DropdownMenu.Dropdown> <DropdownMenu.Dropdown>
<DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item> <DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}> <DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}>
Add to queue (last) Add to queue
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}> <DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}>
Add to queue (next) Add to queue next
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Divider /> <DropdownMenu.Divider />
<DropdownMenu.Item <DropdownMenu.Item

View file

@ -325,8 +325,8 @@ export const PlaylistListHeader = ({ tableRef }: PlaylistListHeaderProps) => {
</DropdownMenu.Target> </DropdownMenu.Target>
<DropdownMenu.Dropdown> <DropdownMenu.Dropdown>
<DropdownMenu.Item disabled>Play</DropdownMenu.Item> <DropdownMenu.Item disabled>Play</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to queue (last)</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to queue</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to queue (next)</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to queue next</DropdownMenu.Item>
<DropdownMenu.Item disabled>Add to playlist</DropdownMenu.Item> <DropdownMenu.Item disabled>Add to playlist</DropdownMenu.Item>
</DropdownMenu.Dropdown> </DropdownMenu.Dropdown>
</DropdownMenu> </DropdownMenu>

View file

@ -6,11 +6,11 @@ export const PLAY_TYPES = [
play: Play.NOW, play: Play.NOW,
}, },
{ {
label: 'Add to queue (last)', label: 'Add to queue',
play: Play.LAST, play: Play.LAST,
}, },
{ {
label: 'Add to queue (next)', label: 'Add to queue next',
play: Play.NEXT, play: Play.NEXT,
}, },
]; ];

View file

@ -459,10 +459,10 @@ export const SongListHeader = ({ itemCount, tableRef }: SongListHeaderProps) =>
<DropdownMenu.Dropdown> <DropdownMenu.Dropdown>
<DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item> <DropdownMenu.Item onClick={() => handlePlay(Play.NOW)}>Play</DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}> <DropdownMenu.Item onClick={() => handlePlay(Play.LAST)}>
Add to queue (last) Add to queue
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}> <DropdownMenu.Item onClick={() => handlePlay(Play.NEXT)}>
Add to queue (next) Add to queue next
</DropdownMenu.Item> </DropdownMenu.Item>
<DropdownMenu.Divider /> <DropdownMenu.Divider />
<DropdownMenu.Item onClick={handleRefresh}>Refresh</DropdownMenu.Item> <DropdownMenu.Item onClick={handleRefresh}>Refresh</DropdownMenu.Item>