Skip to content

Commit

Permalink
fix: make areas translatable (#7680)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeghalBisht committed Aug 10, 2021
1 parent b90c85b commit 4479e18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app/components/forms/events/view/videoroom-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<UiPopup
@tagName="i"
@class="info circle icon"
@content={{'This column shows the original link of the video. We do not recommend to share this link as users can access it without loggin into ' this.settings.appName '.com.'}} />
@content={{t 'This column shows the original link of the video. We do not recommend to share this link as users can access it without loggin into ' this.settings.appName '.com.'}} />
</label>
{{#if (eq this.data.stream.videoChannel.provider 'youtube')}}
<Widgets::Forms::SocialLinkField
Expand All @@ -75,7 +75,7 @@
<UiPopup
@tagName="i"
@class="info circle icon"
@content={{'The room password field can be used to communicate a password which is necessary to access online video rooms for example for external video services such a Zoom, Teams and Webex. The need for a password entry depends on the configuration of your video channel. The integrated Big Blue Button video solution in ' this.settings.appName '.com does not need a password as only ticket holders are able to access it. The difference between the password and PIN is that the password option is used for online access while PINs are used to access video rooms through the telephone.'}} />
@content={{t 'The room password field can be used to communicate a password which is necessary to access online video rooms for example for external video services such a Zoom, Teams and Webex. The need for a password entry depends on the configuration of your video channel. The integrated Big Blue Button video solution in ' this.settings.appName '.com does not need a password as only ticket holders are able to access it. The difference between the password and PIN is that the password option is used for online access while PINs are used to access video rooms through the telephone.'}} />
</label>
<Input
@value={{this.data.stream.password}} />
Expand All @@ -87,7 +87,7 @@
<UiPopup
@tagName="i"
@class="info circle icon"
@content={{'Additional Information fields can be used to share information such as phone access, PINs and other video room specific information.'}} />
@content={{t 'Additional Information fields can be used to share information such as phone access, PINs and other video room specific information.'}} />
</label>
<Textarea
@value={{this.data.stream.additionalInformation}} />
Expand Down
10 changes: 5 additions & 5 deletions app/controllers/events/view/videoroom/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,28 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
{
name : this.l10n.t('Video Room Name'),
valuePath : 'videoStream.name',
helperInfo : 'This column shows the video room name that will be visible to the users on the event page.',
helperInfo : this.l10n.t('This column shows the video room name that will be visible to the users on the event page.'),
width : 70
},
{
name : this.l10n.t('Video Source URL'),
valuePath : 'videoStream',
helperInfo : 'This column shows the original link of the video. We do not recommend to share this link as users can access it without loggin into' + this.settings.appName + '.com.',
helperInfo : this.l10n.t('This column shows the original link of the video. We do not recommend to share this link as users can access it without loggin into') + this.settings.appName + '.com.',
cellComponent : 'ui-table/cell/events/view/videoroom/cell-video-url',
width : 60
},
{
name : this.l10n.t('Join Video'),
valuePath : 'videoStream',
helperInfo : 'You can share the links in this columns with attendees of an event. On event or schedule schedule pages attendees of your event will see a Join Video button. These buttons will direct to the links shown here. Only organizers and registered ticket holders will be able to access these links.',
helperInfo : this.l10n.t('You can share the links in this columns with attendees of an event. On event or schedule schedule pages attendees of your event will see a Join Video button. These buttons will direct to the links shown here. Only organizers and registered ticket holders will be able to access these links.'),
extraValuePaths : ['identifier', 'event'],
cellComponent : 'ui-table/cell/events/view/videoroom/cell-stream-url',
width : 70
},
{
name : this.l10n.t('Room Password'),
width : 70,
helperInfo : 'The room password field can be used to communicate a password which is necessary to access online video rooms for example for external video services such a Zoom, Teams and Webex. The need for a password entry depends on the configuration of your video channel. The integrated Big Blue Button video solution in eventyay.com does not need a password as only ticket holders are able to access it. The difference between the password and PIN is that the password option is used for online access while PINs are used to access video rooms through the telephone.',
helperInfo : this.l10n.t('The room password field can be used to communicate a password which is necessary to access online video rooms for example for external video services such a Zoom, Teams and Webex. The need for a password entry depends on the configuration of your video channel. The integrated Big Blue Button video solution in eventyay.com does not need a password as only ticket holders are able to access it. The difference between the password and PIN is that the password option is used for online access while PINs are used to access video rooms through the telephone.'),
valuePath : 'videoStream.password'
},
{
Expand All @@ -66,7 +66,7 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
},
{
name : this.l10n.t('Additional information'),
helperInfo : 'Additional Information fields can be used to share information such as phone access, PINs and other video room specific information.',
helperInfo : this.l10n.t('Additional Information fields can be used to share information such as phone access, PINs and other video room specific information.'),
valuePath : 'videoStream.additionalInformation'
}
];
Expand Down
2 changes: 1 addition & 1 deletion app/templates/events/view/videoroom/list.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@onChange={{action 'toggleVideoRoom'}} />
<label class="weight-300" style="font-size: large">
{{if this.model.event.isVideoroomEnabled (t 'Turn off') (t 'Turn on')}}
{{t 'Video Room'}}
{{t 'Video'}}
</label>
</div>
</div>
Expand Down

1 comment on commit 4479e18

@vercel
Copy link

@vercel vercel bot commented on 4479e18 Aug 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.