677 subtitle.remove (0, 1); |
677 subtitle.remove (0, 1); |
678 |
678 |
679 // If this the parent document isn't already in s/, we need to stuff it into |
679 // If this the parent document isn't already in s/, we need to stuff it into |
680 // a subdirectory named s/. Ensure it exists! |
680 // a subdirectory named s/. Ensure it exists! |
681 str topdirname = basename (dirname (getCurrentDocument()->getFullPath())); |
681 str topdirname = basename (dirname (getCurrentDocument()->getFullPath())); |
682 dlog ("topdirname: %1", topdirname); |
|
683 |
682 |
684 if (topdirname != "s") |
683 if (topdirname != "s") |
685 { str desiredPath = subdirname + "/s"; |
684 { str desiredPath = subdirname + "/s"; |
686 str title = ForgeWindow::tr ("Create subfile directory?"); |
685 str title = ForgeWindow::tr ("Create subfile directory?"); |
687 str text = fmt (ForgeWindow::tr ("The directory <b>%1</b> is suggested for " |
686 str text = fmt (ForgeWindow::tr ("The directory <b>%1</b> is suggested for " |