2023-06-01 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug that would cause 'failed to load translation file'
	warnings to be sent to the Apache error log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-06-01 15:48:34 -04:00
parent ef6165184e
commit 210bb8bca7
59 changed files with 105 additions and 65 deletions

View File

@@ -2,7 +2,7 @@
//
// A Library import filter for the Prophet NexGen system
//
// (C) Copyright 2012-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2012-2023 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -62,7 +62,8 @@ MainObject::MainObject(QObject *parent)
//
// Open the Database
//
rda=static_cast<RDApplication *>(new RDCoreApplication("nexgen_filter","nexgen_filter",NEXGEN_FILTER_USAGE,this));
rda=static_cast<RDApplication *>(new RDCoreApplication("nexgen_filter",
"nexgen_filter",NEXGEN_FILTER_USAGE,false,this));
if(!rda->open(&err_msg,NULL,false)) {
fprintf(stderr,"nexgen_filter: %s\n",err_msg.toUtf8().constData());
exit(1);

View File

@@ -2,7 +2,7 @@
//
// A Library import filter for the Airforce Wings system
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -50,7 +50,8 @@ MainObject::MainObject(QObject *parent)
//
// Open the Database
//
rda=static_cast<RDApplication *>(new RDCoreApplication("wings_filter","wings_filter",WINGS_FILTER_USAGE,this));
rda=static_cast<RDApplication *>(new RDCoreApplication("wings_filter",
"wings_filter",WINGS_FILTER_USAGE,false,this));
if(!rda->open(&err_msg,NULL,false)) {
fprintf(stderr,"wings_filter: %s\n",err_msg.toUtf8().constData());
exit(1);