Skip to content

Commit

Permalink
Update with better copy
Browse files Browse the repository at this point in the history
  • Loading branch information
marcaaron committed Apr 12, 2024
1 parent 06eb201 commit c479153
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/ChatDetailsQuickActionsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ function ChatDetailsQuickActionsBar({report}: ChatDetailsQuickActionsBarProps) {
Report.leaveGroupChat(report.reportID);
}}
onCancel={() => setIsLastMemberLeavingGroupModalVisible(false)}
// TODO: Get this copy confirmed
prompt="Heads up! You are the last member of this group chat. Once you leave you will not be able to access the contents again."
confirmText={translate('common.leave')}
cancelText={translate('common.cancel')}
prompt={translate('groupChat.lastMemberWarning')}
confirmText={translate('common.yes')}
cancelText={translate('common.no')}
/>
<Button
onPress={() => {
Expand Down
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,7 @@ export default {
},
groupChat: {
groupMembersListTitle: 'Directory of all group members.',
lastMemberWarning: 'Heads up! Since you\'re the last person here, leaving will make this chat inaccessible to all users. Are you sure you want to leave?',
defaultReportName: ({displayName}: {displayName: string}) => `${displayName}'s group chat`,
},
languagePage: {
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,7 @@ export default {
},
groupChat: {
groupMembersListTitle: 'Directorio de todos los miembros del grupo.',
lastMemberWarning: '¡Atención! Ya que eres la última persona aquí, si te vas, este chat quedará inaccesible para todos los usuarios. ¿Estás seguro de que quieres irte?',
defaultReportName: ({displayName}: {displayName: string}) => `Chat de group de ${displayName}`,
},
languagePage: {
Expand Down

0 comments on commit c479153

Please sign in to comment.