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

chore: fix typos #7764

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface PickerAccountProps extends Omit<PickerBaseProps, 'children'> {
*/
showAddress?: boolean;
/**
* cell account contianer style.
* cell account container style.
*/
cellAccountContainerStyle?: ViewStyle;

Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/AnimatedTransactionModal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class AnimatedTransactionModal extends PureComponent {
getAnimatedModalValueForAdvancedCG = () => {
const { rootHeight, customGasHeight, originComponent } = this.state;
if (originComponent === 'wallet') return 1;
//70 is the fixed height + margin of the error message in advanced custom gas. It expands 70 units vertically to accomodate it
//70 is the fixed height + margin of the error message in advanced custom gas. It expands 70 units vertically to accommodate it
return 70 / (rootHeight - customGasHeight);
};

Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/BrowserBottomBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ThemeContext, mockTheme } from '../../../util/theme';
import { BrowserViewSelectorsIDs } from '../../../../e2e/selectors/Browser/BrowserView.selectors';
import { withMetricsAwareness } from '../../../components/hooks/useMetrics';

// NOTE: not needed anymore. The use of BottomTabBar already accomodates the home indicator height
// NOTE: not needed anymore. The use of BottomTabBar already accommodates the home indicator height
// TODO: test on an android device
// const HOME_INDICATOR_HEIGHT = 0;
// const defaultBottomBarPadding = 0;
Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/Drawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const Drawer = forwardRef<DrawerRef, Props>((props, ref) => {
useEffect(() => {
if (prevNetwork.current !== chainId && chainId) {
if (prevNetwork.current) {
// Network switched has occured
// Network switched has occurred
// Check if network has been onboarded.
const networkOnboarded = getIsNetworkOnboarded(
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const LedgerConnectionError = ({
/>
<View style={styles.errorHasOccuredTextContainer}>
<Text bold big style={styles.errorHasOccuredText}>
{strings('ledger.error_occured')}
{strings('ledger.error_occurred')}
</Text>
<Text style={styles.errorTitle}>{errorTitle}</Text>
<View style={styles.errorSubtitleContainer}>
Expand Down
4 changes: 2 additions & 2 deletions app/components/Views/confirmations/Send/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class Send extends PureComponent {
};

/**
* Handle txMeta object, setting neccesary state to make a transaction
* Handle txMeta object, setting necessary state to make a transaction
*/
handleNewTxMeta = async ({
target_address,
Expand Down Expand Up @@ -580,7 +580,7 @@ class Send extends PureComponent {
waitForResult: true,
});

// Add to the AddressBook if it's an unkonwn address
// Add to the AddressBook if it's an unknown address
let checksummedAddress = null;

if (assetType === 'ETH') {
Expand Down
2 changes: 1 addition & 1 deletion app/core/SDKConnect/handlers/handleSendMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const handleSendMessage = async ({
handleSendMessage({ msg: newmsg, connection }),
});

// check if lastrpc or if an error occured during the chain
// check if lastrpc or if an error occurred during the chain
if (!isLastRpcOrError) {
// Only continue processing the message and goback if all rpcs in the batch have been handled
DevLogger.log(
Expand Down
2 changes: 1 addition & 1 deletion app/util/browser/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('Browser utils :: onUrlSubmit', () => {
expect(url).toBe('https://test.com');
});

it('should generate a seach engine link if it we pass non url', () => {
it('should generate a search engine link if it we pass non url', () => {
const keyword = 'test';
const url = processUrlForBrowser(keyword, 'Google');
const expectedUrl =
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Die Verbindung zu Ihrem Gerät wurde unterbrochen. Bitte versuchen Sie es erneut.",
"unknown_error": "Ein unerwarteter Fehler ist aufgetreten.",
"unknown_error_message": "Ein unerwarteter Fehler ist aufgetreten. Bitte versuchen Sie es erneut.",
"error_occured": "Ein Fehler ist aufgetreten",
"error_occurred": "Ein Fehler ist aufgetreten",
"how_to_install_eth_app": "So installieren Sie die Ethereum-App auf einem Ledger-Gerät",
"ledger_account_count": "Sie verwenden 1 Konto von Ihrem Ledger mit MetaMask Mobile.",
"open_eth_app": "Bitte öffnen Sie die Ethereum-App.",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Η σύνδεση με τη συσκευή σας έχει χαθεί. Προσπαθήστε ξανά.",
"unknown_error": "Προέκυψε απροσδόκητο σφάλμα.",
"unknown_error_message": "Προέκυψε ένα μη αναμενόμενο σφάλμα. Προσπαθήστε ξανά.",
"error_occured": "Προέκυψε ένα σφάλμα",
"error_occurred": "Προέκυψε ένα σφάλμα",
"how_to_install_eth_app": "Πώς να εγκαταστήσετε την εφαρμογή Ethereum σε μια συσκευή Ledger",
"ledger_account_count": "Χρησιμοποιείτε 1 λογαριασμό από το Ledger σας με το MetaMask Mobile.",
"open_eth_app": "Ανοίξτε την εφαρμογή Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3341,7 +3341,7 @@
"ledger_disconnected_error": "The connection to your device has been lost. Please try again.",
"unknown_error": "Unexpected error occurred.",
"unknown_error_message": "An unexpected error occurred. Please try again.",
"error_occured": "An error occurred",
"error_occurred": "An error occurred",
"how_to_install_eth_app": "How to install the Ethereum app on a Ledger device",
"ledger_account_count": "You are using 1 account from your Ledger with MetaMask Mobile.",
"open_eth_app": "Please open the Ethereum app",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Se ha perdido la conexión con su dispositivo. Vuelva a intentarlo.",
"unknown_error": "Ocurrió un error inesperado.",
"unknown_error_message": "Ocurrió un error inesperado. Inténtelo de nuevo.",
"error_occured": "Ocurrió un error",
"error_occurred": "Ocurrió un error",
"how_to_install_eth_app": "Cómo instalar la aplicación Ethereum en un dispositivo Ledger",
"ledger_account_count": "Está utilizando 1 cuenta desde su Ledger con MetaMask Mobile.",
"open_eth_app": "Abra la aplicación Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "La connexion à votre appareil a été perdue, veuillez réessayer.",
"unknown_error": "Une erreur inattendue est survenue.",
"unknown_error_message": "Une erreur inattendue est survenue, veuillez réessayer.",
"error_occured": "Une erreur est survenue",
"error_occurred": "Une erreur est survenue",
"how_to_install_eth_app": "Comment installer l’application Ethereum sur un appareil Ledger",
"ledger_account_count": "Vous utilisez 1 compte de votre Ledger avec MetaMask Mobile.",
"open_eth_app": "Veuillez ouvrir l’application Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "आपके डिवाइस से कनेक्शन टूट गया है। कृपया फिर से कोशिश करें।",
"unknown_error": "अनपेक्षित गड़बड़ी हुई।",
"unknown_error_message": "एक अनपेक्षित गड़बड़ी हुई। कृपया फिर से कोशिश करें।",
"error_occured": "एक गड़बड़ी हुई",
"error_occurred": "एक गड़बड़ी हुई",
"how_to_install_eth_app": "Ledger डिवाइस पर Ethereum ऐप कैसे इंस्टॉल करें",
"ledger_account_count": "आप MetaMask मोबाइल के साथ अपने Ledger से 1 अकाउंट का उपयोग कर रहे हैं।",
"open_eth_app": "कृपया Ethereum ऐप खोलें",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Koneksi ke perangkat telah terputus. Silakan coba lagi.",
"unknown_error": "Terjadi kesalahan tidak terduga.",
"unknown_error_message": "Terjadi kesalahan tidak terduga. Silakan coba lagi.",
"error_occured": "Terjadi kesalahan",
"error_occurred": "Terjadi kesalahan",
"how_to_install_eth_app": "Cara menginstal aplikasi Ethereum di perangkat Ledger",
"ledger_account_count": "Anda menggunakan 1 akun dari Ledger dengan MetaMask Mobile.",
"open_eth_app": "Buka aplikasi Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "デバイスへの接続が失われました。もう一度お試しください。",
"unknown_error": "予期せぬエラーが発生しました。",
"unknown_error_message": "予期せぬエラーが発生しました。もう一度お試しください。",
"error_occured": "エラーが発生しました",
"error_occurred": "エラーが発生しました",
"how_to_install_eth_app": "Ledgerデバイスにイーサリアムアプリをインストールする方法",
"ledger_account_count": "MetaMask MobileでLedgerのアカウントを1つ使用しています。",
"open_eth_app": "イーサリアムアプリを開いてください",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "기기의 연결이 끊어졌습니다. 다시 시도하세요.",
"unknown_error": "예기치 못한 오류가 발생했습니다.",
"unknown_error_message": "예기치 못한 오류가 발생했습니다. 다시 시도하세요.",
"error_occured": "오류가 발생했습니다",
"error_occurred": "오류가 발생했습니다",
"how_to_install_eth_app": "Ledger 기기에 이더리움 앱 설치하는 방법",
"ledger_account_count": "MetaMask Mobile의 Ledger에서 1개의 계정을 사용 중입니다.",
"open_eth_app": "이더리움 앱을 여세요",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "A conexão com o seu dispositivo foi perdida. Por favor, tente novamente.",
"unknown_error": "Ocorreu um erro inesperado.",
"unknown_error_message": "Ocorreu um erro inesperado. Por favor, tente novamente.",
"error_occured": "Ocorreu um erro",
"error_occurred": "Ocorreu um erro",
"how_to_install_eth_app": "Como instalar o app Ethereum em um dispositivo Ledger",
"ledger_account_count": "Você está usando 1 conta da sua Ledger com o MetaMask Mobile.",
"open_eth_app": "Favor abrir o app Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Связь с вашим устройством потеряна. Попробуйте еще раз.",
"unknown_error": "Произошла непредвиденная ошибка.",
"unknown_error_message": "Произошла непредвиденная ошибка. Повторите попытку.",
"error_occured": "Произошла ошибка",
"error_occurred": "Произошла ошибка",
"how_to_install_eth_app": "Как установить приложение Ethereum на устройство Ledger",
"ledger_account_count": "Вы используете 1 счет из своего Ledger с MetaMask Mobile.",
"open_eth_app": "Откройте приложение Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/tl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Nawala ang koneksyon sa iyong device. Pakisubukang muli.",
"unknown_error": "Naganap ang hindi inaasahang error.",
"unknown_error_message": "May naganap na hindi inaasahang error. Mangyaring subukan muli.",
"error_occured": "May naganap na error",
"error_occurred": "May naganap na error",
"how_to_install_eth_app": "Paano i-install ang app ng Ethereum sa isang Ledger device",
"ledger_account_count": "Gumagamit ka ng 1 account mula sa iyong Ledger gamit ang MetaMask Mobile.",
"open_eth_app": "Mangyaring buksan ang app ng Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Cihazınız ile bağlantı kaybedildi. Lütfen tekrar deneyin.",
"unknown_error": "Beklenmedik hata oluştu.",
"unknown_error_message": "Beklenmeyen bir hata oluştu. Lütfen tekrar deneyin.",
"error_occured": "Bir hata oluştu",
"error_occurred": "Bir hata oluştu",
"how_to_install_eth_app": "Ledger cihazına Ethereum uygulaması nasıl yüklenir?",
"ledger_account_count": "Ledger cihazınızda MetaMask Mobil ile 1 hesap kullanıyorsunuz.",
"open_eth_app": "Lütfen Ethereum uygulamasını açın",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "Đã mất kết nối với thiết bị của bạn. Vui lòng thử lại.",
"unknown_error": "Đã xảy ra lỗi không mong muốn.",
"unknown_error_message": "Đã xảy ra lỗi không mong muốn. Vui lòng thử lại.",
"error_occured": "Đã xảy ra lỗi",
"error_occurred": "Đã xảy ra lỗi",
"how_to_install_eth_app": "Cách cài đặt ứng dụng Ethereum trên thiết bị Ledger",
"ledger_account_count": "Bạn đang sử dụng 1 tài khoản từ Ledger bằng MetaMask Di động.",
"open_eth_app": "Vui lòng mở ứng dụng Ethereum",
Expand Down
2 changes: 1 addition & 1 deletion locales/languages/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -3318,7 +3318,7 @@
"ledger_disconnected_error": "与设备的连接已断开。请重试。",
"unknown_error": "发生意外错误。",
"unknown_error_message": "发生意外错误。请重试。",
"error_occured": "发生错误",
"error_occurred": "发生错误",
"how_to_install_eth_app": "如何在Ledger设备上安装以太坊应用程序",
"ledger_account_count": "您正在以您的Ledger使用1个MetaMask Mobile账户。",
"open_eth_app": "请打开以太坊应用程序",
Expand Down