diff --git a/RedPandaIDE/RedPandaIDE_pt.ts b/RedPandaIDE/RedPandaIDE_pt.ts index b06a83d6..0be2138a 100644 --- a/RedPandaIDE/RedPandaIDE_pt.ts +++ b/RedPandaIDE/RedPandaIDE_pt.ts @@ -4763,6 +4763,14 @@ Linker + + Add Library Files + + + + Library Files + + ProjectCompiler diff --git a/RedPandaIDE/RedPandaIDE_zh_CN.ts b/RedPandaIDE/RedPandaIDE_zh_CN.ts index fdf34611..899e25f6 100644 --- a/RedPandaIDE/RedPandaIDE_zh_CN.ts +++ b/RedPandaIDE/RedPandaIDE_zh_CN.ts @@ -6500,6 +6500,18 @@ Are you really want to continue? Linker 链接器 + + + + Add Library Files + 添加库文件 + + + + + Library Files + 库文件 + ProjectCompiler @@ -8631,12 +8643,12 @@ Are you really want to continue? SynEditStringList - + Can't open file '%1' for read! 无法读取文件'%1'! - + Can't open file '%1' for save! 无法写入文件'%2'! diff --git a/RedPandaIDE/RedPandaIDE_zh_TW.ts b/RedPandaIDE/RedPandaIDE_zh_TW.ts index 0000b4eb..75cca408 100644 --- a/RedPandaIDE/RedPandaIDE_zh_TW.ts +++ b/RedPandaIDE/RedPandaIDE_zh_TW.ts @@ -4763,6 +4763,14 @@ Linker + + Add Library Files + + + + Library Files + + ProjectCompiler diff --git a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.cpp b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.cpp index 4a6dfda3..859bc105 100644 --- a/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.cpp +++ b/RedPandaIDE/settingsdialog/projectcompileparamaterswidget.cpp @@ -52,14 +52,15 @@ void ProjectCompileParamatersWidget::doSave() void ProjectCompileParamatersWidget::on_btnChooseLib_clicked() { #ifdef Q_OS_WIN - QString filter = tr("Library Files (*.a *.lib)"); + QString filter = tr("Library Files")+" (*.a *.lib *.o)"; #else - QString filter = tr("Library Files (*.a)"); + QString filter = tr("Library Files")+" (*.a *.o)"; #endif QStringList files = QFileDialog::getOpenFileNames( this, tr("Add Library Files"), + QDir::currentPath(), filter ); if (!files.isEmpty()) {