Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

fix(frontend:spaces): clarify and reorder file actions

johaven2811221e565d
diff --git a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
index 332bd4d1..72bfd711 100755
--- a/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
+++ b/frontend/src/app/applications/files/components/dialogs/files-trash-dialog.component.html
@@ -1,7 +1,7 @@
<div class="modal-header">
<h4 class="modal-title">
<svg [lucideIcon]="icons.LucideTrash2"></svg>
- <span l10nTranslate>Trash</span>
+ <span l10nTranslate>Remove</span>
@if (submitted) {
<svg [lucideIcon]="icons.LucideLoader" [class.icon-spin]="true" class="ms-2"></svg>
}
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
index f76e6ff3..b95fc52b 100644
--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html
+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html
@@ -153,11 +153,6 @@
@if (!hasDisabledItemsInSelection || selection.length === 1 && !isTrashRepo && !inSharesList || !isTrashRepo && canCompress) {
<li class="dropdown-divider"></li>
}
- <li role="menuitem">
- <a (click)="addToClipboard()" class="dropdown-item">
- <span l10nTranslate><svg [lucideIcon]="icons.LucideClipboardList"></svg>Clipboard</span>
- </a>
- </li>
@if (selection.length === 1 && !isTrashRepo && isElectronApp && selection[0].isDir) {
<li role="menuitem">
<a (click)="addToSync()" class="dropdown-item">
@@ -183,6 +178,11 @@
</a>
</li>
}
+ <li role="menuitem">
+ <a (click)="addToClipboard()" class="dropdown-item">
+ <span l10nTranslate><svg [lucideIcon]="icons.LucideClipboardList"></svg>Add to clipboard</span>
+ </a>
+ </li>
@if (!inSharesList) {
<li class="dropdown-divider"></li>
<li role="menuitem">
@@ -192,7 +192,7 @@
</a>
} @else {
<a (click)="openTrashDialog()" class="dropdown-item">
- <span l10nTranslate><svg [lucideIcon]="icons.TRASH" class="text-danger"></svg>Trash</span>
+ <span l10nTranslate><svg [lucideIcon]="icons.TRASH" class="text-danger"></svg>Remove</span>
</a>
}
</li>
@@ -632,9 +632,6 @@
@if (!hasDisabledItemsInSelection || selection.length === 1 && !isTrashRepo && !inSharesList || !isTrashRepo && canCompress || !isTrashRepo && (canShare.outside || inSharesList && selection[0]?.canBeReShared)) {
<ng-template [divider]="true" contextMenuItem></ng-template>
}
- <ng-template (execute)="addToClipboard()" contextMenuItem>
- <span l10nTranslate><svg [lucideIcon]="icons.LucideClipboardList"></svg>Clipboard</span>
- </ng-template>
@if (selection.length === 1 && !isTrashRepo && isElectronApp && selection[0].isDir) {
<ng-template (execute)="addToSync()" contextMenuItem>
<span l10nTranslate><svg [lucideIcon]="icons.SYNC"></svg>Synchronize</span>
@@ -654,11 +651,14 @@
}
</ng-template>
}
+ <ng-template (execute)="addToClipboard()" contextMenuItem>
+ <span l10nTranslate><svg [lucideIcon]="icons.LucideClipboardList"></svg>Add to clipboard</span>
+ </ng-template>
@if (!inSharesList) {
<ng-template [divider]="true" contextMenuItem></ng-template>
<ng-template (execute)="openTrashDialog(isTrashRepo)" contextMenuItem>
<span l10nTranslate><svg [lucideIcon]="isTrashRepo ? icons.LucideBan : icons.TRASH" class="text-danger"></svg>
- {{ isTrashRepo ? 'Remove' : 'Trash' }}</span>
+ Remove</span>
</ng-template>
}
</context-menu>
diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.json
index 9d718b4f..6b8e6fff 100644
--- a/frontend/src/i18n/de.json
+++ b/frontend/src/i18n/de.json
@@ -310,6 +310,7 @@
"Share outside": "Extern teilen",
"Remove": "Entfernen",
"Clipboard": "Zwischenablage",
+ "Add to clipboard": "Zur Zwischenablage hinzufügen",
"will be removed": "wird entfernt",
"Refresh": "Aktualisieren",
"Empty": "Leeren",
diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.json
index fe0a9b73..07cbb776 100644
--- a/frontend/src/i18n/es.json
+++ b/frontend/src/i18n/es.json
@@ -310,6 +310,7 @@
"Share outside": "Compartir externamente",
"Remove": "Eliminar",
"Clipboard": "Portapapeles",
+ "Add to clipboard": "Añadir al portapapeles",
"will be removed": "será eliminado",
"Refresh": "Actualizar",
"Empty": "Vaciar",
diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.json
index 2355a5c2..85843ed6 100644
--- a/frontend/src/i18n/fr.json
+++ b/frontend/src/i18n/fr.json
@@ -310,6 +310,7 @@
"Share outside": "Partager à l'extérieur",
"Remove": "Supprimer",
"Clipboard": "Presse-papiers",
+ "Add to clipboard": "Ajouter au presse-papiers",
"will be removed": "sera supprimé",
"Refresh": "Rafraîchir",
"Empty": "Vider",
diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.json
index bc3a5a82..4e240941 100644
--- a/frontend/src/i18n/hi.json
+++ b/frontend/src/i18n/hi.json
@@ -310,6 +310,7 @@
"Share outside": "बाह्य रूप से साझा करें",
"Remove": "हटाएँ",
"Clipboard": "क्लिपबोर्ड",
+ "Add to clipboard": "क्लिपबोर्ड में जोड़ें",
"will be removed": "हटा दिया जाएगा",
"Refresh": "रिफ्रेश करें",
"Empty": "खाली करें",
diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.json
index ac3047a0..b6b42c81 100644
--- a/frontend/src/i18n/it.json
+++ b/frontend/src/i18n/it.json
@@ -310,6 +310,7 @@
"Share outside": "Condividi esternamente",
"Remove": "Rimuovi",
"Clipboard": "Appunti",
+ "Add to clipboard": "Aggiungi agli appunti",
"will be removed": "verrà rimosso",
"Refresh": "Aggiorna",
"Empty": "Svuota",
diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.json
index 7b42a706..0ae6e1a9 100644
--- a/frontend/src/i18n/ja.json
+++ b/frontend/src/i18n/ja.json
@@ -310,6 +310,7 @@
"Share outside": "外部で共有",
"Remove": "削除",
"Clipboard": "クリップボード",
+ "Add to clipboard": "クリップボードに追加",
"will be removed": "削除されます",
"Refresh": "更新",
"Empty": "空にする",
diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.json
index d32d8d24..e9988c40 100644
--- a/frontend/src/i18n/ko.json
+++ b/frontend/src/i18n/ko.json
@@ -310,6 +310,7 @@
"Share outside": "외부 공유",
"Remove": "제거",
"Clipboard": "클립보드",
+ "Add to clipboard": "클립보드에 추가",
"will be removed": "삭제됩니다",
"Refresh": "새로 고침",
"Empty": "비우기",
diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.json
index 4fc29fb2..b12b2985 100644
--- a/frontend/src/i18n/nl.json
+++ b/frontend/src/i18n/nl.json
@@ -310,6 +310,7 @@
"Share outside": "Extern delen",
"Remove": "Verwijderen",
"Clipboard": "Klembord",
+ "Add to clipboard": "Toevoegen aan klembord",
"will be removed": "wordt verwijderd",
"Refresh": "Verversen",
"Empty": "Leegmaken",
diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.json
index c52f20c6..2f50d779 100644
--- a/frontend/src/i18n/pl.json
+++ b/frontend/src/i18n/pl.json
@@ -310,6 +310,7 @@
"Share outside": "Udostępnij na zewnątrz",
"Remove": "Usuń",
"Clipboard": "Schowek",
+ "Add to clipboard": "Dodaj do schowka",
"will be removed": "zostanie usunięty",
"Refresh": "Odśwież",
"Empty": "Opróżnij",
diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.json
index 4cf2d7c9..c8f7d4df 100644
--- a/frontend/src/i18n/pt-BR.json
+++ b/frontend/src/i18n/pt-BR.json
@@ -310,6 +310,7 @@
"Share outside": "Compartilhar externamente",
"Remove": "Remover",
"Clipboard": "Área de transferência",
+ "Add to clipboard": "Adicionar à área de transferência",
"will be removed": "será removido",
"Refresh": "Atualizar",
"Empty": "Esvaziar",
diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.json
index 689f10ab..38b7d82a 100644
--- a/frontend/src/i18n/pt.json
+++ b/frontend/src/i18n/pt.json
@@ -310,6 +310,7 @@
"Share outside": "Compartilhar externamente",
"Remove": "Remover",
"Clipboard": "Área de transferência",
+ "Add to clipboard": "Adicionar à área de transferência",
"will be removed": "será removido",
"Refresh": "Atualizar",
"Empty": "Esvaziar",
diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.json
index 4694a8f8..14b577d1 100644
--- a/frontend/src/i18n/ru.json
+++ b/frontend/src/i18n/ru.json
@@ -310,6 +310,7 @@
"Share outside": "Поделиться снаружи",
"Remove": "Удалить",
"Clipboard": "Буфер обмена",
+ "Add to clipboard": "Добавить в буфер обмена",
"will be removed": "будет удалено",
"Refresh": "Обновить",
"Empty": "Очистить",
diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.json
index 51d4b8bf..e8074b1a 100644
--- a/frontend/src/i18n/tr.json
+++ b/frontend/src/i18n/tr.json
@@ -310,6 +310,7 @@
"Share outside": "Dışarıda paylaş",
"Remove": "Kaldır",
"Clipboard": "Pano",
+ "Add to clipboard": "Panoya ekle",
"will be removed": "kaldırılacak",
"Refresh": "Yenile",
"Empty": "Boşalt",
diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.json
index c2724482..2d55197c 100644
--- a/frontend/src/i18n/zh.json
+++ b/frontend/src/i18n/zh.json
@@ -310,6 +310,7 @@
"Share outside": "外部共享",
"Remove": "移除",
"Clipboard": "剪贴板",
+ "Add to clipboard": "添加到剪贴板",
"will be removed": "将被删除",
"Refresh": "刷新",
"Empty": "清空",