[FIX] Workspace input without i18n (#2689)
* [FIX] Translation of strings in Login page * Strings are added for translation. fixes: #2620 * Add pt-BR Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
54f3fb935e
commit
61bc2a4213
|
@ -702,5 +702,7 @@ export default {
|
||||||
The_user_will_be_removed_from_s: 'The user will be removed from {{s}}',
|
The_user_will_be_removed_from_s: 'The user will be removed from {{s}}',
|
||||||
Yes_remove_user: 'Yes, remove user!',
|
Yes_remove_user: 'Yes, remove user!',
|
||||||
Direct_message: 'Direct message',
|
Direct_message: 'Direct message',
|
||||||
Message_Ignored: 'Message ignored. Tap to display it.'
|
Message_Ignored: 'Message ignored. Tap to display it.',
|
||||||
|
Enter_workspace_URL: 'Enter workspace URL',
|
||||||
|
Workspace_URL_Example: 'Ex. your-company.rocket.chat'
|
||||||
};
|
};
|
||||||
|
|
|
@ -649,5 +649,7 @@ export default {
|
||||||
The_user_will_be_removed_from_s: 'O usuário será removido de {{s}}',
|
The_user_will_be_removed_from_s: 'O usuário será removido de {{s}}',
|
||||||
Yes_remove_user: 'Sim, remover usuário!',
|
Yes_remove_user: 'Sim, remover usuário!',
|
||||||
Direct_message: 'Mensagem direta',
|
Direct_message: 'Mensagem direta',
|
||||||
Message_Ignored: 'Mensagem ignorada. Toque para mostrar.'
|
Message_Ignored: 'Mensagem ignorada. Toque para mostrar.',
|
||||||
|
Enter_workspace_URL: 'Digite a URL da sua workspace',
|
||||||
|
Workspace_URL_Example: 'Ex. sua-empresa.rocket.chat'
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@ import TextInput from '../../../containers/TextInput';
|
||||||
import * as List from '../../../containers/List';
|
import * as List from '../../../containers/List';
|
||||||
import { themes } from '../../../constants/colors';
|
import { themes } from '../../../constants/colors';
|
||||||
import Item from './Item';
|
import Item from './Item';
|
||||||
|
import I18n from '../../../i18n';
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
|
@ -42,8 +43,8 @@ const ServerInput = ({
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
<TextInput
|
<TextInput
|
||||||
label='Enter workspace URL'
|
label={I18n.t('Enter_workspace_URL')}
|
||||||
placeholder='Ex. your-company.rocket.chat'
|
placeholder={I18n.t('Workspace_URL_Example')}
|
||||||
containerStyle={styles.inputContainer}
|
containerStyle={styles.inputContainer}
|
||||||
value={text}
|
value={text}
|
||||||
returnKeyType='send'
|
returnKeyType='send'
|
||||||
|
|
Loading…
Reference in New Issue