mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
i18n
This commit is contained in:
@@ -1310,6 +1310,7 @@
|
|||||||
},
|
},
|
||||||
"info": {
|
"info": {
|
||||||
"header": "Info",
|
"header": "Info",
|
||||||
|
"name": "Name",
|
||||||
"id": "Avatar ID",
|
"id": "Avatar ID",
|
||||||
"id_tooltip": "Copy to clipboard",
|
"id_tooltip": "Copy to clipboard",
|
||||||
"copy_id": "Copy ID",
|
"copy_id": "Copy ID",
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ export const useNotificationStore = defineStore('Notification', () => {
|
|||||||
const seeQueue = [];
|
const seeQueue = [];
|
||||||
const seenIds = new Set();
|
const seenIds = new Set();
|
||||||
let seeProcessing = false;
|
let seeProcessing = false;
|
||||||
const SEE_CONCURRENCY = 5;
|
const SEE_CONCURRENCY = 2;
|
||||||
|
|
||||||
async function processSeeQueue() {
|
async function processSeeQueue() {
|
||||||
if (seeProcessing) return;
|
if (seeProcessing) return;
|
||||||
|
|||||||
@@ -79,20 +79,6 @@ export function getColumns({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: 'index',
|
|
||||||
accessorFn: (_row, index) => index + 1,
|
|
||||||
header: ({ column }) =>
|
|
||||||
sortButton({ column, label: 'No.', descFirst: true }),
|
|
||||||
size: 60,
|
|
||||||
enableResizing: false,
|
|
||||||
meta: {
|
|
||||||
class: 'text-right'
|
|
||||||
},
|
|
||||||
cell: ({ row }) => (
|
|
||||||
<span class="text-muted-foreground">{row.index + 1}</span>
|
|
||||||
)
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: 'thumbnail',
|
id: 'thumbnail',
|
||||||
header: () => null,
|
header: () => null,
|
||||||
@@ -114,8 +100,9 @@ export function getColumns({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'name',
|
id: 'name',
|
||||||
accessorKey: 'name',
|
accessorKey: 'Name',
|
||||||
header: ({ column }) => sortButton({ column, label: 'Name' }),
|
header: ({ column }) =>
|
||||||
|
sortButton({ column, label: t('dialog.avatar.info.name') }),
|
||||||
size: 200,
|
size: 200,
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const ref = row.original;
|
const ref = row.original;
|
||||||
@@ -134,7 +121,7 @@ export function getColumns({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'platforms',
|
id: 'platforms',
|
||||||
header: () => 'Platforms',
|
header: () => t('dialog.avatar.info.platform'),
|
||||||
size: 120,
|
size: 120,
|
||||||
enableSorting: false,
|
enableSorting: false,
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user