Skip to content

Commit

Permalink
fix: style and i18n label
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Dec 9, 2024
1 parent 6991759 commit 7c362cc
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
"Group_by": "Group by",
"Has_left_the_team": "has left the team",
"Help": "Help",
"Hide_Password": "Hide Password",
"Hide_Password": "Hide password",
"Hide_room": "Hide",
"Hide_System_Messages": "Hide system messages",
"Hide_type_messages": "Hide \"{{type}}\" messages",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"Glossary_of_simplified_terms": "簡易用語集",
"Has_left_the_team": "チームを退出しました",
"Help": "助け",
"Hide_Password": "パスワードを非表示",
"Hide_Password": "パスワードを隠す",
"Hide_room": "ルームを非表示",
"Hide_System_Messages": "システムメッセージを非表示にする",
"Hide_type_messages": "\"{{type}}\"メッセージを非表示にする",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"Get_link": "Obter Ligação",
"Glossary_of_simplified_terms": "Glossário de termos simplificados",
"Help": "Ajuda",
"Hide_Password": "Ocultar Palavra-passe",
"Hide_Password": "Ocultar palavra-passe",
"Hide_room": "Esconder sala",
"Hide_System_Messages": "Esconder mensagens do sistema",
"Hide_type_messages": "Esconder mensagens \"{{type}}\"",
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 @@ -286,7 +286,7 @@
"Group_by": "குழுப்படுத்து",
"Has_left_the_team": "குழுவை விட்டுவிட்டார்",
"Help": "உதவி",
"Hide_Password": "கடவுச்சொல்லை மறைப்பு",
"Hide_Password": "கடவுச்சொல்லை மறைபுல் செய்",
"Hide_System_Messages": "அமைப்பு செய்திகளை மறைக்க",
"Hide_type_messages": "\"{{type}}\" செய்திகளை மறைக்க",
"How_It_Works": "இது எப்படி வேலை செய்கின்றது",
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 @@ -286,9 +286,9 @@
"Group_by": "గ్రూప్ చేయండి",
"Has_left_the_team": "టీమ్ ను వదిలిపోయారు",
"Help": "సహాయం",
"Hide_Password": "पासवर्ड छुपाएँ",
"Hide_System_Messages": "వ్యవస్థ సందేశాలను దాచండి",
"Hide_type_messages": "{{type}} సందేశాలను దాచండి",
"Hide_Password": "पासवर्ड छुपाएं",
"How_It_Works": "ఇది ఎలా పని చేస్తుంది",
"I_Saved_My_E2E_Password": "నా E2E పాస్‌వర్డ్ నేను భద్రంగా ఉంచాను",
"Ignore": "పరిహరించాలి",
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@
"Get_link": "Bağlantıyı Al",
"Glossary_of_simplified_terms": "Basitleştirilmiş terimler sözlüğü",
"Help": "Yardım",
"Hide_Password": "Şifreyi Gizle",
"Hide_room": "Gizle",
"Hide_System_Messages": "Sistem İletilerını Gizle",
"Hide_type_messages": "\"{{type}}\" iletilerini gizle",
"Hide_Password": "Parolayı gizle",
"How_It_Works": "Nasıl Çalışır",
"I_Saved_My_E2E_Password": "Uçtan Uca Şifreleme (E2E) Şifremi Kaydettim",
"Ignore": "Yok say",
Expand Down
10 changes: 8 additions & 2 deletions app/views/E2EEnterYourPasswordView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,22 @@ const E2EEnterYourPasswordView = (): React.ReactElement => {
contentContainerStyle={{ ...sharedStyles.containerScrollView, paddingTop: 24 }}>
<SafeAreaView style={{ backgroundColor: colors.surfaceRoom }} testID='e2e-enter-your-password-view'>
<FormTextInput
containerStyle={{ marginBottom: 36 }}
label={I18n.t('Password')}
returnKeyType='send'
secureTextEntry
onSubmitEditing={submit}
onChangeText={setPassword}
testID='e2e-enter-your-password-view-password'
textContentType='password'
containerStyle={{ marginBottom: 0 }}
/>
<Button
onPress={submit}
title={I18n.t('Confirm')}
disabled={!password}
testID='e2e-enter-your-password-view-confirm'
style={{ marginTop: 36 }}
/>
<Button onPress={submit} title={I18n.t('Confirm')} disabled={!password} testID='e2e-enter-your-password-view-confirm' />
<Text style={[styles.info, { color: colors.fontDefault }]}>{I18n.t('Enter_E2EE_Password_description')}</Text>
</SafeAreaView>
</ScrollView>
Expand Down

0 comments on commit 7c362cc

Please sign in to comment.