Skip to content

Commit

Permalink
moving offline copy to common
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Donahue committed May 27, 2022
1 parent 9d559d0 commit 9af40f8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/FullPageOfflineView.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const FullPageOfflineView = (props) => {
width={50}
height={50}
/>
<Text style={[styles.h1]}>{props.translate('reportActionCompose.youAppearToBeOffline')}</Text>
<Text style={[styles.h1]}>{props.translate('common.youAppearToBeOffline')}</Text>
</View>
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export default {
leaveRoom: 'Leave room',
your: 'your',
conciergeHelp: 'Please reach out to Concierge for help.',
youAppearToBeOffline: 'You appear to be offline.',

},
attachmentPicker: {
cameraPermissionRequired: 'Camera permission required',
Expand Down Expand Up @@ -158,7 +160,6 @@ export default {
writeSomething: 'Write something...',
sayHello: 'Say hello!',
blockedFromConcierge: 'Communication is barred',
youAppearToBeOffline: 'You appear to be offline.',
fileUploadFailed: 'Upload failed. File is not supported.',
localTime: ({user, time}) => `It's ${time} for ${user}`,
edited: '(edited)',
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
leaveRoom: 'Salir de la sala de chat',
your: 'tu',
conciergeHelp: 'Por favor contacta con Concierge para obtener ayuda.',
youAppearToBeOffline: 'Parece que estás desconectado.',
},
attachmentPicker: {
cameraPermissionRequired: 'Se necesita permiso para usar la cámara',
Expand Down Expand Up @@ -158,7 +159,6 @@ export default {
writeSomething: 'Escribe algo...',
sayHello: 'Di hola!',
blockedFromConcierge: 'Comunicación no permitida',
youAppearToBeOffline: 'Parece que estás desconectado.',
fileUploadFailed: 'Subida fallida. El archivo no es compatible.',
localTime: ({user, time}) => `Son las ${time} para ${user}`,
edited: '(editado)',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionCompose.js
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ class ReportActionCompose extends React.Component {
height={variables.iconSizeExtraSmall}
/>
<Text style={[styles.ml2, styles.chatItemComposeSecondaryRowSubText]}>
{this.props.translate('reportActionCompose.youAppearToBeOffline')}
{this.props.translate('common.youAppearToBeOffline')}
</Text>
</View>
) : <ReportTypingIndicator reportID={this.props.reportID} />}
Expand Down

0 comments on commit 9af40f8

Please sign in to comment.