Enhance user and media management with sorting and statistics: add sorting options to user and media listing endpoints, implement media statistics retrieval, and update frontend components for sorting and displaying media processing times. Refactor related query handlers and API types to support new features.
This commit is contained in:
@@ -154,6 +154,7 @@ const resources = {
|
||||
status: 'Статус',
|
||||
duration: 'Длительность',
|
||||
resolution: 'Разрешение',
|
||||
processingTime: 'Время обработки',
|
||||
empty: 'Пока нет загруженных файлов',
|
||||
statuses: {
|
||||
Pending: 'В очереди',
|
||||
@@ -161,6 +162,14 @@ const resources = {
|
||||
Ready: 'Готов',
|
||||
Failed: 'Ошибка',
|
||||
},
|
||||
stats: {
|
||||
queued: 'Сейчас в очереди',
|
||||
queuedShort: 'В очереди',
|
||||
processing: 'Сейчас в обработке',
|
||||
processingShort: 'В обработке',
|
||||
average: 'Среднее время обработки (по недавним)',
|
||||
averageShort: 'Ср. время',
|
||||
},
|
||||
},
|
||||
gallery: {
|
||||
title: 'Галерея',
|
||||
@@ -168,6 +177,12 @@ const resources = {
|
||||
empty: 'В этой категории пока нет изображений',
|
||||
pickHint: 'Выберите изображение или загрузите новое',
|
||||
browseHint: 'Все изображения приложения по категориям',
|
||||
sort: {
|
||||
newest: 'Сначала новые',
|
||||
oldest: 'Сначала старые',
|
||||
nameAsc: 'Имя: А–Я',
|
||||
nameDesc: 'Имя: Я–А',
|
||||
},
|
||||
categories: {
|
||||
Library: 'Библиотека',
|
||||
ShowPoster: 'Постеры шоу',
|
||||
@@ -516,6 +531,7 @@ const resources = {
|
||||
status: 'Status',
|
||||
duration: 'Duration',
|
||||
resolution: 'Resolution',
|
||||
processingTime: 'Processing time',
|
||||
empty: 'No uploaded files yet',
|
||||
statuses: {
|
||||
Pending: 'Queued',
|
||||
@@ -523,6 +539,14 @@ const resources = {
|
||||
Ready: 'Ready',
|
||||
Failed: 'Failed',
|
||||
},
|
||||
stats: {
|
||||
queued: 'Currently queued',
|
||||
queuedShort: 'Queued',
|
||||
processing: 'Currently processing',
|
||||
processingShort: 'Processing',
|
||||
average: 'Average processing time (recent)',
|
||||
averageShort: 'Avg time',
|
||||
},
|
||||
},
|
||||
gallery: {
|
||||
title: 'Gallery',
|
||||
@@ -530,6 +554,12 @@ const resources = {
|
||||
empty: 'No images in this category yet',
|
||||
pickHint: 'Pick an image or upload a new one',
|
||||
browseHint: 'All app images by category',
|
||||
sort: {
|
||||
newest: 'Newest first',
|
||||
oldest: 'Oldest first',
|
||||
nameAsc: 'Name: A–Z',
|
||||
nameDesc: 'Name: Z–A',
|
||||
},
|
||||
categories: {
|
||||
Library: 'Library',
|
||||
ShowPoster: 'Show posters',
|
||||
|
||||
Reference in New Issue
Block a user