File Browser: Add “Set As..." context menu

Moves options for configuring:

- Playlist Directory
- Recording Directory
- Start Directory

into a single menu.

Necessary prerequisite for giving the
"Playlist Catalogue" context menu item a title that's a
little more action-oriented ("Add to Playlist…”).

Change-Id: I4ee08fc67d5350c38ae1a57cb345c4ed1082d0b5
This commit is contained in:
Christian Soffke 2022-11-27 23:01:14 +01:00
parent 5bb062391f
commit 21ca64d7cd
4 changed files with 118 additions and 51 deletions

View file

@ -5411,19 +5411,19 @@
</phrase>
<phrase>
id: LANG_SET_AS_REC_DIR
desc: used in the onplay menu to set a recording dir
desc: deprecated
user: core
<source>
*: none
recording: "Set As Recording Directory"
recording: ""
</source>
<dest>
*: none
recording: "Set As Recording Directory"
recording: ""
</dest>
<voice>
*: none
recording: "Set As Recording Directory"
recording: ""
</voice>
</phrase>
<phrase>
@ -11587,16 +11587,16 @@
</phrase>
<phrase>
id: LANG_SET_AS_START_DIR
desc: used in the onplay menu to set a starting browser dir
desc: deprecated
user: core
<source>
*: "Start File Browser Here"
*: ""
</source>
<dest>
*: "Start File Browser Here"
*: ""
</dest>
<voice>
*: "Start File Browser Here"
*: ""
</voice>
</phrase>
<phrase>
@ -11702,16 +11702,16 @@
</phrase>
<phrase>
id: LANG_SET_AS_PLAYLISTCAT_DIR
desc: used in the onplay menu to set a playlist catalogue dir
desc: deprecated
user: core
<source>
*: "Set As Playlist Catalogue Directory"
*: ""
</source>
<dest>
*: "Set As Playlist Catalogue Directory"
*: ""
</dest>
<voice>
*: "Set As Playlist Catalogue Directory"
*: ""
</voice>
</phrase>
<phrase>
@ -16402,3 +16402,62 @@
*: "Rewind across tracks"
</voice>
</phrase>
<phrase>
id: LANG_SET_AS
desc: used in the onplay menu
user: core
<source>
*: "Set As..."
</source>
<dest>
*: "Set As..."
</dest>
<voice>
*: "Set As..."
</voice>
</phrase>
<phrase>
id: LANG_PLAYLIST_DIR
desc: used in the onplay menu
user: core
<source>
*: "Playlist Directory"
</source>
<dest>
*: "Playlist Directory"
</dest>
<voice>
*: "Playlist Directory"
</voice>
</phrase>
<phrase>
id: LANG_START_DIR
desc: used in the onplay menu
user: core
<source>
*: "Start Directory"
</source>
<dest>
*: "Start Directory"
</dest>
<voice>
*: "Start Directory"
</voice>
</phrase>
<phrase>
id: LANG_RECORDING_DIR
desc: used in the onplay menu
user: core
<source>
*: none
recording: "Recording Directory"
</source>
<dest>
*: none
recording: "Recording Directory"
</dest>
<voice>
*: none
recording: "Recording Directory"
</voice>
</phrase>