refactor: ♻️ sync note summaries
This commit is contained in:
parent
7ea4c39fb7
commit
f3bd82b074
30 changed files with 6 additions and 32 deletions
|
@ -176,7 +176,6 @@ operations: "الإجراءات"
|
||||||
software: "البرمجية"
|
software: "البرمجية"
|
||||||
version: "الإصدار"
|
version: "الإصدار"
|
||||||
metadata: "البيانات الوصفية"
|
metadata: "البيانات الوصفية"
|
||||||
withNFiles: "{n} ملف (ملفات)"
|
|
||||||
monitor: "شاشة التحكم"
|
monitor: "شاشة التحكم"
|
||||||
jobQueue: "قائمة الانتظار"
|
jobQueue: "قائمة الانتظار"
|
||||||
cpuAndMemory: "وحدة المعالجة المركزية والذاكرة"
|
cpuAndMemory: "وحدة المعالجة المركزية والذاكرة"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "ক্রিয়াকলাপ"
|
||||||
software: "সফটওয়্যার"
|
software: "সফটওয়্যার"
|
||||||
version: "সংস্করণ"
|
version: "সংস্করণ"
|
||||||
metadata: "মেটাডাটা"
|
metadata: "মেটাডাটা"
|
||||||
withNFiles: "{n} টি ফাইল"
|
|
||||||
monitor: "মনিটর"
|
monitor: "মনিটর"
|
||||||
jobQueue: "জব কিউ"
|
jobQueue: "জব কিউ"
|
||||||
cpuAndMemory: "সিপিউ এবং মেমরি"
|
cpuAndMemory: "সিপিউ এবং মেমরি"
|
||||||
|
|
|
@ -791,7 +791,6 @@ selectUser: Selecciona un usuari
|
||||||
latestStatus: Últim estat
|
latestStatus: Últim estat
|
||||||
storageUsage: Ús del emmagatzematge
|
storageUsage: Ús del emmagatzematge
|
||||||
metadata: Metadades
|
metadata: Metadades
|
||||||
withNFiles: '{n} fitxer(s)'
|
|
||||||
monitor: Seguiment
|
monitor: Seguiment
|
||||||
software: Programari
|
software: Programari
|
||||||
version: Versió
|
version: Versió
|
||||||
|
|
|
@ -189,7 +189,6 @@ operations: "Operace"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Verze"
|
version: "Verze"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} soubor(ů)"
|
|
||||||
monitor: "Monitorovat"
|
monitor: "Monitorovat"
|
||||||
jobQueue: "Fronta úloh"
|
jobQueue: "Fronta úloh"
|
||||||
cpuAndMemory: "CPU a paměť"
|
cpuAndMemory: "CPU a paměť"
|
||||||
|
|
|
@ -117,7 +117,6 @@ operations: Operationer
|
||||||
software: Software
|
software: Software
|
||||||
metadata: Metadata
|
metadata: Metadata
|
||||||
version: Version
|
version: Version
|
||||||
withNFiles: '{n} fil(er)'
|
|
||||||
monitor: Vagt
|
monitor: Vagt
|
||||||
jobQueue: Jobkø
|
jobQueue: Jobkø
|
||||||
statistics: Statistik
|
statistics: Statistik
|
||||||
|
|
|
@ -200,7 +200,6 @@ operations: "Tätigkeiten"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Version"
|
version: "Version"
|
||||||
metadata: "Metadaten"
|
metadata: "Metadaten"
|
||||||
withNFiles: "{n} Datei(en)"
|
|
||||||
monitor: "Überwachung"
|
monitor: "Überwachung"
|
||||||
jobQueue: "Auftragswarteschlange"
|
jobQueue: "Auftragswarteschlange"
|
||||||
cpuAndMemory: "CPU und Speicher"
|
cpuAndMemory: "CPU und Speicher"
|
||||||
|
|
|
@ -435,7 +435,6 @@ nothing: Δεν υπάρχει τίποτα να δείτε εδώ
|
||||||
newNoteRecived: Υπάρχουν νέες δημοσιεύσεις
|
newNoteRecived: Υπάρχουν νέες δημοσιεύσεις
|
||||||
passwordMatched: Ταιριάζει
|
passwordMatched: Ταιριάζει
|
||||||
unmarkAsSensitive: Αναίρεση επισήμανσης ως Ευαίσθητο Περιεχόμενο (NSFW)
|
unmarkAsSensitive: Αναίρεση επισήμανσης ως Ευαίσθητο Περιεχόμενο (NSFW)
|
||||||
withNFiles: '{n} αρχείο(-α)'
|
|
||||||
blockedUsers: Μπλοκαρισμένα μέλη
|
blockedUsers: Μπλοκαρισμένα μέλη
|
||||||
noteDeleteConfirm: Θέλετε σίγουρα να διαγράψετε αυτή τη δημοσίευση;
|
noteDeleteConfirm: Θέλετε σίγουρα να διαγράψετε αυτή τη δημοσίευση;
|
||||||
preview: Προεπισκόπηση
|
preview: Προεπισκόπηση
|
||||||
|
|
|
@ -211,7 +211,6 @@ operations: "Operations"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Version"
|
version: "Version"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} file(s)"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "Job Queue"
|
jobQueue: "Job Queue"
|
||||||
cpuAndMemory: "CPU and Memory"
|
cpuAndMemory: "CPU and Memory"
|
||||||
|
|
|
@ -195,7 +195,6 @@ operations: "Operaciones"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Versión"
|
version: "Versión"
|
||||||
metadata: "Metadatos"
|
metadata: "Metadatos"
|
||||||
withNFiles: "{n} archivos"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "Cola de trabajos"
|
jobQueue: "Cola de trabajos"
|
||||||
cpuAndMemory: "CPU y Memoria"
|
cpuAndMemory: "CPU y Memoria"
|
||||||
|
|
|
@ -182,7 +182,6 @@ followsYou: Seuraa sinua
|
||||||
pageLoadErrorDescription: Tämä yleensä johtuu verkkovirheistä tai selaimen välimuistista.
|
pageLoadErrorDescription: Tämä yleensä johtuu verkkovirheistä tai selaimen välimuistista.
|
||||||
Kokeile tyhjentämällä välimuisti ja yritä sitten hetken kuluttua uudelleen.
|
Kokeile tyhjentämällä välimuisti ja yritä sitten hetken kuluttua uudelleen.
|
||||||
enterListName: Anna listalle nimi
|
enterListName: Anna listalle nimi
|
||||||
withNFiles: '{n} tiedosto(t)'
|
|
||||||
instanceInfo: Instanssin tiedot
|
instanceInfo: Instanssin tiedot
|
||||||
clearQueue: Tyhjennä jono
|
clearQueue: Tyhjennä jono
|
||||||
suspendConfirm: Oletko varma, että haluat keskeyttää tämän tilin?
|
suspendConfirm: Oletko varma, että haluat keskeyttää tämän tilin?
|
||||||
|
|
|
@ -201,7 +201,6 @@ operations: "Opérations"
|
||||||
software: "Logiciel"
|
software: "Logiciel"
|
||||||
version: "Version"
|
version: "Version"
|
||||||
metadata: "Métadonnées"
|
metadata: "Métadonnées"
|
||||||
withNFiles: "{n} fichier(s)"
|
|
||||||
monitor: "Contrôle"
|
monitor: "Contrôle"
|
||||||
jobQueue: "File d’attente"
|
jobQueue: "File d’attente"
|
||||||
cpuAndMemory: "Processeur et mémoire"
|
cpuAndMemory: "Processeur et mémoire"
|
||||||
|
|
|
@ -197,7 +197,6 @@ operations: "Tindakan"
|
||||||
software: "Perangkat lunak"
|
software: "Perangkat lunak"
|
||||||
version: "Versi"
|
version: "Versi"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} berkas"
|
|
||||||
monitor: "Pantau"
|
monitor: "Pantau"
|
||||||
jobQueue: "Antrian kerja"
|
jobQueue: "Antrian kerja"
|
||||||
cpuAndMemory: "CPU dan Memori"
|
cpuAndMemory: "CPU dan Memori"
|
||||||
|
|
|
@ -175,7 +175,6 @@ operations: "Operazioni"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Versione"
|
version: "Versione"
|
||||||
metadata: "Metadato"
|
metadata: "Metadato"
|
||||||
withNFiles: "{n} file in allegato"
|
|
||||||
monitor: "Monitorare"
|
monitor: "Monitorare"
|
||||||
jobQueue: "Coda di lavoro"
|
jobQueue: "Coda di lavoro"
|
||||||
cpuAndMemory: "CPU e Memoria"
|
cpuAndMemory: "CPU e Memoria"
|
||||||
|
|
|
@ -188,7 +188,6 @@ operations: "操作"
|
||||||
software: "ソフトウェア"
|
software: "ソフトウェア"
|
||||||
version: "バージョン"
|
version: "バージョン"
|
||||||
metadata: "メタデータ"
|
metadata: "メタデータ"
|
||||||
withNFiles: "{n}つのファイル"
|
|
||||||
monitor: "モニター"
|
monitor: "モニター"
|
||||||
jobQueue: "ジョブキュー"
|
jobQueue: "ジョブキュー"
|
||||||
cpuAndMemory: "CPUとメモリ"
|
cpuAndMemory: "CPUとメモリ"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "操作"
|
||||||
software: "ソフトウェア"
|
software: "ソフトウェア"
|
||||||
version: "バージョン"
|
version: "バージョン"
|
||||||
metadata: "メタデータ"
|
metadata: "メタデータ"
|
||||||
withNFiles: "{n}個のファイル"
|
|
||||||
monitor: "モニター"
|
monitor: "モニター"
|
||||||
jobQueue: "ジョブキュー"
|
jobQueue: "ジョブキュー"
|
||||||
cpuAndMemory: "CPUとメモリ"
|
cpuAndMemory: "CPUとメモリ"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "작업"
|
||||||
software: "소프트웨어"
|
software: "소프트웨어"
|
||||||
version: "버전"
|
version: "버전"
|
||||||
metadata: "메타데이터"
|
metadata: "메타데이터"
|
||||||
withNFiles: "{n}개의 파일"
|
|
||||||
monitor: "모니터"
|
monitor: "모니터"
|
||||||
jobQueue: "작업 대기열"
|
jobQueue: "작업 대기열"
|
||||||
cpuAndMemory: "CPU와 메모리"
|
cpuAndMemory: "CPU와 메모리"
|
||||||
|
|
|
@ -179,7 +179,6 @@ operations: "Verwerkingen"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Versie"
|
version: "Versie"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} bestand(en)"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "Job Queue"
|
jobQueue: "Job Queue"
|
||||||
cpuAndMemory: "CPU en geheugen"
|
cpuAndMemory: "CPU en geheugen"
|
||||||
|
|
|
@ -187,7 +187,6 @@ operations: "Działania"
|
||||||
software: "Oprogramowanie"
|
software: "Oprogramowanie"
|
||||||
version: "Wersja"
|
version: "Wersja"
|
||||||
metadata: "Metadane"
|
metadata: "Metadane"
|
||||||
withNFiles: "{n} plik(i/ów)"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "Kolejka zadań"
|
jobQueue: "Kolejka zadań"
|
||||||
cpuAndMemory: "CPU i pamięć"
|
cpuAndMemory: "CPU i pamięć"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "operar"
|
||||||
software: "Programas"
|
software: "Programas"
|
||||||
version: "versão"
|
version: "versão"
|
||||||
metadata: "Metadados"
|
metadata: "Metadados"
|
||||||
withNFiles: "{n} Um arquivo"
|
|
||||||
monitor: "monitor"
|
monitor: "monitor"
|
||||||
jobQueue: "Fila de trabalhos"
|
jobQueue: "Fila de trabalhos"
|
||||||
cpuAndMemory: "CPU e memória"
|
cpuAndMemory: "CPU e memória"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "Operațiuni"
|
||||||
software: "Software"
|
software: "Software"
|
||||||
version: "Versiune"
|
version: "Versiune"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} fișier(e)"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "coada de job-uri"
|
jobQueue: "coada de job-uri"
|
||||||
cpuAndMemory: "CPU și memorie"
|
cpuAndMemory: "CPU și memorie"
|
||||||
|
|
|
@ -192,7 +192,6 @@ operations: "Операции"
|
||||||
software: "Программы"
|
software: "Программы"
|
||||||
version: "Версия"
|
version: "Версия"
|
||||||
metadata: "Метаданные"
|
metadata: "Метаданные"
|
||||||
withNFiles: "Файлы, {n} шт"
|
|
||||||
monitor: "Монитор"
|
monitor: "Монитор"
|
||||||
jobQueue: "Очередь заданий"
|
jobQueue: "Очередь заданий"
|
||||||
cpuAndMemory: "Процессор и память"
|
cpuAndMemory: "Процессор и память"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "Operácie"
|
||||||
software: "Softvér"
|
software: "Softvér"
|
||||||
version: "Verzia"
|
version: "Verzia"
|
||||||
metadata: "Metadáta"
|
metadata: "Metadáta"
|
||||||
withNFiles: "{n} súbor(ov)"
|
|
||||||
monitor: "Monitor"
|
monitor: "Monitor"
|
||||||
jobQueue: "Fronta úloh"
|
jobQueue: "Fronta úloh"
|
||||||
cpuAndMemory: "CPU a pamäť"
|
cpuAndMemory: "CPU a pamäť"
|
||||||
|
|
|
@ -176,7 +176,6 @@ operations: "Operationer"
|
||||||
software: "Mjukvara"
|
software: "Mjukvara"
|
||||||
version: "Version"
|
version: "Version"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} fil(er)"
|
|
||||||
monitor: "Övervakning"
|
monitor: "Övervakning"
|
||||||
jobQueue: "Jobbkö"
|
jobQueue: "Jobbkö"
|
||||||
cpuAndMemory: "CPU och minne"
|
cpuAndMemory: "CPU och minne"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "ดำเนินการ"
|
||||||
software: "ซอฟต์แวร์"
|
software: "ซอฟต์แวร์"
|
||||||
version: "เวอร์ชั่น"
|
version: "เวอร์ชั่น"
|
||||||
metadata: "ข้อมูลเมตา"
|
metadata: "ข้อมูลเมตา"
|
||||||
withNFiles: "{n} ไฟล์(s)"
|
|
||||||
monitor: "มอนิเตอร์"
|
monitor: "มอนิเตอร์"
|
||||||
jobQueue: "คิวงาน"
|
jobQueue: "คิวงาน"
|
||||||
cpuAndMemory: "ซีพียู และ หน่วยความจำ"
|
cpuAndMemory: "ซีพียู และ หน่วยความจำ"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "Операції"
|
||||||
software: "Програмне забезпечення"
|
software: "Програмне забезпечення"
|
||||||
version: "Версія"
|
version: "Версія"
|
||||||
metadata: "Метадані"
|
metadata: "Метадані"
|
||||||
withNFiles: "файли: {n}"
|
|
||||||
monitor: "Монітор"
|
monitor: "Монітор"
|
||||||
jobQueue: "Черга завдань"
|
jobQueue: "Черга завдань"
|
||||||
cpuAndMemory: "ЦП та пам'ять"
|
cpuAndMemory: "ЦП та пам'ять"
|
||||||
|
|
|
@ -177,7 +177,6 @@ operations: "Vận hành"
|
||||||
software: "Phần mềm"
|
software: "Phần mềm"
|
||||||
version: "Phiên bản"
|
version: "Phiên bản"
|
||||||
metadata: "Metadata"
|
metadata: "Metadata"
|
||||||
withNFiles: "{n} tập tin"
|
|
||||||
monitor: "Giám sát"
|
monitor: "Giám sát"
|
||||||
jobQueue: "Công việc chờ xử lý"
|
jobQueue: "Công việc chờ xử lý"
|
||||||
cpuAndMemory: "CPU và Dung lượng"
|
cpuAndMemory: "CPU và Dung lượng"
|
||||||
|
|
|
@ -181,7 +181,6 @@ operations: "操作"
|
||||||
software: "软件"
|
software: "软件"
|
||||||
version: "版本"
|
version: "版本"
|
||||||
metadata: "元数据"
|
metadata: "元数据"
|
||||||
withNFiles: "{n}个文件"
|
|
||||||
monitor: "服务器状态"
|
monitor: "服务器状态"
|
||||||
jobQueue: "作业队列"
|
jobQueue: "作业队列"
|
||||||
cpuAndMemory: "CPU和内存"
|
cpuAndMemory: "CPU和内存"
|
||||||
|
|
|
@ -180,7 +180,6 @@ operations: "操作"
|
||||||
software: "軟體"
|
software: "軟體"
|
||||||
version: "版本"
|
version: "版本"
|
||||||
metadata: "元資料"
|
metadata: "元資料"
|
||||||
withNFiles: "{n}個檔案"
|
|
||||||
monitor: "監視器"
|
monitor: "監視器"
|
||||||
jobQueue: "佇列"
|
jobQueue: "佇列"
|
||||||
cpuAndMemory: "CPU及記憶體用量"
|
cpuAndMemory: "CPU及記憶體用量"
|
||||||
|
|
|
@ -20,12 +20,13 @@ export const getNoteSummary = (note: Packed<"Note">): string => {
|
||||||
|
|
||||||
// ファイルが添付されているとき
|
// ファイルが添付されているとき
|
||||||
if ((note.files || []).length !== 0) {
|
if ((note.files || []).length !== 0) {
|
||||||
summary += ` (📎${note.files!.length})`;
|
const len = note.files?.length;
|
||||||
|
summary += ` 📎 (${len !== 1 ? len : ''})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 投票が添付されているとき
|
// 投票が添付されているとき
|
||||||
if (note.poll) {
|
if (note.poll) {
|
||||||
summary += " (📊)";
|
summary += " 📊";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -23,12 +23,13 @@ export const getNoteSummary = (note: misskey.entities.Note): string => {
|
||||||
|
|
||||||
// ファイルが添付されているとき
|
// ファイルが添付されているとき
|
||||||
if ((note.files || []).length !== 0) {
|
if ((note.files || []).length !== 0) {
|
||||||
summary += ` (${i18n.t("withNFiles", { n: note.files.length })})`;
|
const len = note.files?.length;
|
||||||
|
summary += ` 📎 (${len !== 1 ? len : ''})`;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 投票が添付されているとき
|
// 投票が添付されているとき
|
||||||
if (note.poll) {
|
if (note.poll) {
|
||||||
summary += ` (${i18n.ts.poll})`;
|
summary += " 📊";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue