Merge pull request #3501 from JSuenram/master

Translation updates. Small mySQL-Fix (only tested against mysQL 8.0.26)
This commit is contained in:
Ylian Saint-Hilaire 2022-01-21 09:16:13 -08:00 committed by GitHub
commit aa153558f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

4
db.js
View File

@ -665,13 +665,13 @@ module.exports.CreateDB = function (parent, func) {
} else if (parent.args.mysql) {
// Use MySQL
obj.databaseType = 5;
var tempDatastore = require('mysql').createConnection(connectionObject);
var tempDatastore = require('mysql').createPool(connectionObject);
tempDatastore.query('CREATE DATABASE IF NOT EXISTS ' + dbname, function (error) {
if (error != null) {
console.log('Auto-create database failed: ' + error);
}
connectionObject.database = dbname;
Datastore = require('mysql').createConnection(connectionObject);
Datastore = require('mysql').createPool(connectionObject);
createTablesIfNotExist(dbname);
});
setTimeout(function () { tempDatastore.end(); }, 2000);

View File

@ -748,7 +748,7 @@
},
{
"cs": "(Žádný)",
"de": "(Keiner)",
"de": "(keiner)",
"en": "(None)",
"es": "(Ninguno)",
"fi": "(Ei mitään)",
@ -1081,6 +1081,7 @@
]
},
{
"de": ", täglich wiederkehrend",
"en": ", Reccuring daily",
"pl": ", Powtarzaj codziennie",
"xloc": [
@ -1089,6 +1090,7 @@
]
},
{
"de": ", wöchentlich wiederkehrend",
"en": ", Reccuring weekly",
"pl": ", Powtarzaj co tydzień",
"xloc": [