feat: polls (#451)

Co-authored-by: silberengel <silberengel7@protonmail.com>
This commit is contained in:
Cody Tseng
2025-07-27 12:05:50 +08:00
committed by GitHub
parent 636ceacdad
commit b35e0cf850
35 changed files with 1240 additions and 130 deletions

View File

@@ -293,6 +293,23 @@ export default {
'تحتاج إلى إضافة خادم Blossom واحد على الأقل لتحميل ملفات الوسائط.',
'Recommended blossom servers': 'خوادم Blossom الموصى بها',
'Enter Blossom server URL': 'أدخل عنوان خادم Blossom URL',
Preferred: 'المفضل'
Preferred: 'المفضل',
'Multiple choice (select one or more)': 'اختيار متعدد (اختر واحداً أو أكثر)',
Vote: 'صوت',
'{{number}} votes': '{{number}} أصوات',
'Total votes': 'إجمالي الأصوات',
'Poll has ended': 'انتهى الاستطلاع',
'Poll ends at {{time}}': 'ينتهي الاستطلاع في {{time}}',
'Load results': 'تحميل النتائج',
'This is a poll note.': 'هذه ملاحظة استطلاع.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'على عكس الملاحظات العادية، الاستطلاعات غير مدعومة على نطاق واسع وقد لا تظهر في العملاء الآخرين.',
'Option {{number}}': 'الخيار {{number}}',
'Add Option': 'إضافة خيار',
'Allow multiple choices': 'السماح بخيارات متعددة',
'End Date (optional)': 'تاريخ الانتهاء (اختياري)',
'Clear end date': 'مسح تاريخ الانتهاء',
'Relay URLs (optional, comma-separated)': 'عناوين المرحلات (اختياري، مفصولة بفواصل)',
'Remove poll': 'إزالة الاستطلاع'
}
}

View File

@@ -300,6 +300,23 @@ export default {
'Du musst mindestens einen Blossom-Server hinzufügen, um Mediendateien hochladen zu können.',
'Recommended blossom servers': 'Empfohlene Blossom-Server',
'Enter Blossom server URL': 'Blossom-Server-URL eingeben',
Preferred: 'Bevorzugt'
Preferred: 'Bevorzugt',
'Multiple choice (select one or more)': 'Mehrfachauswahl (eine oder mehrere auswählen)',
Vote: 'Abstimmen',
'{{number}} votes': '{{number}} Stimmen',
'Total votes': 'Gesamtstimmen',
'Poll has ended': 'Umfrage beendet',
'Poll ends at {{time}}': 'Umfrage endet am {{time}}',
'Load results': 'Ergebnisse laden',
'This is a poll note.': 'Dies ist eine Umfrage-Notiz.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'Im Gegensatz zu regulären Notizen werden Umfragen nicht weit verbreitet unterstützt und werden möglicherweise nicht in anderen Clients angezeigt.',
'Option {{number}}': 'Option {{number}}',
'Add Option': 'Option hinzufügen',
'Allow multiple choices': 'Mehrfachauswahl erlauben',
'End Date (optional)': 'Enddatum (optional)',
'Clear end date': 'Enddatum löschen',
'Relay URLs (optional, comma-separated)': 'Relay-URLs (optional, durch Kommas getrennt)',
'Remove poll': 'Umfrage entfernen'
}
}

View File

@@ -293,6 +293,23 @@ export default {
'You need to add at least one blossom server in order to upload media files.',
'Recommended blossom servers': 'Recommended blossom servers',
'Enter Blossom server URL': 'Enter Blossom server URL',
Preferred: 'Preferred'
Preferred: 'Preferred',
'Multiple choice (select one or more)': 'Multiple choice (select one or more)',
Vote: 'Vote',
'{{number}} votes': '{{number}} votes',
'Total votes': 'Total votes',
'Poll has ended': 'Poll has ended',
'Poll ends at {{time}}': 'Poll ends at {{time}}',
'Load results': 'Load results',
'This is a poll note.': 'This is a poll note.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'Unlike regular notes, polls are not widely supported and may not display on other clients.',
'Option {{number}}': 'Option {{number}}',
'Add Option': 'Add Option',
'Allow multiple choices': 'Allow multiple choices',
'End Date (optional)': 'End Date (optional)',
'Clear end date': 'Clear end date',
'Relay URLs (optional, comma-separated)': 'Relay URLs (optional, comma-separated)',
'Remove poll': 'Remove poll'
}
}

