Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/main/metamask/json-r…
Browse files Browse the repository at this point in the history
…pc-engine-9.0.3
  • Loading branch information
FrederikBolding authored Oct 9, 2024
2 parents 9dddf09 + 1c84fa3 commit 3878dc9
Show file tree
Hide file tree
Showing 14 changed files with 175 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
slack-channel:
required: false
type: string
default: 'metamask-snaps'
default: 'metamask-snaps-deployments'
slack-icon-url:
required: false
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/republish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
required: false
type: string
description: 'The Slack channel to post to.'
default: 'metamask-snaps'
default: 'metamask-snaps-deployments'
slack-icon-url:
required: false
type: string
Expand Down
3 changes: 3 additions & 0 deletions src/components/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import BaseSecurityKeyIcon from './security-key.svg';
import BaseSecuritySearchIcon from './security-search.svg';
import BaseSnapIcon from './snap.svg';
import BaseSpeedometerIcon from './speedometer.svg';
import BaseTagCircleIcon from './tag-circle.svg';
import BaseTagIcon from './tag.svg';
import BaseTimerIcon from './timer.svg';
import BaseTransactionInsightsIcon from './transaction-insights.svg';
Expand Down Expand Up @@ -156,6 +157,8 @@ export const SpeedometerIcon = wrapIcon(

export const TagIcon = wrapIcon(BaseTagIcon, defineMessage`Tag`);

export const TagCircleIcon = wrapIcon(BaseTagCircleIcon, defineMessage`Tag`);

export const TimerIcon = wrapIcon(BaseTimerIcon, defineMessage`Timer`);

export const TransactionInsightsIcon = wrapIcon(
Expand Down
4 changes: 4 additions & 0 deletions src/components/icons/tag-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export enum RegistrySnapCategory {
Interoperability = 'interoperability',
Communication = 'communication',
Security = 'security',
NameResolution = 'name resolution',
}

export const SNAP_CATEGORY_LABELS: Record<
Expand All @@ -31,6 +32,10 @@ export const SNAP_CATEGORY_LABELS: Record<
name: defineMessage`Security`,
description: defineMessage`Guard your wallet with transaction insights and safety tools.`,
},
[RegistrySnapCategory.NameResolution]: {
name: defineMessage`Name Resolution`,
description: defineMessage`Resolve human-readable names to blockchain addresses.`,
},
};

export const SNAP_CATEGORY_LINKS: Record<
Expand Down Expand Up @@ -61,4 +66,9 @@ export const SNAP_CATEGORY_LINKS: Record<
link: '/security',
linkText: defineMessage`See All`,
},
[RegistrySnapCategory.NameResolution]: {
header: defineMessage`Human-readable Addresses Onchain`,
link: '/name-resolution',
linkText: defineMessage`See All`,
},
};
2 changes: 2 additions & 0 deletions src/features/filter/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
NotificationsCategoryIcon,
AddUserIcon,
TransactionInsightsIcon,
TagCircleIcon,
} from '../../components/icons';
import { RegistrySnapCategory } from '../../constants';

Expand All @@ -17,6 +18,7 @@ export const SNAP_CATEGORY_ICONS: Record<
[RegistrySnapCategory.Interoperability]: InteroperabilityIcon,
[RegistrySnapCategory.Communication]: NotificationsCategoryIcon,
[RegistrySnapCategory.Security]: TransactionInsightsIcon,
[RegistrySnapCategory.NameResolution]: TagCircleIcon,
};

