This commit is contained in:
ameer2468 2024-06-15 00:57:07 +03:00
parent 6984d4d7bb
commit 699302f019
14 changed files with 31 additions and 4 deletions

View file

@ -13,7 +13,7 @@ import { Button, Card, Loader, tw } from '@sd/ui';
import { Icon } from '~/components';
import { AuthRequiredOverlay } from '~/components/AuthRequiredOverlay';
import { LoginButton } from '~/components/LoginButton';
import { useRouteTitle } from '~/hooks';
import { useLocale, useRouteTitle } from '~/hooks';
import { hardwareModelToIcon } from '~/util/hardware';
export const Component = () => {
@ -46,6 +46,7 @@ function Authenticated() {
const { library } = useLibraryContext();
const cloudLibrary = useLibraryQuery(['cloud.library.get'], { suspense: true, retry: false });
const createLibrary = useLibraryMutation(['cloud.library.create']);
const { t } = useLocale();
const thisInstance = useMemo(() => {
if (!cloudLibrary.data) return undefined;
@ -79,8 +80,8 @@ function Authenticated() {
}}
>
{createLibrary.isLoading
? 'Connecting library to Spacedrive Cloud...'
: 'Connect library to Spacedrive Cloud'}
? t('connecting_library_to_cloud')
: t('connect_library_to_cloud')}
</Button>
</div>
)}

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Connect your cloud accounts to Spacedrive.",
"connect_device": "Connect a device",
"connect_device_description": "Spacedrive works best on all your devices.",
"connect_library_to_cloud": "قم بتوصيل المكتبة بـ Spacedrive Cloud",
"connected": "متصل",
"connecting_library_to_cloud": "جارٍ توصيل المكتبة بـ Spacedrive Cloud...",
"contacts": "جهات الاتصال",
"contacts_description": "إدارة جهات الاتصال الخاصة بك في Spacedrive.",
"contains": "contains",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Падключыце воблачныя акаўнты да Spacedrive.",
"connect_device": "Падключыце прыладу",
"connect_device_description": "Spacedrive лепш за ўсё працуе пры выкарыстанні на ўсіх вашых прыладах.",
"connect_library_to_cloud": "Падключыце бібліятэку да Spacedrive Cloud",
"connected": "Падключана",
"connecting_library_to_cloud": "Падключэнне бібліятэкі да Spacedrive Cloud...",
"contacts": "Кантакты",
"contacts_description": "Кіруйце кантактамі ў Spacedrive.",
"contains": "змяшчае",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Verbinde deine Cloud-Konten mit Spacedrive.",
"connect_device": "Ein Gerät anschließen",
"connect_device_description": "Spacedrive funktioniert am besten auf all deinen Geräten.",
"connect_library_to_cloud": "Bibliothek mit Spacedrive Cloud verbinden",
"connected": "Verbunden",
"connecting_library_to_cloud": "Bibliothek mit Spacedrive Cloud verbinden …",
"contacts": "Kontakte",
"contacts_description": "Verwalte deine Kontakte in Spacedrive.",
"contains": "enthält",

View file

