Skip to content

Commit

Permalink
[FIX] Removed some hardcoded texts (RocketChat#16304)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwaniYDV authored Mar 11, 2020
1 parent fa5f423 commit c967714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/message-attachments/client/messageAttachment.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<div class="attachment-audio">
<audio controls>
<source src="{{ getURL audio_url}}" type="{{audio_type}}" data-description="{{description}}">
Your browser does not support the audio element.
{{_ "Browser_does_not_support_audio_element"}}
</audio>
</div>
{{/unless}}
Expand All @@ -129,7 +129,7 @@
<div class="attachment-video">
<video controls class="inline-video">
<source src="{{ getURL video_url}}" type="{{video_type}}" data-description="{{description}}">
Your browser does not support the video element.
{{_ "Browser_does_not_support_video_element"}}
</video>
</div>
{{/unless}}
Expand Down
2 changes: 2 additions & 0 deletions packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@
"Broadcasting_enabled": "Broadcasting Enabled",
"Broadcasting_media_server_url": "Broadcasting Media Server URL",
"Browse_Files": "Browse Files",
"Browser_does_not_support_audio_element": "Your browser does not support the audio element.",
"Browser_does_not_support_video_element": "Your browser does not support the video element.",
"Bugsnag_api_key": "Bugsnag API Key",
"Build_Environment": "Build Environment",
"bulk-register-user": "Bulk Create Users",
Expand Down

0 comments on commit c967714

Please sign in to comment.