| 190 | } |
| 191 | |
| 192 | static wxString HelpTextBuiltIn( const wxString & Key ) |
| 193 | { |
| 194 | if(Key==wxT("wma-proprietary")) |
| 195 | { |
| 196 | wxStringOutputStream o; |
| 197 | wxTextOutputStream s(o); |
| 198 | s |
| 199 | << wxT("<p>") |
| 200 | << XO( |
| 201 | "Audacity can import unprotected files in many other formats (such as M4A and WMA, \ |
| 202 | compressed WAV files from portable recorders and audio from video files) if you download and install \ |
| 203 | the optional [[https://support.audacityteam.org/basics/installing-ffmpeg| \ |
| 204 | FFmpeg library]] to your computer.") |
| 205 | << wxT("</p><p>") |
| 206 | << XO( |
| 207 | "You can also read our help on importing \ |
| 208 | [[https://manual.audacityteam.org/man/playing_and_recording.html#midi|MIDI files]] \ |
| 209 | and tracks from [[https://manual.audacityteam.org/man/faq_opening_and_saving_files.html#fromcd| \ |
| 210 | audio CDs]].") |
| 211 | << wxT("</p>") |
| 212 | ; |
| 213 | return WrapText( o.GetString() ); |
| 214 | } |
| 215 | |
| 216 | // Remote help allows us to link to a local copy of the help if it exists, |
| 217 | // or provide a message that takes you to the Internet if it does not. |
| 218 | // It's used by the menu item Help > Index |
| 219 | if(Key == wxT("remotehelp") ) |
| 220 | { |
| 221 | wxStringOutputStream o; |
| 222 | wxTextOutputStream s(o); |
| 223 | s |
| 224 | // *URL* will be replaced by whatever URL we are looking for. |
| 225 | << XO( |
| 226 | "The Manual does not appear to be installed. \ |
| 227 | Please [[*URL*|view the Manual online]] or \ |
| 228 | [[https://manual.audacityteam.org/man/unzipping_the_manual.html| \ |
| 229 | download the Manual]].<br><br>\ |
| 230 | To always view the Manual online, change \"Location of Manual\" in \ |
| 231 | Interface Preferences to \"From Internet\".") |
| 232 | ; |
| 233 | return WrapText( o.GetString() ); |
| 234 | } |
| 235 | return {}; |
| 236 | } |
| 237 | |
| 238 | wxString HelpText( const wxString & Key ) |
| 239 | { |