Merge pull request #12963 from JosJuice/i18n-2024-07-28

i18n: Add comments and improve source strings
This commit is contained in:
Tilka
2024-08-07 03:28:01 +01:00
committed by GitHub
15 changed files with 84 additions and 79 deletions

View File

@ -213,8 +213,7 @@ void FilesystemWidget::PopulateDirectory(int partition_id, QStandardItem* root,
QString FilesystemWidget::SelectFolder()
{
return DolphinFileDialog::getExistingDirectory(this,
QObject::tr("Choose the folder to extract to"));
return DolphinFileDialog::getExistingDirectory(this, QObject::tr("Choose Folder to Extract To"));
}
void FilesystemWidget::ShowContextMenu(const QPoint&)
@ -300,7 +299,7 @@ void FilesystemWidget::ShowContextMenu(const QPoint&)
case EntryType::File:
menu->addAction(tr("Extract File..."), this, [this, partition, path] {
auto dest =
DolphinFileDialog::getSaveFileName(this, tr("Save File to"), QFileInfo(path).fileName());
DolphinFileDialog::getSaveFileName(this, tr("Save File To"), QFileInfo(path).fileName());
if (!dest.isEmpty())
ExtractFile(partition, path, dest);