Ticket #9482: 0003-fix-wxT-macro-on-split-lines.patch

File 0003-fix-wxT-macro-on-split-lines.patch, 1.7 KB (added by SF/lblume, 11 years ago)

Patch to fix the use of wxT() on split lines

  • gui/pages.cpp

    a b  
    848848                ) {
    849849                        wxMessageDialog *msgDialog = new wxMessageDialog(
    850850                                        NULL,
    851                                         wxT("The lame executable could not be found. It is needed to compress files to MP3. "
    852                                                 "You can either proceed to the advanced audio settings page and give the path to lame "
    853                                                 "or you can select another audio format to compress to.\n\n"
    854                                                 "Do you want to proceed to the advanced audio settings page?"),
     851                                        wxT("The lame executable could not be found. It is needed to compress files to MP3. ")
     852                                                wxT("You can either proceed to the advanced audio settings page and give the path to lame ")
     853                                                wxT("or you can select another audio format to compress to.\n\n")
     854                                                wxT("Do you want to proceed to the advanced audio settings page?"),
    855855                                        wxT("lame not found"),
    856856                                        wxYES_NO | wxNO_DEFAULT | wxICON_EXCLAMATION
    857857                                );
     
    10501050        if (!Configuration::isLamePathValid(lamePath->GetPath())) {
    10511051                wxMessageDialog *msgDialog = new wxMessageDialog(
    10521052                                NULL,
    1053                                 wxT("The lame executable could not be found. It is needed to compress files to MP3. "
    1054                                     "If you want to use MP3 compression you need to select a valid lame executable. "
    1055                                         "Otherwise you can go back to the audio format selection and select another format."),
     1053                                wxT("The lame executable could not be found. It is needed to compress files to MP3. ")
     1054                                        wxT("If you want to use MP3 compression you need to select a valid lame executable. ")
     1055                                        wxT("Otherwise you can go back to the audio format selection and select another format."),
    10561056                                wxT("lame not found"),
    10571057                                wxOK | wxICON_EXCLAMATION
    10581058                        );