Fix style consistency and translation problems with "Delete record" label

In 5fbf5ca1b2 the label of the "Delete
Record" was inadvertently changed to "Delete record". The label is reverted
to the old style for consistency and for restoring coherence of the
translations.

The new Polish translation is changed accordingly.

See issue #1480.
This commit is contained in:
mgrojo
2018-07-20 19:11:44 +02:00
parent d50a27ab6e
commit 01bf059270
2 changed files with 4 additions and 4 deletions

View File

@@ -3140,7 +3140,7 @@ void MainWindow::updateInsertDeleteRecordButton()
ui->buttonDeleteRecord->setEnabled(isEditable && rows != 0);
if(rows > 1)
ui->buttonDeleteRecord->setText(tr("Delete records"));
ui->buttonDeleteRecord->setText(tr("Delete Records"));
else
ui->buttonDeleteRecord->setText(tr("Delete record"));
ui->buttonDeleteRecord->setText(tr("Delete Record"));
}

View File

@@ -3294,12 +3294,12 @@ Create a backup!</source>
</message>
<message>
<location filename="../MainWindow.cpp" line="3053"/>
<source>Delete records</source>
<source>Delete Records</source>
<translation>Usuń rekordy</translation>
</message>
<message>
<location filename="../MainWindow.cpp" line="3055"/>
<source>Delete record</source>
<source>Delete Record</source>
<translation>Usuń rekord</translation>
</message>
</context>