Skip to content

Commit

Permalink
fix: updated label and description of switch
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Nov 22, 2024
1 parent d28011a commit 687082d
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 14 deletions.
1 change: 1 addition & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
"Read_External_Permission": "صلاحية قراءة الوسائط",
"Read_External_Permission_Message": "يحتاج Rocket.chat للوصول إلى الصور والملفات الموجودة على الجهاز",
"Read_Only": "قراءة فقط",
"Read_only_hint": "يمكن لمالكي القنوات فقط إرسال رسائل جديدة",
"Read_Receipt": "قراءة المستلم",
"Receive_Group_Mentions": "تلقي إشارات المجموعة",
"Receive_Group_Mentions_Info": "تلقي @all و @here للإشعارات",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"Read_External_Permission": "মিডিয়া অনুমতি পড়া",
"Read_External_Permission_Message": "Rocket.Chat আপনার ডিভাইসে ফটো, মিডিয়া এবং ফাইল অ্যাক্সেস করতে পারে",
"Read_Only": "শুধুমাত্র পড়া",
"Read_only_hint": "শুধুমাত্র অনুমোদিত ব্যবহারকারীরা নতুন বার্তা লেখতে পারবে",
"Read_only_hint": "কেবল চ্যানেল মালিকরা নতুন বার্তা প্রেরণ করতে পারেন",
"Read_Receipt": "পড়া স্বীকৃতি",
"Receive_Group_Mentions": "গ্রুপ উল্লেখ প্রাপ্ত করুন",
"Receive_Group_Mentions_Info": "@all এবং @here উল্লেখ প্রাপ্ত করুন",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@
"Read_External_Permission": "Povolení ke čtení médií",
"Read_External_Permission_Message": "Rocket.Chat potřebuje přístup k fotografiím, médiím a souborům ve vašem zařízení",
"Read_Only": "Pouze ke čtení",
"Read_only_hint": "Pouze oprávnění uživatelé mohou psát nové zprávy",
"Read_only_hint": "Pouze majitelé kanálů mohou odesílat nové zprávy",
"Read_Receipt": "Potvrzení o přečtení",
"Receive_Group_Mentions": "Přijímat zmínky o skupině",
"Receive_Group_Mentions_Info": "Přijímat @všechny a @zde zmínky",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
"Read_External_Permission": "Lese-Zugriff auf Medien",
"Read_External_Permission_Message": "Rocket.Chat benötigt Zugriff auf Ihre Fotos, Medien und Dateien auf Ihrem Gerät",
"Read_Only": "Schreibgeschützt",
"Read_only_hint": "Nur autorisierte Benutzer können neue Nachrichten schreiben",
"Read_only_hint": "Nur Kanalbesitzer können neue Nachrichten senden",
"Read_Receipt": "Lesebestätigung",
"Receive_Group_Mentions": "Gruppen-Benachrichtigungen erhalten",
"Receive_Group_Mentions_Info": "@all- und @here-Erwähnungen empfangen",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@
"Read_External_Permission": "Read media permission",
"Read_External_Permission_Message": "Rocket.Chat needs to access photos, media, and files on your device",
"Read_Only": "Read only",
"Read_only_hint": "Only authorized users can write new messages",
"Read_only_hint": "Only channel owners can send new messages",
"Read_Receipt": "Read receipt",
"Receive_Group_Mentions": "Receive group mentions",
"Receive_Group_Mentions_Info": "Receive @all and @here mentions",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
"Reactions_are_disabled": "Las reacciones están desactivadas",
"Reactions_are_enabled": "Las reacciones están activadas",
"Read_Only": "Sólo lectura ",
"Read_only_hint": "Solo los propietarios de canales pueden enviar nuevos mensajes",
"Read_Receipt": "Comprobante de lectura",
"Receive_Group_Mentions": "Recibir menciones de grupo",
"Receive_Group_Mentions_Info": "Recibir menciones @all y @here",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@
"Read_External_Permission": "Median lukuoikeus",
"Read_External_Permission_Message": "Rocket.Chat tarvitsee pääsyn laitteesi valokuviin, mediaan ja tiedostoihin",
"Read_Only": "Vain luku",
"Read_only_hint": "Vain valtuutetut käyttäjät voivat kirjoittaa uusia viestejä",
"Read_only_hint": "Vain kanavanomistajat voivat lähettää uusia viestejä",
"Read_Receipt": "Lukukuittaus",
"Receive_Group_Mentions": "Vastaanota ryhmämainintoja",
"Receive_Group_Mentions_Info": "Vastaanota @all- ja @here-maininnat",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@
"Read_External_Permission": "Permission de lecture des fichiers",
"Read_External_Permission_Message": "Rocket.Chat doit accéder aux photos, aux médias et aux fichiers sur votre appareil",
"Read_Only": "Lecture seule",
"Read_only_hint": "Seuls les propriétaires de canaux peuvent envoyer de nouveaux messages",
"Read_Receipt": "Accusé de réception",
"Receive_Group_Mentions": "Recevoir des mentions de groupe",
"Receive_Group_Mentions_Info": "Recevoir des mentions @all et @here",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"Read_External_Permission": "मीडिया अनुमति पठन",
"Read_External_Permission_Message": "रॉकेट.चैट को आपके डिवाइस पर फ़ोटो, मीडिया और फ़ाइल तक पहुंच की आवश्यकता है",
"Read_Only": "केवल पठन",
"Read_only_hint": "केवल अधिकृत उपयोगकर्ताएं नए संदेश लिख सकती हैं",
"Read_only_hint": "केवल चैनल के मालिक केवल नए संदेश भेज सकते हैं",
"Read_Receipt": "पठन प्राप्ति",
"Receive_Group_Mentions": "समूह उल्लेख प्राप्त करें",
"Receive_Group_Mentions_Info": "@all और @here उल्लेख प्राप्त करें",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
"Read_External_Permission": "Médiaengedély olvasása",
"Read_External_Permission_Message": "A Rocket.Chat-nek hozzá kell férnie a készülékén lévő fényképekhez, médiához és fájlokhoz",
"Read_Only": "Csak olvasható",
"Read_only_hint": "Csak az engedélyezett felhasználók írhatnak új üzeneteket",
"Read_only_hint": "Csak a csatornatulajdonosok küldhetnek új üzeneteket",
"Read_Receipt": "Olvassa el a nyugtát",
"Receive_Group_Mentions": "Csoportos említések fogadása",
"Receive_Group_Mentions_Info": "Az @all és @here említések fogadása",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@
"Read_External_Permission": "Permesso di Lettura della Memoria",
"Read_External_Permission_Message": "Rocket.Chat deve accedere alle foto, media, e documenti sul tuo dispositivo",
"Read_Only": "Sola lettura",
"Read_only_hint": "Solo i proprietari di canali possono inviare nuovi messaggi",
"Read_Receipt": "Conferma di lettura",
"Receive_Group_Mentions": "Ricevi menzioni di gruppo",
"Receive_Group_Mentions_Info": "Ricevi menzioni @all e @here",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@
"Reactions_are_disabled": "リアクションは無効化されています",
"Reactions_are_enabled": "リアクションは有効化されています",
"Read_Only": "読み取り専用",
"Read_only_hint": "チャネル所有者のみが新しいメッセージを送信できます",
"Read_Receipt": "レシートを見る",
"Receive_Group_Mentions": "グループの通知を受け取る",
"Receive_Group_Mentions_Info": "@all と @here の通知を受け取る",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@
"Read_External_Permission": "Lees toestemming voor media",
"Read_External_Permission_Message": "Rocket.Chat heeft toegang nodig tot foto's, media en bestanden op je apparaat",
"Read_Only": "Alleen lezen",
"Read_only_hint": "Alleen kanaaleigenaren kunnen nieuwe berichten verzenden",
"Read_Receipt": "Leesbevestiging",
"Receive_Group_Mentions": "Groepsvermeldingen ontvangen",
"Receive_Group_Mentions_Info": "Ontvang @all en @here vermeldingen",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
"Read_External_Permission": "Permissão de acesso à arquivos",
"Read_External_Permission_Message": "Rocket.Chat precisa acessar fotos, mídia e arquivos no seu dispositivo",
"Read_Only": "Somente leitura",
"Read_only_hint": "Somente usuários autorizados podem escrever novas mensagens",
"Read_only_hint": "Somente os proprietários do canal podem enviar novas mensagens",
"Read_Receipt": "Lida por",
"Receive_Group_Mentions": "Receber menções de grupo",
"Receive_Group_Mentions_Info": "Receber menções @all e @here",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
"Read_External_Permission": "Permissão de leitura da média",
"Read_External_Permission_Message": "Rocket.Chat precisa acessar fotos, média e arquivos em seu dispositivo",
"Read_Only": "Só de Leitura",
"Read_only_hint": "Somente os proprietários do canal podem enviar novas mensagens",
"Read_Receipt": "Recibos de leitura",
"Register": "Registar",
"Remove_someone_from_room": "Remover alguém da sala",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"Read_External_Permission": "Разрешение на Чтение Медиа",
"Read_External_Permission_Message": "Rocket.Chat необходим доступ к фотографиям, медиа и другим файлам на вашем устройстве",
"Read_Only": "Только для чтения",
"Read_only_hint": "Только авторизованные пользователи могут писать новые сообщения",
"Read_only_hint": "Только владельцы каналов могут отправлять новые сообщения",
"Read_Receipt": "Уведомление о прочтении",
"Receive_Group_Mentions": "Получать групповые уведомления",
"Receive_Group_Mentions_Info": "Получать @all и @here уведомления",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sl-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@
"Read_External_Permission": "Dovoljenje za branje medija",
"Read_External_Permission_Message": "Rocket.Chat potrebuje dostop do fotografij, medijev in datotek v vaši napravi",
"Read_Only": "Le branje",
"Read_only_hint": "Samo lastniki kanalov lahko pošljejo nova sporočila",
"Read_Receipt": "Preberite potrdilo",
"Receive_Group_Mentions": "Prejemajte omembe skupine",
"Receive_Group_Mentions_Info": "Prejemate @all in @Here omembe",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
"Read_External_Permission": "Behörighet att läsa media",
"Read_External_Permission_Message": "Rocket.Chat behöver åtkomst till foton, media och filer på enheten",
"Read_Only": "Skrivskyddat",
"Read_only_hint": "Endast behöriga användare kan skriva nya meddelanden",
"Read_only_hint": "Endast kanalägare kan skicka nya meddelanden",
"Read_Receipt": "Läskvitto",
"Receive_Group_Mentions": "Ta emot gruppomnämnanden",
"Receive_Group_Mentions_Info": "Ta emot omnämnanden av typen @all och @here",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@
"Read_External_Permission": "மீடியா அனுமதி",
"Read_External_Permission_Message": "ராக்கெட்.சேட் உங்கள் கருவியில் புகைப்படங்கள், மீடியா மற்றும் கோப்புகளுக்கு அணுகல் பெற விரும்புகின்றது",
"Read_Only": "மட்டுமே படிக்க முடியும்",
"Read_only_hint": "அனுமதிக்கப்பட்ட பயனர்கள் மட்டும் புதிய செய்திகளை எழுதலாம்",
"Read_only_hint": "சேனல் உரிமையாளர்கள் மட்டுமே புதிய செய்திகளை அனுப்ப முடியும்",
"Read_Receipt": "படித்த ரசீது",
"Receive_Group_Mentions": "குழு குறிப்புகளைப் பெறு",
"Receive_Group_Mentions_Info": "@all மற்றும் @here குறிப்புகளைப் பெறு",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
"Read_External_Permission": "మీడియా అనుమతి",
"Read_External_Permission_Message": "రాకెట్.చాట్ మీ పరికరాల్లో ఫోటోలను, మీడియాను మరియు ఫైళ్లను ప్రవేశించాలి",
"Read_Only": "కేవలం చదవడానికి",
"Read_only_hint": "కొనసాగించిన వాడాలు మాత్రమే కొత్త సందేశాలను రాయగలరు",
"Read_only_hint": "ఛానెల్ యజమానులు మాత్రమే క్రొత్త సందేశాలను పంపగలరు",
"Read_Receipt": "చదవడానికి సాక్షాత్కారం",
"Receive_Group_Mentions": "గ్రూప్ స్మరణలు స్వీకరించు",
"Receive_Group_Mentions_Info": "@all మరియు @here స్మరణలు స్వీకరించు",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@
"Read_External_Permission": "Medya Okuma İzni ",
"Read_External_Permission_Message": "Rocket.Chat'in cihazınızdaki fotoğraflara, medyaya ve dosyalara erişmesi gerekiyor",
"Read_Only": "Yazma Kısıtlı",
"Read_only_hint": "Yalnızca kanal sahipleri yeni mesajlar gönderebilir",
"Read_Receipt": "Okundu Bilgisi",
"Receive_Group_Mentions": "Grup Bahsetmelerini Al",
"Receive_Group_Mentions_Info": "Grup bahsetmelerini al",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"Read_External_Permission": "读取媒体权限",
"Read_External_Permission_Message": "Rocket.Chat 需要存取您装置上的相片、多媒体及文件",
"Read_Only": "只读",
"Read_only_hint": "只有频道所有者可以发送新消息",
"Read_Receipt": "查看已读人员",
"Receive_Group_Mentions": "接收群组提及",
"Receive_Group_Mentions_Info": "接收@all和@here提及",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@
"Read_External_Permission": "讀取媒體權限",
"Read_External_Permission_Message": "Rocket.Chat 需要存取您裝置上的相片、多媒體及檔案",
"Read_Only": "唯讀",
"Read_only_hint": "只有頻道所有者可以發送新消息",
"Read_Receipt": "查看已讀人員",
"Receive_Group_Mentions": "接收群組提及",
"Receive_Group_Mentions_Info": "接收@all和@here提及",
Expand Down
3 changes: 1 addition & 2 deletions app/views/CreateChannelView/RoomSettings/SwitchItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export const SwitchItem = ({ id, value, label, hint, onValueChange, disabled = f
disabled={disabled}
onPress={() => onValueChange(!value)}
accessible
accessibilityLabel={`${I18n.t(label)}, ${value ? I18n.t('Enabled') : I18n.t('Disabled')}, ${I18n.t(hint)}`}
accessibilityRole='switch'>
accessibilityLabel={`${I18n.t(label)}, ${I18n.t(hint)}`}>
<View style={[styles.switchContainer, { backgroundColor: colors.surfaceRoom }]}>
<View style={styles.switchTextContainer}>
<Text style={[styles.label, { color: colors.fontTitlesLabels }]}>{I18n.t(label)}</Text>
Expand Down

0 comments on commit 687082d

Please sign in to comment.