From 7318370a7e7eff0750854e34aa26dac396569190 Mon Sep 17 00:00:00 2001 From: Tainan Felipe <tainanf@imdt.com.br> Date: Thu, 9 Nov 2017 13:45:24 -0200 Subject: [PATCH] Add localization for slides options --- .../presentation/presentation-toolbar/component.jsx | 11 +++++++---- bigbluebutton-html5/private/locales/en.json | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx index a5412544b0..e26ec1c39e 100644 --- a/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsx @@ -118,14 +118,17 @@ class PresentationToolbar extends Component { // Fill drop down menu with all the slides in presentation const optionList = []; for (let i = 1; i <= numberOfSlides; i += 1) { - optionList.push( + optionList.push(( <option value={i} key={i} > - Slide {i} - </option>, - ); + <FormattedMessage + id="app.presentation.presentationToolbar.slide" + description="option slide select label" + values={{ 0: i }} + /> + </option>)); } return optionList; diff --git a/bigbluebutton-html5/private/locales/en.json b/bigbluebutton-html5/private/locales/en.json index e267a8ca7e..e440047682 100644 --- a/bigbluebutton-html5/private/locales/en.json +++ b/bigbluebutton-html5/private/locales/en.json @@ -49,6 +49,7 @@ "app.presentation.presentationToolbar.fitScreenDesc": "Display the whole slide", "app.presentation.presentationToolbar.zoomLabel": "Zoom", "app.presentation.presentationToolbar.zoomDesc": "Change the zoom level of the presentation", + "app.presentation.presentationToolbar.slide": "Slide {0}", "app.presentationUploder.title": "Presentation", "app.presentationUploder.message": "As a presenter in BigBlueButton, you have the ability of uploading any office document or PDF file. We recommend for the best results, to please upload a PDF file.", "app.presentationUploder.confirmLabel": "Start", -- GitLab