Skip to content

Commit 5890f14

Browse files
authored
Merge pull request #349 from ava-labs/dev
Chore/translations (#348)
2 parents 8ff505c + d690e3d commit 5890f14

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!DOCTYPE html>
2-
<html lang="en" data-theme="day">
2+
<html lang="en" data-theme="day" class="notranslate" translate="no">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
7-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
7+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
88
<title>Fastest Performing and Secure DeFi Wallet | Avalanche Wallet</title>
99
<meta property="og:title" content="Fastest Performing and Secure DeFi Wallet | Avalanche Wallet" data-vmid="og:title" />
1010

src/components/misc/MnemonicDisplay.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
<template>
2-
<div class="mnemonic_display" :style="{ gridTemplateColumns: `repeat(${rowSize}, 1fr)` }">
2+
<div
3+
class="mnemonic_display notranslate"
4+
:style="{ gridTemplateColumns: `repeat(${rowSize}, 1fr)` }"
5+
translate="no"
6+
>
37
<template v-for="(word, i) in phraseArray" class="word">
48
<div v-if="i % 2 == 0" :key="i" class="word">
59
<p class="index">{{ i / 2 + 1 }}.</p>
6-
<span class="phrase_word">{{ word }}</span>
10+
<span class="phrase_word" translate="no">
11+
{{ word }}
12+
</span>
713
</div>
814
<div v-else class="fake" :key="i">
915
<p class="index">{{ i }}.</p>
10-
<span class="phrase_word">{{ word }}</span>
16+
<span class="phrase_word" translate="no">
17+
{{ word }}
18+
</span>
1119
</div>
1220
</template>
1321
</div>

src/views/access/Mnemonic.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
<template>
2-
<div class="mnemonic_auth">
2+
<div class="mnemonic_auth notranslate" translate="no">
33
<div class="left">
44
<header>
55
<h1>{{ $t('access.mnemonic.title') }}</h1>
66
</header>
77
<p>Your mnemonic phrase is 24 words seperated by an empty space.</p>
8-
<input type="password" ref="mnemonic_in" placeholder="Type your mnemonic phrase" />
8+
<input
9+
type="password"
10+
ref="mnemonic_in"
11+
placeholder="Type your mnemonic phrase"
12+
autocomplete="off"
13+
autocapitalize="off"
14+
/>
915
<div class="button_container">
1016
<p class="err" v-if="err">{{ err }}</p>
1117
<v-btn

0 commit comments

Comments
 (0)