Make bulk registration CSV import more user-friendly (#411)

* Refactor CSV import

* Finish refactoring

* Add types file

* update readme
This commit is contained in:
Borislav Pantaleev
2025-03-21 20:29:07 +02:00
committed by GitHub
parent 28043dc2ca
commit 7af2831be8
19 changed files with 800 additions and 583 deletions

View File

@@ -91,7 +91,7 @@ const de: SynapseTranslationMessages = {
goToPdf: "Gehe zum PDF",
cards: {
importstats: {
header: "Benutzer importieren",
header: "Geparste Benutzer für den Import",
users_total: "%{smart_count} Benutzer in der CSV Datei |||| %{smart_count} Benutzer in der CSV Datei",
guest_count: "%{smart_count} Gast |||| %{smart_count} Gäste",
admin_count: "%{smart_count} Server Administrator |||| %{smart_count} Server Administratoren",

View File

@@ -58,7 +58,7 @@ const en: SynapseTranslationMessages = {
goToPdf: "Go to PDF",
cards: {
importstats: {
header: "Import users",
header: "Parsed users for import",
users_total: "%{smart_count} user in CSV file |||| %{smart_count} users in CSV file",
guest_count: "%{smart_count} guest |||| %{smart_count} guests",
admin_count: "%{smart_count} admin |||| %{smart_count} admins",

View File

@@ -51,7 +51,7 @@ const fa: SynapseTranslationMessages = {
goToPdf: "رفتن به PDF",
cards: {
importstats: {
header: "وارد کردن کاربران",
header: "کاربران پردازش شده برای وارد کردن",
users_total: "%{smart_count} user in CSV file |||| %{smart_count} users in CSV file",
guest_count: "%{smart_count} guest |||| %{smart_count} guests",
admin_count: "%{smart_count} admin |||| %{smart_count} admins",

View File

@@ -52,7 +52,7 @@ const fr: SynapseTranslationMessages = {
goToPdf: "Voir le PDF",
cards: {
importstats: {
header: "Importer des utilisateurs",
header: "Utilisateurs analysés pour l'import",
users_total:
"%{smart_count} utilisateur dans le fichier CSV |||| %{smart_count} utilisateurs dans le fichier CSV",
guest_count: "%{smart_count} visiteur |||| %{smart_count} visiteurs",

View File

@@ -51,7 +51,7 @@ const it: SynapseTranslationMessages = {
goToPdf: "Vai al PDF",
cards: {
importstats: {
header: "Importa utenti",
header: "Utenti analizzati per l'importazione",
users_total: "%{smart_count} utente nel file CSV |||| %{smart_count} utenti nel file CSV",
guest_count: "%{smart_count} ospite |||| %{smart_count} ospiti",
admin_count: "%{smart_count} amministratore |||| %{smart_count} amministratori",

View File

@@ -83,7 +83,7 @@ const ru: SynapseTranslationMessages = {
goToPdf: "Перейти к PDF",
cards: {
importstats: {
header: "Импорт пользователей",
header: "Анализированные пользователи для импорта",
users_total:
"%{smart_count} пользователь в CSV файле |||| %{smart_count} пользователя в CSV файле |||| %{smart_count} пользователей в CSV файле",
guest_count: "%{smart_count} гость |||| %{smart_count} гостя |||| %{smart_count} гостей",

View File

@@ -86,7 +86,7 @@ const zh: SynapseTranslationMessages = {
goToPdf: "转到 PDF",
cards: {
importstats: {
header: "导入用户",
header: "分析用于导入用户",
users_total: "%{smart_count} 用户在 CSV 文件中 |||| %{smart_count} 用户在 CSV 文件中",
guest_count: "%{smart_count} 访客 |||| %{smart_count} 访客",
admin_count: "%{smart_count} 管理员 |||| %{smart_count} 管理员",