From 5e45aca0874b219d1e2aac6bdd14e0cbf5efc10f Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Tue, 19 Apr 2022 10:42:02 +0200 Subject: [PATCH] =?UTF-8?q?deutsche=20=C3=9Cbersetzung=20angefangen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/de/srsoftware/widerhall/data/Database.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/srsoftware/widerhall/data/Database.java b/src/main/java/de/srsoftware/widerhall/data/Database.java index 5e7c89d..cfcfa2d 100644 --- a/src/main/java/de/srsoftware/widerhall/data/Database.java +++ b/src/main/java/de/srsoftware/widerhall/data/Database.java @@ -60,13 +60,13 @@ public class Database { * @throws SQLException */ public void run() throws SQLException { - LOG.debug("Running {}",this); + LOG.debug("Führe {} aus",this); try { var stmt = conn.prepareStatement(sql); for (int i = 0; i < args.size(); i++) stmt.setObject(i+1, args.get(i)); stmt.execute(); } catch (SQLException sqle) { - throw new SQLException(t("Query '{}' failed:",this),sqle); + throw new SQLException(t("Query '{}' fehlgeschlagen:",this),sqle); } } @@ -300,7 +300,7 @@ public class Database { Configuration config = Configuration.instance(); var dbFile = config.dbFile(); String url = "jdbc:sqlite:"+dbFile; - LOG.debug("Opening {}",url); + LOG.debug("Öffne {}",url); dbFile.getParentFile().mkdirs(); try { singleton = new Database(DriverManager.getConnection(url)); @@ -356,7 +356,7 @@ public class Database { rs.close(); return val > 0; } catch (SQLException e) { - throw new SQLException(t("Was not able to check existence of table {}!",tbName),e); + throw new SQLException(t("Konnte Existenz der Tabelle {} nicht prüfen!",tbName),e); } }