From 51fe50f9d9cba11eb0b53484cda6afc4df9bbb33 Mon Sep 17 00:00:00 2001 From: IEduStu <125146135+IEduStu@users.noreply.github.com> Date: Wed, 24 Jul 2024 15:52:53 +0000 Subject: [PATCH] chore: use new translation texts from sub-PR --- package-lock.json | 9 ++++----- package.json | 2 +- src/routes/Player/OptionsMenu/OptionsMenu.js | 8 ++++---- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 351558728..4a5b6fee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,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" }, @@ -12470,10 +12470,9 @@ } }, "node_modules/stremio-translations": { - "version": "1.44.7", - "resolved": "git+ssh://git@github.com/Stremio/stremio-translations.git#b13b3e2653bd0dcf644d2a20ffa32074fe6532dd", - "integrity": "sha512-OtRAM3j9ie89llgI379p4utCbgnNMswE+LtL/lyLRVLfm5B+jpBLp4ozpU25iQg0O4tvN+OHBjXZ870CCHtZMA==", - "license": "MIT" + "version": "1.44.8", + "resolved": "git+ssh://git@github.com/Stremio/stremio-translations.git#4182ec9bf732e1cda0e2e6c714fd235077eb6ae1", + "integrity": "sha512-B515EsMzI8Aohv+T6V6FhBSjBMlvViMtdlsN4+Ue8ZYfPF4z/VE/Lag8aBKDi6Rwd3ae+ftnUi38+YDQQ2yuMQ==" }, "node_modules/string_decoder": { "version": "1.1.1", diff --git a/package.json b/package.json index 9c2fa37de..576c3f570 100755 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/routes/Player/OptionsMenu/OptionsMenu.js b/src/routes/Player/OptionsMenu/OptionsMenu.js index e74eea816..951099855 100644 --- a/src/routes/Player/OptionsMenu/OptionsMenu.js +++ b/src/routes/Player/OptionsMenu/OptionsMenu.js @@ -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 }); }) @@ -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 }); }); @@ -132,7 +132,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => { !!(streamingUrl || downloadUrl) &&