Skip to content

Commit

Permalink
Merge pull request #53123 from mkzie2/mkzie2-issue/52855
Browse files Browse the repository at this point in the history
add header description to Concierge chat
  • Loading branch information
AndrewGable authored Dec 11, 2024
2 parents bebf6d8 + a440856 commit d9be98d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ const translations = {
welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Welcome to ${roomName}!`,
usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nUse the + button to ${additionalText} an expense.`,
askConcierge: '\nAsk questions and get 24/7 realtime support.',
conciergeSupport: '24/7 support',
create: 'create',
iouTypes: {
pay: 'pay',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ const translations = {
welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `¡Bienvenido a ${roomName}!`,
usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nUsa el botón + para ${additionalText} un gasto`,
askConcierge: 'Haz preguntas y obtén soporte en tiempo real las 24/7.',
conciergeSupport: 'Soporte 24/7',
create: 'crear',
iouTypes: {
pay: 'pagar',
Expand Down
3 changes: 3 additions & 0 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4123,6 +4123,9 @@ function getChatRoomSubtitle(report: OnyxEntry<Report>): string | undefined {
if (isInvoiceRoom(report)) {
return Localize.translateLocal('workspace.common.invoices');
}
if (isConciergeChatReport(report)) {
return Localize.translateLocal('reportActionsView.conciergeSupport');
}
if (!isDefaultRoom(report) && !isUserCreatedPolicyRoom(report) && !isPolicyExpenseChat(report)) {
return '';
}
Expand Down

0 comments on commit d9be98d

Please sign in to comment.