Skip to content

Commit

Permalink
fix: missed i18n string
Browse files Browse the repository at this point in the history
  • Loading branch information
sct committed Jan 6, 2023
1 parent 2ab221d commit d49511a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Discover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const messages = defineMessages({
'Something went wrong resetting the discover customization settings.',
customizediscover: 'Customize Discover',
stopediting: 'Stop Editing',
createnewslider: 'Create New Slider',
});

const Discover = () => {
Expand Down Expand Up @@ -158,7 +159,7 @@ const Discover = () => {
<div className="flex items-center space-x-2 border-t border-l border-r border-gray-800 bg-gray-900 p-4 text-lg font-semibold text-gray-400">
<PlusIcon className="w-6" />
<span data-testid="create-slider-header">
Create New Slider
{intl.formatMessage(messages.createnewslider)}
</span>
</div>
<div className="p-4">
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"components.Discover.StudioSlider.studios": "Studios",
"components.Discover.TvGenreList.seriesgenres": "Series Genres",
"components.Discover.TvGenreSlider.tvgenres": "Series Genres",
"components.Discover.createnewslider": "Create New Slider",
"components.Discover.customizediscover": "Customize Discover",
"components.Discover.discover": "Discover",
"components.Discover.discovermovies": "Popular Movies",
Expand Down

0 comments on commit d49511a

Please sign in to comment.