Skip to content

Commit

Permalink
Merge branch 'onekey' into fix/ext-lazy-js
Browse files Browse the repository at this point in the history
  • Loading branch information
sidmorizon authored Oct 19, 2023
2 parents 81d44d8 + a290fa9 commit 6ce892b
Show file tree
Hide file tree
Showing 40 changed files with 315 additions and 45 deletions.
10 changes: 0 additions & 10 deletions development/webpackTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,6 @@ function normalizeConfig({
platform === 'web' && !isDev ? new SubresourceIntegrityPlugin() : null,
].filter(Boolean);

// Compile entrypoints and dynamic imports only when they are in use.
if (isDev) {
config.experiments = config.experiments || {};
config.experiments.lazyCompilation = {
imports: true,
entries: false,
test: /engine/,
};
}

// add devServer proxy
if (config.devServer) {
config.devServer.proxy = {
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "نعم",
"action__ok_im_done": "نعم. منتهي!",
"action__open_blockchain_browser": "افتح متصفح Blockchain",
"action__open_expand_view": "فتح توسيع العرض",
"action__open_finder": "افتح الباحث",
"action__open_in_browser": "افتح في المتصفح",
"action__open_onekey": "افتح OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "يجب ألا يقل المبلغ عن {0}",
"msg__amount_should_not_exceed_int": "يجب ألا يتجاوز المبلغ {0}",
"msg__amount_too_small": "مبلغ التحويل صغير جدًا",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "يجب تشغيل الموافقة على إذن الكاميرا في Expand View",
"msg__aptos_first_activation_token": "إذا تم تنشيط الرمز المميز لأول مرة ، فسيتم إصدار معاملة عملة.",
"msg__asset_ratio": "نسبة الأصول",
"msg__authentication_failed_verify_again": "فشلت المصادقة ، تحقق من اتصال الشبكة وحاول مرة أخرى",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "يجب أن تكون كلمة المرور بين 8 و 128 حرفًا.",
"msg__payment_channel_not_found_sending_failed": "قناة الدفع غير موجودة ، فشل الإرسال",
"msg__payment_received": "تم استلام الدفعة",
"msg__please_approve_camera_permission_on_your_browser": "يرجى الموافقة على إذن الكاميرا على متصفحك.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "الرجاء تحديد مقدار الرموز المميزة بـ {0} منازل عشرية أو أقل.",
"msg__please_limit_the_file_size_to_str_or_less": "الرجاء تحديد حجم الملف بـ {0} أو أقل",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "الرجاء الترقية إلى أحدث إصدار من OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "دعم إرسال الدُفعات من واحد إلى واحد ومن متعدد إلى متعدد ومن متعدد إلى واحد.",
"title__buy_onekey_hardware": "شراء أجهزة OneKey",
"title__buy_str": "شراء {0}",
"title__camera_permission_required": "مطلوب إذن الكاميرا",
"title__caution": "الحذر",
"title__cautions_scam_site": "يحذر! موقع احتيال",
"title__cautions_scam_site_desc": "كن حذرا عند زيارة هذا الموقع.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "ঠিক আছে",
"action__ok_im_done": "ঠিক আছে. সম্পন্ন!",
"action__open_blockchain_browser": "ব্লকচেইন ব্রাউজার খুলুন",
"action__open_expand_view": "প্রসারিত দৃশ্য খুলুন",
"action__open_finder": "ফাইন্ডার খুলুন",
"action__open_in_browser": "ব্রাউজারে খোলা",
"action__open_onekey": "OneKey খুলুন",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "পরিমাণ {0} এর কম হওয়া উচিত নয়",
"msg__amount_should_not_exceed_int": "পরিমাণ {0} এর বেশি হওয়া উচিত নয়",
"msg__amount_too_small": "স্থানান্তরের পরিমাণ খুবই কম",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "প্রসারিত দৃশ্যে ক্যামেরা অনুমতির অনুমোদন চালু করতে হবে",
"msg__aptos_first_activation_token": "প্রথমবার টোকেন সক্রিয় করা হলে, একটি মুদ্রা লেনদেন জারি করা হবে।",
"msg__asset_ratio": "সম্পদের অনুপাত",
"msg__authentication_failed_verify_again": "প্রমাণীকরণ ব্যর্থ হয়েছে, আপনার নেটওয়ার্ক সংযোগ পরীক্ষা করুন এবং আবার চেষ্টা করুন৷",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "পাসওয়ার্ড 8 থেকে 128 অক্ষরের মধ্যে হওয়া উচিত।",
"msg__payment_channel_not_found_sending_failed": "অর্থপ্রদানের চ্যানেল পাওয়া যায়নি, পাঠানো ব্যর্থ হয়েছে৷",
"msg__payment_received": "পেমেন্ট পেয়েছি",
"msg__please_approve_camera_permission_on_your_browser": "আপনার ব্রাউজারে ক্যামেরা অনুমতি অনুমোদন করুন.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "অনুগ্রহ করে টোকেনের পরিমাণ {0} দশমিক স্থান বা তার কম সীমাবদ্ধ করুন।",
"msg__please_limit_the_file_size_to_str_or_less": "অনুগ্রহ করে ফাইলের আকার {0} বা তার কম সীমাবদ্ধ করুন",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "অনুগ্রহ করে OneKey Bridge এর সর্বশেষ সংস্করণে আপগ্রেড করুন",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "এক-থেকে-এক, বহু-থেকে-অনেক, এবং বহু-থেকে-একের জন্য সমর্থন ব্যাচ পাঠান।",
"title__buy_onekey_hardware": "OneKey হার্ডওয়্যার কিনুন",
"title__buy_str": "কিনুন {0}",
"title__camera_permission_required": "ক্যামেরা অনুমতি প্রয়োজন",
"title__caution": "সতর্ক করা",
"title__cautions_scam_site": "সতর্কতা! স্ক্যাম সাইট",
"title__cautions_scam_site_desc": "এই সাইট পরিদর্শন করার সময় সতর্কতা অবলম্বন করুন.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "OK",
"action__ok_im_done": "GUT. Erledigt!",
"action__open_blockchain_browser": "Öffnen Sie den Blockchain-Browser",
"action__open_expand_view": "Öffnen Sie die erweiterte Ansicht",
"action__open_finder": "Öffnen Sie den Finder",
"action__open_in_browser": "Im Browser öffnen",
"action__open_onekey": "Öffnen Sie OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "Der Betrag sollte nicht weniger als {0} betragen.",
"msg__amount_should_not_exceed_int": "Der Betrag sollte {0} nicht überschreiten",
"msg__amount_too_small": "Überweisungsbetrag ist zu gering",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "Die Genehmigung der Kameraberechtigung muss in der erweiterten Ansicht aktiviert werden",
"msg__aptos_first_activation_token": "Wenn der Token zum ersten Mal aktiviert wird, wird eine Coin-Transaktion ausgegeben.",
"msg__asset_ratio": "Vermögensquote",
"msg__authentication_failed_verify_again": "Die Authentifizierung ist fehlgeschlagen. Überprüfen Sie Ihre Netzwerkverbindung und versuchen Sie es erneut",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "Das Passwort sollte zwischen 8 und 128 Zeichen lang sein.",
"msg__payment_channel_not_found_sending_failed": "Zahlungskanal nicht gefunden, Senden fehlgeschlagen",
"msg__payment_received": "Zahlung erhalten",
"msg__please_approve_camera_permission_on_your_browser": "Bitte genehmigen Sie die Kameraberechtigung in Ihrem Browser.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "Bitte begrenzen Sie die Anzahl der Token auf {0} Dezimalstellen oder weniger.",
"msg__please_limit_the_file_size_to_str_or_less": "Bitte begrenzen Sie die Dateigröße auf {0} oder weniger",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "Bitte aktualisieren Sie auf die neueste Version von OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "Unterstützt den Stapelversand für Eins-zu-Eins, Viele-zu-Viele und Viele-zu-Eins.",
"title__buy_onekey_hardware": "OneKey-Hardware kaufen",
"title__buy_str": "Kaufen {0}",
"title__camera_permission_required": "Kameraerlaubnis erforderlich",
"title__caution": "Vorsicht",
"title__cautions_scam_site": "Vorsicht! Betrugsseite",
"title__cautions_scam_site_desc": "Seien Sie vorsichtig, wenn Sie diese Website besuchen.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "OK",
"action__ok_im_done": "OK. Done!",
"action__open_blockchain_browser": "Open Blockchain Browser",
"action__open_expand_view": "Open Expand View",
"action__open_finder": "Open Finder",
"action__open_in_browser": "Open in Browser",
"action__open_onekey": "Open OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "Amount should not be less than {0}",
"msg__amount_should_not_exceed_int": "Amount should not exceed {0}",
"msg__amount_too_small": "Transfer amount is too small",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "Approving camera permission needs to be turned on in Expand View",
"msg__aptos_first_activation_token": "If the token is activated for the first time, a coin transaction will be issued.",
"msg__asset_ratio": "Asset ratio",
"msg__authentication_failed_verify_again": "Authentication failed, check your network connection and try again",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "Password should be between 8 and 128 characters.",
"msg__payment_channel_not_found_sending_failed": "Payment channel not found, sending failed",
"msg__payment_received": "Payment received",
"msg__please_approve_camera_permission_on_your_browser": "Please approve camera permission on your browser.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "Please limit the amount of the tokens to {0} decimal places or less.",
"msg__please_limit_the_file_size_to_str_or_less": "Please limit file size to {0} or less",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "Please upgrade to the latest version of OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "Support batch sending for one-to-one, many-to-many, and many-to-one.",
"title__buy_onekey_hardware": "Buy OneKey Hardware",
"title__buy_str": "Buy {0}",
"title__camera_permission_required": "Camera Permission Required",
"title__caution": "Caution",
"title__cautions_scam_site": "Cautions! Scam Site",
"title__cautions_scam_site_desc": "Be careful when visiting this site.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "De acuerdo",
"action__ok_im_done": "BIEN. ¡Listo!",
"action__open_blockchain_browser": "Abrir navegador blockchain",
"action__open_expand_view": "Abrir ampliar vista",
"action__open_finder": "Abrir Buscador",
"action__open_in_browser": "Abrir en el navegador",
"action__open_onekey": "Abrir OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "La cantidad no debe ser inferior a {0}",
"msg__amount_should_not_exceed_int": "La cantidad no debe exceder {0}",
"msg__amount_too_small": "La cantidad de la transferencia es demasiado pequeña",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "La aprobación del permiso de la cámara debe estar activada en Ampliar vista",
"msg__aptos_first_activation_token": "Si el token se activa por primera vez, se emitirá una transacción de monedas.",
"msg__asset_ratio": "Ratio de activos",
"msg__authentication_failed_verify_again": "La autenticación falló, verifique su conexión de red e intente nuevamente",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "La contraseña debe tener entre 8 y 128 caracteres.",
"msg__payment_channel_not_found_sending_failed": "Canal de pago no encontrado, envío fallido",
"msg__payment_received": "Pago recibido",
"msg__please_approve_camera_permission_on_your_browser": "Apruebe el permiso de la cámara en su navegador.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "Limite la cantidad de tokens a {0} decimales o menos.",
"msg__please_limit_the_file_size_to_str_or_less": "Limite el tamaño del archivo a {0} o menos",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "Actualice a la última versión de OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "Admite envío por lotes uno a uno, muchos a muchos y muchos a uno.",
"title__buy_onekey_hardware": "Comprar hardware OneKey",
"title__buy_str": "Comprar {0}",
"title__camera_permission_required": "Se requiere permiso de cámara",
"title__caution": "Precaución",
"title__cautions_scam_site": "¡Precauciones! sitio de estafa",
"title__cautions_scam_site_desc": "Tenga cuidado al visitar este sitio.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/fil.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "OK",
"action__ok_im_done": "OK. Tapos na!",
"action__open_blockchain_browser": "Buksan ang Blockchain Browser",
"action__open_expand_view": "Buksan ang Expand View",
"action__open_finder": "Buksan ang Finder",
"action__open_in_browser": "Buksan sa Browser",
"action__open_onekey": "Buksan ang OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "Ang halaga ay hindi dapat mas mababa sa {0}",
"msg__amount_should_not_exceed_int": "Ang halaga ay hindi dapat lumampas sa {0}",
"msg__amount_too_small": "Masyadong maliit ang halaga ng paglilipat",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "Ang pag-apruba ng pahintulot sa camera ay kailangang i-on sa Expand View",
"msg__aptos_first_activation_token": "Kung ang token ay na-activate sa unang pagkakataon, isang transaksyon ng barya ang ibibigay.",
"msg__asset_ratio": "Asset ratio",
"msg__authentication_failed_verify_again": "Nabigo ang pagpapatotoo, suriin ang iyong koneksyon sa network at subukang muli",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "Ang password ay dapat nasa pagitan ng 8 at 128 na character.",
"msg__payment_channel_not_found_sending_failed": "Hindi nakita ang channel ng pagbabayad, nabigo ang pagpapadala",
"msg__payment_received": "Natanggap ang bayad",
"msg__please_approve_camera_permission_on_your_browser": "Mangyaring aprubahan ang pahintulot ng camera sa iyong browser.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "Mangyaring limitahan ang halaga ng mga token sa {0} mga decimal na lugar o mas kaunti.",
"msg__please_limit_the_file_size_to_str_or_less": "Pakilimitahan ang laki ng file sa {0} o mas kaunti",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "Mangyaring mag-upgrade sa pinakabagong bersyon ng OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "Suportahan ang batch na pagpapadala para sa isa-sa-isa, marami-sa-marami, at marami-sa-isa.",
"title__buy_onekey_hardware": "Bumili ng OneKey Hardware",
"title__buy_str": "Bumili ng {0}",
"title__camera_permission_required": "Kinakailangan ang Pahintulot sa Camera",
"title__caution": "Pag-iingat",
"title__cautions_scam_site": "Mga pag-iingat! Scam site",
"title__cautions_scam_site_desc": "Mag-ingat sa pagbisita sa site na ito.",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/locale/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
"action__ok": "D’accord",
"action__ok_im_done": "OK. C'est fait !",
"action__open_blockchain_browser": "Ouvrir le navigateur Blockchain",
"action__open_expand_view": "Ouvrir la vue Agrandir",
"action__open_finder": "Ouvrir le Finder",
"action__open_in_browser": "Ouvrir dans le navigateur",
"action__open_onekey": "Ouvrir OneKey",
Expand Down Expand Up @@ -2140,6 +2141,7 @@
"msg__amount_should_not_be_less_than_int": "Le montant ne doit pas être inférieur à {0}",
"msg__amount_should_not_exceed_int": "Le montant ne doit pas dépasser {0}",
"msg__amount_too_small": "Le montant du transfert est trop petit",
"msg__approving_camera_permission_needs_to_be_turned_on_in_expand_view": "L'approbation de l'autorisation de la caméra doit être activée dans la vue Agrandir",
"msg__aptos_first_activation_token": "Si le jeton est activé pour la première fois, une transaction de pièces sera émise.",
"msg__asset_ratio": "Ratio d'actifs",
"msg__authentication_failed_verify_again": "Échec de l'authentification, vérifiez votre connexion réseau et réessayez",
Expand Down Expand Up @@ -2356,6 +2358,7 @@
"msg__password_validation": "Le mot de passe doit comporter entre 8 et 128 caractères.",
"msg__payment_channel_not_found_sending_failed": "Canal de paiement introuvable, envoi échoué",
"msg__payment_received": "Paiement reçu",
"msg__please_approve_camera_permission_on_your_browser": "Veuillez approuver l'autorisation de la caméra sur votre navigateur.",
"msg__please_limit_the_amount_of_tokens_to_str_decimal_places_or_less": "Veuillez limiter le nombre de jetons à {0} décimales ou moins.",
"msg__please_limit_the_file_size_to_str_or_less": "Veuillez limiter la taille du fichier à {0} ou moins",
"msg__please_upgrade_to_the_lastest_version_of_onekey_bridge": "Veuillez mettre à niveau vers la dernière version de OneKey Bridge",
Expand Down Expand Up @@ -2579,6 +2582,7 @@
"title__bulksender_desc": "Prise en charge de l'envoi par lots pour un à un, plusieurs à plusieurs et plusieurs à un.",
"title__buy_onekey_hardware": "Acheter du matériel OneKey",
"title__buy_str": "Acheter {0}",
"title__camera_permission_required": "Autorisation de la caméra requise",
"title__caution": "Mise en garde",
"title__cautions_scam_site": "Mises en garde ! Site frauduleux",
"title__cautions_scam_site_desc": "Soyez prudent lorsque vous visitez ce site.",
Expand Down
Loading

0 comments on commit 6ce892b

Please sign in to comment.