opticore-webapp 1.0.36 → 1.0.38
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
|
@@ -209,6 +209,7 @@ var translateWebAppCoreLanguageLoader = (localLang) => {
|
|
|
209
209
|
const packagePath = import_path.default.dirname(require2.resolve("opticore-webapp"));
|
|
210
210
|
const translateMsgJsonFilePath = import_path.default.join(packagePath, "utils", "translations");
|
|
211
211
|
import_opticore_translator2.TranslationLoader.loadTranslations(translateMsgJsonFilePath);
|
|
212
|
+
console.log("trans : ", import_opticore_translator2.TranslationLoader.t("PostgresConnectionSuccess", localLang));
|
|
212
213
|
} catch (error) {
|
|
213
214
|
SLogger().error(
|
|
214
215
|
import_opticore_translator2.TranslationLoader.t(error.message, localLang),
|
package/dist/index.js
CHANGED
|
@@ -174,6 +174,7 @@ var translateWebAppCoreLanguageLoader = (localLang) => {
|
|
|
174
174
|
const packagePath = path.dirname(require2.resolve("opticore-webapp"));
|
|
175
175
|
const translateMsgJsonFilePath = path.join(packagePath, "utils", "translations");
|
|
176
176
|
TranslationLoader2.loadTranslations(translateMsgJsonFilePath);
|
|
177
|
+
console.log("trans : ", TranslationLoader2.t("PostgresConnectionSuccess", localLang));
|
|
177
178
|
} catch (error) {
|
|
178
179
|
SLogger().error(
|
|
179
180
|
TranslationLoader2.t(error.message, localLang),
|
|
@@ -92,5 +92,6 @@
|
|
|
92
92
|
"noProcessRunningOnPort": "Error: No process running on port {port}",
|
|
93
93
|
"noDefaultLocalLang": "A default local language is not define. Please define it into .env file at the key : DEFAULT_LOCAL_LANG",
|
|
94
94
|
"noLocalLang": "Local lang missing",
|
|
95
|
-
"localLangMissing": "DEFAULT_LOCAL_LANG missing"
|
|
95
|
+
"localLangMissing": "DEFAULT_LOCAL_LANG missing",
|
|
96
|
+
"ENOENT:NoSuchFileOrDir": "ENOENT:NoSuchFileOrDir"
|
|
96
97
|
}
|
|
@@ -92,5 +92,6 @@
|
|
|
92
92
|
"noProcessRunningOnPort": "Erreur : Aucun processus en cours sur le port {port}.",
|
|
93
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
94
|
"noLocalLang": "Langue local manquante",
|
|
95
|
-
"localLangMissing": "DEFAULT_LOCAL_LANG manquante"
|
|
95
|
+
"localLangMissing": "DEFAULT_LOCAL_LANG manquante",
|
|
96
|
+
"ENOENT:NoSuchFileOrDir": "ENOENT:NoSuchFileOrDir"
|
|
96
97
|
}
|