Skip to content

Commit

Permalink
chore: pick commits (#10735)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuanyang233 committed Sep 7, 2023
1 parent c23c0fb commit b4c5120
Show file tree
Hide file tree
Showing 169 changed files with 269 additions and 11,683 deletions.
12 changes: 0 additions & 12 deletions .i18n-codegen.json
Original file line number Diff line number Diff line change
Expand Up @@ -493,18 +493,6 @@
"emitTS": true
}
},
{
"input": "./packages/plugins/ITO/src/locales/en-US.json",
"output": "./packages/plugins/ITO/src/locales/i18n_generated",
"parser": { "type": "i18next", "contextSeparator": "$", "pluralSeparator": "_" },
"generator": {
"type": "i18next/react-hooks",
"hooks": "useI18N",
"namespace": "com.maskbook.ito",
"trans": "Translate",
"emitTS": true
}
},
{
"input": "./packages/plugins/Savings/src/locales/en-US.json",
"output": "./packages/plugins/Savings/src/locales/i18n_generated",
Expand Down
4 changes: 0 additions & 4 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,6 @@
"filename": "packages/web3-shared/evm/assets/**/*.json",
"ignoreWords": ["görli"]
},
{
"filename": "packages/mask/src/plugins/ITO/assets/regions.json",
"enabled": false
},
{
"filename": "**/qya-AA.json",
"enabled": false
Expand Down
21 changes: 10 additions & 11 deletions packages/app/README.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"@masknet/plugin-go-plus-security": "workspace:^",
"@masknet/plugin-handle": "workspace:^",
"@masknet/plugin-infra": "workspace:^",
"@masknet/plugin-ito": "workspace:^",
"@masknet/plugin-maskbox": "workspace:^",
"@masknet/plugin-nextid": "workspace:^",
"@masknet/plugin-pets": "workspace:^",
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/background-worker/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import '@masknet/plugin-artblocks/register'
import '@masknet/plugin-snapshot/register'
import '@masknet/plugin-cyberconnect/register'
import '@masknet/plugin-vcent/register'
import '@masknet/plugin-ito/register'
import '@masknet/plugin-redpacket/register'
import '@masknet/plugin-file-service/register'
import '@masknet/plugin-maskbox/register'
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/plugin-host/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import '@masknet/plugin-snapshot/register'
import '@masknet/plugin-cyberconnect/register'
import '@masknet/plugin-vcent/register'
import '@masknet/plugin-handle/register'
import '@masknet/plugin-ito/register'
import '@masknet/plugin-redpacket/register'
import '@masknet/plugin-file-service/register'
import '@masknet/plugin-maskbox/register'
Expand Down
1 change: 0 additions & 1 deletion packages/icons/general/ITO.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/icons/general/ITOLabel.svg

This file was deleted.

10 changes: 0 additions & 10 deletions packages/icons/icon-generated-as-jsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -1920,16 +1920,6 @@ export const InteractionCircle = /*#__PURE__*/ __createIcon('InteractionCircle',
s: true,
},
])
export const ITO = /*#__PURE__*/ __createIcon('ITO', [
{
u: () => new URL('./general/ITO.svg', import.meta.url),
},
])
export const ITOLabel = /*#__PURE__*/ __createIcon('ITOLabel', [
{
u: () => new URL('./general/ITOLabel.svg', import.meta.url),
},
])
export const Japan = /*#__PURE__*/ __createIcon('Japan', [
{
u: () => new URL('./general/Japan.svg', import.meta.url),
Expand Down
2 changes: 0 additions & 2 deletions packages/icons/icon-generated-as-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ export function info_dark_url() { return new URL("./general/Info.dark.svg", impo
export function info_light_url() { return new URL("./general/Info.light.svg", import.meta.url) }
export function interaction_url() { return new URL("./general/Interaction.svg", import.meta.url) }
export function interaction_circle_url() { return new URL("./general/InteractionCircle.svg", import.meta.url) }
export function ito_url() { return new URL("./general/ITO.svg", import.meta.url) }
export function ito_label_url() { return new URL("./general/ITOLabel.svg", import.meta.url) }
export function japan_url() { return new URL("./general/Japan.svg", import.meta.url) }
export function jpy_url() { return new URL("./general/JPY.svg", import.meta.url) }
export function key_square_url() { return new URL("./general/KeySquare.svg", import.meta.url) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export default {
'plugins/Collectible/src/locales/%locale%.json': 'com.maskbook.collectibles',
'plugins/ArtBlocks/src/locales/%locale%.json': 'io.artblocks',
'plugins/External/src/locales/%locale%.json': 'io.mask.external',
'plugins/ITO/src/locales/%locale%.json': 'com.maskbook.ito',
'plugins/Savings/src/locales/%locale%.json': 'com.savings',
'plugins/Snapshot/src/locales/%locale%.json': 'org.snapshot',
'plugins/ProfileCard/src/locales/%locale%.json': 'io.mask.web3-profile-card',
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@
"settings_alert_merge_success": "You have successfully merged your cloud backup to the local data.",
"labs_file_service": "File Service",
"labs_file_service_desc": "Decentralized file storage, permanently. Upload and share files to your Mask friends on top of Arweave Network.",
"labs_markets": "ITO",
"labs_markets_desc": "Launch decentralized asset freely and participate in token launch directly on Twitter.",
"labs_red_packet": "Lucky Drop",
"labs_red_packet_desc": "Gift crypto or NFTs to any users, first come, first served.",
"labs_swap": "Swap",
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@
"settings_alert_merge_success": "クラウドバックアップをローカルデータに統合できました。",
"labs_file_service": "ファイルサービス",
"labs_file_service_desc": "ユーザー向け分散ファイルストレージです。",
"labs_markets": "マーケット",
"labs_markets_desc": "クリプトの友人にデジタル資産を販売します。",
"labs_red_packet": "幸運ドロップ",
"labs_red_packet_desc": "あなたの幸運を暗号化された幸運の小包としてあなたの友人に送信します。",
"labs_swap": "スワップ",
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@
"settings_alert_merge_success": "클라우드 백업과 로컬 데이터를 이미 합병되었습니다.",
"labs_file_service": "파일 서비스",
"labs_file_service_desc": "탈중앙화 파일 저장",
"labs_markets": "마켓",
"labs_markets_desc": "암호 친구에게 디지털 자산을 보내기",
"labs_red_packet": "레드 패킷",
"labs_red_packet_desc": "축복을 암호화된 레드 패킷으로 포장하고 친구들에게 보내세요.",
"labs_swap": "스왑",
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/qya-AA.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@
"settings_alert_merge_success": "crwdns7901:0crwdne7901:0",
"labs_file_service": "crwdns1885:0crwdne1885:0",
"labs_file_service_desc": "crwdns1887:0crwdne1887:0",
"labs_markets": "crwdns1889:0crwdne1889:0",
"labs_markets_desc": "crwdns1891:0crwdne1891:0",
"labs_red_packet": "crwdns1893:0crwdne1893:0",
"labs_red_packet_desc": "crwdns1895:0crwdne1895:0",
"labs_swap": "crwdns1897:0crwdne1897:0",
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@
"settings_alert_merge_success": "您已成功地将云端备份合并到本地数据。",
"labs_file_service": "文件服务",
"labs_file_service_desc": "为用户提供去中心化文档存储功能。",
"labs_markets": "ITO",
"labs_markets_desc": "将数字资产出售给您的加密世界朋友。",
"labs_red_packet": "红包",
"labs_red_packet_desc": "使用加密红包向您的朋友送上最好的祝福。",
"labs_swap": "兑换",
Expand Down
2 changes: 0 additions & 2 deletions packages/mask/dashboard/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@
"settings_alert_merge_success": "您已經成功您的雲端備份合併到本地資料。",
"labs_file_service": "文件服務",
"labs_file_service_desc": "上傳及分享文件以享受永久去中心化存儲服務",
"labs_markets": "首次代幣發行",
"labs_markets_desc": "在推特自由發售虛擬資產&直接參與代幣發行",
"labs_red_packet": "紅包",
"labs_swap": "兌換",
"labs_snapshot": "快照",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ const AddDeriveWallet = memo(function AddDeriveWallet() {
}, [walletChunks, wallets])

const [{ loading: confirmLoading }, onConfirm] = useAsyncFn(async () => {
if (!mnemonic) return

if (!pathIndexes.length) return
if (!mnemonic || !pathIndexes.length) return

const result = await handlePasswordAndWallets(password, isReset)
if (!result) return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ const SUPPORT_PLUGIN: Record<
icon: <Icons.NFTRedPacket />,
messageParse: (body: { message: string }) => body.message,
},
'com.maskbook.ito:1': {
pluginID: PluginID.ITO,
icon: <Icons.ITO />,
messageParse: (body: any) => body.message.split(MSG_DELIMITER)[1],
},
'com.maskbook.ito:2': {
pluginID: PluginID.ITO,
icon: <Icons.ITO />,
messageParse: (body: any) => body.message.split(MSG_DELIMITER)[1],
},
}

interface PostHistoryRowProps {
Expand Down
12 changes: 6 additions & 6 deletions packages/mask/dashboard/pages/PrivacyPolicy/en.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ <h6>3. Service Content</h6>
</li>
<li>
<p>
Blockchain contract interactions such as transfer, receiving, lucky drops, Swap, ITO, etc. You
can use Mask Network's services such as transfer, receiving, lucky drops and Swap to manage
digital assets, that is, use private keys for electronic signatures and to modify related
blockchain ledger. Transfer means that the payer uses the payee's blockchain address to conduct
transfer operations. The actual transfer and receiving operations occur in the relevant
blockchain systems (not Mask Network).
Blockchain contract interactions such as transfer, receiving, lucky drops, Swap, etc. You can
use Mask Network's services such as transfer, receiving, lucky drops and Swap to manage digital
assets, that is, use private keys for electronic signatures and to modify related blockchain
ledger. Transfer means that the payer uses the payee's blockchain address to conduct transfer
operations. The actual transfer and receiving operations occur in the relevant blockchain
systems (not Mask Network).
</p>
</li>
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ export const TransactionIconUI = memo<TransactionIconUIProps>(({ isFailed, isRed
case HistoryAPI.TransactionType.CREATE_LUCKY_DROP:
case HistoryAPI.TransactionType.CREATE_RED_PACKET:
return <Icons.RedPacket className={classes.icon} />
case HistoryAPI.TransactionType.FILL_POOL:
return <Icons.ITO color={MaskColorVar.warning} className={classes.icon} />
default:
return <Icons.Interaction color={MaskColorVar.warning} className={classes.icon} />
}
Expand Down
1 change: 0 additions & 1 deletion packages/mask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"@masknet/plugin-go-plus-security": "workspace:^",
"@masknet/plugin-handle": "workspace:^",
"@masknet/plugin-infra": "workspace:^",
"@masknet/plugin-ito": "workspace:^",
"@masknet/plugin-maskbox": "workspace:^",
"@masknet/plugin-nextid": "workspace:^",
"@masknet/plugin-pets": "workspace:^",
Expand Down

0 comments on commit b4c5120

Please sign in to comment.