Add some help to the new file dialog on how to create files in specific folders

This commit is contained in:
Kovid Goyal 2014-01-20 08:45:51 +05:30
parent 5a02780254
commit faa969859b

View File

@ -681,7 +681,9 @@ class NewFileDialog(QDialog): # {{{
self.l = l = QVBoxLayout() self.l = l = QVBoxLayout()
self.setLayout(l) self.setLayout(l)
self.la = la = QLabel(_( self.la = la = QLabel(_(
'Choose a name for the new (blank) file')) 'Choose a name for the new (blank) file. To place the file in a'
' specific folder in the book, include the folder name, for example: <i>text/chapter1.html'))
la.setWordWrap(True)
self.setWindowTitle(_('Choose file')) self.setWindowTitle(_('Choose file'))
l.addWidget(la) l.addWidget(la)
self.name = n = QLineEdit(self) self.name = n = QLineEdit(self)