Ver código fonte

Fix error message on batch insert failure

Neal Wilson 8 anos atrás
pai
commit
04b148aece
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      config/Windows/newbatch.xml

+ 1
- 1
config/Windows/newbatch.xml Ver arquivo

592
                 query2.bind(":approval", approval.checked);
592
                 query2.bind(":approval", approval.checked);
593
                 query2.exec();
593
                 query2.exec();
594
                 if(!query2.next()) {
594
                 if(!query2.next()) {
595
-                    displayError(TTR("batchWindow", "Failed to save batch to database. Please check inputs and connection and try again."));
595
+                    displayError(TTR("batchWindow", "Database Insert Failed"), TTR("batchWindow", "Failed to save batch to database. Please check inputs and connection and try again."));
596
                     query2 = query2.invalidate();
596
                     query2 = query2.invalidate();
597
                     query = query.invalidate();
597
                     query = query.invalidate();
598
                     return;
598
                     return;

Carregando…
Cancelar
Salvar