EncryptedRoom i18n

This commit is contained in:
Diego Mello 2024-03-05 13:43:16 -03:00
parent 58931817d5
commit 972d9ad1fa
2 changed files with 5 additions and 3 deletions

View File

@ -837,5 +837,7 @@
"video-conf-provider-not-configured-body": "A workspace admin needs to enable the conference calls feature first.",
"video-conf-provider-not-configured-header": "Conference call not enabled",
"you": "you",
"you_were_mentioned": "you were mentioned"
"you_were_mentioned": "you were mentioned",
"encrypted_room_title": "This room is encrypted",
"encrypted_room_description": "Enter your end-to-end encryption password to access."
}

View File

@ -36,8 +36,8 @@ export const EncryptedRoom = ({
<View style={styles.icon}>
<CustomIcon name='encrypted' size={42} color={colors.fontSecondaryInfo} />
</View>
<Text style={styles.title}>This room is encrypted</Text>
<Text style={styles.description}>To view its contents you must enter your encryption password.</Text>
<Text style={styles.title}>{I18n.t('encrypted_room_title')}</Text>
<Text style={styles.description}>{I18n.t('encrypted_room_description')}</Text>
</View>
<Button title={I18n.t('Enter_Your_E2E_Password')} onPress={navigate} />
<Button