Skip to content

Commit

Permalink
Merge branch 'master' into maryia/87354/task-add-turbos
Browse files Browse the repository at this point in the history
  • Loading branch information
maryia-deriv committed Jul 25, 2023
2 parents 3190fed + 7684e2c commit acfa962
Show file tree
Hide file tree
Showing 25 changed files with 63 additions and 57 deletions.
1 change: 1 addition & 0 deletions packages/bot-skeleton/src/services/api/api-middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const REQUESTS = [
'run-proposal',
'transaction',
'ticks_history',
'history',
];

class APIMiddleware {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ const WorkspaceGroup = ({
icon_id='db-toolbar__save-button'
action={toggleSaveModal}
/>
<ToolbarIcon
popover_message={localize('Sort blocks')}
icon='IcSort'
icon_id='db-toolbar__sort-button'
action={onSortClick}
/>
<div className='vertical-divider' />
<ToolbarIcon
popover_message={localize('Undo')}
Expand All @@ -64,12 +70,7 @@ const WorkspaceGroup = ({
icon_color={has_redo_stack ? undefined : 'disabled'}
action={() => onUndoClick(/* redo */ true)}
/>
<ToolbarIcon
popover_message={localize('Sort')}
icon='IcSort'
icon_id='db-toolbar__sort-button'
action={onSortClick}
/>
<div className='vertical-divider' />
<ToolbarIcon
popover_message={localize('Zoom in')}
icon='IcZoomIn'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
&__mobile-container {
display: flex;
align-items: center;
margin: 1.6rem 1.6rem 1.4rem;
margin: 1.6rem 1.6rem 1.4rem 0.5rem;
column-gap: 1rem;
height: 3.2rem;

Expand Down Expand Up @@ -260,7 +260,7 @@
&--listed {
margin-top: 10rem;
align-items: unset;
padding: 1rem 3rem;
padding: 1rem 2.4rem;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
@include mobile {
height: 100%;
overflow: hidden;
padding-left: 0.5rem;
}
}

Expand Down Expand Up @@ -333,14 +334,14 @@

&__loaded {
text-align: left;
padding: 1rem 3rem;
padding: 1rem 2.4rem;

@include tablet {
padding: 1rem 0.6rem;
}

@include mobile {
padding: 1rem 0.6rem;
padding: 1rem 0.4rem;
}

.load-strategy__recent-item-text {
Expand Down Expand Up @@ -435,6 +436,10 @@
}
}
}

span {
padding-right: 1.5rem;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const RecentComponent = ({
<div className='load-strategy__recent__files'>
<div className='load-strategy__title'>
<Text size={is_mobile ? 'xs' : 's'} weight='bold'>
<Localize i18n_default_text='Your bots' />
<Localize i18n_default_text='Your bots:' />
</Text>
</div>
<div className='load-strategy__recent__files__list'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,4 @@

.contract-type-widget__header ~ .dc-mobile-dialog__content {
height: 100%;
overflow-y: hidden;
}
2 changes: 1 addition & 1 deletion packages/translations/crowdin/messages.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/translations/src/translations/ach.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "crwdns2102217:0crwdne2102217:0",
"1484336612": "crwdns1261223:0crwdne1261223:0",
"1487086154": "crwdns1261225:0crwdne1261225:0",
"1488126519": "crwdns2101813:0crwdne2101813:0",
"1488548367": "crwdns1445505:0crwdne1445505:0",
"1491392301": "crwdns1261229:0{{sold_for}}crwdne1261229:0",
"1492686447": "crwdns1261231:0crwdne1261231:0",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "crwdns122660:0crwdne122660:0",
"-764102808": "crwdns89506:0crwdne89506:0",
"-1696412885": "crwdns70324:0crwdne70324:0",
"-250192612": "crwdns70332:0crwdne70332:0",
"-320197558": "crwdns2641025:0crwdne2641025:0",
"-1566369363": "crwdns70334:0crwdne70334:0",
"-1285759343": "crwdns89644:0crwdne89644:0",
"-1040972299": "crwdns164012:0crwdne164012:0",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "crwdns2101897:0crwdne2101897:0",
"-1233084347": "crwdns2101899:0crwdne2101899:0",
"-1150390589": "crwdns2620891:0crwdne2620891:0",
"-1393876942": "crwdns2641027:0crwdne2641027:0",
"-305283152": "crwdns121902:0crwdne121902:0",
"-1003476709": "crwdns70308:0crwdne70308:0",
"-636521735": "crwdns157386:0crwdne157386:0",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/src/translations/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "انقر فوق «فتح» لبدء التداول بحسابك",
"1484336612": "تُستخدم هذه الكتلة إما لإنهاء حلقة أو متابعتها، ويمكن وضعها في أي مكان داخل كتلة الحلقة.",
"1487086154": "تم إرسال المستندات الخاصة بك بنجاح",
"1488126519": "الروبوتات الخاصة بك",
"1488548367": "قم بالتحميل مرة أخرى",
"1491392301": "<0>بيعت مقابل</0>: {{sold_for}}",
"1492686447": "سيتم فتح حساب MT5 Financial STP الخاص بك من خلال Deriv (FX) Ltd. تخضع جميع عمليات التداول في هذا الحساب للوائح والإرشادات الصادرة عن هيئة الخدمات المالية في لابوان (LFSA). لا يخضع أي من حساباتك الأخرى، بما في ذلك حساب Deriv الخاص بك، للوائح والمبادئ التوجيهية لهيئة لابوان للخدمات المالية (LFSA).",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "لم يتم حفظها",
"-764102808": "جوجل درايف",
"-1696412885": "الاستيراد",
"-250192612": "فرز",
"-320197558": "كتل الفرز",
"-1566369363": "تصغير",
"-1285759343": "ابحث",
"-1040972299": "عقد شراء",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "لاستيراد برنامج الروبوت الخاص بك من Google Drive، ستحتاج إلى تسجيل الدخول إلى حساب Google الخاص بك.",
"-1233084347": "لمعرفة كيفية تعامل Google Drive مع بياناتك، يرجى مراجعة <0>سياسة خصوصية</0> Deriv.",
"-1150390589": "آخر تعديل",
"-1393876942": "الروبوتات الخاصة بك:",
"-305283152": "اسم الإستراتيجية",
"-1003476709": "احفظ كمجموعة",
"-636521735": "استراتيجية الحفظ",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/src/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "আপনার অ্যাকাউন্টে ট্রেডিং শুরু করতে 'ওপেন' ক্লিক করুন",
"1484336612": "এই ব্লকটি একটি লুপ বন্ধ বা চালিয়ে যেতে ব্যবহৃত হয় এবং একটি লুপ ব্লকের মধ্যে কোথাও স্থাপন করা যেতে পারে।",
"1487086154": "আপনার ডকুমেন্টগুলি সফলভাবে জমা দেওয়া হয়েছে",
"1488126519": "তোমার বট",
"1488548367": "পুনরায় আপলোড করুন",
"1491392301": "<0>বিক্রি হয়েছে</0>: {{sold_for}}",
"1492686447": "আপনার MT5 ফাইন্যান্সিয়াল STP অ্যাকাউন্ট Deriv (FX) Ltd এর মাধ্যমে খোলা হবে এই অ্যাকাউন্টের সমস্ত ট্রেডিং লাবুয়ান ফাইন্যান্সিয়াল সার্ভিস অথরিটি (LFSA) এর প্রবিধান এবং নির্দেশিকা সাপেক্ষে। আপনার Deriv অ্যাকাউন্ট সহ আপনার অন্য কোনও অ্যাকাউন্ট, Labuan Financial Service Authority (LFSA) এর প্রবিধান এবং নির্দেশিকা সাপেক্ষে নয়।",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "অসংরক্ষিত",
"-764102808": "গুগল ড্রাইভ",
"-1696412885": "আমদানি",
"-250192612": "সাজান",
"-320197558": "ব্লক সাজান",
"-1566369363": "জুম আউট",
"-1285759343": "অনুসন্ধান",
"-1040972299": "ক্রয় চুক্তি",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "আপনার Google ড্রাইভ থেকে আপনার বট আমদানি করতে, আপনাকে আপনার Google অ্যাকাউন্টে সাইন ইন করতে হবে।",
"-1233084347": "Google ড্রাইভ আপনার ডেটা কিভাবে পরিচালনা করে তা জানতে, Deriv এর <0>গোপনীয়তা নীতি</0> পর্যালোচনা করুন।",
"-1150390589": "সর্বশেষ সংশোধিত",
"-1393876942": "তোমার বট:",
"-305283152": "কৌশলগত নাম",
"-1003476709": "সংগ্রহ হিসেবে সংরক্ষণ করুন",
"-636521735": "কৌশল সংরক্ষণ করুন",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "Klicken Sie auf „Öffnen“, um mit dem Handel mit Ihrem Konto zu beginnen",
"1484336612": "Dieser Block wird verwendet, um eine Schleife zu beenden oder fortzusetzen, und kann an einer beliebigen Stelle innerhalb eines Loop-Blocks platziert werden.",
"1487086154": "Ihre Dokumente wurden erfolgreich eingereicht",
"1488126519": "Deine Bots",
"1488548367": "Erneut hochladen",
"1491392301": "<0>Verkauft für</0>: {{sold_for}}",
"1492686447": "Ihr MT5 Financial STP-Konto wird über Deriv (FX) Ltd. eröffnet. Der gesamte Handel mit diesem Konto unterliegt den Vorschriften und Richtlinien der Labuan Financial Service Authority (LFSA). Keines Ihrer anderen Konten, einschließlich Ihres Deriv-Kontos, unterliegt den Vorschriften und Richtlinien der Labuan Financial Service Authority (LFSA).",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "Nicht gespeichert",
"-764102808": "Google Drive",
"-1696412885": "Importieren",
"-250192612": "Sortieren",
"-320197558": "Blöcke sortieren",
"-1566369363": "Verkleinern",
"-1285759343": "Suche",
"-1040972299": "Kaufvertrag",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "Um Ihren Bot aus Ihrem Google Drive zu importieren, müssen Sie sich in Ihrem Google-Konto anmelden.",
"-1233084347": "Um zu erfahren, wie Google Drive mit Ihren Daten umgeht, lesen Sie bitte die <0>Datenschutzrichtlinie</0> von Deriv.",
"-1150390589": "Zuletzt geändert",
"-1393876942": "Deine Bots:",
"-305283152": "Name der Strategie",
"-1003476709": "Als Sammlung speichern",
"-636521735": "Strategie speichern",
Expand Down
16 changes: 8 additions & 8 deletions packages/translations/src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"203179929": "<0>Puede abrir esta cuenta una vez que se hayan verificado los documentos enviados.</0>",
"203271702": "Inténtelo de nuevo",
"203297887": "La Estrategia Rápida que acaba de crear se cargará en el espacio de trabajo.",
"203924654": "Pulse el botón <0>Inicio</0> para comenzar y siga el tutorial.",
"203924654": "Pulse el botón de <0>Inicio</0> para comenzar y siga el tutorial.",
"204797764": "Transferir al cliente",
"204863103": "Tiempo de salida",
"206010672": "Eliminar {{ delete_count }} bloques",
Expand Down Expand Up @@ -364,7 +364,7 @@
"427617266": "Bitcoin",
"428709688": "Su intervalo de tiempo preferido entre cada informe:",
"430975601": "Pueblo/Ciudad no está en un formato adecuado.",
"431267979": "Aquí tiene una guía rápida sobre cómo utilizar Deriv Bot sobre la marcha.",
"431267979": "Aquí tiene una guía rápida sobre cómo usar Deriv Bot portátil.",
"432273174": "1:100",
"432508385": "Take Profit: {{ currency }} {{ take_profit }}",
"432519573": "Documento subido",
Expand Down Expand Up @@ -889,7 +889,7 @@
"1024205076": "Operación lógica",
"1025887996": "Protección contra saldo negativo",
"1026046972": "Por favor, introduzca un importe de pago inferior a {{max_payout}}.",
"1026289179": "Trade sobre la marcha",
"1026289179": "Trading portátil",
"1027098103": "El apalancamiento le brinda la posibilidad de operar con una posición más amplia utilizando su capital existente. El apalancamiento varía según los diferentes símbolos.",
"1028211549": "Todos los campos son obligatorios",
"1028758659": "Ciudadanía*",
Expand Down Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "Haga clic en 'Abrir' para empezar a operar con su cuenta",
"1484336612": "Este bloque se usa para terminar o continuar un ciclo, y se puede colocar en cualquier lugar dentro de un bloque de ciclo.",
"1487086154": "Sus documentos se han enviado correctamente",
"1488126519": "Sus bots",
"1488548367": "Subir de nuevo",
"1491392301": "<0>Vendido por</0>: {{sold_for}}",
"1492686447": "Su cuenta STP Financiera de MT5 se abrirá a través de Deriv (FX) Ltd. Todas las operaciones en esta cuenta están sujetas a las regulaciones y directrices de la Autoridad de Servicios Financieros de Labuan (LFSA, por sus siglas en inglés). Ninguna de sus otras cuentas, incluyendo su cuenta Deriv, está sujeta a las regulaciones y directrices de la Autoridad de Servicios Financieros de Labuan (LFSA).",
Expand Down Expand Up @@ -2707,7 +2706,7 @@
"-1337379177": "Tick alto",
"-328036042": "Ingrese una cantidad de stop loss que sea mayor que la pérdida potencial actual.",
"-2127699317": "Stop loss inválido. Stop loss no puede ser superior a la inversión.",
"-590765322": "Lamentablemente, esta plataforma de negociación no está disponible para la cuenta EU Deriv. Cambie a una cuenta que no pertenezca a la UE para seguir operando.",
"-590765322": "Lamentablemente, esta plataforma de operación no está disponible para la cuenta Deriv EU. Cambie a una cuenta no-UE para seguir operando.",
"-2110207996": "Deriv Bot no está disponible para esta cuenta",
"-971295844": "Cambiar a otra cuenta",
"-1194079833": "Deriv Bot no está disponible para clientes de la UE",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "No guardado",
"-764102808": "Google Drive",
"-1696412885": "Importar",
"-250192612": "Clasificar",
"-320197558": "Ordenar bloques",
"-1566369363": "Alejar",
"-1285759343": "Buscar",
"-1040972299": "Compre contrato",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "Para importar su bot desde Google Drive, deberá iniciar sesión en su cuenta de Google.",
"-1233084347": "Para conocer cómo gestiona Google Drive sus datos, consulte la <0>Política de privacidad</0> de Deriv",
"-1150390589": "Última modificación",
"-1393876942": "Sus bots:",
"-305283152": "Nombre de la estrategia",
"-1003476709": "Guardar como colección",
"-636521735": "Guardar estrategia",
Expand All @@ -2896,7 +2896,7 @@
"-1584847169": "Consulte el rendimiento de su bot en tiempo real.",
"-1918369898": "Ejecute o detenga su bot",
"-782992165": "Paso 1 :",
"-1207872534": "En primer lugar, configure el bloque <0>Parámetros comerciales</0>.",
"-1207872534": "Primero, configure el bloque <0>Parámetros de operación</0>.",
"-1656388044": "Primero, defina <0>Mercado</0> como Derivado > Índices continuos > Índice de Volatilidad 100 (1s).",
"-1706298865": "A continuación, defina el <0>tipo de operación</0> en Arriba/Abajo > Subida/Caída.",
"-1834358537": "Para el <0>Intervalo de velas predeterminado</0>, configúrelo a 1 minuto",
Expand All @@ -2923,7 +2923,7 @@
"-1494924808": "El valor debe ser igual o superior a 2.",
"-1823621139": "Estrategia rápida",
"-1455277971": "Salir del tour",
"-563921656": "Guía del constructor de bots",
"-563921656": "Guía de Constructor de Bots",
"-1999747212": "¿Desea volver a hacer el tour?",
"-1109392787": "Aprenda a construir su bot desde cero utilizando una estrategia sencilla.",
"-1263822623": "Puede importar un bot desde su dispositivo móvil o desde Google drive, ver una vista previa en el constructor de bots y empezar a operar ejecutando el bot.",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "Cliquez sur « Ouvrir » pour commencer à trader avec votre compte",
"1484336612": "Ce bloc est utilisé pour terminer ou continuer une boucle et peut être placé n'importe où dans un bloc de boucle.",
"1487086154": "Vos documents ont été soumis avec succès",
"1488126519": "Vos robots",
"1488548367": "Charger à nouveau",
"1491392301": "<0>Vendu pour</0>: {{sold_for}}",
"1492686447": "Votre compte MT5 Financial STP sera ouvert via Deriv (FX) Ltd. Toutes les transactions sur ce compte sont soumises aux réglementations et directives de la Labuan Financial Service Authority (LFSA). Aucun de vos autres comptes, y compris votre compte Deriv, n'est soumis aux réglementations et directives de la Labuan Financial Service Authority (LFSA).",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "Non enregistré",
"-764102808": "Google Drive",
"-1696412885": "Importer",
"-250192612": "Trier",
"-320197558": "Trier les blocs",
"-1566369363": "Effectuer un zoom arrière",
"-1285759343": "Rechercher",
"-1040972299": "Achetez le contrat",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "Pour importer votre bot depuis votre Google Drive, vous devez vous connecter à votre compte Google.",
"-1233084347": "Pour savoir comment Google Drive traite vos données, veuillez consulter la <0>politique de confidentialité</0> de Deriv.",
"-1150390589": "Dernière modification",
"-1393876942": "Vos robots:",
"-305283152": "Nom de la stratégie",
"-1003476709": "Enregistrez en tant que collection",
"-636521735": "Sauvegardez la stratégie",
Expand Down
4 changes: 2 additions & 2 deletions packages/translations/src/translations/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,6 @@
"1483470662": "Klik 'Buka' untuk memulai trading dengan akun Anda",
"1484336612": "Blok ini digunakan untuk menghentikan atau melanjutkan loop, dan dapat ditempatkan di mana saja dalam blok loop.",
"1487086154": "Dokumen Anda berhasil dikirimkan",
"1488126519": "Bot Anda",
"1488548367": "Unggah kembali",
"1491392301": "<0>Dijual sebesar</0>: {{sold_for}}",
"1492686447": "Akun MT5 Finansial STP Anda akan didaftarkan pada Deriv (FX) Ltd. Semua trading pada akun ini adalah tunduk pada peraturan dan pedoman dari Otoritas Jasa Keuangan Labuan (LFSA). Tidak ada akun lain, termasuk akun Deriv Anda, tunduk pada peraturan dan pedoman pada Otoritas Jasa Keuangan Labuan (LFSA).",
Expand Down Expand Up @@ -2856,7 +2855,7 @@
"-507620484": "Belum disimpan",
"-764102808": "Google Drive",
"-1696412885": "Impor",
"-250192612": "Urutkan",
"-320197558": "Urutkan blok",
"-1566369363": "Perkecil",
"-1285759343": "Cari",
"-1040972299": "Beli kontrak",
Expand All @@ -2880,6 +2879,7 @@
"-1256971627": "Untuk mengimpor bot dari Google Drive, Anda harus masuk ke akun Google Anda.",
"-1233084347": "Untuk mengetahui cara Google Drive menangani data Anda, silakan tinjau <0>Kebijakan Privasi</0> Deriv.",
"-1150390589": "Terakhir diubah",
"-1393876942": "Bot Anda:",
"-305283152": "Nama strategi",
"-1003476709": "Menyimpan sebagai koleksi",
"-636521735": "Simpan strategi",
Expand Down
Loading

0 comments on commit acfa962

Please sign in to comment.