mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-25 16:58:04 +02:00
2019-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed typos in UI strings in rdlogmanager(1)'s 'Pick Report Dates' dialog.
This commit is contained in:
parent
ac59b52ad0
commit
349efba0b5
@ -19325,3 +19325,6 @@
|
||||
2019-12-10 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in rdadmin(1) that caused controls to be
|
||||
hidden in the 'Edit Report' dialog.
|
||||
2019-12-10 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed typos in UI strings in rdlogmanager(1)'s 'Pick Report Dates'
|
||||
dialog.
|
||||
|
@ -166,7 +166,7 @@ void PickReportDates::selectEndDateData()
|
||||
void PickReportDates::generateData()
|
||||
{
|
||||
if(edit_startdate_edit->date()>edit_enddate_edit->date()) {
|
||||
QMessageBox::warning(this,tr("Invalid Date Range"),
|
||||
QMessageBox::warning(this,"RDLogManager - "+tr("Invalid Date Range"),
|
||||
tr("The end date cannot be earlier than the start date!"));
|
||||
return;
|
||||
}
|
||||
@ -174,14 +174,14 @@ void PickReportDates::generateData()
|
||||
new RDReport(edit_report_box->currentText(),rda->station(),rda->config(),this);
|
||||
if((edit_startdate_edit->date()!=edit_enddate_edit->date())&&
|
||||
(!RDReport::multipleDaysAllowed(report->filter()))) {
|
||||
QMessageBox::warning(this,tr("Invalid Date Range"),
|
||||
QMessageBox::warning(this,"RDLogManager - "+tr("Invalid Date Range"),
|
||||
tr("This report type cannot span multiple dates!"));
|
||||
delete report;
|
||||
return;
|
||||
}
|
||||
if((edit_startdate_edit->date().month()!=edit_enddate_edit->date().month())&&
|
||||
(!RDReport::multipleMonthsAllowed(report->filter()))) {
|
||||
QMessageBox::warning(this,tr("Invalid Date Range"),
|
||||
QMessageBox::warning(this,"RDLogManager - "+tr("Invalid Date Range"),
|
||||
tr("This report type cannot span multiple months!"));
|
||||
delete report;
|
||||
return;
|
||||
@ -192,8 +192,8 @@ void PickReportDates::generateData()
|
||||
edit_svcname);
|
||||
QFile file(filename);
|
||||
if(file.exists()) {
|
||||
if(QMessageBox::question(this,"File Exists",
|
||||
"The report file already exists. Overwrite?",
|
||||
if(QMessageBox::question(this,"RDLogManager - "+tr("File Exists"),
|
||||
tr("The report file already exists. Overwrite?"),
|
||||
QMessageBox::Yes,QMessageBox::No)!=
|
||||
QMessageBox::Yes) {
|
||||
delete report;
|
||||
@ -204,19 +204,20 @@ void PickReportDates::generateData()
|
||||
report->generateReport(edit_startdate_edit->date(),
|
||||
edit_enddate_edit->date(),rda->station(),&out_path);
|
||||
switch(report->errorCode()) {
|
||||
case RDReport::ErrorOk:
|
||||
QMessageBox::information(this,tr("Report Complete"),
|
||||
tr("Report generated in")+" \""+out_path+
|
||||
"\".");
|
||||
break;
|
||||
case RDReport::ErrorOk:
|
||||
QMessageBox::information(this,"RDLogManager - "+tr("Report Complete"),
|
||||
tr("Report generated in")+" \""+out_path+
|
||||
"\".");
|
||||
break;
|
||||
|
||||
case RDReport::ErrorCantOpen:
|
||||
QMessageBox::warning(this,"File Error","Unable to open report file at"+
|
||||
QString("\"")+out_path+"\"!");
|
||||
break;
|
||||
case RDReport::ErrorCantOpen:
|
||||
QMessageBox::warning(this,"RDLogManager - "+tr("File Error"),
|
||||
tr("Unable to open report file at")+
|
||||
QString("\"")+out_path+"\"!");
|
||||
break;
|
||||
|
||||
case RDReport::ErrorCanceled:
|
||||
break;
|
||||
case RDReport::ErrorCanceled:
|
||||
break;
|
||||
}
|
||||
delete report;
|
||||
}
|
||||
|
@ -1507,6 +1507,22 @@ zprávu</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1497,6 +1497,22 @@ Report</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1510,6 +1510,22 @@ Reporte</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1324,6 +1324,22 @@ Report</source>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1500,6 +1500,22 @@ rapport</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1500,6 +1500,22 @@ rapport</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
@ -1501,6 +1501,22 @@ Relatório</translation>
|
||||
<source>Report generated in</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Exists</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>File Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unable to open report file at</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The report file already exists. Overwrite?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>RenameItem</name>
|
||||
|
Loading…
x
Reference in New Issue
Block a user