Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
feat(frontend:files): redesign the display mode selector
johavend0643c6a4e48
diff --git a/frontend/src/app/applications/links/components/links.component.html b/frontend/src/app/applications/links/components/links.component.htmlindex 12f945e5..740ac2fb 100644--- a/frontend/src/app/applications/links/components/links.component.html+++ b/frontend/src/app/applications/links/components/links.component.html@@ -33,10 +33,7 @@</div><!--End Filter Button--><!--Start View Button-->- <app-navigation-view [sortParams]="sortTable.sortParam"- [sortFields]="btnSortFields"- (sortBy)="sortBy($event)"- (switchView)="galleryMode = $event">+ <app-navigation-view (switchView)="galleryMode = $event"></app-navigation-view><!--End View Button--></div>diff --git a/frontend/src/app/applications/links/components/links.component.ts b/frontend/src/app/applications/links/components/links.component.tsindex 0766c1e2..a16a21bd 100644--- a/frontend/src/app/applications/links/components/links.component.ts+++ b/frontend/src/app/applications/links/components/links.component.ts@@ -138,7 +138,6 @@ export class LinksComponent implements OnInit {sortable: true}}- protected btnSortFields = { name: 'Name', link: 'Link', accessed: 'Accessed' }private readonly activatedRoute = inject(ActivatedRoute)private readonly store = inject(StoreService)private readonly linksService = inject(LinksService)diff --git a/frontend/src/app/applications/shares/components/shared.component.html b/frontend/src/app/applications/shares/components/shared.component.htmlindex f972aee8..5f09936d 100644--- a/frontend/src/app/applications/shares/components/shared.component.html+++ b/frontend/src/app/applications/shares/components/shared.component.html@@ -40,10 +40,7 @@</div><!--End Filter Button--><!--Start View Button-->- <app-navigation-view [sortParams]="sortTable.sortParam"- [sortFields]="btnSortFields"- (sortBy)="sortBy($event)"- (switchView)="galleryMode = $event">+ <app-navigation-view (switchView)="galleryMode = $event"></app-navigation-view><!--End View Button--></div>diff --git a/frontend/src/app/applications/shares/components/shared.component.ts b/frontend/src/app/applications/shares/components/shared.component.tsindex 7b64a402..0a856676 100644--- a/frontend/src/app/applications/shares/components/shared.component.ts+++ b/frontend/src/app/applications/shares/components/shared.component.ts@@ -130,7 +130,6 @@ export class SharedComponent implements OnInit {sortable: true}}- protected btnSortFields = { name: 'Name', created: 'Created' }private readonly activatedRoute = inject(ActivatedRoute)private readonly store = inject(StoreService)private readonly sharesService = inject(SharesService)diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.html b/frontend/src/app/applications/spaces/components/spaces-browser.component.htmlindex cdccd2f1..67b4393d 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.html+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.html@@ -196,10 +196,7 @@</div><!--End Filter Button--><!--Start View Button-->- <app-navigation-view [sortParams]="sortTable.sortParam"- [sortFields]="btnSortFields"- (sortBy)="sortBy($event)"- (switchView)="switchView($event)">+ <app-navigation-view (switchView)="switchView($event)"></app-navigation-view><!--End View Button--></div>diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.tsindex be71a3bf..dd2a6297 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts@@ -229,7 +229,6 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroysortable: true}}- protected btnSortFields = { name: 'Name', isDir: 'Type', size: 'Size', mtime: 'Modified' }protected galleryMode: ViewMode// Dataprotected files: FileModel[] = []diff --git a/frontend/src/app/applications/spaces/components/spaces.component.html b/frontend/src/app/applications/spaces/components/spaces.component.htmlindex 40be569a..1b05a134 100644--- a/frontend/src/app/applications/spaces/components/spaces.component.html+++ b/frontend/src/app/applications/spaces/components/spaces.component.html@@ -42,10 +42,7 @@</div><!--End Filter Button--><!--Start View Button-->- <app-navigation-view [sortParams]="sortTable.sortParam"- [sortFields]="btnSortFields"- (sortBy)="sortBy($event)"- (switchView)="galleryMode = $event">+ <app-navigation-view (switchView)="galleryMode = $event"></app-navigation-view><!--End View Button--></div>diff --git a/frontend/src/app/applications/spaces/components/spaces.component.ts b/frontend/src/app/applications/spaces/components/spaces.component.tsindex 832526cf..f08b0a67 100644--- a/frontend/src/app/applications/spaces/components/spaces.component.ts+++ b/frontend/src/app/applications/spaces/components/spaces.component.ts@@ -133,7 +133,6 @@ export class SpacesComponent implements OnInit {sortable: true}}- protected btnSortFields = { name: 'Name', managers: 'Managers', permissions: 'Permissions', modified: 'Modified' }protected loading = falseprotected spaces: SpaceModel[] = []protected selected: SpaceModel = nulldiff --git a/frontend/src/app/applications/spaces/components/trash.component.html b/frontend/src/app/applications/spaces/components/trash.component.htmlindex 7f0a4378..9761639d 100644--- a/frontend/src/app/applications/spaces/components/trash.component.html+++ b/frontend/src/app/applications/spaces/components/trash.component.html@@ -13,10 +13,7 @@</div><!--End Filter Button--><!--Start View Button-->- <app-navigation-view [sortParams]="sortTable.sortParam"- [sortFields]="btnSortFields"- (sortBy)="sortBy($event)"- (switchView)="galleryMode = $event">+ <app-navigation-view (switchView)="galleryMode = $event"></app-navigation-view><!--End View Button--></div>diff --git a/frontend/src/app/applications/spaces/components/trash.component.ts b/frontend/src/app/applications/spaces/components/trash.component.tsindex ff74934a..5a25c979 100644--- a/frontend/src/app/applications/spaces/components/trash.component.ts+++ b/frontend/src/app/applications/spaces/components/trash.component.ts@@ -82,7 +82,6 @@ export class TrashComponent implements OnInit {sortable: true}}- protected btnSortFields = { name: 'Name', nb: 'Elements', mtime: 'Modified' }private readonly router = inject(Router)private readonly store = inject(StoreService)private readonly spacesService = inject(SpacesService)diff --git a/frontend/src/app/common/components/navigation-view/navigation-view.component.html b/frontend/src/app/common/components/navigation-view/navigation-view.component.htmlindex 413711a1..f3cc0c39 100644--- a/frontend/src/app/common/components/navigation-view/navigation-view.component.html+++ b/frontend/src/app/common/components/navigation-view/navigation-view.component.html@@ -1,28 +1,43 @@-<div class="btn-group" dropdown>- <button class="btn btn-default dropdown-toggle" dropdownToggle type="button">- <fa-icon [icon]="icons.faSliders"></fa-icon>+<div [insideClick]="true" class="btn-group" dropdown>+ <button aria-label="Display" class="btn btn-default dropdown-toggle" dropdownToggle type="button">+ <fa-icon [icon]="galleryModeEnabled ? icons.faTableCellsLarge : icons.faThList"></fa-icon></button>- <ul *dropdownMenu class="dropdown-menu dropdown-menu-right" role="menu">+ <ul *dropdownMenu class="dropdown-menu dropdown-menu-right navigation-view-menu"><li class="dropdown-header text-bold" l10nTranslate>Display</li>- @for (view of viewsMode | keyvalue: originalOrderKeyValue; track view.key) {- <li role="menuitem">- <a (click)="setView(view.key)" class="dropdown-item">- <span><fa-icon [icon]="view.value.icon"></fa-icon>- {{ view.value.text }}</span>- </a>- </li>- }- <li class="dropdown-header text-bold mt-1" l10nTranslate>Sort by</li>- @for (field of sortFields | keyvalue: originalOrderKeyValue; track field.key) {- <li role="menuitem">- <a (click)="sortBy.emit(field.key)" class="dropdown-item">- <span class="me-2" l10nTranslate>- {{ field.value }}- @if (sortParams.column === field.key) {- <fa-icon [icon]="sortParams.asc ? icons.faArrowDown : icons.faArrowUp" size="xs" class="ms-1"></fa-icon>+ <li class="px-1">+ <div aria-label="Display mode" class="navigation-view-mode-selector" role="group">+ <button (click)="setView('tl')"+ [attr.aria-pressed]="!galleryModeEnabled"+ [class.active]="!galleryModeEnabled"+ class="dropdown-item navigation-view-option"+ type="button">+ <fa-icon [icon]="icons.faThList"></fa-icon>+ <span l10nTranslate>List</span>+ </button>+ <button (click)="selectGalleryMode()"+ [attr.aria-pressed]="galleryModeEnabled"+ [class.active]="galleryModeEnabled"+ class="dropdown-item navigation-view-option"+ type="button">+ <fa-icon [icon]="icons.faTableCellsLarge"></fa-icon>+ <span l10nTranslate>Gallery</span>+ </button>+ </div>+ </li>+ @if (galleryModeEnabled) {+ <li class="dropdown-header text-bold mt-1" l10nTranslate>Size</li>+ <li class="px-1">+ <div aria-label="Gallery size" class="navigation-view-size-selector" role="group">+ @for (view of galleryViewOptions; track view.key) {+ <button (click)="setView(view.key)"+ [attr.aria-pressed]="viewMode === view.key"+ [class.active]="viewMode === view.key"+ class="dropdown-item navigation-view-size-option"+ type="button">+ {{ view.label }}+ </button>}- </span>- </a>+ </div></li>}</ul>diff --git a/frontend/src/app/common/components/navigation-view/navigation-view.component.scss b/frontend/src/app/common/components/navigation-view/navigation-view.component.scssnew file mode 100644index 00000000..68c6fe4c--- /dev/null+++ b/frontend/src/app/common/components/navigation-view/navigation-view.component.scss@@ -0,0 +1,44 @@+.navigation-view-menu {+ min-width: 12.5rem !important;+}++.navigation-view-mode-selector,+.navigation-view-size-selector {+ display: grid;+ gap: .25rem;+}++.navigation-view-mode-selector {+ grid-template-columns: repeat(2, minmax(0, 1fr));+}++.navigation-view-option,+.navigation-view-size-option {+ display: flex;+ align-items: center;+ justify-content: center;+ min-width: 0;+ margin: 0;++ &:focus-visible {+ outline: 2px solid var(--bs-primary);+ outline-offset: -2px;+ }+}++.navigation-view-option {+ gap: .4rem;+ padding: .4rem .5rem;++ fa-icon {+ font-size: .875rem;+ }+}++.navigation-view-size-selector {+ grid-template-columns: repeat(5, minmax(0, 1fr));+}++.navigation-view-size-option {+ padding: .35rem .15rem;+}diff --git a/frontend/src/app/common/components/navigation-view/navigation-view.component.ts b/frontend/src/app/common/components/navigation-view/navigation-view.component.tsindex 22107444..e8576668 100644--- a/frontend/src/app/common/components/navigation-view/navigation-view.component.ts+++ b/frontend/src/app/common/components/navigation-view/navigation-view.component.ts@@ -1,17 +1,15 @@-import { KeyValuePipe } from '@angular/common'-import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output } from '@angular/core'+import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core'import { FaIconComponent } from '@fortawesome/angular-fontawesome'-import { IconDefinition } from '@fortawesome/fontawesome-svg-core'-import { faArrowDown, faArrowUp, faSliders, faTh, faThLarge, faThList } from '@fortawesome/free-solid-svg-icons'+import { faTableCellsLarge, faThList } from '@fortawesome/free-solid-svg-icons'import { L10nTranslateDirective } from 'angular-l10n'import { BsDropdownModule } from 'ngx-bootstrap/dropdown'-import { LayoutService } from '../../../layout/layout.service'-import { originalOrderKeyValue } from '../../utils/functions'++const DEFAULT_GALLERY_VIEW_MODE = 'thM'+const GALLERY_VIEW_MODE_STORAGE_KEY = 'galleryViewMode'+const VIEW_MODE_STORAGE_KEY = 'viewMode'export interface ViewMode {enabled: boolean- text: string- icon: IconDefinitiondimensions?: numbermaxBadges?: numberimage?: number@@ -21,58 +19,76 @@ export interface ViewMode {margins?: number}+const GALLERY_VIEW_OPTIONS = [+ { key: 'th', label: 'S' },+ { key: 'thM', label: 'M' },+ { key: 'thL', label: 'L' },+ { key: 'thXl', label: 'XL' },+ { key: 'thXxl', label: 'XXL' }+] as const++const VIEW_MODES: Record<string, ViewMode> = {+ tl: { enabled: false },+ th: { enabled: true, maxBadges: 0, dimensions: 96, image: 56, imageRes: 128, faSize: 30, textSize: 12, margins: 18 },+ thM: { enabled: true, maxBadges: 1, dimensions: 112, image: 72, imageRes: 192, faSize: 34, textSize: 12, margins: 18 },+ thL: { enabled: true, maxBadges: 2, dimensions: 152, image: 112, imageRes: 256, faSize: 50, textSize: 13, margins: 18 },+ thXl: { enabled: true, maxBadges: 6, dimensions: 192, image: 152, imageRes: 512, faSize: 65, textSize: 13, margins: 18 },+ thXxl: {+ enabled: true,+ maxBadges: 6,+ dimensions: 232,+ image: 192,+ imageRes: 1024,+ faSize: 80,+ textSize: 14,+ margins: 18+ }+}+@Component({selector: 'app-navigation-view',templateUrl: 'navigation-view.component.html',- imports: [KeyValuePipe, BsDropdownModule, FaIconComponent, L10nTranslateDirective],+ styleUrls: ['navigation-view.component.scss'],+ imports: [BsDropdownModule, FaIconComponent, L10nTranslateDirective],changeDetection: ChangeDetectionStrategy.OnPush})export class NavigationViewComponent {- @Input() sortParams: { column: string; asc: boolean }- @Input() sortFields: Record<string, string>@Output() switchView = new EventEmitter<ViewMode>()- @Output() sortBy = new EventEmitter()- protected readonly originalOrderKeyValue = originalOrderKeyValue- protected readonly icons = { faSliders, faArrowDown, faArrowUp }- protected viewsMode: Record<string, ViewMode> = {- tl: { enabled: false, text: 'List', icon: faThList },- th: { enabled: true, text: 'S', icon: faTh, maxBadges: 0, dimensions: 96, image: 56, imageRes: 128, faSize: 30, textSize: 12, margins: 18 },- thM: { enabled: true, text: 'M', icon: faTh, maxBadges: 1, dimensions: 112, image: 72, imageRes: 192, faSize: 34, textSize: 12, margins: 18 },- thL: { enabled: true, text: 'L', icon: faTh, maxBadges: 2, dimensions: 152, image: 112, imageRes: 256, faSize: 50, textSize: 13, margins: 18 },- thXl: { enabled: true, text: 'XL', icon: faTh, maxBadges: 6, dimensions: 192, image: 152, imageRes: 512, faSize: 65, textSize: 13, margins: 18 },- thXxl: {- enabled: true,- text: 'XXL',- icon: faThLarge,- maxBadges: 6,- dimensions: 232,- image: 192,- imageRes: 1024,- faSize: 80,- textSize: 14,- margins: 18- }- }- private readonly layout = inject(LayoutService)+ protected readonly icons = { faTableCellsLarge, faThList }+ protected readonly galleryViewOptions = GALLERY_VIEW_OPTIONS+ protected viewMode = this.getStoredViewMode()- constructor() {- this.viewsMode.tl.text = this.layout.translateString(this.viewsMode.tl.text)+ currentView() {+ return VIEW_MODES[this.viewMode]}- get viewMode() {- return localStorage.getItem('viewMode') || 'tl'+ setView(view: string) {+ const currentViewMode = this.viewMode+ const selectedView = VIEW_MODES[view]+ if (!selectedView || view === currentViewMode) return+ if (selectedView.enabled) {+ localStorage.setItem(GALLERY_VIEW_MODE_STORAGE_KEY, view)+ } else if (VIEW_MODES[currentViewMode].enabled) {+ localStorage.setItem(GALLERY_VIEW_MODE_STORAGE_KEY, currentViewMode)+ }+ this.viewMode = view+ localStorage.setItem(VIEW_MODE_STORAGE_KEY, view)+ this.switchView.emit(selectedView)}- set viewMode(view: string) {- localStorage.setItem('viewMode', view)+ protected get galleryModeEnabled() {+ return this.currentView().enabled}- currentView() {- return this.viewsMode[this.viewMode]+ protected selectGalleryMode() {+ if (this.galleryModeEnabled) return+ const storedGalleryViewMode = localStorage.getItem(GALLERY_VIEW_MODE_STORAGE_KEY)+ const galleryViewMode = storedGalleryViewMode && VIEW_MODES[storedGalleryViewMode]?.enabled ? storedGalleryViewMode : DEFAULT_GALLERY_VIEW_MODE+ this.setView(galleryViewMode)}- setView(view: string) {- this.viewMode = view- this.switchView.emit(this.viewsMode[view])+ private getStoredViewMode() {+ const storedViewMode = localStorage.getItem(VIEW_MODE_STORAGE_KEY)+ return storedViewMode && VIEW_MODES[storedViewMode] ? storedViewMode : 'tl'}}diff --git a/frontend/src/i18n/de.json b/frontend/src/i18n/de.jsonindex c97b474a..88e83505 100644--- a/frontend/src/i18n/de.json+++ b/frontend/src/i18n/de.json@@ -300,8 +300,8 @@"Refresh": "Aktualisieren","Empty": "Leeren","List": "Liste",+ "Gallery": "Galerie","Display": "Anzeige",- "Sort by": "Sortieren nach","trash_one_file": "Möchten Sie <b>{{arg}}</b> in den Papierkorb verschieben?","delete_one_file": "Möchten Sie <b>{{arg}}</b> endgültig löschen?","trash_multiple_files": "Möchten Sie diese <b>{{arg}} Dateien</b> in den Papierkorb verschieben?",diff --git a/frontend/src/i18n/es.json b/frontend/src/i18n/es.jsonindex 3716d0fd..f1bb683f 100644--- a/frontend/src/i18n/es.json+++ b/frontend/src/i18n/es.json@@ -300,8 +300,8 @@"Refresh": "Actualizar","Empty": "Vaciar","List": "Lista",+ "Gallery": "Galería","Display": "Visualización",- "Sort by": "Ordenar por","trash_one_file": "¿Desea mover <b>{{arg}}</b> a la papelera?","delete_one_file": "¿Desea eliminar <b>{{arg}}</b> definitivamente?","trash_multiple_files": "¿Desea mover estos <b>{{arg}} archivos</b> a la papelera?",diff --git a/frontend/src/i18n/fr.json b/frontend/src/i18n/fr.jsonindex 8a014084..d74c4966 100644--- a/frontend/src/i18n/fr.json+++ b/frontend/src/i18n/fr.json@@ -300,8 +300,8 @@"Refresh": "Rafraîchir","Empty": "Vider","List": "Liste",+ "Gallery": "Galerie","Display": "Affichage",- "Sort by": "Trier par","trash_one_file": "Souhaitez-vous déplacer <b>{{arg}}</b> dans la corbeille ?","delete_one_file": "Souhaitez-vous supprimer <b>{{arg}}</b> définitivement ?","trash_multiple_files": "Souhaitez-vous déplacer ces <b>{{arg}} fichiers</b> dans la corbeille ?",diff --git a/frontend/src/i18n/hi.json b/frontend/src/i18n/hi.jsonindex 3b464fc2..607ba084 100644--- a/frontend/src/i18n/hi.json+++ b/frontend/src/i18n/hi.json@@ -300,8 +300,8 @@"Refresh": "रिफ्रेश करें","Empty": "खाली करें","List": "सूची",+ "Gallery": "गैलरी","Display": "प्रदर्शन",- "Sort by": "इसके अनुसार क्रमित करें","trash_one_file": "क्या आप <b>{{arg}}</b> को कचरा-पेटी में भेजना चाहते हैं?","delete_one_file": "क्या आप <b>{{arg}}</b> को स्थायी रूप से हटाना चाहते हैं?","trash_multiple_files": "क्या आप इन <b>{{arg}} फ़ाइलों</b> को कचरा-पेटी में भेजना चाहते हैं?",diff --git a/frontend/src/i18n/it.json b/frontend/src/i18n/it.jsonindex c7eafbb8..13b9c178 100644--- a/frontend/src/i18n/it.json+++ b/frontend/src/i18n/it.json@@ -300,8 +300,8 @@"Refresh": "Aggiorna","Empty": "Svuota","List": "Elenco",+ "Gallery": "Galleria","Display": "Visualizzazione",- "Sort by": "Ordina per","trash_one_file": "Vuoi spostare <b>{{arg}}</b> nel cestino?","delete_one_file": "Vuoi eliminare definitivamente <b>{{arg}}</b>?","trash_multiple_files": "Vuoi spostare questi <b>{{arg}} file</b> nel cestino?",diff --git a/frontend/src/i18n/ja.json b/frontend/src/i18n/ja.jsonindex 5bd58945..692146a5 100644--- a/frontend/src/i18n/ja.json+++ b/frontend/src/i18n/ja.json@@ -300,8 +300,8 @@"Refresh": "更新","Empty": "空にする","List": "一覧",+ "Gallery": "ギャラリー","Display": "表示",- "Sort by": "並び替え","trash_one_file": "<b>{{arg}}</b> をゴミ箱に移動しますか?","delete_one_file": "<b>{{arg}}</b> を完全に削除しますか?","trash_multiple_files": "これら<b>{{arg}} 個のファイル</b>をゴミ箱に移動しますか?",diff --git a/frontend/src/i18n/ko.json b/frontend/src/i18n/ko.jsonindex a89efc4b..7bbe42f8 100644--- a/frontend/src/i18n/ko.json+++ b/frontend/src/i18n/ko.json@@ -300,8 +300,8 @@"Refresh": "새로 고침","Empty": "비우기","List": "목록",+ "Gallery": "갤러리","Display": "표시",- "Sort by": "정렬 기준","trash_one_file": "<b>{{arg}}</b>을(를) 휴지통으로 이동하시겠습니까?","delete_one_file": "<b>{{arg}}</b>을(를) 완전히 삭제하시겠습니까?","trash_multiple_files": "이 <b>{{arg}}개 파일</b>을 휴지통으로 이동하시겠습니까?",diff --git a/frontend/src/i18n/nl.json b/frontend/src/i18n/nl.jsonindex 6a1564e0..b7c9a551 100644--- a/frontend/src/i18n/nl.json+++ b/frontend/src/i18n/nl.json@@ -300,8 +300,8 @@"Refresh": "Verversen","Empty": "Leegmaken","List": "Lijst",+ "Gallery": "Galerij","Display": "Weergave",- "Sort by": "Sortering","trash_one_file": "Wilt u <b>{{arg}}</b> in de prullenmand werpen?","delete_one_file": "Wilt u <b>{{arg}}</b> definitief verwijderen?","trash_multiple_files": "Wilt u deze <b>{{arg}} bestanden</b> in de prullenmand werpen?",diff --git a/frontend/src/i18n/pl.json b/frontend/src/i18n/pl.jsonindex fb15ea6a..49c53fa8 100644--- a/frontend/src/i18n/pl.json+++ b/frontend/src/i18n/pl.json@@ -300,8 +300,8 @@"Refresh": "Odśwież","Empty": "Opróżnij","List": "Lista",+ "Gallery": "Galeria","Display": "Wyświetlanie",- "Sort by": "Sortuj według","trash_one_file": "Czy przenieść <b>{{arg}}</b> do kosza?","delete_one_file": "Czy trwale usunąć <b>{{arg}}</b>?","trash_multiple_files": "Czy przenieść te <b>{{arg}} pliki</b> do kosza?",diff --git a/frontend/src/i18n/pt-BR.json b/frontend/src/i18n/pt-BR.jsonindex c230cde0..64117aca 100644--- a/frontend/src/i18n/pt-BR.json+++ b/frontend/src/i18n/pt-BR.json@@ -300,8 +300,8 @@"Refresh": "Atualizar","Empty": "Esvaziar","List": "Lista",+ "Gallery": "Galeria","Display": "Exibição",- "Sort by": "Ordenar por","trash_one_file": "Deseja mover <b>{{arg}}</b> para a lixeira?","delete_one_file": "Deseja excluir permanentemente <b>{{arg}}</b>?","trash_multiple_files": "Deseja mover estes <b>{{arg}} arquivos</b> para a lixeira?",diff --git a/frontend/src/i18n/pt.json b/frontend/src/i18n/pt.jsonindex f27a8882..f30d3da3 100644--- a/frontend/src/i18n/pt.json+++ b/frontend/src/i18n/pt.json@@ -300,8 +300,8 @@"Refresh": "Atualizar","Empty": "Esvaziar","List": "Lista",+ "Gallery": "Galeria","Display": "Exibição",- "Sort by": "Ordenar por","trash_one_file": "Deseja mover <b>{{arg}}</b> para a lixeira?","delete_one_file": "Deseja excluir <b>{{arg}}</b> permanentemente?","trash_multiple_files": "Deseja mover estes <b>{{arg}} arquivos</b> para a lixeira?",diff --git a/frontend/src/i18n/ru.json b/frontend/src/i18n/ru.jsonindex ab9d3124..195fa6a6 100644--- a/frontend/src/i18n/ru.json+++ b/frontend/src/i18n/ru.json@@ -300,8 +300,8 @@"Refresh": "Обновить","Empty": "Очистить","List": "Список",+ "Gallery": "Галерея","Display": "Отображение",- "Sort by": "Сортировать по","trash_one_file": "Переместить <b>{{arg}}</b> в корзину?","delete_one_file": "Безвозвратно удалить <b>{{arg}}</b>?","trash_multiple_files": "Переместить <b>{{arg}} файлов</b> в корзину?",diff --git a/frontend/src/i18n/tr.json b/frontend/src/i18n/tr.jsonindex 695f38f2..fc8cf4c9 100644--- a/frontend/src/i18n/tr.json+++ b/frontend/src/i18n/tr.json@@ -300,8 +300,8 @@"Refresh": "Yenile","Empty": "Boşalt","List": "Liste",+ "Gallery": "Galeri","Display": "Görüntü",- "Sort by": "Sırala","trash_one_file": "<b>{{arg}}</b> çöp kutusuna taşınsın mı?","delete_one_file": "<b>{{arg}}</b> kalıcı olarak silinsin mi?","trash_multiple_files": "Bu <b>{{arg}} dosya</b> çöp kutusuna taşınsın mı?",diff --git a/frontend/src/i18n/zh.json b/frontend/src/i18n/zh.jsonindex 46386159..b7136498 100644--- a/frontend/src/i18n/zh.json+++ b/frontend/src/i18n/zh.json@@ -300,8 +300,8 @@"Refresh": "刷新","Empty": "清空","List": "列表",+ "Gallery": "图库","Display": "显示",- "Sort by": "排序方式","trash_one_file": "是否将 <b>{{arg}}</b> 移动到回收站?","delete_one_file": "是否永久删除 <b>{{arg}}</b>?","trash_multiple_files": "是否将这 <b>{{arg}} 个文件</b> 移动到回收站?",