export enum Order {
Expand Down
30 changes: 22 additions & 8 deletions src/locales/de-DE/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Language: de\n"
"Project-Id-Version: snapsmetamask\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-04-18 10:24\n"
"PO-Revision-Date: 2024-09-18 08:08\n"
"Last-Translator: \n"
"Language-Team: German\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
Expand All @@ -24,7 +24,7 @@ msgstr "{0} im MetaMask Snaps Directory"

#: src/components/InstallationCount.tsx
msgid "{formattedNumber} installs"
msgstr ""
msgstr "{formattedNumber} installiert"

#: src/components/PostInstallModal.tsx
msgid "{name} is now ready to use."
Expand All @@ -44,11 +44,11 @@ msgstr "©{0} MetaMask. Alle Rechte vorbehalten."

#: src/components/InstallationCount.tsx
msgid "< 1K"
msgstr ""
msgstr "< 1K"

#: src/components/InstallationCount.tsx
msgid "< 1K installs"
msgstr ""
msgstr "< 1K installiert"

#: src/features/snap/components/MetadataModal.tsx
msgid "<0>{name}</0> uses code that isn't viewable by the public. Critical parts of the codebase were audited for security, but later versions of the code may not be. Make sure you trust <1>{0}</1> before installing and using <2>{name}</2>."
Expand Down Expand Up @@ -446,6 +446,10 @@ msgstr "Hierarchie"
msgid "Home"
msgstr "Startseite"

#: src/constants.ts
msgid "Human-readable Addresses Onchain"
msgstr "Für Menschen lesbare Onchain-Adressen"

#: src/features/snap/components/MetadataItems.tsx
msgid "Identifier"
msgstr "Kennung"
Expand Down Expand Up @@ -487,7 +491,7 @@ msgstr "Installation von {name}"

#: src/features/snap/components/MetadataModal.tsx
msgid "Installs"
msgstr ""
msgstr "Installiert"

#: src/components/icons/index.ts
#: src/constants.ts
Expand Down Expand Up @@ -545,7 +549,7 @@ msgstr "Live"

#: src/features/banner/components/explore-banner/ExploreBanner.tsx
msgid "Live in MetaMask"
msgstr ""
msgstr "Live in MetaMask"

#: src/features/snap/permissions.tsx
#: src/features/snap/permissions.tsx
Expand Down Expand Up @@ -574,13 +578,17 @@ msgstr "MetaMask"

#: src/components/InstallUnsupportedMobile.tsx
msgid "MetaMask Snaps is currently only supported via our extension clients on desktop such as <0>Brave</0>, <1>Chrome</1>, or <2>Firefox</2>."
msgstr ""
msgstr "MetaMask Snaps wird derzeit nur über unsere Erweiterungsclients auf dem Desktop wie <0>Brave</0>, <1>Chrome</1> oder <2>Firefox</2> unterstützt."

#: src/features/filter/constants.tsx
#: src/pages/index.tsx
msgid "Most Popular"
msgstr "Am beliebtesten"

#: src/constants.ts
msgid "Name Resolution"
msgstr "Namensauflösung"

#: src/features/snaps/components/NoSnaps.tsx
msgid "No Snaps found"
msgstr "Keine Snaps gefunden"
Expand Down Expand Up @@ -643,6 +651,10 @@ msgstr "Frage"
msgid "Related Snaps"
msgstr "Zugehörige Snaps"

#: src/constants.ts
msgid "Resolve human-readable names to blockchain addresses."
msgstr "Losen Sie für Menschen lesbare Namen in Blockchain-Adressen auf."

#: src/pages/explore.tsx
msgid "Results for \"{searchQuery}\""
msgstr "Ergebnisse für „{searchQuery}“"
Expand All @@ -654,7 +666,7 @@ msgstr "Regelmäßige Aktionen planen und ausführen"
#: src/features/snap/components/Screenshot.tsx
#: src/features/snap/components/Screenshots.tsx
msgid "Screenshot for {name}"
msgstr ""
msgstr "Screenshot für {name}"

#: src/components/icons/index.ts
msgid "Search"
Expand Down Expand Up @@ -685,6 +697,7 @@ msgstr "Sehen Sie Adresse, Kontostand, Aktivitäten und schlagen Sie Transaktion
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/pages/explore.tsx
msgid "See All"
msgstr "Alle ansehen"
Expand Down Expand Up @@ -751,6 +764,7 @@ msgstr "Support"
msgid "Support for WebAssembly"
msgstr "Support für WebAssembly"

#: src/components/icons/index.ts
#: src/components/icons/index.ts
msgid "Tag"
msgstr "Tag"
Expand Down
14 changes: 14 additions & 0 deletions src/locales/en-US/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ msgstr ""
msgid "Home"
msgstr ""

#: src/constants.ts
msgid "Human-readable Addresses Onchain"
msgstr "Human-readable Addresses Onchain"

#: src/features/snap/components/MetadataItems.tsx
msgid "Identifier"
msgstr ""
Expand Down Expand Up @@ -576,6 +580,10 @@ msgstr "MetaMask Snaps is currently only supported via our extension clients on
msgid "Most Popular"
msgstr ""

#: src/constants.ts
msgid "Name Resolution"
msgstr "Name Resolution"

#: src/features/snaps/components/NoSnaps.tsx
msgid "No Snaps found"
msgstr ""
Expand Down Expand Up @@ -638,6 +646,10 @@ msgstr ""
msgid "Related Snaps"
msgstr ""

#: src/constants.ts
msgid "Resolve human-readable names to blockchain addresses."
msgstr "Resolve human-readable names to blockchain addresses."

#: src/pages/explore.tsx
msgid "Results for \"{searchQuery}\""
msgstr ""
Expand Down Expand Up @@ -680,6 +692,7 @@ msgstr ""
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/pages/explore.tsx
msgid "See All"
msgstr ""
Expand Down Expand Up @@ -746,6 +759,7 @@ msgstr ""
msgid "Support for WebAssembly"
msgstr ""

#: src/components/icons/index.ts
#: src/components/icons/index.ts
msgid "Tag"
msgstr ""
Expand Down
30 changes: 22 additions & 8 deletions src/locales/ja-JP/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Language: ja\n"
"Project-Id-Version: snapsmetamask\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-04-18 10:24\n"
"PO-Revision-Date: 2024-09-19 07:54\n"
"Last-Translator: \n"
"Language-Team: Japanese\n"
"Plural-Forms: nplurals=1; plural=0;\n"
Expand All @@ -24,7 +24,7 @@ msgstr "MetaMask Snaps Directoryの{0}"

#: src/components/InstallationCount.tsx
msgid "{formattedNumber} installs"
msgstr ""
msgstr "{formattedNumber}回のインストール"

#: src/components/PostInstallModal.tsx
msgid "{name} is now ready to use."
Expand All @@ -44,11 +44,11 @@ msgstr "©{0} MetaMask. 不許複製。"

#: src/components/InstallationCount.tsx
msgid "< 1K"
msgstr ""
msgstr "< 1,000"

#: src/components/InstallationCount.tsx
msgid "< 1K installs"
msgstr ""
msgstr "< 1,000回のインストール"

#: src/features/snap/components/MetadataModal.tsx
msgid "<0>{name}</0> uses code that isn't viewable by the public. Critical parts of the codebase were audited for security, but later versions of the code may not be. Make sure you trust <1>{0}</1> before installing and using <2>{name}</2>."
Expand Down Expand Up @@ -446,6 +446,10 @@ msgstr "階層"
msgid "Home"
msgstr "ホーム"

#: src/constants.ts
msgid "Human-readable Addresses Onchain"
msgstr "人間が読めるオンチェーンのアドレス"

#: src/features/snap/components/MetadataItems.tsx
msgid "Identifier"
msgstr "識別子"
Expand Down Expand Up @@ -487,7 +491,7 @@ msgstr "{name}をインストールしています"

#: src/features/snap/components/MetadataModal.tsx
msgid "Installs"
msgstr ""
msgstr "インストール"

#: src/components/icons/index.ts
#: src/constants.ts
Expand Down Expand Up @@ -545,7 +549,7 @@ msgstr "ライブ"

#: src/features/banner/components/explore-banner/ExploreBanner.tsx
msgid "Live in MetaMask"
msgstr ""
msgstr "MetaMaskでライブ"

#: src/features/snap/permissions.tsx
#: src/features/snap/permissions.tsx
Expand Down Expand Up @@ -574,13 +578,17 @@ msgstr "MetaMask"

#: src/components/InstallUnsupportedMobile.tsx
msgid "MetaMask Snaps is currently only supported via our extension clients on desktop such as <0>Brave</0>, <1>Chrome</1>, or <2>Firefox</2>."
msgstr ""
msgstr "MetaMask Snapは現在、<0>Brave</0>、<1>Chrome</1>、<2>Firefox</2>などのデスクトップ版の拡張機能クライアントでのみサポートされています。"

#: src/features/filter/constants.tsx
#: src/pages/index.tsx
msgid "Most Popular"
msgstr "最も人気"

#: src/constants.ts
msgid "Name Resolution"
msgstr "名前解決"

#: src/features/snaps/components/NoSnaps.tsx
msgid "No Snaps found"
msgstr "Snapが見つかりませんでした"
Expand Down Expand Up @@ -643,6 +651,10 @@ msgstr "質問"
msgid "Related Snaps"
msgstr "関連Snap"

#: src/constants.ts
msgid "Resolve human-readable names to blockchain addresses."
msgstr "人間が読める名前をブロックチェーンアドレスに変換します。"

#: src/pages/explore.tsx
msgid "Results for \"{searchQuery}\""
msgstr "\"{searchQuery}\"の結果"
Expand All @@ -654,7 +666,7 @@ msgstr "定期的なアクションのスケジュール設定と実行"
#: src/features/snap/components/Screenshot.tsx
#: src/features/snap/components/Screenshots.tsx
msgid "Screenshot for {name}"
msgstr ""
msgstr "{name}のスクリーンショット"

#: src/components/icons/index.ts
msgid "Search"
Expand Down Expand Up @@ -685,6 +697,7 @@ msgstr "アドレス、アカウント残高、アクティビティを表示し
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/constants.ts
#: src/pages/explore.tsx
msgid "See All"
msgstr "すべて表示"
Expand Down Expand Up @@ -751,6 +764,7 @@ msgstr "サポート"
msgid "Support for WebAssembly"
msgstr "WebAssemblyのサポート"

#: src/components/icons/index.ts
#: src/components/icons/index.ts
msgid "Tag"
msgstr "タグ"
Expand Down
Loading

0 comments on commit 3878dc9

Please sign in to comment.