Skip to content

Commit

Permalink
fix(participants-tab-i18n): fixed i18n issues in the participants tab
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindra-dyte committed Nov 7, 2024
1 parent 127188d commit 100dbc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class DyteParticipants {
id: 'requests',
name: (
<span>
Requests&nbsp;
{this.t('requests')}&nbsp;
<span
class={`tab-participant-count-badge ${totalRequests > 0 ? 'requests-pending' : ''} ${
this.currentParticipantsTabId === 'requests' ? 'selected-tab' : ''
Expand All @@ -163,7 +163,7 @@ export class DyteParticipants {
id: 'stage-list',
name: (
<span>
Participants&nbsp;
{this.t('participants')}&nbsp;
<span
class={`tab-participant-count-badge ${
this.currentParticipantsTabId === 'stage-list' ? 'selected-tab' : ''
Expand All @@ -180,7 +180,7 @@ export class DyteParticipants {
id: 'viewer-list',
name: (
<span>
Viewers&nbsp;
{this.t('viewers')}&nbsp;
<span
class={`tab-participant-count-badge ${
this.currentParticipantsTabId === 'viewer-list' ? 'selected-tab' : ''
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/lib/lang/default-language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const defaultLanguage = {
ask: 'Ask',
type: 'Type',
activate: 'Activate',
requests: 'Requests',
mic_off: 'Mic Off',
disable_mic: 'Disable Mic',
mic_on: 'Mic On',
Expand Down

0 comments on commit 100dbc0

Please sign in to comment.