diff --git a/components/FormMolecule.vue b/components/FormMolecule.vue
index ab767fb..68ed187 100644
--- a/components/FormMolecule.vue
+++ b/components/FormMolecule.vue
@@ -385,7 +385,7 @@ function modify() {
@@ -418,7 +418,7 @@ function modify() {
@@ -458,7 +458,7 @@ function modify() {
diff --git a/lang/en-US.ts b/lang/en-US.ts
index f38b646..b117c5b 100644
--- a/lang/en-US.ts
+++ b/lang/en-US.ts
@@ -3,12 +3,15 @@
//
// SPDX-License-Identifier: MIT
+import { addMolecule } from "~/server/api/molecule/functions";
+
export default {
button:{
addcompound: "Add reference",
addfitting: "Add fitting",
addmachine: "Add machine",
addview_show_calib_curve: "Add calibration curve",
+ addview_tab_molecule: "Add molecule",
archive: "Archive",
cancel: "Cancel",
close: "Close",
@@ -51,11 +54,14 @@ export default {
header:{
action: "Actions",
area: "Area",
+ concentration: "Concentration",
date_achieve: "Archived",
date_create: "Created ",
description: "Description",
- concentration: "Concentration",
+ equivalent: "Equivalent",
+ formula: "Formula",
lot: "Séries number",
+ mass: "Mass",
metabolite: "Metabolite",
m_type: "Type",
name: "Name",
@@ -98,9 +104,11 @@ export default {
daughterFile: "Add daughter solution",
description: "description",
email: "Email",
+ formula: "Formula",
files: "Files",
logout: "Logout",
m_type: "type",
+ mass: "Mass",
nameCalibCurve: "Calibration curve's name",
nbFile: "File's number",
noFile: "No file",
@@ -108,8 +116,10 @@ export default {
password: "Password",
profile: "Profile",
project: "Project",
+ search: "Enter the molecule",
selectCompound: "Select reference",
selectMachine: "Select machine",
+ synonym: "Enter the synonym",
tabFileName:"Name",
tabSize:"Size (kB)",
tabType:"Type",
@@ -170,13 +180,19 @@ export default {
},
title:{
addCalibCurve: "Add a calibration curve",
+ addMolecule: "Add a molecule",
compoundName:"Reference name",
confirmBox: "Confirmation",
daughter:"Daughter solution",
+ equivalent: "Equivalent",
machine:"Machine",
modifyCalibCurve: "Modify calibration curve",
+ modifyMolecule: "Modify molecule",
+ molecule: "Molecule",
mother:"Mother solution",
projectName: "Projet name",
+ synonyms: "Synonyms",
viewCalibCurve: "View calibration curve",
+ viewMolecule: "View molecule",
}
};
\ No newline at end of file
diff --git a/lang/fr-FR.ts b/lang/fr-FR.ts
index d390c06..5e1783c 100644
--- a/lang/fr-FR.ts
+++ b/lang/fr-FR.ts
@@ -9,6 +9,7 @@ export default {
addfitting: "Ajout d'un ajustement",
addmachine: "Ajout d'une machine",
addview_show_calib_curve: "Ajouter une gamme",
+ addview_tab_molecule: "Ajouter une molécule",
archive: "Archiver",
cancel: "Annuler",
close: "Fermer",
@@ -51,11 +52,14 @@ export default {
header:{
action: "Actions",
area: "Aire",
+ concentration: "Concentration",
date_achieve: "Archivé le",
date_create: "Créé le ",
description: "Description",
- concentration: "Concentration",
+ equivalent: "Équivalence",
+ formula: "Formule",
lot: "N° lot",
+ mass: "Masse",
metabolite: "Métabolite",
name: "Nom",
name_compound: "Témoin",
@@ -97,8 +101,10 @@ export default {
description: "description",
email: "E-mail",
files: "Fichiers",
+ formula: "Formule",
logout: "Déconnexion",
m_type: "type",
+ mass: "Masse",
nameCalibCurve: "Nom de la gamme",
nbFile: "Nb de fichiers",
noFile: "Pas de fichier",
@@ -106,8 +112,10 @@ export default {
password: "Mot de passe",
profile: "Profile",
project: "Projet",
+ search: "Entrer la molécule",
selectCompound: "Selectionner le témoin",
selectMachine: "Selectionner la machine",
+ synonym: "Entrer le synonyme",
tabFileName: "Nom",
tabSize: "Taille (kO)",
tabType: "Type",
@@ -168,14 +176,20 @@ export default {
},
title: {
addCalibCurve: "Ajout d'une gamme",
+ addMolecule: "Ajout d'une molécule",
compoundName:"Nom du témoin",
confirmBox: "Confirmation",
daughter:"Solution fille",
+ equivalent: "Équivalences",
machine:"Machine",
modifyCalibCurve: "Modifier la gamme",
+ modifyMolecule: "Modifier la molécule",
+ molecule: "Molécule",
mother:"Solution mère",
projectName: "Nom du projet",
- viewCalibCurve: "Détails de la gamme"
+ synonyms: "Synonymes",
+ viewCalibCurve: "Détails de la gamme",
+ viewMolecule: "Détails de la molécule",
}
};
diff --git a/test/server/molecule.test.ts b/test/server/molecule.test.ts
index 13beb2b..0c5c062 100644
--- a/test/server/molecule.test.ts
+++ b/test/server/molecule.test.ts
@@ -6,7 +6,6 @@ import * as mol from "~/server/api/molecule/functions";
import { expect, test, describe, vi, type Mock } from 'vitest';
import { config } from '@vue/test-utils';
import { queryDatabase } from "~/server/api/function/database";
-import eslintConfig from "~/eslint.config.mjs";
// Mock queryDatabase