diff --git a/package-lock.json b/package-lock.json index 73874493..ac8f4b35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", "@fairdatasociety/blossom": "^0.5.0", - "@fairdatasociety/fdp-storage": "^0.13.0", + "@fairdatasociety/fdp-storage": "^0.17.0", "@headlessui/react": "^1.7.14", "@metamask/sdk": "^0.5.6", "@types/react-blockies": "^1.4.1", @@ -3072,29 +3072,34 @@ } }, "node_modules/@fairdatasociety/fdp-contracts-js": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-contracts-js/-/fdp-contracts-js-3.8.0.tgz", - "integrity": "sha512-Lfr/kxCBZ4IYWwAkeRa2fSi9suYd5DxTG5xunfuwMm32FeB99fL7tI19sb5tjPyRj6bphJPaRWmFCdPJ+yfZsg==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-contracts-js/-/fdp-contracts-js-3.10.0.tgz", + "integrity": "sha512-kaHu9UZBs2s58PQZ6o2SUn4vtswLBPLkIdFt8WH+6uHO8WA73gOGK5Ue9/WIN1tYu/bcgQpNNiO5xhQn99mW5g==", "peerDependencies": { "ethers": ">=5.6.4" } }, "node_modules/@fairdatasociety/fdp-storage": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-storage/-/fdp-storage-0.13.0.tgz", - "integrity": "sha512-7AWAC/enq1SQCisMuD3wT5cKSOxe8KdC5f3nolWcruCUpdWcwe65YtjDeL88m/E/kcituQGAl2IgWGkqoysB/g==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-storage/-/fdp-storage-0.17.0.tgz", + "integrity": "sha512-ki1YtdGdTB4widXDn+aUeqiLRmtXBcHFw5VyF/Lljugw91xgRb3gWDG9nn5UFWfju1Wm/2CY7btS/EixaBFHNA==", "dependencies": { "@ethersphere/bee-js": "^6.2.0", - "@fairdatasociety/fdp-contracts-js": "^3.8.0", - "crypto-js": "^4.1.1", + "@fairdatasociety/fdp-contracts-js": "^3.10.0", + "crypto-js": "^4.2.0", "ethers": "^5.5.2", - "js-sha3": "^0.8.0" + "js-sha3": "^0.9.2" }, "engines": { "node": ">=16.0.0", - "npm": ">=8.0.0" + "npm": ">=9.0.0" } }, + "node_modules/@fairdatasociety/fdp-storage/node_modules/js-sha3": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.9.3.tgz", + "integrity": "sha512-BcJPCQeLg6WjEx3FE591wVAevlli8lxsxm9/FzV4HXkV49TmBH38Yvrpce6fjbADGMKFrBMGTqrVz3qPIZ88Gg==" + }, "node_modules/@formatjs/intl-unified-numberformat": { "version": "3.3.7", "resolved": "https://registry.npmjs.org/@formatjs/intl-unified-numberformat/-/intl-unified-numberformat-3.3.7.tgz", @@ -9819,8 +9824,9 @@ } }, "node_modules/crypto-js": { - "version": "4.1.1", - "license": "MIT" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "node_modules/crypto-random-string": { "version": "2.0.0", @@ -25002,21 +25008,28 @@ } }, "@fairdatasociety/fdp-contracts-js": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-contracts-js/-/fdp-contracts-js-3.8.0.tgz", - "integrity": "sha512-Lfr/kxCBZ4IYWwAkeRa2fSi9suYd5DxTG5xunfuwMm32FeB99fL7tI19sb5tjPyRj6bphJPaRWmFCdPJ+yfZsg==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-contracts-js/-/fdp-contracts-js-3.10.0.tgz", + "integrity": "sha512-kaHu9UZBs2s58PQZ6o2SUn4vtswLBPLkIdFt8WH+6uHO8WA73gOGK5Ue9/WIN1tYu/bcgQpNNiO5xhQn99mW5g==", "requires": {} }, "@fairdatasociety/fdp-storage": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-storage/-/fdp-storage-0.13.0.tgz", - "integrity": "sha512-7AWAC/enq1SQCisMuD3wT5cKSOxe8KdC5f3nolWcruCUpdWcwe65YtjDeL88m/E/kcituQGAl2IgWGkqoysB/g==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@fairdatasociety/fdp-storage/-/fdp-storage-0.17.0.tgz", + "integrity": "sha512-ki1YtdGdTB4widXDn+aUeqiLRmtXBcHFw5VyF/Lljugw91xgRb3gWDG9nn5UFWfju1Wm/2CY7btS/EixaBFHNA==", "requires": { "@ethersphere/bee-js": "^6.2.0", - "@fairdatasociety/fdp-contracts-js": "^3.8.0", - "crypto-js": "^4.1.1", + "@fairdatasociety/fdp-contracts-js": "^3.10.0", + "crypto-js": "^4.2.0", "ethers": "^5.5.2", - "js-sha3": "^0.8.0" + "js-sha3": "^0.9.2" + }, + "dependencies": { + "js-sha3": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.9.3.tgz", + "integrity": "sha512-BcJPCQeLg6WjEx3FE591wVAevlli8lxsxm9/FzV4HXkV49TmBH38Yvrpce6fjbADGMKFrBMGTqrVz3qPIZ88Gg==" + } } }, "@formatjs/intl-unified-numberformat": { @@ -29926,7 +29939,9 @@ } }, "crypto-js": { - "version": "4.1.1" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "crypto-random-string": { "version": "2.0.0" diff --git a/package.json b/package.json index f1cd9020..c0c26099 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", "@fairdatasociety/blossom": "^0.5.0", - "@fairdatasociety/fdp-storage": "^0.13.0", + "@fairdatasociety/fdp-storage": "^0.17.0", "@headlessui/react": "^1.7.14", "@metamask/sdk": "^0.5.6", "@types/react-blockies": "^1.4.1", diff --git a/src/components/Connect/Metamask/MetamaskConnect.tsx b/src/components/Connect/Metamask/MetamaskConnect.tsx index 9917e233..6a1c4ccf 100644 --- a/src/components/Connect/Metamask/MetamaskConnect.tsx +++ b/src/components/Connect/Metamask/MetamaskConnect.tsx @@ -74,7 +74,7 @@ const MetamaskConnect = ({ onConnect }: MetamaskConnectProps) => { setAddress(wallet.address); setMnemonic(mnemonic); - router.push('/overview'); + router.push('/drive'); } catch (error) { console.error(error); setErrorMessage(String(error.message || error)); diff --git a/src/components/Dialogs/MetamaskMigrationDialog/MetamaskCreateAccount.tsx b/src/components/Dialogs/MetamaskMigrationDialog/MetamaskCreateAccount.tsx index 444301d1..5baf0125 100644 --- a/src/components/Dialogs/MetamaskMigrationDialog/MetamaskCreateAccount.tsx +++ b/src/components/Dialogs/MetamaskMigrationDialog/MetamaskCreateAccount.tsx @@ -97,7 +97,7 @@ export default function MetamaskCreateAccount({ await fdpClientRef.current.account.register(request); setWallet(fdpClientRef.current.account.wallet); - setFdpStorageType('native'); + setFdpStorageType('native', undefined, false); setIsLoggedIn(true); setLoginType('username'); setUser(username); diff --git a/src/components/Dialogs/MetamaskMigrationDialog/MetamaskMigrationDialog.tsx b/src/components/Dialogs/MetamaskMigrationDialog/MetamaskMigrationDialog.tsx index 997c187d..b0791063 100644 --- a/src/components/Dialogs/MetamaskMigrationDialog/MetamaskMigrationDialog.tsx +++ b/src/components/Dialogs/MetamaskMigrationDialog/MetamaskMigrationDialog.tsx @@ -55,7 +55,9 @@ const MetamaskMigrationDialog = ({ if (clickOutside) { return; } - setMetamaskMigrationNotification('closed'); + setMetamaskMigrationNotification( + step === Step.COMPLETE ? 'completed' : 'closed' + ); onClose(); }; diff --git a/src/components/Footers/MainFooter/MainFooter.tsx b/src/components/Footers/MainFooter/MainFooter.tsx index cf1f91ce..ed9d04be 100644 --- a/src/components/Footers/MainFooter/MainFooter.tsx +++ b/src/components/Footers/MainFooter/MainFooter.tsx @@ -27,7 +27,7 @@ const MainFooter: FC = () => { const { intl } = useLocales(); return ( -
+
{ } = useFdpStorage(); const router = useRouter(); const { intl } = useLocales(); + const fdsLoginEnabled = router?.query['fdsLogin'] === 'true'; const onSubmit = async (data: { user_name: string; password: string }) => { try { @@ -68,7 +70,7 @@ const LoginForm: FC = () => { setLoginType('username'); setUser(user_name); setDefaultNetwork(String(network.id)); - router.push('/overview'); + router.push('/drive'); } catch (error) { setErrorMessage(error.message); } finally { @@ -116,10 +118,12 @@ const LoginForm: FC = () => { return (
- +
+ +
{
-
- - - - - - - - - {intl.get('ALLOW_TRACKING')} - - -
-
-
- - {intl.get('REGISTER_NEW_ACCOUNT')} - + {intl.get('ALLOW_TRACKING')} + + +
+
+ + + + ) : ( +
+ + {/* eslint-disable-next-line @typescript-eslint/no-empty-function */} + {}} onError={() => {}} /> +
- + )}
); diff --git a/src/components/Layouts/MainLayout/MainLayout.tsx b/src/components/Layouts/MainLayout/MainLayout.tsx index 54a802f2..3aa7fb29 100644 --- a/src/components/Layouts/MainLayout/MainLayout.tsx +++ b/src/components/Layouts/MainLayout/MainLayout.tsx @@ -49,7 +49,8 @@ const MainLayout: FC = ({
-
+ {/* sm:w-28 */} +
= ({
-
+
diff --git a/src/components/Modals/UploadFileModal/UploadFileModal.tsx b/src/components/Modals/UploadFileModal/UploadFileModal.tsx index c077b9be..5a6136ef 100644 --- a/src/components/Modals/UploadFileModal/UploadFileModal.tsx +++ b/src/components/Modals/UploadFileModal/UploadFileModal.tsx @@ -120,9 +120,9 @@ const UploadFileModal: FC = ({ podName: activePod, }, (event: UploadProgressInfo) => { - const { uploadPercentage } = event.data || {}; + const { percentage } = event.data || {}; - if (uploadPercentage) { + if (percentage) { setUploadPercentage( calculateUploadPercentage( uploadedItemsRef.current.length + failedUplods.length, diff --git a/src/components/NavigationBars/AuthenticationNavbar/AuthenticationNavbar.tsx b/src/components/NavigationBars/AuthenticationNavbar/AuthenticationNavbar.tsx index ed42efa6..83e35f11 100644 --- a/src/components/NavigationBars/AuthenticationNavbar/AuthenticationNavbar.tsx +++ b/src/components/NavigationBars/AuthenticationNavbar/AuthenticationNavbar.tsx @@ -9,9 +9,12 @@ import ConnectDropdown from '@components/Dropdowns/ConnectDropdown/ConnectDropdo import classes from './AuthenticationNavbar.module.scss'; import { useLocales } from '@context/LocalesContext'; import LanguageDropdown from '@components/Dropdowns/LanguageDropdown/LanguageDropdown'; +import { useRouter } from 'next/router'; const AuthenticationNavbar: FC = () => { const { intl } = useLocales(); + const router = useRouter(); + const fdsLoginEnabled = router?.query['fdsLogin'] === 'true'; return (
{
- - - + {fdsLoginEnabled && ( + + + + )} diff --git a/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.module.scss b/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.module.scss new file mode 100644 index 00000000..4d2c85d3 --- /dev/null +++ b/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.module.scss @@ -0,0 +1,6 @@ +@media (max-width: 440px) { + .DriveActionBarItem { + width: 80px; + font-size: 12px; + } +} diff --git a/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.tsx b/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.tsx index 39340fe9..b6f8b4de 100644 --- a/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.tsx +++ b/src/components/NavigationBars/DriveActionBar/DriveActionBarMobile.tsx @@ -24,6 +24,8 @@ import { UpdateDriveProps } from '@interfaces/handlers'; import { useLocales } from '@context/LocalesContext'; import PodContext from '@context/PodContext'; +import classes from './DriveActionBarMobile.module.scss'; + export interface DriveActionBarMobileProps extends UpdateDriveProps { refreshPods?: () => void; } @@ -38,7 +40,7 @@ const DriveActionBarItem = ( ) => { return (
diff --git a/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx b/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx index 0678c37c..7684a70e 100644 --- a/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx +++ b/src/components/NavigationBars/MainNavigationBar/MainNavigationBar.tsx @@ -31,7 +31,7 @@ const MainNavigationBar: FC> = () => {
- {metamaskMigrationNotification === 'closed' && ( + {/* {metamaskMigrationNotification === 'closed' && (
= ({ {intl.get('MIGRATE_ACCOUNT')}
- )} + )} */}
= ({ setRenderDriveMenu(Boolean(router.pathname === '/drive' && updateDrive)); }, [updateDrive]); + // Moved from NavigationItems, should be removed when the NavigationItems is enabled + useEffect(() => { + if (router.pathname === '/drive') { + driveSideBarToggle(); + } + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); + return (
- + /> */} {renderDriveMenu && ( void; fileOnClick: (data: FileItem) => void; } @@ -18,24 +19,44 @@ interface DriveListViewProps extends UpdateDriveProps { const DriveListView: FC = ({ directories, files, + driveSort, directoryOnClick, fileOnClick, updateDrive, }) => { const [page, setPage] = useState(0); const [rowsPerPage, setRowsPerPage] = useState(10); - const startIndex = page * rowsPerPage; - const endIndex = startIndex + rowsPerPage; + + const folderLength = directories.length; + const folderStartIndex = Math.min(page * rowsPerPage, folderLength); + const folderEndIndex = Math.min(folderStartIndex + rowsPerPage, folderLength); + + const someFoldersAreDisplayed = folderEndIndex - folderStartIndex > 0; + const fileStartIndex = someFoldersAreDisplayed + ? 0 + : page * rowsPerPage - folderLength; + const fileEndIndex = someFoldersAreDisplayed + ? rowsPerPage - (folderEndIndex - folderStartIndex) + : fileStartIndex + rowsPerPage; const { pageDirectories, pageFiles } = useMemo( () => ({ - pageDirectories: (directories || []).slice(startIndex, endIndex), - pageFiles: (files || []).slice( - startIndex - directories.length, - endIndex - directories.length + pageDirectories: (directories || []).slice( + folderStartIndex, + folderEndIndex ), + pageFiles: (files || []).slice(fileStartIndex, fileEndIndex), }), - [directories, files, startIndex, endIndex] + // eslint-disable-next-line react-hooks/exhaustive-deps + [ + directories, + files, + driveSort, + folderStartIndex, + folderEndIndex, + fileStartIndex, + fileEndIndex, + ] ); const handlePageUp = () => { diff --git a/src/context/FdpStorageContext.tsx b/src/context/FdpStorageContext.tsx index 59d8ab16..db12b716 100644 --- a/src/context/FdpStorageContext.tsx +++ b/src/context/FdpStorageContext.tsx @@ -70,7 +70,8 @@ interface FdpStorageContext { setWallet: (wallet: Wallet) => void; setFdpStorageType: ( type: FDP_STORAGE_TYPE, - config?: FdpContracts.EnsEnvironment + config?: FdpContracts.EnsEnvironment, + create?: boolean ) => void; setFdpStorageConfig: (config: FdpContracts.EnsEnvironment) => void; setUsername: (username: string) => void; @@ -153,15 +154,19 @@ function FdpStorageProvider(props: FdpStorageContextProps) { */ const setFdpStorageType = ( type: FDP_STORAGE_TYPE, - config?: FdpContracts.EnsEnvironment + config?: FdpContracts.EnsEnvironment, + create = true ) => { - if (type === 'native') { - fdpClientRef.current = createFdpStorage(config); - } else if (type === 'blossom') { - fdpClientRef.current = blossom.fdpStorage; - } else { - throw new Error('Unknown FDP storage type'); + if (create) { + if (type === 'native') { + fdpClientRef.current = createFdpStorage(config); + } else if (type === 'blossom') { + fdpClientRef.current = blossom.fdpStorage; + } else { + throw new Error('Unknown FDP storage type'); + } } + setIsLoggedIn(false); setStorageType(type); }; diff --git a/src/data/networks.ts b/src/data/networks.ts index 6dcc8215..7685be4e 100644 --- a/src/data/networks.ts +++ b/src/data/networks.ts @@ -34,6 +34,12 @@ export const networks: Network[] = [ chainId: 421613, config: getEnsEnvironmentConfig(Environments.ARBITRUM_GOERLI), }, + { + name: 'zkEVM Testnet', + id: Environments.ZKEVM_TESTNET, + chainId: 1442, + config: getEnsEnvironmentConfig(Environments.ZKEVM_TESTNET), + }, ]; if (process.env.NEXT_PUBLIC_ENVIRONMENT !== 'PRODUCTION') { diff --git a/src/locales/ch-CH.json b/src/locales/ch-CH.json index 9f399648..77ebc2b8 100644 --- a/src/locales/ch-CH.json +++ b/src/locales/ch-CH.json @@ -100,7 +100,7 @@ "COPY_INVITE": "点击复制邀请", "URL_COPIED": "URL 已复制", "URL_HAS_BEEN_COPIED": "邀请 URL 已复制到剪贴板", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "要完成账户设置,请注册 FDS 账户。", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive 仍然处于测试阶段。请自行决定使用的风险。", "COPIED": "已复制!", "COPY_ALL": "全部复制", "DOWNLOADED": "已下载!", diff --git a/src/locales/de-DE.json b/src/locales/de-DE.json index 37f877fc..ff1e5784 100644 --- a/src/locales/de-DE.json +++ b/src/locales/de-DE.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Klicken, um die Einladung zu kopieren", "URL_COPIED": "URL kopiert", "URL_HAS_BEEN_COPIED": "Die Einladungs-URL wurde in die Zwischenablage kopiert", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Um die Einrichtung Ihres Kontos abzuschließen, müssen Sie sich für ein FDS-Konto registrieren.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive befindet sich immer noch in der Beta-Phase. Benutzung auf eigene Gefahr.", "COPIED": "Kopiert!", "COPY_ALL": "Alles kopieren", "DOWNLOADED": "Heruntergeladen!", diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 37092efc..0a80b5b7 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Click to copy the invite", "URL_COPIED": "URL copied", "URL_HAS_BEEN_COPIED": "The invite URL has been copied to the clipboard", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "To finish setting up your account, you need to sign up for an FDS account.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive is still in Beta. Use at own risk.", "COPIED": "Copied!", "COPY_ALL": "Copy all", "DOWNLOADED": "Downloaded!", diff --git a/src/locales/es-ES.json b/src/locales/es-ES.json index efe330d1..b0ca2233 100644 --- a/src/locales/es-ES.json +++ b/src/locales/es-ES.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Haga clic para copiar la invitación", "URL_COPIED": "URL copiada", "URL_HAS_BEEN_COPIED": "La URL de la invitación ha sido copiada al portapapeles", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Para terminar de configurar su cuenta, debe registrarse en una cuenta FDS.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive aún está en Beta. Úsalo bajo tu propio riesgo.", "COPIED": "¡Copiado!", "COPY_ALL": "Copiar todo", "DOWNLOADED": "¡Descargado!", diff --git a/src/locales/fr-FR.json b/src/locales/fr-FR.json index 07f87c42..c9ebac66 100644 --- a/src/locales/fr-FR.json +++ b/src/locales/fr-FR.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Cliquez pour copier l'invitation", "URL_COPIED": "URL copiée", "URL_HAS_BEEN_COPIED": "L'URL de l'invitation a été copiée dans le presse-papiers", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Pour finaliser la configuration de votre compte, vous devez vous inscrire à un compte FDS.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive est toujours en version bêta. Utilisez-le à vos risques et périls.", "COPIED": "Copié !", "COPY_ALL": "Tout copier", "DOWNLOADED": "Téléchargé !", diff --git a/src/locales/hu-HU.json b/src/locales/hu-HU.json index 80709093..271dc3fc 100644 --- a/src/locales/hu-HU.json +++ b/src/locales/hu-HU.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Kattints a meghívó másolásához", "URL_COPIED": "URL másolva", "URL_HAS_BEEN_COPIED": "A meghívó URL-je átmásolva a vágólapra", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Ahhoz, hogy befejezd a fiók beállítását, regisztrálnod kell egy FDS fiókot.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "A Fairdrive még mindig béta verzióban van. Használja saját felelősségére.", "COPIED": "Másolva!", "COPY_ALL": "Mindent másol", "DOWNLOADED": "Letöltve!", diff --git a/src/locales/it-IT.json b/src/locales/it-IT.json index ae2f6156..932edbdd 100644 --- a/src/locales/it-IT.json +++ b/src/locales/it-IT.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Fai clic per copiare l'invito", "URL_COPIED": "URL copiato", "URL_HAS_BEEN_COPIED": "L'URL dell'invito è stato copiato negli appunti", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Per completare la configurazione del tuo account, devi registrarti per un account FDS.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive è ancora in fase Beta. Usare a proprio rischio.", "COPIED": "Copiato!", "COPY_ALL": "Copia tutto", "DOWNLOADED": "Scaricato!", diff --git a/src/locales/jp-JP.json b/src/locales/jp-JP.json index 689edbc2..1e2fcc6c 100644 --- a/src/locales/jp-JP.json +++ b/src/locales/jp-JP.json @@ -101,7 +101,7 @@ "COPY_INVITE": "クリックして招待をコピー", "URL_COPIED": "コピーしました!", "URL_HAS_BEEN_COPIED": "招待URLがクリップボードにコピーされました", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "アカウントの設定を完了するには、FDSアカウントにサインアップする必要があります。", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdriveはまだベータ版です。ご自身のリスクでご利用ください。", "COPIED": "コピーしました!", "COPY_ALL": "すべてをコピー", "DOWNLOADED": "ダウンロードしました!", diff --git a/src/locales/pt-PT.json b/src/locales/pt-PT.json index b5384b75..29ef3eb4 100644 --- a/src/locales/pt-PT.json +++ b/src/locales/pt-PT.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Clique para copiar o convite", "URL_COPIED": "URL copiada", "URL_HAS_BEEN_COPIED": "A URL do convite foi copiada para a área de transferência", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Para finalizar a configuração da sua conta, você precisa se inscrever para uma conta FDS.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive ainda está em Beta. Use por sua própria conta e risco.", "COPIED": "Copiado!", "COPY_ALL": "Copiar tudo", "DOWNLOADED": "Baixado!", diff --git a/src/locales/rs-RS.json b/src/locales/rs-RS.json index 0069a114..d2d83159 100644 --- a/src/locales/rs-RS.json +++ b/src/locales/rs-RS.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Kliknite da kopirate pozivnicu", "URL_COPIED": "URL kopiran", "URL_HAS_BEEN_COPIED": "URL pozivnice je kopiran u privremenu memoriju", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Da biste završili podešavanje svog naloga, morate se prijaviti na FDS nalog.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive je i dalje u Beta fazi. Koristite na sopstveni rizik.", "COPIED": "Kopirano!", "COPY_ALL": "Kopiraj sve", "DOWNLOADED": "Preuzeto!", diff --git a/src/locales/sl-SI.json b/src/locales/sl-SI.json index dd1e47aa..043efc10 100644 --- a/src/locales/sl-SI.json +++ b/src/locales/sl-SI.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Kliknite za kopiranje povabila", "URL_COPIED": "URL kopiran", "URL_HAS_BEEN_COPIED": "URL povabila je bil kopiran v odložišče", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Za dokončanje nastavitve računa se morate prijaviti v račun FDS.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive je še vedno v beta različici. Uporabljajte na lastno odgovornost.", "COPIED": "Kopirano!", "COPY_ALL": "Kopiraj vse", "DOWNLOADED": "Preneseno!", diff --git a/src/locales/tr-TR.json b/src/locales/tr-TR.json index adc954c4..ce5cd9a0 100644 --- a/src/locales/tr-TR.json +++ b/src/locales/tr-TR.json @@ -101,7 +101,7 @@ "COPY_INVITE": "Daveti kopyalamak için tıklayın", "URL_COPIED": "Kopyalandı!", "URL_HAS_BEEN_COPIED": "Davet URL'si panoya kopyalandı", - "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Hesabınızı tamamlamak için bir FDS hesabına kaydolmanız gerekiyor.", + "SIGN_UP_FOR_AN_FDS_ACCOUNT": "Fairdrive hala Beta aşamasında. Kullanım kendi sorumluluğunuzdadır.", "COPIED": "Kopyalandı!", "COPY_ALL": "Hepsini kopyala", "DOWNLOADED": "İndirildi!", diff --git a/src/pages/drive/index.tsx b/src/pages/drive/index.tsx index 9d9db7ed..e2669639 100644 --- a/src/pages/drive/index.tsx +++ b/src/pages/drive/index.tsx @@ -409,6 +409,7 @@ const Drive: FC = () => {