Skip to content

Commit

Permalink
chore: use new translation texts from sub-PR
Browse files Browse the repository at this point in the history
  • Loading branch information
IEduStu committed Jul 24, 2024
1 parent 1e0a56c commit 51fe50f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"react-i18next": "^12.1.1",
"react-is": "18.2.0",
"spatial-navigation-polyfill": "github:Stremio/spatial-navigation#64871b1422466f5f45d24ebc8bbd315b2ebab6a6",
"stremio-translations": "github:Stremio/stremio-translations#b13b3e2653bd0dcf644d2a20ffa32074fe6532dd",
"stremio-translations": "github:Stremio/stremio-translations#4182ec9bf732e1cda0e2e6c714fd235077eb6ae1",
"url": "0.11.0",
"use-long-press": "^3.1.5"
},
Expand Down
8 changes: 4 additions & 4 deletions src/routes/Player/OptionsMenu/OptionsMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => {
toast.show({
type: 'success',
title: 'Copied',
message: t('PLAYER_COPY_DOWNLOAD_LINK_SUCCESS', {defaultValue: 'Download link was copied to your clipboard'}),
message: t('PLAYER_COPY_DOWNLOAD_LINK_SUCCESS'),
timeout: 3000
});
})
Expand All @@ -78,7 +78,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => {
toast.show({
type: 'error',
title: t('Error'),
message: `${t('PLAYER_COPY_DOWNLOAD_LINK_ERROR', {defaultValue: 'Failed to copy download link'})}: ${downloadVideoLink}`,
message: `${t('PLAYER_COPY_DOWNLOAD_LINK_ERROR')}: ${downloadVideoLink}`,
timeout: 3000
});
});
Expand Down Expand Up @@ -132,7 +132,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => {
!!(streamingUrl || downloadUrl) &&
<Option
icon={'link'}
label={t('CTX_COPY_VIDEO_DOWNLOAD_LINK', {defaultValue: 'Copy video download link'})}
label={t('CTX_COPY_VIDEO_DOWNLOAD_LINK')}
disabled={stream === null}
onClick={onCopyDownloadLinkButtonClick}
/>
Expand All @@ -141,7 +141,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => {
platform.name === 'ios' &&
<Option
icon={'play-outline'}
label={t('PLAYER_OPEN_IN_NPLAYER', {defaultValue: 'Open in nPlayer'})}
label={t('PLAYER_OPEN_IN_NPLAYER')}
disabled={stream === null}
onClick={opneInNplayer}
/>
Expand Down

0 comments on commit 51fe50f

Please sign in to comment.