Use sentence case whenever possible

This commit is contained in:
Girish Ramakrishnan
2025-11-12 18:42:24 +01:00
parent ce15958a9a
commit 39c68075fb
15 changed files with 306 additions and 291 deletions
+9 -6
View File
@@ -109,9 +109,10 @@ async function onNewFile() {
message: t('filemanager.newFileDialog.title'),
value: '',
required: true,
confirmStyle: 'success',
confirmStyle: 'primary',
confirmLabel: t('filemanager.newFileDialog.create'),
rejectLabel: t('main.dialog.cancel'),
rejectStyle: 'secondary'
});
if (!newFileName) return;
@@ -125,9 +126,10 @@ async function onNewFolder() {
message: t('filemanager.newDirectoryDialog.title'),
value: '',
required: true,
confirmStyle: 'success',
confirmStyle: 'primary',
confirmLabel: t('filemanager.newFileDialog.create'),
rejectLabel: t('main.dialog.cancel'),
rejectStyle: 'secondary'
});
if (!newFolderName) return;
@@ -239,8 +241,9 @@ async function deleteHandler(files) {
const confirmed = await inputDialog.value.confirm({
message: t('filemanager.removeDialog.reallyDelete'),
confirmStyle: 'danger',
confirmLabel: t('main.dialog.yes'),
rejectLabel: t('main.dialog.no'),
confirmLabel: t('main.dialog.delete'),
rejectLabel: t('main.dialog.cancel'),
rejectStyle: 'secondary'
});
if (!confirmed) return;
@@ -370,8 +373,8 @@ async function onRestartApp() {
const confirmed = await inputDialog.value.confirm({
message: t('filemanager.toolbar.restartApp') + '?',
confirmStyle: 'primary',
confirmLabel: t('main.dialog.yes'),
rejectLabel: t('main.dialog.no'),
confirmLabel: t('app.repair.recovery.restartAction'),
rejectLabel: t('main.dialog.cancel'),
rejectStyle: 'secondary',
});