View File

@@ -298,6 +298,23 @@ export default {
'Necesitas agregar al menos un servidor Blossom para poder cargar archivos multimedia.',
'Recommended blossom servers': 'Servidores Blossom recomendados',
'Enter Blossom server URL': 'Ingresar URL del servidor Blossom',
Preferred: 'Preferido'
Preferred: 'Preferido',
'Multiple choice (select one or more)': 'Opción múltiple (selecciona una o más)',
Vote: 'Votar',
'{{number}} votes': '{{number}} votos',
'Total votes': 'Total de votos',
'Poll has ended': 'La encuesta ha terminado',
'Poll ends at {{time}}': 'La encuesta termina el {{time}}',
'Load results': 'Cargar resultados',
'This is a poll note.': 'Esta es una nota de encuesta.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'A diferencia de las notas regulares, las encuestas no son ampliamente compatibles y pueden no mostrarse en otros clientes.',
'Option {{number}}': 'Opción {{number}}',
'Add Option': 'Agregar Opción',
'Allow multiple choices': 'Permitir múltiples opciones',
'End Date (optional)': 'Fecha de finalización (opcional)',
'Clear end date': 'Borrar fecha de finalización',
'Relay URLs (optional, comma-separated)': 'URLs de relé (opcional, separadas por comas)',
'Remove poll': 'Eliminar encuesta'
}
}

View File

@@ -295,6 +295,23 @@ export default {
'برای آپلود فایل‌های رسانه نیاز دارید حداقل یک سرور blossom اضافه کنید.',
'Recommended blossom servers': 'سرورهای blossom توصیه شده',
'Enter Blossom server URL': 'آدرس سرور Blossom را وارد کنید',
Preferred: 'ترجیحی'
Preferred: 'ترجیحی',
'Multiple choice (select one or more)': 'چند گزینه‌ای (یک یا چند انتخاب کنید)',
Vote: 'رای دادن',
'{{number}} votes': '{{number}} رای',
'Total votes': 'کل آرا',
'Poll has ended': 'نظرسنجی پایان یافته',
'Poll ends at {{time}}': 'نظرسنجی در {{time}} پایان می‌یابد',
'Load results': 'بارگیری نتایج',
'This is a poll note.': 'این یک یادداشت نظرسنجی است.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'برخلاف یادداشت‌های معمولی، نظرسنجی‌ها به طور گسترده پشتیبانی نمی‌شوند و ممکن است در کلاینت‌های دیگر نمایش داده نشوند.',
'Option {{number}}': 'گزینه {{number}}',
'Add Option': 'افزودن گزینه',
'Allow multiple choices': 'اجازه انتخاب‌های متعدد',
'End Date (optional)': 'تاریخ پایان (اختیاری)',
'Clear end date': 'پاک کردن تاریخ پایان',
'Relay URLs (optional, comma-separated)': 'آدرس‌های رله (اختیاری، جدا شده با کاما)',
'Remove poll': 'حذف نظرسنجی'
}
}

View File

@@ -298,6 +298,24 @@ export default {
'Vous devez ajouter au moins un serveur Blossom pour pouvoir télécharger des fichiers multimédias.',
'Recommended blossom servers': 'Serveurs Blossom recommandés',
'Enter Blossom server URL': 'Entrer lURL du serveur Blossom',
Preferred: 'Préféré'
Preferred: 'Préféré',
'Multiple choice (select one or more)': 'Choix multiple (sélectionnez un ou plusieurs)',
Vote: 'Voter',
'{{number}} votes': '{{number}} votes',
'Total votes': 'Total des votes',
'Poll has ended': 'Le sondage est terminé',
'Poll ends at {{time}}': 'Le sondage se termine le {{time}}',
'Load results': 'Charger les résultats',
'This is a poll note.': 'Ceci est une note de sondage.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
"Contrairement aux notes régulières, les sondages ne sont pas largement pris en charge et peuvent ne pas s'afficher sur d'autres clients.",
'Option {{number}}': 'Option {{number}}',
'Add Option': 'Ajouter une option',
'Allow multiple choices': 'Autoriser les choix multiples',
'End Date (optional)': 'Date de fin (optionnel)',
'Clear end date': 'Effacer la date de fin',
'Relay URLs (optional, comma-separated)':
'URLs de relais (optionnel, séparées par des virgules)',
'Remove poll': 'Supprimer le sondage'
}
}

