Skip to content

Commit

Permalink
fix(FEC-9505): Add i18n support for custom captions (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyBregman committed Dec 1, 2019
1 parent d7a27e7 commit 5603d9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cvaa-overlay/main-captions_window.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class MainCaptionsWindow extends Component {
) : (
<div className={style.customCaptionsApplied}>
<div className={[style.sample, style.custom].join(' ')} style={props.customTextStyle.toCSS()}>
<span>Custom captions</span>
<Text id={'cvaa.sample_custom_caption_tag'} />
<div className={style.activeTick}>
<Icon type={IconType.Check} />
</div>
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"cvaa": {
"title": "Advanced captions settings",
"sample_caption_tag": "Sample",
"sample_custom_caption_tag": "Custom captions",
"set_custom_caption": "Set custom caption",
"edit_caption": "Edit caption",
"size_label": "Size",
Expand Down

0 comments on commit 5603d9e

Please sign in to comment.