Improve the "functions signature" string

This commit is contained in:
JosJuice 2018-10-15 18:31:02 +02:00
parent 8d1e996f39
commit 4a07b9a0e1

View File

@ -1304,7 +1304,7 @@ void MenuBar::CreateSignatureFile()
this, tr("Input"), tr("Only export symbols with prefix:\n(Blank for all symbols)")); this, tr("Input"), tr("Only export symbols with prefix:\n(Blank for all symbols)"));
const QString file = QFileDialog::getSaveFileName( const QString file = QFileDialog::getSaveFileName(
this, tr("Save signature file"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)")); this, tr("Save signature file"), QDir::homePath(), tr("Function signature file (*.dsy)"));
if (file.isEmpty()) if (file.isEmpty())
return; return;
@ -1328,7 +1328,7 @@ void MenuBar::AppendSignatureFile()
this, tr("Input"), tr("Only append symbols with prefix:\n(Blank for all symbols)")); this, tr("Input"), tr("Only append symbols with prefix:\n(Blank for all symbols)"));
const QString file = QFileDialog::getSaveFileName( const QString file = QFileDialog::getSaveFileName(
this, tr("Append signature to"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)")); this, tr("Append signature to"), QDir::homePath(), tr("Function signature file (*.dsy)"));
if (file.isEmpty()) if (file.isEmpty())
return; return;
@ -1351,7 +1351,7 @@ void MenuBar::AppendSignatureFile()
void MenuBar::ApplySignatureFile() void MenuBar::ApplySignatureFile()
{ {
const QString file = QFileDialog::getOpenFileName( const QString file = QFileDialog::getOpenFileName(
this, tr("Apply signature file"), QDir::homePath(), tr("Functions signature *.dsy(*.dsy)")); this, tr("Apply signature file"), QDir::homePath(), tr("Function signature file (*.dsy)"));
if (file.isEmpty()) if (file.isEmpty())
return; return;
@ -1369,19 +1369,19 @@ void MenuBar::CombineSignatureFiles()
{ {
const QString priorityFile = const QString priorityFile =
QFileDialog::getOpenFileName(this, tr("Choose priority input file"), QDir::homePath(), QFileDialog::getOpenFileName(this, tr("Choose priority input file"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)")); tr("Function signature file (*.dsy)"));
if (priorityFile.isEmpty()) if (priorityFile.isEmpty())
return; return;
const QString secondaryFile = const QString secondaryFile =
QFileDialog::getOpenFileName(this, tr("Choose secondary input file"), QDir::homePath(), QFileDialog::getOpenFileName(this, tr("Choose secondary input file"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)")); tr("Function signature file (*.dsy)"));
if (secondaryFile.isEmpty()) if (secondaryFile.isEmpty())
return; return;
const QString saveFile = const QString saveFile =
QFileDialog::getSaveFileName(this, tr("Save combined output file as"), QDir::homePath(), QFileDialog::getSaveFileName(this, tr("Save combined output file as"), QDir::homePath(),
tr("Functions signature *.dsy(*.dsy)")); tr("Function signature file (*.dsy)"));
if (saveFile.isEmpty()) if (saveFile.isEmpty())
return; return;