Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
phivh committed Jan 6, 2022
1 parent 4b6e17b commit 2f5603d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Onfido/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Onfido extends React.Component {
errorMessage,
)) {
Alert.alert(
this.props.translate('cameraPermissionsNotGranted'),
this.props.translate('onfidoStep.cameraPermissionsNotGranted'),
this.props.translate('onfidoStep.cameraRequestMessage'),
[
{
Expand Down
2 changes: 1 addition & 1 deletion src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ export default {
selfSelect: 'Self-select',
callMeByMyName: 'Call me by my name',
},
cameraPermissionsNotGranted: 'Camera permissions not granted',
messages: {
errorMessageInvalidPhone: 'Please enter a valid phone number without brackets or dashes. If you\'re outside the US please include your country code, eg. +447782339811',
maxParticipantsReached: 'You\'ve reached the maximum number of participants for a group chat.',
Expand All @@ -523,6 +522,7 @@ export default {
tryAgain: 'Try again',
verifyIdentity: 'Verify identity',
genericError: 'There was an error while processing this step. Please try again.',
cameraPermissionsNotGranted: 'Camera permissions not granted',
cameraRequestMessage: 'You have not granted us camera access. We need access to complete verification.',
},
additionalDetailsStep: {
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ export default {
selfSelect: 'Personalízalo',
callMeByMyName: 'Llámame por mi nombre',
},
cameraPermissionsNotGranted: 'No has habilitado los permisos para acceder a la cámara',
messages: {
errorMessageInvalidPhone: 'Por favor, introduce un número de teléfono válido sin paréntesis o guiones. Si reside fuera de Estados Unidos, por favor incluye el prefijo internacional. P. ej. +447782339811',
maxParticipantsReached: 'Has llegado al número máximo de participantes para un grupo.',
Expand All @@ -523,6 +522,7 @@ export default {
tryAgain: 'Intentar otra vez',
verifyIdentity: 'Verificar identidad',
genericError: 'Hubo un error al procesar este paso. Inténtalo de nuevo.',
cameraPermissionsNotGranted: 'No has habilitado los permisos para acceder a la cámara',
cameraRequestMessage: 'No has habilitado los permisos para acceder a la cámara. Necesitamos acceso para completar la verificaciôn.',
},
additionalDetailsStep: {
Expand Down

0 comments on commit 2f5603d

Please sign in to comment.