Skip to content

Commit

Permalink
Fix prettier, add missing import and update locales from master
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienSvstr committed Dec 19, 2023
1 parent 44c65f6 commit d905a66
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions client/src/components/core/ms-modal/MsAlertModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export interface MsAlertModalConfig {

<script setup lang="ts">
import MsModal from '@/components/core/ms-modal/MsModal.vue';
import { modalController } from '@ionic/vue';
import { MsReportTheme } from '@/components/core/ms-types';
import { MsModalResult } from '@/components/core/ms-modal/types';
import { MsReportTheme } from '@/components/core/ms-types';
import { modalController } from '@ionic/vue';

defineProps<MsAlertModalConfig>();

Expand Down
8 changes: 6 additions & 2 deletions client/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,10 @@
"title": "{user} added",
"message": "{user} can now access to the organization."
},
"cancelConfirm": "Are you sure you want to cancel the process?",
"cancelConfirmSubtitle": "Information will not be saved, you will have to restart."
"cancelConfirm": "Cancel the onboarding",
"cancelConfirmSubtitle": "Are you sure you want to cancel the process? Information will not be saved, you will have to restart.",
"cancelYes": "Cancel the process",
"cancelNo": "Resume"
},
"invitation": {
"title": "An error occured",
Expand Down Expand Up @@ -1011,6 +1013,8 @@
"deviceName": "Device name",
"cancelConfirm": "Are you sure you want to cancel the process?",
"cancelConfirmSubtitle": "Information will not be saved, you will have to restart.",
"cancelYes": "Cancel the process",
"cancelNo": "Resume",
"successMessage": {
"title": "Device successfully created",
"message": "You can now access your organization from your new device."
Expand Down
10 changes: 7 additions & 3 deletions client/src/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@
},
"cancelConfirm": "Annulation",
"cancelConfirmSubtitle": "Êtes-vous sûr(e) de vouloir annuler le processus ? Les informations ne seront pas sauvegardées, vous devrez reprendre depuis le debut.",
"cancelYes": "Annuler le process",
"cancelYes": "Annuler le processus",
"cancelNo": "Continuer"
},
"UsersPage": {
Expand Down Expand Up @@ -874,8 +874,10 @@
"title": "L'utilisateur {user} a été ajouté(e) !",
"message": "{user} peut maintenant se connecter à l'organisation."
},
"cancelConfirm": "Êtes-vous sûr(e) de vouloir annuler le processus ?",
"cancelConfirmSubtitle": "Les informations ne seront pas sauvegardées, vous devrez reprendre depuis le debut."
"cancelConfirm": "Annulation",
"cancelConfirmSubtitle": "Êtes-vous sûr(e) de vouloir annuler le processus de création ? Les informations ne seront pas sauvegardées, vous devrez reprendre depuis le debut.",
"cancelYes": "Annuler le processus",
"cancelNo": "Continuer"
},
"invitation": {
"title": "Une erreur est survenue",
Expand Down Expand Up @@ -1011,6 +1013,8 @@
"deviceName": "Nom de l'appareil",
"cancelConfirm": "Êtes-vous sûr(e) de vouloir annuler le processus ?",
"cancelConfirmSubtitle": "Les informations ne seront pas sauvegardées, vous devrez reprendre depuis le debut.",
"cancelYes": "Annuler le processus",
"cancelNo": "Continuer",
"successMessage": {
"title": "L'appareil a bien été créé !",
"message": "Vous pouvez maintenant vous connecter à cette organisation depuis votre nouvel appareil."
Expand Down
3 changes: 2 additions & 1 deletion client/src/services/toastManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Parsec Cloud (https://parsec.cloud) Copyright (c) BUSL-1.1 2016-present Scille SAS

import { MsReportTheme } from '@/components/core';
import { information, checkmark, warning, closeCircle } from 'ionicons/icons';
import { toastController } from '@ionic/vue';
import { checkmark, closeCircle, information, warning } from 'ionicons/icons';
import { ComposerTranslation } from 'vue-i18n';

const DEFAULT_TOAST_DURATION = 3000;
Expand Down
2 changes: 1 addition & 1 deletion client/tests/e2e/support/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ declare global {
visitApp(template?: 'coolorg' | 'empty'): Chainable<string>;
dropTestbed(): Chainable<null>;
login(userName: string, password: string): Chainable<null>;
checkToastMessage(title: string, message:string): Chainable<null>;
checkToastMessage(title: string, message: string): Chainable<null>;
}
}
}
Expand Down

0 comments on commit d905a66

Please sign in to comment.