Skip to content

Commit eb9bd16

Browse files
committed
[MS] Update style2
1 parent 82d63a3 commit eb9bd16

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

client/src/components/files/operations/UploadStatus.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ import { IonIcon, IonText } from '@ionic/vue';
4141
import { checkmarkCircle, close, cloudUpload, lockClosed, reader, shieldCheckmark } from 'ionicons/icons';
4242
import { computed, onUnmounted, ref, watch } from 'vue';
4343
44-
const STEP_DURATION = 4000;
45-
const STEPS = [
44+
const UPLOAD_STEP_DURATION = 4000;
45+
const UPLOAD_STEPS = [
4646
{ icon: reader, label: 'FoldersPage.ImportFile.syncing.step1' },
4747
{ icon: lockClosed, label: 'FoldersPage.ImportFile.syncing.step2' },
4848
{ icon: shieldCheckmark, label: 'FoldersPage.ImportFile.syncing.step3' },
@@ -52,17 +52,17 @@ const STEPS = [
5252
const stepIndex = ref(0);
5353
let stepIntervalId: ReturnType<typeof setInterval> | null = null;
5454
55-
const currentStep = computed(() => STEPS[stepIndex.value]);
55+
const currentStep = computed(() => UPLOAD_STEPS[stepIndex.value]);
5656
5757
function startStepCycle(): void {
5858
stepIndex.value = 0;
5959
stepIntervalId = setInterval(() => {
60-
if (stepIndex.value === STEPS.length - 1) {
60+
if (stepIndex.value === UPLOAD_STEPS.length - 1) {
6161
stepIndex.value = 0;
6262
} else {
6363
stepIndex.value += 1;
6464
}
65-
}, STEP_DURATION);
65+
}, UPLOAD_STEP_DURATION);
6666
}
6767
6868
function stopStepCycle(): void {

client/src/locales/en-US.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,10 +1114,10 @@
11141114
},
11151115
"synced": "All files synchronized and secured",
11161116
"syncing": {
1117-
"step1": "Analyzing and verificating",
1118-
"step2": "Splitting and encrypting file",
1117+
"step1": "Analyzing and verifying",
1118+
"step2": "Splitting and encrypting",
11191119
"step3": "Securing all files and metadata",
1120-
"step4": "Synchronizing in the cloud"
1120+
"step4": "Synchronizing with the cloud"
11211121
},
11221122
"noTasks": "No tasks",
11231123
"noCurrentTasks": "No tasks in this category",

client/src/locales/fr-FR.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,8 @@
11151115
},
11161116
"synced": "Fichiers synchronisés et sécurisés",
11171117
"syncing": {
1118-
"step1": "Analyse et vérification des fichiers",
1119-
"step2": "Découpage et chiffrement des fichiers",
1118+
"step1": "Analyse et vérification",
1119+
"step2": "Découpage et chiffrement",
11201120
"step3": "Sécurisation des fichiers et de leurs métadonnées",
11211121
"step4": "Synchronisation avec le cloud"
11221122
},

0 commit comments

Comments
 (0)