Skip to content

Commit

Permalink
chore: updated input accessibility label
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Nov 14, 2024
1 parent 2e90ca5 commit a0839c4
Show file tree
Hide file tree
Showing 25 changed files with 26 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/containers/TextInput/FormTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export const FormTextInput = ({
secureTextEntry,
bottomSheet,
placeholder,
accessibilityLabel,
...inputProps
}: IRCTextInputProps): React.ReactElement => {
const { colors, theme } = useTheme();
Expand Down Expand Up @@ -134,7 +135,7 @@ export const FormTextInput = ({
underlineColorAndroid='transparent'
secureTextEntry={secureTextEntry && !showPassword}
testID={testID}
accessibilityLabel={placeholder}
accessibilityLabel={`${accessibilityLabel ?? placeholder}${required ? ' - ' + i18n.t('Required') : ''}`}
placeholder={placeholder}
value={value}
placeholderTextColor={colors.fontAnnotation}
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
"Encryption_error_desc": "تعذر قراءة مفتاح التشفير أثناء الاستيراد",
"Encryption_error_title": "كلمة المرور المشفرة خاطئة",
"End_to_end_encrypted_room": "غرفة مشفرة بين الطرفيات",
"Enter": "أدخل",
"Enter_E2EE_Password": "أدخل كلمة المرور E2EE",
"Enter_E2EE_Password_description": "للوصول إلى قنواتك المشفرة والرسائل المباشرة، أدخل كلمة المرور الخاصة بالتشفير. هذا لا يتم تخزينه على الخادم، لذا ستحتاج إلى استخدامه على كل جهاز.",
"Error_uploading": "خطأ في الرفع",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Encryption_error_desc": "এনক্রিপশন কীটি আমদানি করার জন্য আপনার এনক্রিপশন কীটি ডিকোড করা হতে সম্ভব হয়নি।",
"Encryption_error_title": "আপনার এনক্রিপশন পাসওয়ার্ড ভুল মনে হচ্ছে",
"End_to_end_encrypted_room": "শেষ হতে শেষ এনক্রিপ্টেড রুম",
"Enter": "প্রবেশ করুন",
"Enter_E2EE_Password": "E2EE পাসওয়ার্ড দিন",
"Enter_E2EE_Password_description": "আপনার এনক্রিপ্টেড চ্যানেলগুলি এবং সরাসরি বার্তাগুলি অ্যাক্সেস করতে, আপনার এনক্রিপশন পাসওয়ার্ড লিখুন। এটি সার্ভারে সংরক্ষিত হয় না, তাই আপনাকে প্রতিটি ডিভাইসে এটি ব্যবহার করতে হবে।",
"Error_Download_file": "ফাইল ডাউনলোড করতে ত্রুটি",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
"Encryption_error_desc": "Nebylo možné dekódovat váš šifrovací klíč pro import.",
"Encryption_error_title": "Vaše heslo pro šifrování se zdá být špatné",
"End_to_end_encrypted_room": "End to end šifrovaná místnost",
"Enter": "Enter",
"Enter_the_code": "Zadejte kód, který jsme vám právě poslali e-mailem.",
"Enter_Your_E2E_Password": "Zadejte heslo E2E",
"Enter_Your_Encryption_Password_desc1": "To vám umožní přístup k vašim zašifrovaným soukromým skupinám a přímým zprávám.",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
"Encryption_error_desc": "Es war nicht möglich, Ihren Verschlüsselungs-Key zu importieren.",
"Encryption_error_title": "Ihr Verschlüsselungs-Passwort scheint falsch zu sein",
"End_to_end_encrypted_room": "Ende-zu-Ende-verschlüsselter Raum",
"Enter": "Eingeben",
"Enter_E2EE_Password": "E2EE-Passwort eingeben",
"Enter_E2EE_Password_description": "Um auf Ihre verschlüsselten Kanäle und Direktnachrichten zuzugreifen, geben Sie Ihr Verschlüsselungspasswort ein. Dies wird nicht auf dem Server gespeichert, daher müssen Sie es auf jedem Gerät verwenden.",
"Error_Download_file": "Fehler beim Herunterladen der Datei",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@
"Encryption_error_desc": "It wasn't possible to decode your encryption key to be imported.",
"Encryption_error_title": "Your encryption password seems wrong",
"End_to_end_encrypted_room": "End to end encrypted room",
"Enter": "Enter",
"Enter_E2EE_Password": "Enter E2EE password",
"Enter_E2EE_Password_description": "To access your encrypted channels and direct messages, enter your encryption password. This is not stored on the server, so you’ll need to use it on every device.",
"Enter_the_code": "Enter the code we just emailed you.",
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 @@ -90,6 +90,7 @@
"Edit": "Editar",
"Email": "E-mail",
"Enable_Auto_Translate": "Permitir Auto-Translate",
"Enter": "Introducir",
"Error_uploading": "Error en la subida",
"error-action-not-allowed": "{{action}} no permitida",
"error-avatar-invalid-url": "URL de avatar inválida: {{url}}",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
"Encryption_error_desc": "Tuotavan salausavaimesi salausta ei voitu purkaa.",
"Encryption_error_title": "Salauksen salasanasi näyttää väärältä",
"End_to_end_encrypted_room": "Täysin salattu huone",
"Enter": "Syötä",
"Enter_E2EE_Password": "Anna E2EE-salasana",
"Enter_E2EE_Password_description": "Päästäksesi käsiksi salattuihin kanaviisi ja suoriin viesteihisi, syötä salaus salasanasi. Tätä ei tallenneta palvelimelle, joten sinun on käytettävä sitä jokaisella laitteella.",
"Error_Download_file": "Virhe ladattaessa tiedostoa",
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 @@ -182,6 +182,7 @@
"Encryption_error_desc": "Il n'a pas été possible de décoder votre clé de cryptage pour être importé.",
"Encryption_error_title": "Votre mot de passe de cryptage semble erroné",
"End_to_end_encrypted_room": "Salon crypté de bout en bout",
"Enter": "Saisir",
"Enter_E2EE_Password": "Entrez le mot de passe E2EE",
"Enter_E2EE_Password_description": "Pour accéder à vos canaux cryptés et à vos messages directs, entrez votre mot de passe de cryptage. Celui-ci n'est pas stocké sur le serveur, vous devrez donc l'utiliser sur chaque appareil.",
"Error_Download_file": "Erreur lors du téléchargement du fichier",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Encryption_error_desc": "आपके एन्क्रिप्शन कुंजी को आयात करने के लिए इसे डीकोड करना संभाव नहीं था।",
"Encryption_error_title": "आपका एन्क्रिप्शन पासवर्ड गलत लगता है",
"End_to_end_encrypted_room": "इंड-टू-इंड एन्क्रिप्टेड कमरा",
"Enter": "दर्ज करें",
"Enter_E2EE_Password": "E2EE पासवर्ड डालें",
"Enter_E2EE_Password_description": "अपने एन्क्रिप्टेड चैनल्स और डायरेक्ट मैसेजेस तक पहुँचने के लिए, अपना एन्क्रिप्शन पासवर्ड दर्ज करें। यह सर्वर पर संग्रहीत नहीं होता है, इसलिए आपको इसे हर डिवाइस पर उपयोग करना होगा।",
"Error_Download_file": "फ़ाइल डाउनलोड करते समय त्रुटि",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Encryption_error_desc": "Nem sikerült dekódolni az importálandó titkosítási kulcsot.",
"Encryption_error_title": "A titkosítási jelszó rossznak tűnik",
"End_to_end_encrypted_room": "Végponttól végpontig titkosított szoba",
"Enter": "Beírni",
"Enter_E2EE_Password": "Adja meg az E2EE jelszót",
"Enter_E2EE_Password_description": "Az titkosított csatornákhoz és közvetlen üzenetekhez való hozzáféréshez írja be a titkosítási jelszavát. Ez nincs tárolva a szerveren, így minden eszközön használnia kell.",
"Error_Download_file": "Hiba a fájl letöltése közben",
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 @@ -158,6 +158,7 @@
"Encryption_error_desc": "Non è stato possibile importare la tua chiave di cifratura.",
"Encryption_error_title": "La tua password di cifratura sembra errata",
"End_to_end_encrypted_room": "Stanza crittografata end to end",
"Enter": "Inserire",
"Enter_E2EE_Password": "Inserisci la password E2EE",
"Enter_E2EE_Password_description": "Per accedere ai tuoi canali criptati e ai messaggi diretti, inserisci la tua password di crittografia. Questa non viene memorizzata sul server, quindi dovrai usarla su ogni dispositivo.",
"Error_uploading": "Errore nel caricamento di",
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 @@ -133,6 +133,7 @@
"Encryption_error_desc": "暗号化キーをデコードしてインポートできませんでした。",
"Encryption_error_title": "暗号化パスワードが間違っているようです",
"End_to_end_encrypted_room": "暗号化されたエンドツーエンドのルーム",
"Enter": "入力",
"Enter_E2EE_Password": "E2EEパスワードを入力",
"Enter_E2EE_Password_description": "暗号化されたチャンネルとダイレクトメッセージにアクセスするには、暗号化パスワードを入力してください。これはサーバーに保存されないため、すべてのデバイスで使用する必要があります。",
"Error_uploading": "アップロードエラー",
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 @@ -182,6 +182,7 @@
"Encryption_error_desc": "Het was niet mogelijk om uw coderingssleutel te decoderen om te worden geïmporteerd.",
"Encryption_error_title": "Jouw coderingswachtwoord lijkt verkeerd",
"End_to_end_encrypted_room": "End-to-end versleutelde kamer",
"Enter": "Invoeren",
"Enter_E2EE_Password": "Voer E2EE-wachtwoord in",
"Enter_E2EE_Password_description": "Om toegang te krijgen tot uw versleutelde kanalen en directe berichten, voert u uw versleutelingswachtwoord in. Dit wordt niet op de server opgeslagen, dus u moet het op elk apparaat gebruiken.",
"Error_Download_file": "Fout tijdens het downloaden van bestand",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
"Encryption_error_desc": "Não foi possível decodificar sua chave E2E para ser importada.",
"Encryption_error_title": "Sua senha E2E parece errada",
"End_to_end_encrypted_room": "Sala criptografada de ponta a ponta",
"Enter": "Inserir",
"Enter_E2EE_Password": "Digite a senha E2EE",
"Enter_E2EE_Password_description": "Para acessar seus canais criptografados e mensagens diretas, insira sua senha de criptografia. Isso não é armazenado no servidor, então você precisará usá-la em cada dispositivo.",
"Enter_the_code": "Insira o código que acabamos de enviar por e-mail.",
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 @@ -129,6 +129,7 @@
"Encryption_error_desc": "Não foi possível descodificar a sua chave de encriptação para ser importada.",
"Encryption_error_title": "A sua senha de encriptação parece errada",
"End_to_end_encrypted_room": "Sala encriptada de ponta a ponta",
"Enter": "Introduzir",
"Enter_E2EE_Password": "Digite a senha E2EE",
"Enter_E2EE_Password_description": "Para aceder aos seus canais encriptados e mensagens diretas, introduza a sua palavra-passe de encriptação. Isto não é armazenado no servidor, pelo que terá de o utilizar em cada dispositivo.",
"Error_uploading": "Erro ao fazer o envio",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
"Encryption_error_desc": "Невозможно расшифровать ваш ключ шифрования, чтобы импортировать его",
"Encryption_error_title": "Введен не верный пароль шифрования",
"End_to_end_encrypted_room": "Чат со сквозным шифрованием",
"Enter": "Ввод",
"Enter_E2EE_Password": "Введите E2EE Пароль",
"Enter_E2EE_Password_description": "Чтобы получить доступ к вашим зашифрованным каналам и прямым сообщениям, введите свой пароль шифрования. Он не хранится на сервере, поэтому вам нужно будет использовать его на каждом устройстве.",
"Error_Download_file": "Ошибка при скачивании файла",
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 @@ -192,6 +192,7 @@
"Encryption_error_desc": "Ni bilo mogoče dekodirati vašega šifrirnega ključa, ki bi ga bilo mogoče uvoziti.",
"Encryption_error_title": "Vaše šifrirno geslo se zdi napačno",
"End_to_end_encrypted_room": "Obojestransko (E2E) šifrirane sobe",
"Enter": "Vnesite",
"Enter_E2EE_Password": "Vnesite geslo E2EE",
"Enter_E2EE_Password_description": "Za dostop do vaših šifriranih kanalov in neposrednih sporočil vnesite svoje šifrirno geslo. To ni shranjeno na strežniku, zato ga boste morali uporabljati na vsaki napravi.",
"Error_Download_file": "Napaka med prenosom datoteke",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
"Encryption_error_desc": "Det gick inte att avkoda krypteringsnyckeln som skulle importeras.",
"Encryption_error_title": "Ditt krypteringslösenord verkar vara felaktigt",
"End_to_end_encrypted_room": "End-to-end-krypterat rum",
"Enter": "Ange",
"Enter_E2EE_Password": "Ange E2EE-lösenord",
"Enter_E2EE_Password_description": "För att komma åt dina krypterade kanaler och direkta meddelanden, ange ditt krypteringslösenord. Detta lagras inte på servern, så du måste använda det på varje enhet.",
"Error_Download_file": "Fel vid nedladdning av fil",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Encryption_error_desc": "உங்கள் என்கிரிப்ஷன் கடவுச்சொல் இறக்குமதி செய்ய முடியவில்லை.",
"Encryption_error_title": "உங்கள் என்கிரிப்ஷன் கடவுச்சொல் தவறாக தோனுஆகின்றது",
"End_to_end_encrypted_room": "குறிபாக என்று என்கிரிப்டுக்கப்பட்ட அறை",
"Enter": "நுழைய",
"Enter_E2EE_Password": "E2EE கடவுச்சொல் உள்ளிடவும்",
"Enter_E2EE_Password_description": "உங்கள் என்கிரிப்ட் செய்யப்பட்ட சேனல்கள் மற்றும் நேரடி செய்திகளை அணுக, உங்கள் என்கிரிப்ஷன் கடவுச்சொல்லை உள்ளிடவும். இது சர்வரில் சேமிக்கப்படாது, எனவே நீங்கள் ஒவ்வொரு சாதனத்திலும் இதை பயன்படுத்த வேண்டும்.",
"Error_Download_file": "கோப்பு பதிவிறக்கம் செய்யும் போது பிழை",
Expand Down
1 change: 1 addition & 0 deletions app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@
"Encryption_error_desc": "మీ ఎన్క్రిప్షన్ కీని దిగుమతి చేసుకోవడం సాధ్యమవ్వలేదు.",
"Encryption_error_title": "మీ ఎన్క్రిప్షన్ పాస్‌వర్డ్ చెల్లింపుగా ఉంది",
"End_to_end_encrypted_room": "ఎండ్ టు ఎండ్ ఎన్క్రిప్టెడ్ రూం",
"Enter": "పెట్టండి",
"Enter_E2EE_Password": "E2EE పాస్‌వర్డ్ నమోదు చేయండి",
"Enter_E2EE_Password_description": "మీ ఎన్క్రిప్టెడ్ ఛానెల్స్ మరియు డైరెక్ట్ మెసేజెస్‌ను యాక్సెస్ చేయడానికి, మీ ఎన్క్రిప్షన్ పాస్‌వర్డ్‌ను నమోదు చేయండి. ఇది సర్వర్‌లో నిల్వ చేయబడదు, కాబట్టి మీరు ప్రతి పరికరంపై దీనిని ఉపయోగించాలి.",
"Error_Download_file": "ఫైల్ డౌన్‌లోడ్ చేస్తున్నప్పుడు తప్పిబాటు",
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 @@ -147,6 +147,7 @@
"Encryption_error_desc": "İçe aktarılacak şifreleme anahtarınızın kodu çözülemedi.",
"Encryption_error_title": "Şifreleme şifreniz yanlış görünüyor",
"End_to_end_encrypted_room": "Uçtan uca şifreli oda",
"Enter": "Gir",
"Enter_E2EE_Password": "E2EE Şifresini Girin",
"Enter_E2EE_Password_description": "Şifreli kanallarınıza ve doğrudan mesajlarınıza erişmek için şifreleme şifrenizi girin. Bu, sunucuda saklanmaz, bu nedenle her cihazda kullanmanız gerekir.",
"Error_uploading": "Yükleme hatası",
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 @@ -143,6 +143,7 @@
"Encryption_error_desc": "无法使用汇入的加密密钥来解密",
"Encryption_error_title": "您的加密密码似乎有误",
"End_to_end_encrypted_room": "E2E 加密聊天室",
"Enter": "输入",
"Enter_E2EE_Password": "输入 E2EE 密码",
"Enter_E2EE_Password_description": "要访问您的加密频道和直接消息,请输入您的加密密码。这不会存储在服务器上,因此您需要在每个设备上使用它。",
"Error_uploading": "错误上传",
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 @@ -149,6 +149,7 @@
"Encryption_error_desc": "無法使用匯入的加密金鑰來解密",
"Encryption_error_title": "您的加密密碼似乎有誤",
"End_to_end_encrypted_room": "E2E 加密聊天室",
"Enter": "輸入",
"Enter_E2EE_Password": "輸入 E2EE 密碼",
"Enter_E2EE_Password_description": "要存取您的加密頻道和直接訊息,請輸入您的加密密碼。這不會儲存在伺服器上,因此您需要在每個裝置上使用它。",
"Error_uploading": "錯誤上傳",
Expand Down
1 change: 1 addition & 0 deletions app/views/NewServerView/ServerInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const ServerInput = ({
keyboardType='url'
textContentType='URL'
required
accessibilityLabel={`${I18n.t('Enter')} ${I18n.t('Workspace_URL')}`}
onFocus={() => setFocused(true)}
onBlur={() => setFocused(false)}
/>
Expand Down

0 comments on commit a0839c4

Please sign in to comment.