View File

@@ -297,6 +297,23 @@ export default {
'È necessario aggiungere almeno un server Blossom per caricare file multimediali.',
'Recommended blossom servers': 'Server Blossom consigliati',
'Enter Blossom server URL': 'Inserisci URL del server Blossom',
Preferred: 'Preferito'
Preferred: 'Preferito',
'Multiple choice (select one or more)': 'Scelta multipla (seleziona uno o più)',
Vote: 'Vota',
'{{number}} votes': '{{number}} voti',
'Total votes': 'Voti totali',
'Poll has ended': 'Il sondaggio è terminato',
'Poll ends at {{time}}': 'Il sondaggio termina alle {{time}}',
'Load results': 'Carica risultati',
'This is a poll note.': 'Questa è una nota sondaggio.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'A differenza delle note regolari, i sondaggi non sono ampiamente supportati e potrebbero non essere visualizzati su altri client.',
'Option {{number}}': 'Opzione {{number}}',
'Add Option': 'Aggiungi Opzione',
'Allow multiple choices': 'Consenti scelte multiple',
'End Date (optional)': 'Data di fine (opzionale)',
'Clear end date': 'Cancella data di fine',
'Relay URLs (optional, comma-separated)': 'URL relay (opzionale, separati da virgole)',
'Remove poll': 'Rimuovi sondaggio'
}
}

View File

@@ -295,6 +295,23 @@ export default {
'メディアファイルをアップロードするには、少なくとも1つのBlossomサーバーを追加する必要があります。',
'Recommended blossom servers': 'おすすめのBlossomサーバー',
'Enter Blossom server URL': 'BlossomサーバーURLを入力',
Preferred: '優先'
Preferred: '優先',
'Multiple choice (select one or more)': '複数選択1つ以上選択',
Vote: '投票',
'{{number}} votes': '{{number}} 票',
'Total votes': '総票数',
'Poll has ended': '投票終了',
'Poll ends at {{time}}': '投票終了時刻:{{time}}',
'Load results': '結果を読み込み',
'This is a poll note.': 'これは投票ノートです。',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'通常のノートとは異なり、投票は広くサポートされておらず、他のクライアントでは表示されない場合があります。',
'Option {{number}}': '選択肢 {{number}}',
'Add Option': '選択肢を追加',
'Allow multiple choices': '複数選択を許可',
'End Date (optional)': '終了日(任意)',
'Clear end date': '終了日をクリア',
'Relay URLs (optional, comma-separated)': 'リレーURL任意、カンマ区切り',
'Remove poll': '投票を削除'
}
}

View File

@@ -295,6 +295,23 @@ export default {
'미디어 파일을 업로드하려면 최소한 하나의 Blossom 서버를 추가해야 합니다.',
'Recommended blossom servers': '추천 Blossom 서버',
'Enter Blossom server URL': 'Blossom 서버 URL 입력',
Preferred: '선호'
Preferred: '선호',
'Multiple choice (select one or more)': '다중 선택 (하나 이상 선택)',
Vote: '투표',
'{{number}} votes': '{{number}} 표',
'Total votes': '총 투표수',
'Poll has ended': '투표 종료',
'Poll ends at {{time}}': '투표 종료 시간: {{time}}',
'Load results': '결과 로드',
'This is a poll note.': '이것은 투표 노트입니다.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'일반 노트와 달리 투표는 널리 지원되지 않으며 다른 클라이언트에서 표시되지 않을 수 있습니다.',
'Option {{number}}': '옵션 {{number}}',
'Add Option': '옵션 추가',
'Allow multiple choices': '다중 선택 허용',
'End Date (optional)': '종료 날짜 (선택사항)',
'Clear end date': '종료 날짜 지우기',
'Relay URLs (optional, comma-separated)': '릴레이 URL (선택사항, 쉼표로 구분)',
'Remove poll': '투표 제거'
}
}

View File

