diff --git a/packages/rocketchat-i18n/i18n/en.i18n.json b/packages/rocketchat-i18n/i18n/en.i18n.json index a420e7eb096f..ac0a6f427ac1 100644 --- a/packages/rocketchat-i18n/i18n/en.i18n.json +++ b/packages/rocketchat-i18n/i18n/en.i18n.json @@ -374,6 +374,7 @@ "clear_history": "Clear History", "Click_here": "Click here", "Click_here_for_more_info": "Click here for more info", + "Click_to_join": "Click to Join!", "Client_ID": "Client ID", "Client_Secret": "Client Secret", "Clients_will_refresh_in_a_few_seconds": "Clients will refresh in a few seconds", @@ -1663,6 +1664,7 @@ "Start_video_call": "Start video call", "Start_with_s_for_user_or_s_for_channel_Eg_s_or_s": "Start with %s for user or %s for channel. Eg: %s or %s", "Started_At": "Started At", + "Started_a_video_call": "Started a Video Call", "Statistics": "Statistics", "Statistics_reporting": "Send statistics to Rocket.Chat", "Statistics_reporting_Description": "By sending your statistics, you'll help us identify how many instances of Rocket.Chat are deployed, as well as how good the system is behaving, so we can further improve it. Don't worry, as no user information is sent and all the information we receive is kept confidential.", diff --git a/packages/rocketchat-ui/client/views/app/room.html b/packages/rocketchat-ui/client/views/app/room.html index 02932e697773..c32d010129d1 100644 --- a/packages/rocketchat-ui/client/views/app/room.html +++ b/packages/rocketchat-ui/client/views/app/room.html @@ -88,7 +88,7 @@

{{name}}... {{percentage}}%
{{/if}} diff --git a/packages/rocketchat-videobridge/lib/messageType.js b/packages/rocketchat-videobridge/lib/messageType.js index b264b1243431..c5a179b40d23 100644 --- a/packages/rocketchat-videobridge/lib/messageType.js +++ b/packages/rocketchat-videobridge/lib/messageType.js @@ -2,6 +2,6 @@ Meteor.startup(function() { RocketChat.MessageTypes.registerType({ id: 'jitsi_call_started', system: true, - message: 'Started a Video Call!' + message: TAPi18n.__('Started_a_video_call') }); }); diff --git a/packages/rocketchat-videobridge/server/methods/jitsiSetTimeout.js b/packages/rocketchat-videobridge/server/methods/jitsiSetTimeout.js index 67ccc3ce491a..02aea743ab4b 100644 --- a/packages/rocketchat-videobridge/server/methods/jitsiSetTimeout.js +++ b/packages/rocketchat-videobridge/server/methods/jitsiSetTimeout.js @@ -15,7 +15,7 @@ Meteor.methods({ RocketChat.models.Rooms.setJitsiTimeout(rid, new Date(currentTime + 35*1000)); RocketChat.models.Messages.createWithTypeRoomIdMessageAndUser('jitsi_call_started', rid, '', Meteor.user(), { actionLinks : [ - { icon: 'icon-videocam', label: 'Click To Join!', method_id: 'joinJitsiCall', params: ''} + { icon: 'icon-videocam', label: TAPi18n.__('Click_to_join'), method_id: 'joinJitsiCall', params: ''} ] }); } else if ((jitsiTimeout - currentTime) / 1000 <= 15) {