Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update translations for better UX in WorkspaceMembersPage #17593

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export default {
},
optionsSelector: {
nameEmailOrPhoneNumber: 'Name, email, or phone number',
findMember: 'Find a member',
},
videoChatButtonAndMenu: {
tooltip: 'Start a Call',
Expand Down Expand Up @@ -970,6 +971,7 @@ export default {
growlMessageOnDelete: 'Workspace deleted',
growlMessageOnDeleteError: 'This workspace cannot be deleted right now because reports are actively being processed',
unavailable: 'Unavailable workspace',
memberNotFound: 'Member not found. To invite a new member to the workspace, please use the Invite button above.',
},
emptyWorkspace: {
title: 'Create a new workspace',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export default {
},
optionsSelector: {
nameEmailOrPhoneNumber: 'Nombre, email o número de teléfono',
findMember: 'Encuentra un miembro',
},
videoChatButtonAndMenu: {
tooltip: 'Iniciar una llamada',
Expand Down Expand Up @@ -971,6 +972,7 @@ export default {
deleteConfirmation: '¿Estás seguro de que quieres eliminar este espacio de trabajo?',
growlMessageOnDeleteError: 'No se puede eliminar el espacio de trabajo porque tiene informes que están siendo procesados',
unavailable: 'Espacio de trabajo no disponible',
memberNotFound: 'Miembro no encontrado. Para invitar a un nuevo miembro al espacio de trabajo, por favor, utiliza el botón Invitar que está arriba.',
},
emptyWorkspace: {
title: 'Crear un nuevo espacio de trabajo',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/workspace/WorkspaceMembersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class WorkspaceMembersPage extends React.Component {
<TextInput
value={this.state.searchValue}
onChangeText={this.updateSearchValue}
placeholder={this.props.translate('optionsSelector.nameEmailOrPhoneNumber')}
placeholder={this.props.translate('optionsSelector.findMember')}
/>
</View>
{data.length > 0 ? (
Expand Down Expand Up @@ -438,7 +438,7 @@ class WorkspaceMembersPage extends React.Component {
) : (
<View style={[styles.ph5]}>
<Text style={[styles.textLabel, styles.colorMuted]}>
{this.props.translate('common.noResultsFound')}
{this.props.translate('workspace.common.memberNotFound')}
</Text>
</View>
)}
Expand Down