@@ -296,6 +296,24 @@ export default {
'Musisz dodać przynajmniej jeden serwer Blossom, aby móc przesyłać pliki multimedialne.',
'Recommended blossom servers': 'Zalecane serwery Blossom',
'Enter Blossom server URL': 'Wprowadź adres URL serwera Blossom',
Preferred: 'Preferowany'
Preferred: 'Preferowany',
'Multiple choice (select one or more)': 'Wielokrotny wybór (wybierz jeden lub więcej)',
Vote: 'Głosuj',
'{{number}} votes': '{{number}} głosów',
'Total votes': 'Łączna liczba głosów',
'Poll has ended': 'Ankieta zakończona',
'Poll ends at {{time}}': 'Ankieta kończy się o {{time}}',
'Load results': 'Załaduj wyniki',
'This is a poll note.': 'To jest notatka ankiety.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'W przeciwieństwie do zwykłych notatek, ankiety nie są szeroko obsługiwane i mogą nie wyświetlać się w innych klientach.',
'Option {{number}}': 'Opcja {{number}}',
'Add Option': 'Dodaj opcję',
'Allow multiple choices': 'Zezwól na wielokrotny wybór',
'End Date (optional)': 'Data zakończenia (opcjonalna)',
'Clear end date': 'Wyczyść datę zakończenia',
'Relay URLs (optional, comma-separated)':
'Adresy URL przekaźników (opcjonalne, oddzielone przecinkami)',
'Remove poll': 'Usuń ankietę'
}
}

View File

@@ -296,6 +296,23 @@ export default {
'Você precisa adicionar pelo menos um servidor Blossom para poder carregar arquivos de mídia.',
'Recommended blossom servers': 'Servidores Blossom recomendados',
'Enter Blossom server URL': 'Inserir URL do servidor Blossom',
Preferred: 'Preferido'
Preferred: 'Preferido',
'Multiple choice (select one or more)': 'Múltipla escolha (selecione um ou mais)',
Vote: 'Votar',
'{{number}} votes': '{{number}} votos',
'Total votes': 'Total de votos',
'Poll has ended': 'A enquete terminou',
'Poll ends at {{time}}': 'A enquete termina em {{time}}',
'Load results': 'Carregar resultados',
'This is a poll note.': 'Esta é uma nota de enquete.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'Ao contrário das notas regulares, as enquetes não são amplamente suportadas e podem não ser exibidas em outros clientes.',
'Option {{number}}': 'Opção {{number}}',
'Add Option': 'Adicionar Opção',
'Allow multiple choices': 'Permitir múltiplas escolhas',
'End Date (optional)': 'Data de término (opcional)',
'Clear end date': 'Limpar data de término',
'Relay URLs (optional, comma-separated)': 'URLs de relay (opcional, separadas por vírgulas)',
'Remove poll': 'Remover enquete'
}
}

View File

@@ -297,6 +297,23 @@ export default {
'Você precisa adicionar pelo menos um servidor Blossom para poder carregar arquivos de mídia.',
'Recommended blossom servers': 'Servidores Blossom recomendados',
'Enter Blossom server URL': 'Inserir URL do servidor Blossom',
Preferred: 'Preferido'
Preferred: 'Preferido',
'Multiple choice (select one or more)': 'Múltipla escolha (selecione um ou mais)',
Vote: 'Votar',
'{{number}} votes': '{{number}} votos',
'Total votes': 'Total de votos',
'Poll has ended': 'A sondagem terminou',
'Poll ends at {{time}}': 'A sondagem termina em {{time}}',
'Load results': 'Carregar resultados',
'This is a poll note.': 'Esta é uma nota de sondagem.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'Ao contrário das notas regulares, as sondagens não são amplamente suportadas e podem não ser exibidas noutros clientes.',
'Option {{number}}': 'Opção {{number}}',
'Add Option': 'Adicionar Opção',
'Allow multiple choices': 'Permitir múltiplas escolhas',
'End Date (optional)': 'Data de fim (opcional)',
'Clear end date': 'Limpar data de fim',
'Relay URLs (optional, comma-separated)': 'URLs de relay (opcional, separadas por vírgulas)',
'Remove poll': 'Remover sondagem'
}
}

View File

