opticore-webapp 1.0.35 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -43,12 +43,10 @@ var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
43
43
  // src/core/webServer.core.ts
44
44
  var path3 = __toESM(require("path"), 1);
45
45
  var import_node_process3 = __toESM(require("process"), 1);
46
- var import_module2 = require("module");
47
46
  var import_cors = __toESM(require("cors"), 1);
48
47
  var import_opticore_catch_exception_error4 = require("opticore-catch-exception-error");
49
48
  var import_opticore_express2 = require("opticore-express");
50
49
  var import_opticore_env_access4 = require("opticore-env-access");
51
- var import_opticore_translator4 = require("opticore-translator");
52
50
 
53
51
  // src/core/handlers/eventProcess.handler.ts
54
52
  var import_node_process = __toESM(require("process"), 1);
@@ -211,6 +209,7 @@ var translateWebAppCoreLanguageLoader = (localLang) => {
211
209
  const packagePath = import_path.default.dirname(require2.resolve("opticore-webapp"));
212
210
  const translateMsgJsonFilePath = import_path.default.join(packagePath, "utils", "translations");
213
211
  import_opticore_translator2.TranslationLoader.loadTranslations(translateMsgJsonFilePath);
212
+ console.log("trans : ", import_opticore_translator2.TranslationLoader.t("PostgresConnectionSuccess", localLang));
214
213
  } catch (error) {
215
214
  SLogger().error(
216
215
  import_opticore_translator2.TranslationLoader.t(error.message, localLang),
@@ -327,7 +326,7 @@ var CoreService = class {
327
326
  */
328
327
  getServerRunningMode(development, production) {
329
328
  this.getEnvFileLoading(".env");
330
- const isDevelopment = import_node_process2.default.env.NODE_ENV === "development";
329
+ const isDevelopment = import_node_process2.default.env.ENV_DEV === development;
331
330
  if (isDevelopment) {
332
331
  return `${import_opticore_translator3.TranslationLoader.t("serverRunning", this.localLanguage)} ${import_ansi_colors3.default.bgBlue(`${import_ansi_colors3.default.bold(`${development}`)}`)} mode`;
333
332
  } else {
@@ -420,6 +419,7 @@ var SDependenciesContainer = (dependenciesProvider) => {
420
419
 
421
420
  // src/core/webServer.core.ts
422
421
  var import_opticore_http_response4 = require("opticore-http-response");
422
+ var import_opticore_translator4 = require("opticore-translator");
423
423
  var WebServerCore = class {
424
424
  serverUtility;
425
425
  expressApp = (0, import_opticore_express2.express)();
@@ -429,13 +429,9 @@ var WebServerCore = class {
429
429
  getEnvironnement;
430
430
  environnementPath;
431
431
  serverListenEvent;
432
- javaScriptErrors;
433
- internalErrors;
434
- assertionErrors;
435
- openSSLErrors;
436
- systemErrors;
437
432
  constructor(app, loggerConfig2, localLanguage, environnementPath, corsOriginOptions) {
438
- this.translationWebAppLoader();
433
+ translateWebAppCoreLanguageLoader(localLanguage);
434
+ this.stackTraceErrorHandling(localLanguage);
439
435
  this.getEnvironnement = (0, import_opticore_env_access4.getEnvironnementValue)(environnementPath);
440
436
  this.routerExpressApp = app;
441
437
  this.loggerConfig = loggerConfig2;
@@ -447,13 +443,7 @@ var WebServerCore = class {
447
443
  this.expressApp.use(import_opticore_express2.express.urlencoded({ extended: true }));
448
444
  this.expressApp.use((0, import_cors.default)(corsOriginOptions));
449
445
  this.serverListenEvent = new import_opticore_catch_exception_error4.ServerListenEventError(localLanguage);
450
- this.javaScriptErrors = new import_opticore_catch_exception_error4.JavaScriptErrors(localLanguage);
451
- this.assertionErrors = new import_opticore_catch_exception_error4.AssertionErrors(localLanguage);
452
- this.internalErrors = new import_opticore_catch_exception_error4.InternalErrors(localLanguage);
453
- this.openSSLErrors = new import_opticore_catch_exception_error4.OpenSSLErrors(localLanguage);
454
- this.systemErrors = new import_opticore_catch_exception_error4.SystemErrors(localLanguage);
455
446
  this.serverUtility = new CoreService(localLanguage, environnementPath);
456
- this.stackTraceErrorHandling(localLanguage);
457
447
  }
458
448
  onStartServer(routers, dbConnexion, dependenciesProvider) {
459
449
  if (this.getEnvironnement.appHost === "" && Number(this.getEnvironnement.appPort) === 0) {
@@ -464,9 +454,9 @@ var WebServerCore = class {
464
454
  this.serverListenEvent.portUndefined();
465
455
  } else if (this.localLanguage === "") {
466
456
  SLogger().error(
467
- "A default local language is not define. Please define it into .env file at the key : DEFAULT_LOCAL_LANG",
468
- "Local lang missing",
469
- "DEFAULT_LOCAL_LANG missing",
457
+ import_opticore_translator4.TranslationLoader.t("noDefaultLocalLang", this.localLanguage),
458
+ import_opticore_translator4.TranslationLoader.t("noLocalLang", this.localLanguage),
459
+ import_opticore_translator4.TranslationLoader.t("localLangMissing", this.localLanguage),
470
460
  void 0,
471
461
  import_opticore_http_response4.HttpStatusCode.NOT_FOUND
472
462
  );
@@ -510,21 +500,6 @@ var WebServerCore = class {
510
500
  );
511
501
  });
512
502
  }
513
- translationWebAppLoader() {
514
- try {
515
- const require2 = (0, import_module2.createRequire)(importMetaUrl);
516
- const packagePath = path3.dirname(require2.resolve("opticore-webapp"));
517
- const translateMsgJsonFilePath = path3.join(packagePath, "utils", "translations");
518
- import_opticore_translator4.TranslationLoader.loadTranslations(translateMsgJsonFilePath);
519
- } catch (error) {
520
- SLogger().error(
521
- import_opticore_translator4.TranslationLoader.t(error.message, this.localLanguage),
522
- import_opticore_translator4.TranslationLoader.t("", this.localLanguage),
523
- void 0,
524
- import_opticore_http_response4.HttpStatusCode.NOT_FOUND
525
- );
526
- }
527
- }
528
503
  registerRoutes(allFeatureRoutes) {
529
504
  allFeatureRoutes.map((router) => {
530
505
  router.featureRoute.map((route) => {
package/dist/index.d.cts CHANGED
@@ -22,16 +22,10 @@ declare class WebServerCore {
22
22
  private readonly getEnvironnement;
23
23
  private readonly environnementPath;
24
24
  private serverListenEvent;
25
- private readonly javaScriptErrors;
26
- private readonly internalErrors;
27
- private assertionErrors;
28
- private readonly openSSLErrors;
29
- private readonly systemErrors;
30
25
  constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
31
26
  onStartServer(routers: TFeatureRoutes[], dbConnexion: (envPath: any, optionalArgumentConnection?: string | any) => void, dependenciesProvider?: TDependency[]): any;
32
27
  onListeningOnServerEvent(serverWeb: Server): void;
33
28
  onRequestOnServerEvent(serverWeb: Server): void;
34
- private translationWebAppLoader;
35
29
  private registerRoutes;
36
30
  private stackTraceErrorHandling;
37
31
  private infoWebApp;
package/dist/index.d.ts CHANGED
@@ -22,16 +22,10 @@ declare class WebServerCore {
22
22
  private readonly getEnvironnement;
23
23
  private readonly environnementPath;
24
24
  private serverListenEvent;
25
- private readonly javaScriptErrors;
26
- private readonly internalErrors;
27
- private assertionErrors;
28
- private readonly openSSLErrors;
29
- private readonly systemErrors;
30
25
  constructor(app: express.Application, loggerConfig: LoggerCore, localLanguage: string, environnementPath: any, corsOriginOptions?: Partial<CorsOptions>);
31
26
  onStartServer(routers: TFeatureRoutes[], dbConnexion: (envPath: any, optionalArgumentConnection?: string | any) => void, dependenciesProvider?: TDependency[]): any;
32
27
  onListeningOnServerEvent(serverWeb: Server): void;
33
28
  onRequestOnServerEvent(serverWeb: Server): void;
34
- private translationWebAppLoader;
35
29
  private registerRoutes;
36
30
  private stackTraceErrorHandling;
37
31
  private infoWebApp;
package/dist/index.js CHANGED
@@ -1,20 +1,13 @@
1
1
  // src/core/webServer.core.ts
2
2
  import * as path3 from "path";
3
3
  import process5 from "node:process";
4
- import { createRequire as createRequire2 } from "module";
5
4
  import corsOrigin from "cors";
6
5
  import {
7
6
  CEventNameError as eventName2,
8
- ServerListenEventError as ServerListenEventError2,
9
- JavaScriptErrors,
10
- InternalErrors,
11
- AssertionErrors,
12
- OpenSSLErrors,
13
- SystemErrors
7
+ ServerListenEventError as ServerListenEventError2
14
8
  } from "opticore-catch-exception-error";
15
9
  import { express as express2 } from "opticore-express";
16
10
  import { getEnvironnementValue as getEnvironnementValue4 } from "opticore-env-access";
17
- import { TranslationLoader as TranslationLoader4 } from "opticore-translator";
18
11
 
19
12
  // src/core/handlers/eventProcess.handler.ts
20
13
  import process2 from "node:process";
@@ -181,6 +174,7 @@ var translateWebAppCoreLanguageLoader = (localLang) => {
181
174
  const packagePath = path.dirname(require2.resolve("opticore-webapp"));
182
175
  const translateMsgJsonFilePath = path.join(packagePath, "utils", "translations");
183
176
  TranslationLoader2.loadTranslations(translateMsgJsonFilePath);
177
+ console.log("trans : ", TranslationLoader2.t("PostgresConnectionSuccess", localLang));
184
178
  } catch (error) {
185
179
  SLogger().error(
186
180
  TranslationLoader2.t(error.message, localLang),
@@ -297,7 +291,7 @@ var CoreService = class {
297
291
  */
298
292
  getServerRunningMode(development, production) {
299
293
  this.getEnvFileLoading(".env");
300
- const isDevelopment = process3.env.NODE_ENV === "development";
294
+ const isDevelopment = process3.env.ENV_DEV === development;
301
295
  if (isDevelopment) {
302
296
  return `${TranslationLoader3.t("serverRunning", this.localLanguage)} ${colors3.bgBlue(`${colors3.bold(`${development}`)}`)} mode`;
303
297
  } else {
@@ -393,6 +387,7 @@ var SDependenciesContainer = (dependenciesProvider) => {
393
387
 
394
388
  // src/core/webServer.core.ts
395
389
  import { HttpStatusCode as HttpStatusCode3 } from "opticore-http-response";
390
+ import { TranslationLoader as TranslationLoader4 } from "opticore-translator";
396
391
  var WebServerCore = class {
397
392
  serverUtility;
398
393
  expressApp = express2();
@@ -402,13 +397,9 @@ var WebServerCore = class {
402
397
  getEnvironnement;
403
398
  environnementPath;
404
399
  serverListenEvent;
405
- javaScriptErrors;
406
- internalErrors;
407
- assertionErrors;
408
- openSSLErrors;
409
- systemErrors;
410
400
  constructor(app, loggerConfig2, localLanguage, environnementPath, corsOriginOptions) {
411
- this.translationWebAppLoader();
401
+ translateWebAppCoreLanguageLoader(localLanguage);
402
+ this.stackTraceErrorHandling(localLanguage);
412
403
  this.getEnvironnement = getEnvironnementValue4(environnementPath);
413
404
  this.routerExpressApp = app;
414
405
  this.loggerConfig = loggerConfig2;
@@ -420,13 +411,7 @@ var WebServerCore = class {
420
411
  this.expressApp.use(express2.urlencoded({ extended: true }));
421
412
  this.expressApp.use(corsOrigin(corsOriginOptions));
422
413
  this.serverListenEvent = new ServerListenEventError2(localLanguage);
423
- this.javaScriptErrors = new JavaScriptErrors(localLanguage);
424
- this.assertionErrors = new AssertionErrors(localLanguage);
425
- this.internalErrors = new InternalErrors(localLanguage);
426
- this.openSSLErrors = new OpenSSLErrors(localLanguage);
427
- this.systemErrors = new SystemErrors(localLanguage);
428
414
  this.serverUtility = new CoreService(localLanguage, environnementPath);
429
- this.stackTraceErrorHandling(localLanguage);
430
415
  }
431
416
  onStartServer(routers, dbConnexion, dependenciesProvider) {
432
417
  if (this.getEnvironnement.appHost === "" && Number(this.getEnvironnement.appPort) === 0) {
@@ -437,9 +422,9 @@ var WebServerCore = class {
437
422
  this.serverListenEvent.portUndefined();
438
423
  } else if (this.localLanguage === "") {
439
424
  SLogger().error(
440
- "A default local language is not define. Please define it into .env file at the key : DEFAULT_LOCAL_LANG",
441
- "Local lang missing",
442
- "DEFAULT_LOCAL_LANG missing",
425
+ TranslationLoader4.t("noDefaultLocalLang", this.localLanguage),
426
+ TranslationLoader4.t("noLocalLang", this.localLanguage),
427
+ TranslationLoader4.t("localLangMissing", this.localLanguage),
443
428
  void 0,
444
429
  HttpStatusCode3.NOT_FOUND
445
430
  );
@@ -483,21 +468,6 @@ var WebServerCore = class {
483
468
  );
484
469
  });
485
470
  }
486
- translationWebAppLoader() {
487
- try {
488
- const require2 = createRequire2(import.meta.url);
489
- const packagePath = path3.dirname(require2.resolve("opticore-webapp"));
490
- const translateMsgJsonFilePath = path3.join(packagePath, "utils", "translations");
491
- TranslationLoader4.loadTranslations(translateMsgJsonFilePath);
492
- } catch (error) {
493
- SLogger().error(
494
- TranslationLoader4.t(error.message, this.localLanguage),
495
- TranslationLoader4.t("", this.localLanguage),
496
- void 0,
497
- HttpStatusCode3.NOT_FOUND
498
- );
499
- }
500
- }
501
471
  registerRoutes(allFeatureRoutes) {
502
472
  allFeatureRoutes.map((router) => {
503
473
  router.featureRoute.map((route) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticore-webapp",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "wep server",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1,96 +0,0 @@
1
- {
2
- "serverRunning": "The server is running in",
3
- "webServerListening": "[OK] Web server listening",
4
- "webServerUsingNodeVersion": "The Web server is using Node.js version",
5
- "startTime": "Startup time:",
6
- "runningModeDev": "development",
7
- "runningModeProd": "production",
8
- "totalMemoryAllocated": "Resident Set Size - total memory allocated for the process execution",
9
- "sizeAllocatedHeap": "Total size of the allocated heap",
10
- "memoryUsedExecution": "Actual memory used during the execution",
11
- "externalMemory":"V8 external memory",
12
- "memoryUsageUser": "Memory usage user",
13
- "memoryUsageSystem": "Memory usage system",
14
- "dbConnection": "DataBase connection",
15
- "dbConnectionClosed": "MySQL connection is closed",
16
- "mysqlErrorCon": "MysqlError connection",
17
- "mySQLError": "MysqlError",
18
- "mySqlCloseConnection": "MySql close connection",
19
- "verifyExistingKey": "Verify Existing Key",
20
- "invalidRequest": "Invalid request",
21
- "tokenNotProvided": "No token provided.",
22
- "ExpiresToken": "Expires Token. You're not authorize",
23
- "privateKeyNotExist": "A private key doesn't exist.",
24
- "publicKeyNotExist": "A public key doesn't exist.",
25
- "errorNamePublicKeyNotExist": "No public key",
26
- "errorAuthorPublicKeyNotExist": "PublicKey not existing",
27
- "errorDecryption": "Error decryption with private key",
28
- "rsaKeyNotFound": "RSA key provided is not found.",
29
- "notVerifyingRSAKey": "Not verify RSA Key",
30
- "errorNameNotVerifyingRSAKey": "Error Verify RSA Key",
31
- "errorEncryptionPublicKey": "Error encryption with public key",
32
- "errorEncryptionPrivateKey": "Error encryption with private key",
33
- "errorNameRsaVerifyExistingKey": "Verify existing key",
34
- "signatureRSAKeyFailed": "Signature verification failed.",
35
- "encryptionWithPrivateKeyFailed": "Encryption With PrivateKey",
36
- "encryptionFailed": "Encryption failed",
37
- "decryptionWithPublicKeyFailed": "Decryption With PublicKey",
38
- "decryptionFailed": "Decryption failed",
39
- "verifyRSAKey": "Verify RSA Keys",
40
- "verifyRSAKeyFailed": "Verify RSA Keys Failed",
41
- "notVerifying": "Verification failed",
42
- "signatureRSAKeysError": "Signature RSA Keys Error",
43
- "encryptionWithPublicKey": "Encryption error",
44
- "errorDecryptionWithPrivateKey": "Error Decryption With PrivateKey",
45
- "verifyPublicRSAKey": "Verify Public RSA Key",
46
- "PostgresDBConnectionChecker": "PostgresDB Connection Checker",
47
- "PostgresConnection": "connection",
48
- "MongoDBConnectionChecker": "MongoDB Connection Checker",
49
- "MongoConnection": "connection",
50
- "mongoDBAuthentication": "authentication",
51
- "mongoDBConnection": "MongoDB connection",
52
- "mongoDBAuthenticationFailed": "failed",
53
- "mongoDBUnableParsingUrl": "unable to parse",
54
- "mongoDBConnectionUrl": "url",
55
- "mongoDBServerSelection": "MongoServer selection error",
56
- "mongoDBServer": "MongoServer",
57
- "mongoDBConnectionError": "connection error",
58
- "mongoDBError": "error",
59
- "loadedModules": "Loading core modules",
60
- "kernel": "Kernel",
61
- "loadKernel": "load kernel",
62
- "moduleAppLoaded": "Modules app have been successfully loaded",
63
- "content": "content",
64
- "serverSide": "server side",
65
- "hasBeenLoadedSuccessfully": "has been loaded successfully",
66
- "routerService": "Routers service",
67
- "registerRoutes": "Register routes",
68
- "fail": "fail",
69
- "loading": "loading",
70
- "routers": "routers",
71
- "registerLoadingFailed": "The route register failed to load",
72
- "dbConnChecker": "database checker connection",
73
- "loadedModulesError": "Required core modules are not loaded properly",
74
- "dbConnexionSuccess": "The database connection was successful 🚀",
75
- "mongoConnectionSuccess": "Connection to database is successfully.",
76
- "PostgresConnectionSuccess": "Connection to database is successfully.",
77
- "verifyExistingKeyError": "The provided key is not found",
78
- "webServer": "Web server",
79
- "listening": "listening",
80
- "webHost": "host",
81
- "badHost": "bad host",
82
- "hostNotFound": "not found",
83
- "errorHostUrl": "The host and port are not define, please define them in .env",
84
- "badPort": "bad port",
85
- "errorPort": "The port is not correct. Please define a right port with number port.",
86
- "errorHost": "The host can't be empty or blank. Please define a string host in .env",
87
- "accessDeniedToDBCon": "Access denied for user {user}. Database credentials in .env file are User: {user} and Password: {password}. {user}''{password}'@'localhost'. Try to set user and password in .env file",
88
- "unknownDB": "Database {database} is unknown. Please try to use Database CLI to create your database, or do it manually in your Database Management System",
89
- "errorDBHost": "A database host {host} does not allow connection. Please either set the host like this: {localhost} in your .env file",
90
- "serverPortKill": "Server which started on port {port} has been stopped successfully.",
91
- "pidOnPortNotFound": "No process found on port {port}.",
92
- "noProcessRunningOnPort": "Error: No process running on port {port}",
93
- "noDefaultLocalLang": "A default local language is not define. Please define it into .env file at the key : DEFAULT_LOCAL_LANG",
94
- "noLocalLang": "Local lang missing",
95
- "localLangMissing": "DEFAULT_LOCAL_LANG missing"
96
- }
@@ -1,96 +0,0 @@
1
- {
2
- "serverRunning": "Le serveur est en cours d'exécution en",
3
- "webServerListening": "[OK] Le serveur web écoute",
4
- "webServerUsingNodeVersion": "Le serveur Web utilise la version Node.js",
5
- "startTime": "Temps de démarrage :",
6
- "runningModeDev": "développement",
7
- "runningModeProd": "production",
8
- "totalMemoryAllocated": "Taille de l'ensemble résident - mémoire totale allouée à l'exécution du processus",
9
- "sizeAllocatedHeap": "Taille totale du segment alloué",
10
- "memoryUsedExecution": "Mémoire réelle utilisée lors de l'exécution",
11
- "externalMemory":"Mémoire externe V8",
12
- "memoryUsageUser": "Utilisation de la mémoire par l'utilisateur",
13
- "memoryUsageSystem": "Système d'usage de la mémoire",
14
- "dbConnection": "Connexion à la base de données",
15
- "dbConnectionClosed": "La connexion MySQL est fermée",
16
- "mysqlErrorCon": "MysqlError connection",
17
- "mySQLError": "MysqlError",
18
- "mySqlCloseConnection": "Connexion MySql fermée",
19
- "verifyExistingKey": "Vérifier la clé existante",
20
- "invalidRequest": "Demande invalide",
21
- "tokenNotProvided": "Aucun jeton fourni.",
22
- "ExpiresToken": "Jeton expiré. Vous n'êtes pas autorisé",
23
- "privateKeyNotExist": "Il n'existe pas de clé privée.",
24
- "publicKeyNotExist": "Il n'existe pas de clé public.",
25
- "errorNamePublicKeyNotExist": "Aucune clé public.",
26
- "errorAuthorPublicKeyNotExist": "Clé publique inexistante",
27
- "errorDecryption": "Erreur de décryptage avec la clé privée",
28
- "rsaKeyNotFound": "La clé RSA fournie n'est pas trouvée.",
29
- "notVerifyingRSAKey": "Pas de vérification de la clé RSA",
30
- "errorNameNotVerifyingRSAKey": "Erreur lors de la vérification de la clé RSA",
31
- "errorEncryptionPublicKey": "Erreur de chiffrement avec la clé publique",
32
- "errorEncryptionPrivateKey": "Erreur de chiffrement avec la clé privée",
33
- "errorNameRsaVerifyExistingKey": "Vérification de la clé existante",
34
- "signatureRSAKeyFailed": "La vérification de la signature a échoué.",
35
- "encryptionWithPrivateKeyFailed": "Chiffrement avec clé privée",
36
- "encryptionFailed": "Le cryptage a échoué",
37
- "decryptionWithPublicKeyFailed": "Décryptage avec la clé publique",
38
- "decryptionFailed": "Le décryptage a échoué",
39
- "verifyRSAKey": "Vérification des clés RSA",
40
- "verifyRSAKeyFailed": "Échec de la vérification des clés RSA",
41
- "notVerifying": "La vérification a échoué",
42
- "signatureRSAKeysError": "Erreur de clé de signature RSA",
43
- "encryptionWithPublicKey": "Erreur de cryptage",
44
- "errorDecryptionWithPrivateKey": "Erreur de décryptage avec la clé privée",
45
- "verifyPublicRSAKey": "Vérifier la clé publique RSA",
46
- "PostgresDBConnectionChecker": "Vérificateur de la connexion a la base de donnée Postgres",
47
- "PostgresConnection": "connection",
48
- "MongoDBConnectionChecker": "Vérificateur de la connexion a la base de donnée connexion MongoDB",
49
- "MongoConnection": "connection",
50
- "mongoDBAuthentication": "authentication",
51
- "mongoDBConnection": "Connexion à la base de données Mongo",
52
- "mongoDBAuthenticationFailed": "échoué",
53
- "mongoDBUnableParsingUrl": "impossible d'analyser",
54
- "mongoDBConnectionUrl": "url",
55
- "mongoDBServerSelection": "Erreur de sélection du serveur Mongo",
56
- "mongoDBServer": "Serveur Mongo",
57
- "mongoDBConnectionError": "Erreur de connection",
58
- "mongoDBError": "erreur",
59
- "loadedModules": "Chargement des modules de base",
60
- "kernel": "Noyau",
61
- "loadKernel": "charger le kernel",
62
- "moduleAppLoaded": "Les modules de l'application ont été chargés avec succès",
63
- "content": "contenu",
64
- "serverSide": "côté serveur",
65
- "hasBeenLoadedSuccessfully": "a été chargé avec succès",
66
- "routerService": "Service de routeurs",
67
- "registerRoutes": "Registre des routes",
68
- "fail": "échec",
69
- "loading": "Chargement",
70
- "routers": "routes",
71
- "registerLoadingFailed": "Le registre des routes n'a pas pu être chargé",
72
- "dbConnChecker": "vérificateur a la connexion de base de données",
73
- "loadedModulesError": "Les modules de base requis ne sont pas chargés correctement",
74
- "dbConnexionSuccess": "La connexion à la base de données a réussi 🚀",
75
- "mongoConnectionSuccess": "La connexion à la base de données est réussie.",
76
- "PostgresConnectionSuccess": "La connexion à la base de données est réussie.",
77
- "verifyExistingKeyError": "La clé fournie est introuvable",
78
- "webServer": "Serveur Web",
79
- "listening": "écoute",
80
- "webHost": "hôte",
81
- "badHost": "mauvais hôte",
82
- "hostNotFound": "introuvable",
83
- "errorHostUrl": "L'hôte et le port ne sont pas définis, veuillez les définir dans .env",
84
- "badPort": "mauvais port",
85
- "errorPort": "Le port est incorrect. Veuillez définir un port correct avec le numéro port.",
86
- "errorHost": "L'hôte ne peut être vide. Veuillez définir une chaîne d'hôte dans .env.",
87
- "accessDeniedToDBCon": "Accès refusé pour l'utilisateur {user}. Les identifiants de la base de données dans le fichier .env sont : utilisateur : {user} et le mot de passe : {password}. {user}''{password}'@'localhost'. Essayez de définir l'utilisateur et le mot de passe dans le fichier .env",
88
- "unknownDB": "La base de données {database} est inconnue. Veuillez utiliser l'interface de ligne de commande de la base de données pour la créer, ou le faire manuellement dans votre système de gestion de bases de données.",
89
- "errorDBHost": "L'hôte de la base de données {host} n'autorise pas la connexion. Veuillez définir l'hôte comme suit : {localhost} dans votre fichier .env",
90
- "serverPortKill": "Serveur qui a démarré sur le port {port} a été arrêté avec succès.",
91
- "pidOnPortNotFound": "Aucun processus trouvé sur le port {port}.",
92
- "noProcessRunningOnPort": "Erreur : Aucun processus en cours sur le port {port}.",
93
- "noDefaultLocalLang": "La langue locale par défaut n'est pas définie. Veuillez le définir dans le fichier .env a la clé: DEFAULT_LOCAL_LANG",
94
- "noLocalLang": "Langue local manquante",
95
- "localLangMissing": "DEFAULT_LOCAL_LANG manquante"
96
- }