@ -90,7 +90,9 @@
"connect_cloud_description": "Connect your cloud accounts to Spacedrive.",
"connect_device": "Connect a device",
"connect_device_description": "Spacedrive works best on all your devices.",
"connect_library_to_cloud": "Connect library to Spacedrive Cloud",
"connected": "Connected",
"connecting_library_to_cloud": "Connecting library to Spacedrive Cloud...",
"contacts": "Contacts",
"contacts_description": "Manage your contacts in Spacedrive.",
"contains": "contains",
@ -598,6 +600,7 @@
"security_description": "Keep your client safe.",
"see_less": "See less",
"see_more": "See more",
"select_library": "Select a Cloud Library",
"send": "Send",
"send_report": "Send Report",
"sender": "Sender",
@ -630,7 +633,6 @@
"size_tb": "TB",
"size_tbs": "TBs",
"skip_login": "Skip login",
"select_library": "Select a Cloud Library",
"software": "Software",
"sort_by": "Sort by",
"spacedrive_account": "Spacedrive Account",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Conecta tus cuentas en la nube a Spacedrive.",
"connect_device": "Conectar un dispositivo",
"connect_device_description": "Spacedrive funciona mejor en todos tus dispositivos.",
"connect_library_to_cloud": "Conecte la biblioteca a Spacedrive Cloud",
"connected": "Conectado",
"connecting_library_to_cloud": "Conectando la biblioteca a Spacedrive Cloud...",
"contacts": "Contactos",
"contacts_description": "Administra tus contactos en Spacedrive.",
"contains": "contiene",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Connectez vos comptes cloud à Spacedrive.",
"connect_device": "Connecter un appareil",
"connect_device_description": "Spacedrive fonctionne mieux sur tous vos appareils.",
"connect_library_to_cloud": "Connecter la bibliothèque à Spacedrive Cloud",
"connected": "Connecté",
"connecting_library_to_cloud": "Connexion de la bibliothèque à Spacedrive Cloud...",
"contacts": "Contacts",
"contacts_description": "Gérez vos contacts dans Spacedrive.",
"contains": "contient",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Collegate i vostri account cloud a Spacedrive.",
"connect_device": "Collegare un dispositivo",
"connect_device_description": "Spacedrive funziona al meglio su tutti i dispositivi.",
"connect_library_to_cloud": "Connetti la libreria a Spacedrive Cloud",
"connected": "Connesso",
"connecting_library_to_cloud": "Collegamento della libreria a Spacedrive Cloud...",
"contacts": "Contatti",
"contacts_description": "Gestisci i tuoi contatti su Spacedrive.",
"contains": "contiene",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "クラウドアカウントをSpacedriveに接続する。",
"connect_device": "デバイスを接続する",
"connect_device_description": "Spacedriveはすべてのデバイスで最適に機能します。",
"connect_library_to_cloud": "ライブラリをSpacedrive Cloudに接続する",
"connected": "接続中",
"connecting_library_to_cloud": "ライブラリを Spacedrive Cloud に接続しています...",
"contacts": "連絡先",
"contacts_description": "Spacedriveで連絡先を管理。",
"contains": "が次を含む",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Verbind uw cloudaccounts met Spacedrive.",
"connect_device": "Een apparaat aansluiten",
"connect_device_description": "Spacedrive werkt het beste op al uw apparaten.",
"connect_library_to_cloud": "Verbind de bibliotheek met Spacedrive Cloud",
"connected": "Verbonden",
"connecting_library_to_cloud": "Bibliotheek verbinden met Spacedrive Cloud...",
"contacts": "Contacten",
"contacts_description": "Beheer je contacten in Spacedrive.",
"contains": "bevatten",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Подключите облачные аккаунты к Spacedrive.",
"connect_device": "Подключите устройство",
"connect_device_description": "Spacedrive лучше всего работает при использовании на всех ваших устройствах.",
"connect_library_to_cloud": "Подключите библиотеку к Spacedrive Cloud",
"connected": "Подключено",
"connecting_library_to_cloud": "Подключение библиотеки к Spacedrive Cloud...",
"contacts": "Контакты",
"contacts_description": "Управляйте контактами в Spacedrive.",
"contains": "содержит",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "Bulut hesaplarınızı Spacedrive'a bağlayın.",
"connect_device": "Bir cihaz bağlayın",
"connect_device_description": "Spacedrive tüm cihazlarınızda en iyi şekilde çalışır.",
"connect_library_to_cloud": "Kitaplığı Spacedrive Cloud'a bağlayın",
"connected": "Bağlı",
"connecting_library_to_cloud": "Kitaplık Spacedrive Cloud'a bağlanıyor...",
"contacts": "Kişiler",
"contacts_description": "Kişilerinizi Spacedrive'da yönetin.",
"contains": "içerir",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "将您的云帐户连接到 Spacedrive。",
"connect_device": "连接设备",
"connect_device_description": "Spacedrive 在您的所有设备上都能发挥最佳效果。",
"connect_library_to_cloud": "将图书馆连接到 Spacedrive Cloud",
"connected": "已连接",
"connecting_library_to_cloud": "将图书馆连接到 Spacedrive Cloud...",
"contacts": "联系人",
"contacts_description": "在 Spacedrive 中管理您的联系人。",
"contains": "包含",

View file

@ -89,7 +89,9 @@
"connect_cloud_description": "將您的雲端帳戶連接到 Spacedrive。",
"connect_device": "連接裝置",
"connect_device_description": "Spacedrive 在您的所有裝置上都能發揮最佳效果。",
"connect_library_to_cloud": "將圖書館連接到 Spacedrive Cloud",
"connected": "已連接",
"connecting_library_to_cloud": "正在將圖書館連接到 Spacedrive Cloud...",
"contacts": "聯繫人",
"contacts_description": "在Spacedrive中管理您的聯繫人。",
"contains": "包含",