@@ -298,6 +298,23 @@ export default {
'Вам нужно добавить хотя бы один сервер Blossom, чтобы загружать медиафайлы.',
'Recommended blossom servers': 'Рекомендуемые серверы Blossom',
'Enter Blossom server URL': 'Введите URL сервера Blossom',
Preferred: 'Предпочтительный'
Preferred: 'Предпочтительный',
'Multiple choice (select one or more)': 'Множественный выбор (выберите один или несколько)',
Vote: 'Голосовать',
'{{number}} votes': '{{number}} голосов',
'Total votes': 'Всего голосов',
'Poll has ended': 'Опрос завершён',
'Poll ends at {{time}}': 'Опрос завершается {{time}}',
'Load results': 'Загрузить результаты',
'This is a poll note.': 'Это заметка с опросом.',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'В отличие от обычных заметок, опросы не получили широкую поддержку и могут не отображаться в других клиентах.',
'Option {{number}}': 'Вариант {{number}}',
'Add Option': 'Добавить вариант',
'Allow multiple choices': 'Разрешить множественный выбор',
'End Date (optional)': 'Дата окончания (необязательно)',
'Clear end date': 'Очистить дату окончания',
'Relay URLs (optional, comma-separated)': 'URL релеев (необязательно, через запятую)',
'Remove poll': 'Удалить опрос'
}
}

View File

@@ -292,6 +292,23 @@ export default {
'คุณต้องเพิ่มเซิร์ฟเวอร์ Blossom อย่างน้อยหนึ่งตัวเพื่ออัปโหลดไฟล์สื่อ',
'Recommended blossom servers': 'เซิร์ฟเวอร์ Blossom ที่แนะนำ',
'Enter Blossom server URL': 'ป้อน URL ของเซิร์ฟเวอร์ Blossom',
Preferred: 'ที่ชื่นชอบ'
Preferred: 'ที่ชื่นชอบ',
'Multiple choice (select one or more)': 'ตัวเลือกหลายรายการ (เลือกหนึ่งหรือมากกว่า)',
Vote: 'โหวต',
'{{number}} votes': '{{number}} คะแนน',
'Total votes': 'คะแนนรวม',
'Poll has ended': 'การโพลล์สิ้นสุดแล้ว',
'Poll ends at {{time}}': 'การโพลล์สิ้นสุดเวลา {{time}}',
'Load results': 'โหลดผลลัพธ์',
'This is a poll note.': 'นี่คือโน้ตโพลล์',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'ไม่เหมือนโน้ตธรรมดา โพลล์ไม่ได้รับการสนับสนุนอย่างแพร่หลายและอาจไม่แสดงในไคลเอนต์อื่น',
'Option {{number}}': 'ตัวเลือก {{number}}',
'Add Option': 'เพิ่มตัวเลือก',
'Allow multiple choices': 'อนุญาตให้เลือกหลายรายการ',
'End Date (optional)': 'วันที่สิ้นสุด (ไม่บังคับ)',
'Clear end date': 'ล้างวันที่สิ้นสุด',
'Relay URLs (optional, comma-separated)': 'URL รีเลย์ (ไม่บังคับ, คั่นด้วยจุลภาค)',
'Remove poll': 'ลบโพลล์'
}
}

View File

@@ -293,6 +293,23 @@ export default {
'您需要添加至少一个 Blossom 服务器才能上传媒体文件。',
'Recommended blossom servers': '推荐的 Blossom 服务器',
'Enter Blossom server URL': '输入 Blossom 服务器 URL',
Preferred: '首选'
Preferred: '首选',
'Multiple choice (select one or more)': '多选 (选择一个或多个)',
Vote: '投票',
'{{number}} votes': '{{number}} 次投票',
'Total votes': '总票数',
'Poll has ended': '投票已结束',
'Poll ends at {{time}}': '投票结束时间:{{time}}',
'Load results': '加载结果',
'This is a poll note.': '这是一个投票帖子。',
'Unlike regular notes, polls are not widely supported and may not display on other clients.':
'与普通帖子不同,投票功能暂时没有得到广泛的支持,可能无法在其他客户端中显示。',
'Option {{number}}': '选项 {{number}}',
'Add Option': '添加选项',
'Allow multiple choices': '允许多选',
'End Date (optional)': '结束日期(可选)',
'Clear end date': '清除结束日期',
'Relay URLs (optional, comma-separated)': '中继服务器 URL可选逗号分隔',
'Remove poll': '移除投票'
}
}