Skip to content

Commit

Permalink
chore(a11y): StatusView (#6009)
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak authored Jan 13, 2025
1 parent 1713497 commit ab229f3
Show file tree
Hide file tree
Showing 28 changed files with 110 additions and 74 deletions.
3 changes: 1 addition & 2 deletions app/containers/Check.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { useTheme } from '../theme';
const styles = StyleSheet.create({
icon: {
width: 22,
height: 22,
marginHorizontal: 15
height: 22
}
});

Expand Down
7 changes: 4 additions & 3 deletions app/containers/ServerItem/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@ export const ROW_HEIGHT = 56;
export default StyleSheet.create({
serverItemContainer: {
flexDirection: 'row',
alignItems: 'center'
alignItems: 'center',
padding: 12
},
serverIcon: {
width: 44,
height: 44,
margin: 12,
borderRadius: 4,
resizeMode: 'contain'
},
serverTextContainer: {
flex: 1,
flexDirection: 'column',
justifyContent: 'center',
paddingRight: 18
paddingRight: 18,
paddingLeft: 12
},
serverName: {
fontSize: 18,
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"Created_snippet": "إنشاء مقتطف",
"creating_channel": "إنشاء قناة",
"creating_invite": "إنشاء دعوة",
"Current_Status": "الحالة الحالية",
"Dark": "داكن",
"Dark_level": "مستوى السمة الداكنة",
"Default": "افتراضي",
Expand Down Expand Up @@ -188,7 +189,6 @@
"Invalid_or_expired_invite_token": "رمز الدعوة غير صالح أو منتهي الصلاحية",
"Invalid_server_version": "الخادم الذي تحاول الاتصال به يستخدم إصدارا لم يعد مدعوماً: {{currentVersion}}.\n\n النسخ المدعومة تبدأ من {{minVersion}}",
"Invalid_workspace_URL": "عنوان URL لمساحة العمل غير صالح",
"Invisible": "غير مرئي",
"Invite_Link": "رابط الدعوة",
"Invite_user_to_join_channel": "دعوة مستخدم واحد إلى الانضمام إلى هذه القناة",
"Invite_user_to_join_channel_all_from": "دعوة جميع المستخدمين من [‎#channel] إلى الانضمام إلى هذه القناة",
Expand Down Expand Up @@ -294,6 +294,7 @@
"Notifications": "الإشعارات",
"Notify_active_in_this_room": "أبلغ المستخدمين النشطين في هذه الغرفة",
"Notify_all_in_this_room": "أبلغ الجميع في الغرفة",
"Offline": "غير متصل بالإنترنت",
"Omnichannel": "القنوات الموحدة",
"Omnichannel_enable_alert": "أنت غير متاح ",
"Onboarding_agree_terms": "بالمواصلة أنت توافق على Rocket.Chat",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"creating_discussion": "আলোচনা তৈরি হচ্ছে",
"creating_invite": "ইনভাইট তৈরি হচ্ছে",
"creating_team": "দল তৈরি হচ্ছে",
"Current_Status": "বর্তমান অবস্থা",
"Dark": "অন্ধকার",
"Dark_level": "অন্ধকার স্তর",
"decline": "অস্বীকার করুন",
Expand Down Expand Up @@ -305,7 +306,6 @@
"Invalid_or_expired_invite_token": "অকার্যকর বা মেয়াদ উত্তীর্ণ ইনভাইট টোকেন",
"Invalid_server_version": "আপনি যাচাই করতে চেষ্টা করছেন তার একটি সংস্করণ ব্যবহার করছেন যা এখনও অ্যাপ দ্বারা সাপোর্ট করা হয়নি: {{currentVersion}}।\n\nআমরা সংস্করণ {{minVersion}} প্রয়োজন প্রয়োজন",
"Invalid_workspace_URL": "অবৈধ ওয়ার্কস্পেস URL",
"Invisible": "অদৃশ্য",
"Invite_Link": "আমন্ত্রণ লিঙ্ক",
"Invite_users": "ব্যবহারকারীদের আমন্ত্রণ করুন",
"IP": "IP",
Expand Down Expand Up @@ -458,6 +458,7 @@
"Notify_active_in_this_room": "এই রুমে সক্রিয় ব্যবহারকারীগণকে অবহিত করুন",
"Notify_all_in_this_room": "এই রুমে সবাইকে অবহিত করুন",
"Off": "বন্ধ",
"Offline": "অফলাইন",
"Omnichannel": "অমনিচ্যানেল",
"Omnichannel_enable_alert": "আপনি অমনিচ্যানেলে উপলভ্য নই। আপনি কি উপলব্ধ হতে চান?",
"Omnichannel_on_hold_chat_resumed": "হোল্ড চ্যাট পুনরায় শুরু হয়েছে: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"creating_discussion": "vytvoření diskuse",
"creating_invite": "vytváření pozvánky",
"creating_team": "vytváření týmu",
"Current_Status": "Aktuální stav",
"Custom_push_gateway_connected_description": "Váš pracovní prostor používá vlastní bránu pro oznámení push. Případné problémy si ověřte u správce pracovního prostoru.",
"Custom_push_gateway_connection": "Připojení vlastní brány",
"Dark": "Temný",
Expand Down Expand Up @@ -329,7 +330,6 @@
"Invalid_or_expired_invite_token": "Neplatný nebo vypršela platnost tokenu pozvánky",
"Invalid_server_version": "Pracovní prostor, který se pokoušíte připojit, používá verzi, která již není aplikací podporována: {{currentVersion}}.\n\nPožadujeme verzi {{minVersion}}",
"Invalid_workspace_URL": "Neplatná URL adresa pracovního prostoru",
"Invisible": "Neviditelný",
"Invite_Link": "Odkaz na pozvánku",
"Invite_user_to_join_channel": "Pozvat jednoho uživatele, aby se připojil k tomuto kanálu",
"Invite_user_to_join_channel_all_from": "Pozvat všechny uživatele z [#channel], aby se připojili k tomuto kanálu",
Expand Down Expand Up @@ -496,6 +496,7 @@
"Notify_active_in_this_room": "Upozornit aktivní uživatele v této místnosti",
"Notify_all_in_this_room": "Upozornit všechny v této místnosti",
"Off": "Vypnuto",
"Offline": "Offline",
"Omnichannel": "Omnikanál",
"Omnichannel_enable_alert": "Nejste k dispozici na Omnikanálu. Chcete být k dispozici?",
"Omnichannel_on_hold_chat_resumed": "Podržený chat obnoven: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
"creating_discussion": "Erzeuge Diskussion",
"creating_invite": "Einladung erstellen",
"creating_team": "Team erstellen",
"Current_Status": "Aktueller Status",
"Dark": "Dunkel",
"Dark_level": "Dunkelstufe",
"decline": "Ablehnen",
Expand Down Expand Up @@ -298,7 +299,6 @@
"Invalid_or_expired_invite_token": "Ungültiger oder abgelaufener Einladungscode",
"Invalid_server_version": "Der Server, mit dem Sie sich verbinden möchten, verwendet eine Version, die von der App nicht mehr unterstützt wird: {{currentVersion}}.\n\nWir benötigen Version {{minVersion}}.",
"Invalid_workspace_URL": "Ungültige Arbeitsbereichs-URL",
"Invisible": "Unsichtbar",
"Invite_Link": "Einladungs-Link",
"Invite_user_to_join_channel": "Benutzer in diesen Channel einladen",
"Invite_user_to_join_channel_all_from": "Alle Benutzer des Channels [#channel] einladen, diesem Channel zu folgen",
Expand Down Expand Up @@ -447,6 +447,7 @@
"Notifications": "Benachrichtigungen",
"Notify_active_in_this_room": "Aktive Benutzer in diesem Room benachrichtigen",
"Notify_all_in_this_room": "Alle in diesem Room nenachrichtigen",
"Offline": "Offline",
"Omnichannel": "Omnichannel",
"Omnichannel_enable_alert": "Sie sind in Omnichannel nicht verfügbar. Möchten Sie erreichbar sein?",
"Omnichannel_on_hold_chat_resumed": "Pausierter Chat wird fortgesetzt: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@
"creating_discussion": "creating discussion",
"creating_invite": "creating invite",
"creating_team": "creating team",
"Current_Status": "Current Status",
"Custom_push_gateway_connected_description": "Your workspace uses a custom push notification gateway. Check with your workspace administrator for any issues.",
"Custom_push_gateway_connection": "Custom gateway connection",
"Dark": "Dark",
Expand Down Expand Up @@ -350,7 +351,6 @@
"Invalid_or_expired_invite_token": "Invalid or expired invite token",
"Invalid_server_version": "The workspace you're trying to connect is using a version that's not supported by the app anymore: {{currentVersion}}.\n\nWe require version {{minVersion}}",
"Invalid_workspace_URL": "Invalid workspace URL",
"Invisible": "Invisible",
"Invite_Link": "Invite link",
"Invite_user_to_join_channel": "Invite one user to join this channel",
"Invite_user_to_join_channel_all_from": "Invite all users from [#channel] to join this channel",
Expand Down Expand Up @@ -519,6 +519,7 @@
"Notify_active_in_this_room": "Notify active users in this room",
"Notify_all_in_this_room": "Notify all in this room",
"Off": "Off",
"Offline": "Offline",
"Omnichannel": "Omnichannel",
"Omnichannel_enable_alert": "You're not available on Omnichannel. Would you like to be available?",
"Omnichannel_on_hold_chat_resumed": "On hold chat resumed: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
"Create_Channel": "Crear sala",
"Created_snippet": "crear mensaje en bloque",
"creating_channel": "creando channel",
"Current_Status": "Estado Actual",
"Dark": "Oscuro",
"Dark_level": "Nivel de oscuridad",
"Default": "Por defecto",
Expand Down Expand Up @@ -127,7 +128,6 @@
"In_App_and_Desktop_Alert_info": "Muestra un banner en la parte superior de la pantalla cuando la aplicación esté abierta y muestra una notificación en el escritorio",
"Invalid_server_version": "El servidor que intentas conectar está usando una versión que ya no está soportada por la aplicación : {{currentVersion}}. Se requiere una versión {{minVersion}}.",
"Invalid_workspace_URL": "URL del espacio de trabajo no válida",
"Invisible": "Invisible",
"Invite_user_to_join_channel": "Invitar a un usuario a unirse a este canal",
"Invite_user_to_join_channel_all_from": "Invitar a todos los usuarios de [#channell] a que se unan a este canal",
"Invite_user_to_join_channel_all_to": "Invitar a todos los usuarios de este canal a unirse a [#channel]",
Expand Down Expand Up @@ -182,6 +182,7 @@
"Notifications": "Notificaciones",
"Notify_active_in_this_room": "Notificar a los usuarios activos en esta sala",
"Notify_all_in_this_room": "Notificar a todos en esta sala",
"Offline": "Desconectado",
"Online": "Conectado",
"Only_authorized_users_can_write_new_messages": "Sólo pueden escribir mensajes usuarios autorizados",
"Oops": "Oops!",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"creating_discussion": "luo keskustelua",
"creating_invite": "luo kutsua",
"creating_team": "luo tiimiä",
"Current_Status": "Nykytila",
"Dark": "Tumma",
"Dark_level": "Tumman taso",
"Default": "Oletus",
Expand Down Expand Up @@ -280,7 +281,6 @@
"Invalid_or_expired_invite_token": "Virheellinen tai vanhentunut kutsutunnus",
"Invalid_server_version": "Palvelin, johon yrität muodostaa yhteyttä, käyttää versiota, jota sovellus ei enää tue: {{currentVersion}}.\n\nEdellytämme versiota {{minVersion}}",
"Invalid_workspace_URL": "Virheellinen työtilan URL-osoite",
"Invisible": "Näkymätön",
"Invite_Link": "Kutsulinkki",
"Invite_user_to_join_channel": "Kutsu käyttäjä liittymään tälle kanavalle",
"Invite_user_to_join_channel_all_from": "Kutsu kaikki käyttäjät kanavalta [#channel] liittymään tälle kanavalle",
Expand Down Expand Up @@ -424,6 +424,7 @@
"Notifications": "Ilmoitukset",
"Notify_active_in_this_room": "Ilmoita tämän huoneen aktiivisille käyttäjille",
"Notify_all_in_this_room": "Ilmoita kaikille tässä huoneessa",
"Offline": "Offline",
"Omnichannel": "Omnichannel",
"Omnichannel_enable_alert": "Et ole saavutettavissa Omnichannelissa. Haluatko olla saavutettavissa?",
"Omnichannel_on_hold_chat_resumed": "Pidossa olevaa keskustelua jatkettiin: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"creating_discussion": "créer une discussion",
"creating_invite": "création d'une invitation",
"creating_team": "création de l'équipe",
"Current_Status": "Statut actuel",
"Dark": "Sombre",
"Dark_level": "Niveau d'obscurité",
"Default": "Défaut",
Expand Down Expand Up @@ -245,7 +246,6 @@
"Invalid_or_expired_invite_token": "Jeton d'invitation non valide ou expiré",
"Invalid_server_version": "Le serveur auquel vous essayez de vous connecter utilise une version qui n'est plus prise en charge par l'application : {{currentVersion}}.\n\nNous exigeons la version {{minVersion}}",
"Invalid_workspace_URL": "URL d’espace de travail invalide",
"Invisible": "Invisible",
"Invite_Link": "Lien d'invitation",
"Invite_user_to_join_channel": "Inviter un utilisateur à rejoindre le canal",
"Invite_user_to_join_channel_all_from": "Inviter tous les utilisateurs de [#channel] à rejoindre ce canal",
Expand Down Expand Up @@ -384,6 +384,7 @@
"Notifications": "Notifications",
"Notify_active_in_this_room": "Notifier les utilisateurs actifs dans ce salon",
"Notify_all_in_this_room": "Avertir tout le monde dans ce salon",
"Offline": "Hors ligne",
"Omnichannel": "Omnicanal",
"Omnichannel_enable_alert": "Vous n'êtes pas disponible sur Omnicanal. Souhaitez-vous être disponible ?",
"Omnichannel_on_hold_chat_resumed": "Le chat en attente a repris : {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"creating_discussion": "चर्चा बना रहा है",
"creating_invite": "आमंत्रण बना रहा है",
"creating_team": "टीम बना रहा है",
"Current_Status": "वर्तमान स्थिति",
"Dark": "डार्क",
"Dark_level": "डार्क स्तर",
"decline": "तिरस्कार",
Expand Down Expand Up @@ -305,7 +306,6 @@
"Invalid_or_expired_invite_token": "अमान्य या समाप्त होने वाला निमंत्रण टोकन",
"Invalid_server_version": "यह कार्यस्थान जिससे आप कनेक्ट करने का प्रयास कर रहे हैं, वह ऐप द्वारा अब समर्थित नहीं है: {{currentVersion}}।\n\nहमें {{minVersion}} संस्करण की आवश्यकता है",
"Invalid_workspace_URL": "अमान्य कार्यक्षेत्र URL",
"Invisible": "अदृश्य",
"Invite_Link": "निमंत्रण लिंक",
"Invite_users": "उपयोगकर्ताओं को निमंत्रित करें",
"IP": "आईपी",
Expand Down Expand Up @@ -458,6 +458,7 @@
"Notify_active_in_this_room": "इस कमरे में सक्रिय उपयोगकर्ताओं को सूचित करें",
"Notify_all_in_this_room": "इस कमरे में सभी को सूचित करें",
"Off": "बंद",
"Offline": "ऑफ़लाइन",
"Omnichannel": "ओमनीचैनल",
"Omnichannel_enable_alert": "आप ओमनीचैनल पर उपलब्ध नहीं हैं। क्या आप उपलब्ध होना चाहेंगे?",
"Omnichannel_on_hold_chat_resumed": "होल्ड पर चैट पुनरारंभ: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"creating_discussion": "megbeszélés létrehozása",
"creating_invite": "meghívó létrehozása",
"creating_team": "csapat létrehozása",
"Current_Status": "Jelenlegi állapot",
"Dark": "Sötét",
"Dark_level": "Sötét szint",
"decline": "Elutasítom",
Expand Down Expand Up @@ -305,7 +306,6 @@
"Invalid_or_expired_invite_token": "Érvénytelen vagy lejárt meghívási token",
"Invalid_server_version": "A munkaterület, amelyhez csatlakozni próbál, olyan verziót használ, amelyet az alkalmazás már nem támogat: {{currentVersion}}. \n\nA {{minVersion}} verzióra van szükségünk",
"Invalid_workspace_URL": "Érvénytelen munkaterület URL",
"Invisible": "Láthatatlan",
"Invite_Link": "Meghívási hivatkozás",
"Invite_users": "Felhasználók meghívása",
"IP": "IP-cím",
Expand Down Expand Up @@ -459,6 +459,7 @@
"Notify_active_in_this_room": "Aktív felhasználók értesítése ebben a szobában",
"Notify_all_in_this_room": "Mindenki értesítése ebben a szobában",
"Off": "Ki",
"Offline": "Offline",
"Omnichannel": "Összcsatorna",
"Omnichannel_enable_alert": "Nem vagy elérhető az Összcsatornában. Szeretnél elérhető lenni?",
"Omnichannel_on_hold_chat_resumed": "Várakoztatott csevegés folytatva: {{comment}}",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"Created_snippet": "Snippet creato",
"creating_channel": "creo canale",
"creating_invite": "creo invito",
"Current_Status": "Stato attuale",
"Dark": "Scuro",
"Dark_level": "Contrasto",
"Default": "Predefinito",
Expand Down Expand Up @@ -217,7 +218,6 @@
"Invalid_or_expired_invite_token": "Token di invito non valido o scaduto",
"Invalid_server_version": "Il server a cui stai cercando di connetterti sta utilizzando una versione non più supportata dall'app: {{currentVersion}}.\n\nVersione minima richiesta: {{minVersion}}",
"Invalid_workspace_URL": "URL dello spazio di lavoro non valido",
"Invisible": "Invisibile",
"Invite_Link": "Link di invito",
"Invite_user_to_join_channel": "Invita un utente ad entrare in questo canale",
"Invite_user_to_join_channel_all_from": "Invita tutti gli utenti da [#channell] per unirsi a questo canale",
Expand Down Expand Up @@ -328,6 +328,7 @@
"Notifications": "Notifiche",
"Notify_active_in_this_room": "Notifica solo gli utenti attivi in questa stanza",
"Notify_all_in_this_room": "Notifica tutti gli utenti in questa stanza",
"Offline": "Non in linea",
"Omnichannel": "Omnichannel",
"Omnichannel_enable_alert": "Non sei ancora su Onmichannel. Vuoi attivarlo?",
"Onboarding_agree_terms": "Procedendo, accetti Rocket.Chat",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"Created_snippet": "スニペットを作成",
"creating_channel": "チャンネルを作成",
"creating_invite": "招待を作成",
"Current_Status": "現状",
"Dark": "ダーク",
"Dark_level": "ダークレベル",
"Default": "デフォルト",
Expand Down Expand Up @@ -189,7 +190,6 @@
"Invalid_or_expired_invite_token": "招待トークンが無効か、期限が切れています",
"Invalid_server_version": "接続しようとしているサーバーのバージョン({{currentVersion}})はサポートされていません。\n\nサポートする最低バージョンは {{minVersion}} です",
"Invalid_workspace_URL": "無効なワークスペースのURL",
"Invisible": "状態を隠す",
"Invite_Link": "招待リンク",
"Invite_user_to_join_channel": "1ユーザーをこのチャネルに招待",
"Invite_user_to_join_channel_all_from": "[#channel]のすべてのユーザーをこのチャネルに招待",
Expand Down Expand Up @@ -271,6 +271,7 @@
"Notifications": "通知",
"Notify_active_in_this_room": "このルームのアクティブなユーザーに通知する",
"Notify_all_in_this_room": "このルームのユーザー全員に通知する",
"Offline": "オフライン",
"Online": "オンライン",
"Only_authorized_users_can_write_new_messages": "承認されたユーザーだけが新しいメッセージを書き込めます",
"Oops": "おっと!",
Expand Down
3 changes: 2 additions & 1 deletion app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"creating_discussion": "discussie aanmaken",
"creating_invite": "uitnodiging maken",
"creating_team": "team maken",
"Current_Status": "Huidige status",
"Dark": "Donker",
"Dark_level": "Donker niveau",
"Default": "Standaard",
Expand Down Expand Up @@ -245,7 +246,6 @@
"Invalid_or_expired_invite_token": "Ongeldige of verlopen uitnodigingstoken",
"Invalid_server_version": "De server waarmee je probeert te verbinden, gebruikt een versie die niet meer door de app wordt ondersteund: {{currentVersion}}.\n\nWe hebben versie {{minVersion}} nodig",
"Invalid_workspace_URL": "Ongeldige werkruimte-URL",
"Invisible": "Onzichtbaar",
"Invite_Link": "Uitnodigingslink",
"Invite_user_to_join_channel": "Nodig een gebruiker uit om lid te worden van dit kanaal",
"Invite_user_to_join_channel_all_from": "Nodig alle gebruikers van [#kanaal] uit om lid te worden van dit kanaal",
Expand Down Expand Up @@ -384,6 +384,7 @@
"Notifications": "Notificaties",
"Notify_active_in_this_room": "Waarschuw actieve gebruikers in deze kamer",
"Notify_all_in_this_room": "Breng iedereen in deze kamer op de hoogte",
"Offline": "Offline",
"Omnichannel": "Omnichannel",
"Omnichannel_enable_alert": "Je bent niet beschikbaar op Omnichannel. Wil je beschikbaar zijn?",
"Omnichannel_on_hold_chat_resumed": "Chat in de wacht hervat: {{comment}}",
Expand Down
Loading

0 comments on commit ab229f3

Please sign in to comment.