mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
corregida frase en traducci?n al castellano
corregida la validaci?n en el di?logo de renombrado de bibliotecas
This commit is contained in:
parent
6d9008d3ff
commit
47b6f47d82
@ -200,6 +200,7 @@ void LibraryWindow::doLayout()
|
||||
sVertical->addWidget(comicFlow);
|
||||
comics = new QWidget;
|
||||
QVBoxLayout * comicsLayout = new QVBoxLayout;
|
||||
comicsLayout->setSpacing(0);
|
||||
comicsLayout->setContentsMargins(2,2,0,0);
|
||||
comicsLayout->addWidget(editInfoToolBar = new QToolBar(comics));
|
||||
comicsLayout->addWidget(comicView);
|
||||
@ -507,11 +508,9 @@ void LibraryWindow::enableLibraryActions()
|
||||
void LibraryWindow::createToolBars()
|
||||
{
|
||||
libraryToolBar = addToolBar(tr("Library"));
|
||||
#ifndef Q_WS_MAC
|
||||
|
||||
libraryToolBar->setIconSize(QSize(32,32)); //TODO make icon size dynamic
|
||||
#else
|
||||
libraryToolBar->setIconSize(QSize(24,24));
|
||||
#endif
|
||||
|
||||
libraryToolBar->addAction(createLibraryAction);
|
||||
libraryToolBar->addAction(openLibraryAction);
|
||||
|
||||
|
@ -17,9 +17,10 @@ void RenameLibraryDialog::setupUI()
|
||||
newNameLabel = new QLabel(tr("New Library Name : "));
|
||||
newNameEdit = new QLineEdit;
|
||||
newNameLabel->setBuddy(newNameEdit);
|
||||
connect(newNameEdit,SIGNAL(textChanged(QString)),this,SLOT(nameSetted(QString)));
|
||||
|
||||
accept = new QPushButton(tr("Rename"));
|
||||
//accept->setDisabled(true);
|
||||
accept->setDisabled(true);
|
||||
connect(accept,SIGNAL(clicked()),this,SLOT(rename()));
|
||||
|
||||
cancel = new QPushButton(tr("Cancel"));
|
||||
@ -60,6 +61,14 @@ void RenameLibraryDialog::rename()
|
||||
close();
|
||||
}
|
||||
|
||||
void RenameLibraryDialog::nameSetted(const QString & text)
|
||||
{
|
||||
if(!text.isEmpty())
|
||||
accept->setEnabled(true);
|
||||
else
|
||||
accept->setEnabled(false);
|
||||
}
|
||||
|
||||
void RenameLibraryDialog::close()
|
||||
{
|
||||
newNameEdit->clear();
|
||||
|
@ -21,6 +21,7 @@
|
||||
public slots:
|
||||
void rename();
|
||||
void close();
|
||||
void nameSetted(const QString & name);
|
||||
signals:
|
||||
void renameLibrary(QString newName);
|
||||
};
|
||||
|
@ -948,7 +948,7 @@ Files won't be erased from disk.</source>
|
||||
<message>
|
||||
<location filename="rename_library_dialog.cpp" line="17"/>
|
||||
<source>New Library Name : </source>
|
||||
<translation>Nombre de la nueva biblioteca :</translation>
|
||||
<translation>Nuevo nombre de la biblioteca :</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="rename_library_dialog.cpp" line="21"/>
|
||||
@ -976,7 +976,7 @@ Files won't be erased from disk.</source>
|
||||
<message>
|
||||
<location filename="server_config_dialog.cpp" line="67"/>
|
||||
<source>EASY SERVER CONNECTION</source>
|
||||
<translation type="unfinished">CONEXIÓN AL SERVIDOR FÁCILMENTE</translation>
|
||||
<translation>CONEXIÓN AL SERVIDOR FÁCILMENTE</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="server_config_dialog.cpp" line="71"/>
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user