update description

This commit is contained in:
saml33 2023-06-24 23:06:19 +10:00
parent a8fd16eb29
commit adac0ada69
6 changed files with 123 additions and 3 deletions

View File

@ -40,12 +40,16 @@ const HotKeysSettings = () => {
return (
<>
<div className="mb-4 flex items-center justify-between">
<div>
<div className="pr-6">
<h2 className="mb-1 text-base">{t('settings:hot-keys')}</h2>
<p>{t('settings:hot-keys-desc')}</p>
</div>
{hotKeys.length ? (
<Button onClick={() => setShowHotKeyModal(true)} secondary>
<Button
className="whitespace-nowrap"
onClick={() => setShowHotKeyModal(true)}
secondary
>
{t('settings:new-hot-key')}
</Button>
) : null}

View File

@ -30,7 +30,7 @@
"english": "English",
"high-contrast": "High Contrast",
"hot-keys": "Hot Keys",
"hot-keys-desc": "Create hot keys to place trades",
"hot-keys-desc": "Use hot keys to place orders on the trade page. They execute on the market you're viewing and are not market specific.",
"key-sequence": "Key Sequence",
"language": "Language",
"light": "Light",

View File

@ -1,7 +1,11 @@
{
"above": "Above",
"animations": "Animations",
"at": "at",
"avocado": "Avocado",
"banana": "Banana",
"base-key": "Base Key",
"below": "Below",
"blueberry": "Blueberry",
"bottom-left": "Bottom-Left",
"bottom-right": "Bottom-Right",
@ -16,18 +20,38 @@
"custom": "Custom",
"dark": "Dark",
"display": "Display",
"error-alphanumeric-only": "Alphanumeric characters only",
"error-must-be-above-zero": "Must be greater than zero",
"error-must-be-below-100": "Must be below 100",
"error-must-be-number": "Must be a number",
"error-order-exceeds-max": "Order exceeds max size",
"error-required-field": "This field is required",
"error-too-many-characters": "Enter one alphanumeric character",
"english": "English",
"high-contrast": "High Contrast",
"hot-keys": "Hot Keys",
"hot-keys-desc": "Use hot keys to place orders on the trade page. They execute on the market you're viewing and are not market specific.",
"key-sequence": "Key Sequence",
"language": "Language",
"light": "Light",
"lychee": "Lychee",
"mango": "Mango",
"mango-classic": "Mango Classic",
"medium": "Medium",
"new-hot-key": "New Hot Key",
"no-hot-keys": "Create your first hot key",
"notification-position": "Notification Position",
"notional": "Notional",
"number-scroll": "Number Scroll",
"olive": "Olive",
"options": "Options",
"oracle": "Oracle",
"orderbook-flash": "Orderbook Flash",
"order-side": "Order Side",
"order-size-type": "Order Size Type",
"percentage": "Percentage",
"percentage-of-max": "{{size}}% of Max",
"placing-order": "Placing Order...",
"preferred-explorer": "Preferred Explorer",
"recent-trades": "Recent Trades",
"rpc": "RPC",
@ -35,6 +59,7 @@
"rpc-url": "Enter RPC URL",
"russian": "Русский",
"save": "Save",
"save-hot-key": "Save Hot Key",
"slider": "Slider",
"solana-beach": "Solana Beach",
"solana-explorer": "Solana Explorer",
@ -45,6 +70,9 @@
"swap-success": "Swap/Trade Success",
"swap-trade-size-selector": "Swap/Trade Size Selector",
"theme": "Theme",
"tooltip-hot-key-notional-size": "Set size as a USD value.",
"tooltip-hot-key-percentage-size": "Set size as a percentage of your max leverage.",
"tooltip-hot-key-price": "Set a price as a percentage change from the oracle price.",
"top-left": "Top-Left",
"top-right": "Top-Right",
"trade-layout": "Trade Layout",
@ -52,6 +80,7 @@
"transaction-success": "Transaction Success",
"trade-chart": "Trade Chart",
"trading-view": "Trading View",
"trigger-key": "Trigger Key",
"notifications": "Notifications",
"limit-order-filled": "Limit Order Fills",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving",

View File

@ -1,7 +1,11 @@
{
"above": "Above",
"animations": "Animations",
"at": "at",
"avocado": "Avocado",
"banana": "Banana",
"base-key": "Base Key",
"below": "Below",
"blueberry": "Blueberry",
"bottom-left": "Bottom-Left",
"bottom-right": "Bottom-Right",
@ -16,18 +20,38 @@
"custom": "Custom",
"dark": "Dark",
"display": "Display",
"error-alphanumeric-only": "Alphanumeric characters only",
"error-must-be-above-zero": "Must be greater than zero",
"error-must-be-below-100": "Must be below 100",
"error-must-be-number": "Must be a number",
"error-order-exceeds-max": "Order exceeds max size",
"error-required-field": "This field is required",
"error-too-many-characters": "Enter one alphanumeric character",
"english": "English",
"high-contrast": "High Contrast",
"hot-keys": "Hot Keys",
"hot-keys-desc": "Use hot keys to place orders on the trade page. They execute on the market you're viewing and are not market specific.",
"key-sequence": "Key Sequence",
"language": "Language",
"light": "Light",
"lychee": "Lychee",
"mango": "Mango",
"mango-classic": "Mango Classic",
"medium": "Medium",
"new-hot-key": "New Hot Key",
"no-hot-keys": "Create your first hot key",
"notification-position": "Notification Position",
"notional": "Notional",
"number-scroll": "Number Scroll",
"olive": "Olive",
"options": "Options",
"oracle": "Oracle",
"orderbook-flash": "Orderbook Flash",
"order-side": "Order Side",
"order-size-type": "Order Size Type",
"percentage": "Percentage",
"percentage-of-max": "{{size}}% of Max",
"placing-order": "Placing Order...",
"preferred-explorer": "Preferred Explorer",
"recent-trades": "Recent Trades",
"rpc": "RPC",
@ -35,6 +59,7 @@
"rpc-url": "Enter RPC URL",
"russian": "Русский",
"save": "Save",
"save-hot-key": "Save Hot Key",
"slider": "Slider",
"solana-beach": "Solana Beach",
"solana-explorer": "Solana Explorer",
@ -45,6 +70,9 @@
"swap-success": "Swap/Trade Success",
"swap-trade-size-selector": "Swap/Trade Size Selector",
"theme": "Theme",
"tooltip-hot-key-notional-size": "Set size as a USD value.",
"tooltip-hot-key-percentage-size": "Set size as a percentage of your max leverage.",
"tooltip-hot-key-price": "Set a price as a percentage change from the oracle price.",
"top-left": "Top-Left",
"top-right": "Top-Right",
"trade-layout": "Trade Layout",
@ -52,6 +80,7 @@
"transaction-success": "Transaction Success",
"trade-chart": "Trade Chart",
"trading-view": "Trading View",
"trigger-key": "Trigger Key",
"notifications": "Notifications",
"limit-order-filled": "Limit Order Fills",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving",

View File

@ -1,7 +1,11 @@
{
"above": "Above",
"animations": "动画",
"at": "at",
"avocado": "酪梨",
"banana": "香蕉",
"base-key": "Base Key",
"below": "Below",
"blueberry": "蓝莓",
"bottom-left": "左下",
"bottom-right": "右下",
@ -16,8 +20,18 @@
"custom": "自定",
"dark": "暗",
"display": "显示",
"error-alphanumeric-only": "Alphanumeric characters only",
"error-must-be-above-zero": "Must be greater than zero",
"error-must-be-below-100": "Must be below 100",
"error-must-be-number": "Must be a number",
"error-order-exceeds-max": "Order exceeds max size",
"error-required-field": "This field is required",
"error-too-many-characters": "Enter one alphanumeric character",
"english": "English",
"high-contrast": "高对比度",
"hot-keys": "Hot Keys",
"hot-keys-desc": "Use hot keys to place orders on the trade page. They execute on the market you're viewing and are not market specific.",
"key-sequence": "Key Sequence",
"language": "语言",
"light": "光",
"limit-order-filled": "限价单成交",
@ -25,11 +39,21 @@
"mango": "芒果",
"mango-classic": "芒果经典",
"medium": "中",
"new-hot-key": "New Hot Key",
"no-hot-keys": "Create your first hot key",
"notification-position": "通知位置",
"notional": "Notional",
"notifications": "通知",
"number-scroll": "数字滑动",
"olive": "橄榄",
"options": "Options",
"oracle": "Oracle",
"orderbook-flash": "挂单薄闪光",
"order-side": "Order Side",
"order-size-type": "Order Size Type",
"percentage": "Percentage",
"percentage-of-max": "{{size}}% of Max",
"placing-order": "Placing Order...",
"preferred-explorer": "首选探索器",
"recent-trades": "最近交易",
"rpc": "RPC",
@ -37,6 +61,7 @@
"rpc-url": "输入RPC URL",
"russian": "Русский",
"save": "存",
"save-hot-key": "Save Hot Key",
"sign-to-notifications": "登录通知中心以更改设置",
"slider": "滑块",
"solana-beach": "Solana Beach",
@ -48,11 +73,15 @@
"swap-success": "换币/交易成功",
"swap-trade-size-selector": "换币/交易大小选择器",
"theme": "模式",
"tooltip-hot-key-notional-size": "Set size as a USD value.",
"tooltip-hot-key-percentage-size": "Set size as a percentage of your max leverage.",
"tooltip-hot-key-price": "Set a price as a percentage change from the oracle price.",
"top-left": "左上",
"top-right": "右上",
"trade-chart": "交易图表",
"trade-layout": "交易布局",
"trading-view": "Trading View",
"trigger-key": "Trigger Key",
"transaction-fail": "交易失败",
"transaction-success": "交易成功",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving",

View File

@ -1,7 +1,11 @@
{
"above": "Above",
"animations": "動畫",
"at": "at",
"avocado": "酪梨",
"banana": "香蕉",
"base-key": "Base Key",
"below": "Below",
"blueberry": "藍莓",
"bottom-left": "左下",
"bottom-right": "右下",
@ -16,8 +20,18 @@
"custom": "自定",
"dark": "暗",
"display": "顯示",
"error-alphanumeric-only": "Alphanumeric characters only",
"error-must-be-above-zero": "Must be greater than zero",
"error-must-be-below-100": "Must be below 100",
"error-must-be-number": "Must be a number",
"error-order-exceeds-max": "Order exceeds max size",
"error-required-field": "This field is required",
"error-too-many-characters": "Enter one alphanumeric character",
"english": "English",
"high-contrast": "高對比度",
"hot-keys": "Hot Keys",
"hot-keys-desc": "Use hot keys to place orders on the trade page. They execute on the market you're viewing and are not market specific.",
"key-sequence": "Key Sequence",
"language": "語言",
"light": "光",
"limit-order-filled": "限价单成交",
@ -25,11 +39,21 @@
"mango": "芒果",
"mango-classic": "芒果經典",
"medium": "中",
"new-hot-key": "New Hot Key",
"no-hot-keys": "Create your first hot key",
"notification-position": "通知位置",
"notional": "Notional",
"notifications": "通知",
"number-scroll": "數字滑動",
"olive": "橄欖",
"options": "Options",
"oracle": "Oracle",
"orderbook-flash": "掛單薄閃光",
"order-side": "Order Side",
"order-size-type": "Order Size Type",
"percentage": "Percentage",
"percentage-of-max": "{{size}}% of Max",
"placing-order": "Placing Order...",
"preferred-explorer": "首選探索器",
"recent-trades": "最近交易",
"rpc": "RPC",
@ -37,6 +61,7 @@
"rpc-url": "輸入RPC URL",
"russian": "Русский",
"save": "存",
"save-hot-key": "Save Hot Key",
"sign-to-notifications": "登录通知中心以更改设置",
"slider": "滑塊",
"solana-beach": "Solana Beach",
@ -48,11 +73,15 @@
"swap-success": "換幣/交易成功",
"swap-trade-size-selector": "換幣/交易大小選擇器",
"theme": "模式",
"tooltip-hot-key-notional-size": "Set size as a USD value.",
"tooltip-hot-key-percentage-size": "Set size as a percentage of your max leverage.",
"tooltip-hot-key-price": "Set a price as a percentage change from the oracle price.",
"top-left": "左上",
"top-right": "右上",
"trade-chart": "交易圖表",
"trade-layout": "交易佈局",
"trading-view": "Trading View",
"trigger-key": "Trigger Key",
"transaction-fail": "交易失敗",
"transaction-success": "交易成功",
"orderbook-bandwidth-saving": "Orderbook Bandwidth Saving",