Skip to content
Snippets Groups Projects
Commit 2b5c9a32 authored by Tainan Felipe's avatar Tainan Felipe
Browse files

Add intl

parent 60e0446d
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,10 @@ const intlMessages = defineMessages({ ...@@ -24,6 +24,10 @@ const intlMessages = defineMessages({
id: 'app.presentation.presentationToolbar.goToSlide', id: 'app.presentation.presentationToolbar.goToSlide',
description: 'button for slide select', description: 'button for slide select',
}, },
FitToWidth: {
id: 'app.presentation.presentationToolbar.FitToWidth',
description: 'button for fit to width',
},
}); });
class PresentationToolbar extends Component { class PresentationToolbar extends Component {
...@@ -254,12 +258,12 @@ class PresentationToolbar extends Component { ...@@ -254,12 +258,12 @@ class PresentationToolbar extends Component {
role="button" role="button"
aria-labelledby="fitWidthLabel" aria-labelledby="fitWidthLabel"
aria-describedby="fitWidthDesc" aria-describedby="fitWidthDesc"
color={'default'} color="default"
icon={'fit_to_width'} icon="fit_to_width"
size={'md'} size="md"
circle={false} circle={false}
onClick={this.props.fitToWidthHandler} onClick={this.props.fitToWidthHandler}
label={'Fit to Width'} label={intl.formatMessage(intlMessages.FitToWidth)}
hideLabel hideLabel
className={styles.skipSlide} className={styles.skipSlide}
/> />
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"app.presentation.presentationToolbar.zoomOutLabel": "Zoom out", "app.presentation.presentationToolbar.zoomOutLabel": "Zoom out",
"app.presentation.presentationToolbar.zoomOutDesc": "Zoom out of the presentation", "app.presentation.presentationToolbar.zoomOutDesc": "Zoom out of the presentation",
"app.presentation.presentationToolbar.zoomIndicator": "Show the zoom percentage", "app.presentation.presentationToolbar.zoomIndicator": "Show the zoom percentage",
"app.presentation.presentationToolbar.fitToWidth": "Fit to Width",
"app.presentation.presentationToolbar.goToSlide": "Slide {0}", "app.presentation.presentationToolbar.goToSlide": "Slide {0}",
"app.presentationUploder.title": "Presentation", "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.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.",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment