Skip to content

Commit

Permalink
Merge pull request #1257 from chainapsis/rowan/KEPLR-644
Browse files Browse the repository at this point in the history
[KEPLR-644] Improve copy address modal
  • Loading branch information
Thunnini authored Dec 11, 2024
2 parents 2579f89 + b272d59 commit b0d04ee
Show file tree
Hide file tree
Showing 7 changed files with 397 additions and 67 deletions.
26 changes: 26 additions & 0 deletions apps/extension/src/components/icon/folder-minus.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React, { FunctionComponent } from "react";
import { IconProps } from "./types";

export const FolderMinusIcon: FunctionComponent<IconProps> = ({
width = "1.5rem",
height = "1.5rem",
color,
}) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={height}
viewBox="0 0 72 72"
fill="none"
>
<path
d="M45 40.5H27M39.182 18.932L32.818 12.568C31.9741 11.7241 30.8295 11.25 29.636 11.25H13.5C9.77208 11.25 6.75 14.2721 6.75 18V54C6.75 57.7279 9.77208 60.75 13.5 60.75H58.5C62.2279 60.75 65.25 57.7279 65.25 54V27C65.25 23.2721 62.2279 20.25 58.5 20.25H42.364C41.1705 20.25 40.0259 19.7759 39.182 18.932Z"
stroke={color}
strokeWidth="7.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
};
1 change: 1 addition & 0 deletions apps/extension/src/components/icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ export * from "./msg-adr36";
export * from "./msg-receive";
export * from "./msg-swap";
export * from "./msg-cancel-undelegate";
export * from "./folder-minus";
4 changes: 3 additions & 1 deletion apps/extension/src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,9 @@
"page.main.components.menu-bar.go-to-keplr-chain-registry": "Add More Chains",
"page.main.components.deposit-modal.title": "Copy Address",
"page.main.components.deposit-modal.search-placeholder": "Search for a chain",
"page.main.components.deposit-modal.empty-text": "To use an address on certain chain, you may need to first visit the <link>\"Manage Chain Visibility\"</link> in the side menu and make the chain visible on your wallet.",
"page.main.components.deposit-modal.look-for-chains": "Looking for a chain?",
"page.main.components.deposit-modal.enable-chain": "Enable",
"page.main.components.deposit-modal.empty-text": "If it doesn't appear in the search results, the chain is not yet supported by Keplr.",
"page.main.components.buy-crypto-modal.title": "Buy Crypto",
"page.main.components.looking-for-chains.title": "Looking for a chain?",
"page.main.components.looking-for-chains.enable-button": "Manage",
Expand Down
4 changes: 3 additions & 1 deletion apps/extension/src/languages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,9 @@
"page.main.components.menu-bar.go-to-keplr-chain-registry": "더 많은 체인 추가하기",
"page.main.components.deposit-modal.title": "주소 복사",
"page.main.components.deposit-modal.search-placeholder": "체인 검색",
"page.main.components.deposit-modal.empty-text": "특정 체인의 주소를 사용하기 위해선 먼저 사이드바 메뉴의 <link>\"체인 표시\"</link>를 방문하여 해당 체인을 지갑에 표시하도록 설정해야 합니다.",
"page.main.components.deposit-modal.look-for-chains": "체인을 찾으시나요?",
"page.main.components.deposit-modal.enable-chain": "활성화",
"page.main.components.deposit-modal.empty-text": "검색 결과가 없습니다. 아직 Keplr에서 지원하지 않는 체인일 수 있습니다.",
"page.main.components.buy-crypto-modal.title": "암호화폐 구매",
"page.main.components.looking-for-chains.title": "체인을 찾으시나요?",
"page.main.components.looking-for-chains.enable-button": "체인 표시하기",
Expand Down
4 changes: 3 additions & 1 deletion apps/extension/src/languages/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,9 @@
"page.main.components.menu-bar.go-to-keplr-chain-registry": "添加更多链",
"page.main.components.deposit-modal.title": "复制地址",
"page.main.components.deposit-modal.search-placeholder": "搜索链",
"page.main.components.deposit-modal.empty-text": "要使用某个链上的地址,你需要先访问侧边栏菜单中的<link>“管理链可见性”</link>,并使链在你的钱包中可见。",
"page.main.components.deposit-modal.look-for-chains": "搜索链",
"page.main.components.deposit-modal.enable-chain": "启用",
"page.main.components.deposit-modal.empty-text": "如果搜索结果中未显示该链,则 Keplr 还不支持该链。",
"page.main.components.buy-crypto-modal.title": "买币",
"page.main.components.looking-for-chains.title": "查找一个链?",
"page.main.components.looking-for-chains.enable-button": "管理",
Expand Down
Loading

0 comments on commit b0d04ee

Please sign in to comment.