Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A0-2971: Use new Signer icon with border #79

Merged
merged 2 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions packages/apps-config/src/extensions/aleph-zero-signer.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright 2017-2023 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0

import type { Known } from './types.js';

import { extensionsAlephZeroSignerSVG } from '../ui/logos/extensions/index.js';

export const AlephZeroSigner = {
all: {
chrome: 'https://chrome.google.com/webstore/detail/aleph-zero-signer/opbinaebpmphpefcimknblieddamhmol',
firefox: 'https://addons.mozilla.org/en-US/firefox/addon/aleph-zero-signer/'
},
desc: 'The easiest way to get into using Aleph Zero',
name: 'The Aleph Zero Signer',
ui: {
logo: extensionsAlephZeroSignerSVG
}
} satisfies Known;
2 changes: 2 additions & 0 deletions packages/apps-config/src/extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@

import type { Browser, Extension, Known } from './types.js';

import { AlephZeroSigner } from './aleph-zero-signer.js';
import { PolkadotJs } from './polkadot-js.js';

// The list of known extensions including the links to tem on the store. This is
// used when no extensions are actually available, promoting the user to install
// one or more (Any known extension can and should be added here)

export const knownExtensions: Record<string, Known> = {
'aleph-zero-signer': AlephZeroSigner,
'polkadot-js': PolkadotJs
};

Expand Down
4 changes: 2 additions & 2 deletions packages/apps-config/src/extensions/polkadot-js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Known } from './types.js';
import { extensionsPolkadotJsSVG } from '../ui/logos/extensions/index.js';
import { externalEmptySVG } from '../ui/logos/external/index.js';

export const PolkadotJs: Known = {
export const PolkadotJs = {
all: {
chrome: 'https://chrome.google.com/webstore/detail/polkadot%7Bjs%7D-extension/mopnmbcafieddcagagdcbnhejhlodfdd',
firefox: 'https://addons.mozilla.org/en-US/firefox/addon/polkadot-js-extension/'
Expand All @@ -18,4 +18,4 @@ export const PolkadotJs: Known = {
// check, aka it actually has no effect (the first part is always defined)
logo: extensionsPolkadotJsSVG || externalEmptySVG
}
};
} satisfies Known;
16 changes: 16 additions & 0 deletions packages/apps-config/src/ui/logos/extensions/aleph-zero-signer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright 2017-2023 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0

// Do not edit. Auto-generated via node scripts/imgConvert.mjs

export const extensionsAlephZeroSignerSVG = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMjg2NF8xMTE2MSkiPgogICAgICAgIDxyZWN0IHg9IjUwNCIgeT0iNTA0IiB3aWR0aD0iNDk2IiBoZWlnaHQ9IjQ5NiIgcng9Ijg4IiB0cmFuc2Zvcm09InJvdGF0ZSgtMTgwIDUwNCA1MDQpIiBmaWxsPSIjMTExQjI0IiBzdHJva2U9IiMwMEVBQzciIHN0cm9rZS13aWR0aD0iMTYiLz4KICAgICAgICA8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDFfMjg2NF8xMTE2MSkiPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYzLjkzMyAyNzEuMjIzSDQxNi4yMDNDNDE2LjgyMiAyNzEuMjI1IDQxNy40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Igcng9Ijk2IiBmaWxsPSJ3aGl0ZSIvPgogICAgICAgIDwvY2xpcFBhdGg+CiAgICAgICAgPGNsaXBQYXRoIGlkPSJjbGlwMV8yODY0XzExMTYxIj4KICAgICAgICAgICAgPHJlY3Qgd2lkdGg9IjMyOS44MjkiIGhlaWdodD0iMzEyIiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEuMDg2MyA5MikiLz4KICAgICAgICA8L2NsaXBQYXRoPgogICAgPC9kZWZzPgo8L3N2Zz4K';
1 change: 1 addition & 0 deletions packages/apps-config/src/ui/logos/extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

// Do not edit. Auto-generated via node scripts/imgConvert.mjs

export { extensionsAlephZeroSignerSVG } from './generated/aleph-zero-signerSVG.js';
export { extensionsPolkadotJsSVG } from './generated/polkadot-jsSVG.js';
6 changes: 6 additions & 0 deletions packages/apps/public/locales/en/app-accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@
"Edit": "Edit",
"Ensure that the extension has accounts, some accounts are visible globally and available for this chain and that you gave the application permission to access accounts from the extension to use them.": "Ensure that the extension has accounts, some accounts are visible globally and available for this chain and that you gave the application permission to access accounts from the extension to use them.",
"Ensure that you utilized the \"Save\" functionality before using a generated address to receive funds. Without saving the address and the associated seed any funds sent to it will be lost.": "Ensure that you utilized the \"Save\" functionality before using a generated address to receive funds. Without saving the address and the associated seed any funds sent to it will be lost.",
"Ensure that:": "Ensure that:",
"Ensure you are using a strong password for proper account protection.": "Ensure you are using a strong password for proper account protection.",
"Evaluated {{count}} keys in {{elapsed}}s ({{avg}} keys/s)": "Evaluated {{count}} keys in {{elapsed}}s ({{avg}} keys/s)",
"Existing approvals ({{approvals}}/{{threshold}})": "Existing approvals ({{approvals}}/{{threshold}})",
"External": "External",
"Flags": "Flags",
"For approvals outstanding approvers will be shown, for hashes that should be cancelled the first approver is required.": "For approvals outstanding approvers will be shown, for hashes that should be cancelled the first approver is required.",
"For extra protection, consider using the": "For extra protection, consider using the",
"Forget this account": "Forget this account",
"From JSON": "From JSON",
"From Ledger": "From Ledger",
Expand Down Expand Up @@ -230,6 +232,7 @@
"all locally stored accounts": "all locally stored accounts",
"amount": "amount",
"approval type": "approval type",
"at least one account is available for this chain,": "at least one account is available for this chain,",
"available signatories": "available signatories",
"available social recovery helpers": "available social recovery helpers",
"backup file": "backup file",
Expand Down Expand Up @@ -258,6 +261,7 @@
"ethereum private key": "ethereum private key",
"existential deposit": "existential deposit",
"extension": "extension",
"extension which protects you from dangerous websites in real-time.": "extension which protects you from dangerous websites in real-time.",
"filter by name or tags": "filter by name or tags",
"found signatories": "found signatories",
"hardware": "hardware",
Expand Down Expand Up @@ -315,6 +319,8 @@
"subs": "subs",
"the account to make recoverable": "the account to make recoverable",
"the account to recover to": "the account to recover to",
"the extension allows azero.dev to access accounts": "the extension allows azero.dev to access accounts",
"the extension has accounts,": "the extension has accounts,",
"threshold": "threshold",
"total balance": "total balance",
"total deposit": "total deposit",
Expand Down
2 changes: 2 additions & 0 deletions packages/apps/public/locales/en/app-staking.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Accounts": "Accounts",
"Active": "Active",
"Active nominations ({{count}})": "Active nominations ({{count}})",
"Active only": "Active only",
"Add pool": "Add pool",
"All bags": "All bags",
"All pools": "All pools",
Expand Down Expand Up @@ -68,6 +69,7 @@
"No nominees": "No nominees",
"No pending payouts for your stashes": "No pending payouts for your stashes",
"No pending payouts for your validators": "No pending payouts for your validators",
"No suspension events matching the filters found in the past 84 eras": "No suspension events matching the filters found in the past 84 eras",
"No suspensions events found in the past 84 eras": "No suspensions events found in the past 84 eras",
"No waiting validators found": "No waiting validators found",
"No, block all nominations": "No, block all nominations",
Expand Down