Skip to content

Commit 064e3aa

Browse files
feat(a11y): inline errors RoomInfoEditView (#6486)
* chore: started migration to hooks * chore: useSubscription and react-hook-form * chore: useDeleteTeamOrRoom * fix: subscription unomount * chore: code improvements * rename hook * chore: format code with Prettier [skip ci] * rename hook * fix: usePermissions * fix: usePermissions * remove unnecessary reactivity from loadRoom * fix: random value changing value on every render * fix: e2e tests * fix: use getSubscriptionByRoomId insetad of db.get.find * chore: remove unused comment * fix: use getSubscriptionByRoomId and room as state instead of ref * fix: randomValue * fix: form using only useForm * feat: new i18n translation * feat: inline errors and a11y announcement * action: organized translations --------- Co-authored-by: OtavioStasiak <[email protected]>
1 parent 4fa9396 commit 064e3aa

File tree

26 files changed

+45
-2
lines changed

26 files changed

+45
-2
lines changed

app/i18n/locales/ar.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"changing_avatar": "تغيير الصورة الرمزية",
7171
"Channel_hint_private": "لا يمكن للناس الانضمام إلا من خلال دعوتهم",
7272
"Channel_Name": "اسم القناة",
73+
"Channel_name_already_taken": "اسم القناة مأخوذ بالفعل",
7374
"Channel_name_required": "اسم القناة مطلوب",
7475
"Channel_Read_Only_Hint": "يمكن لمالكي القنوات فقط إرسال رسائل جديدة",
7576
"Channels": "قنوات",

app/i18n/locales/bn-IN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"Channel_hint_private": "মানুষ কেবল আমন্ত্রণের মাধ্যমে যোগ দিতে পারে",
116116
"Channel_hint_public": "সবাই এই চ্যানেলে অ্যাক্সেস পাবে",
117117
"Channel_Name": "চ্যানেল নাম",
118+
"Channel_name_already_taken": "চ্যানেল নাম ইতিমধ্যেই নেওয়া হয়েছে।",
118119
"Channel_name_required": "চ্যানেলের নাম প্রয়োজন",
119120
"Channel_Read_Only_Hint": "শুধুমাত্র চ্যানেলের মালিকরা নতুন বার্তা পাঠাতে পারেন",
120121
"Channels": "চ্যানেলগুলি",

app/i18n/locales/cs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
"Channel_hint_private": "Lidé se mohou připojit pouze tím, že byli pozváni",
122122
"Channel_hint_public": "K tomuto kanálu má přístup každý",
123123
"Channel_Name": "Název kanálu",
124+
"Channel_name_already_taken": "Název kanálu je již zabraný.",
124125
"Channel_name_required": "Název kanálu je vyžadován.",
125126
"Channel_Read_Only_Hint": "Pouze majitelé kanálů mohou odesílat nové zprávy",
126127
"Channels": "Kanály",

app/i18n/locales/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"Channel_hint_private": "Menschen können nur dann durch eingeladen werden",
111111
"Channel_hint_public": "Jeder kann auf diesen Kanal zugreifen",
112112
"Channel_Name": "Channel-Name",
113+
"Channel_name_already_taken": "Kanalname bereits vergeben",
113114
"Channel_name_required": "Kanalname erforderlich",
114115
"Channel_Read_Only_Hint": "Nur Kanalbesitzer können neue Nachrichten senden",
115116
"Channels": "Channels",

app/i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"Channel_hint_private": "People can only join by being invited",
123123
"Channel_hint_public": "Everyone can access this channel",
124124
"Channel_Name": "Channel name",
125+
"Channel_name_already_taken": "Channel name already taken",
125126
"Channel_name_required": "Channel name required",
126127
"Channel_Read_Only_Hint": "Only channel owners can send new messages",
127128
"Channels": "Channels",

app/i18n/locales/es.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"changing_avatar": "cambiando avatar",
6565
"Channel_hint_private": "La gente solo puede unirse al ser invitado",
6666
"Channel_Name": "Nombre sala",
67+
"Channel_name_already_taken": "Nombre de canal ya está en uso.",
6768
"Channel_name_required": "Nombre del canal requerido",
6869
"Channel_Read_Only_Hint": "Solo los propietarios de canales pueden enviar nuevos mensajes",
6970
"Channels": "Salas",

app/i18n/locales/fi.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
"Channel_hint_private": "Ihmiset voivat liittyä vain kutsumalla",
101101
"Channel_hint_public": "Kaikilla on pääsy tälle kanavalle",
102102
"Channel_Name": "Kanavan nimi",
103+
"Channel_name_already_taken": "Kanavan nimi on jo varattu.",
103104
"Channel_name_required": "Kanavan nimi vaaditaan",
104105
"Channel_Read_Only_Hint": "Vain kanavanomistajat voivat lähettää uusia viestejä",
105106
"Channels": "Kanavat",

app/i18n/locales/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"changing_avatar": "changer d'avatar",
8080
"Channel_hint_private": "Les gens ne peuvent se joindre qu'en étant invité",
8181
"Channel_Name": "Nom du canal",
82+
"Channel_name_already_taken": "Nom de chaîne déjà pris",
8283
"Channel_name_required": "Nom de la chaîne requis",
8384
"Channel_Read_Only_Hint": "Seuls les propriétaires de canaux peuvent envoyer de nouveaux messages",
8485
"Channels": "Canaux",

app/i18n/locales/hi-IN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"Channel_hint_private": "लोग केवल आमंत्रित किए जाने पर ही जुड़ सकते हैं",
116116
"Channel_hint_public": "हर कोई इस चैनल तक पहुँच सकता है",
117117
"Channel_Name": "चैनल का नाम",
118+
"Channel_name_already_taken": "चैनल का नाम पहले से लिया जा चुका है।",
118119
"Channel_name_required": "चैनल का नाम आवश्यक है।",
119120
"Channel_Read_Only_Hint": "केवल चैनल के मालिक नए संदेश भेज सकते हैं",
120121
"Channels": "चैनल्स",

app/i18n/locales/hu.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
"Channel_hint_private": "Az emberek csak meghívással csatlakozhatnak",
116116
"Channel_hint_public": "Mindenki hozzáférhet ehhez a csatornához",
117117
"Channel_Name": "Csatorna neve",
118+
"Channel_name_already_taken": "A csatorna neve már foglalt.",
118119
"Channel_name_required": "Csatornanév szükséges",
119120
"Channel_Read_Only_Hint": "Csak a csatornatulajdonosok küldhetnek új üzeneteket",
120121
"Channels": "Csatornák",

0 commit comments

Comments
 (0)