Skip to content

Commit

Permalink
fix: add translation for 'opening file'
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoTuxx committed Nov 19, 2024
1 parent 94248b9 commit c8fd09e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion client/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@
"date": "Preview date:"
},
"fileViewers": {
"openWithDefault": "Open with default application"
"openWithDefault": "Open with default application",
"openingFile": "Opening file..."
}
}
3 changes: 2 additions & 1 deletion client/src/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,7 @@
"date": "Date de prévisualisation :"
},
"fileViewers": {
"openWithDefault": "Ouvrir avec l'application par défaut"
"openWithDefault": "Ouvrir avec l'application par défaut",
"openingFile": "Ouverture du fichier..."
}
}
2 changes: 1 addition & 1 deletion client/src/views/files/FoldersPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ async function openEntries(entries: EntryModel[]): Promise<void> {
return;
}

const modal = await openSpinnerModal('OPENING FILE');
const modal = await openSpinnerModal('fileViewers.openingFile');
const contentType = await detectFileContentType(workspaceHandle, entry.path);

try {
Expand Down
2 changes: 1 addition & 1 deletion client/src/views/workspaces/WorkspaceHistoryPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ async function onEntryClicked(entry: WorkspaceHistoryEntryModel): Promise<void>
return;
}

const modal = await openSpinnerModal('OPENING FILE');
const modal = await openSpinnerModal('fileViewers.openingFile');
const contentType = await detectFileContentType(workspaceInfo.value.handle, entry.path, DateTime.fromJSDate(selectedDateTime.value));

try {
Expand Down

0 comments on commit c8fd09e

Please sign in to comment.