Skip to content

Commit

Permalink
Chrome extension translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica committed Nov 5, 2019
1 parent 63a383d commit 980aab9
Show file tree
Hide file tree
Showing 25 changed files with 45,129 additions and 95 deletions.
44,972 changes: 44,972 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/layouts/CreateWalletLayout/CreateWalletLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
:combo="$t('createWallet.key-pass')"
:desc="$t('createWallet.key-pass-dec')"
:do-not-forget="$t('createWallet.password.do-not-forget')"
:do-not-forget-desc="$t('createWallet.password.do-no-forget-desc')"
:do-not-forget-desc="
$t('createWallet.password.do-no-forget-desc')
"
/>
</div>
</b-tab>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<div>
<b-modal
ref="editModal"
:title="$t('mewCx.edit-modal')"
hide-footer
class="bootstrap-modal"
:title="$t('mewCx.edit-modal')"
centered
>
<div class="modal-contents">
<form>
<div class="input-container">
<label for="walletName"> {{$t('mewCx.wallet-name')}} </label>
<label for="walletName"> {{ $t('mewCx.wallet-name') }} </label>
<input
v-model="locName"
:placeholder="$t('mewCx.add-wallet-nickname')"
Expand All @@ -22,13 +22,13 @@
type="submit"
@click.prevent="saveWallet"
>
{{$t('mewCx.submit')}}
{{ $t('mewCx.submit') }}
</button>
<button
class="remove-button large-round-button-white-filled"
@click.stop.prevent="removeWallet"
>
{{$t('mewCx.remove-wallet')}}
{{ $t('mewCx.remove-wallet') }}
</button>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<div>
<b-modal
ref="generateNewWallet"
:title="$t('mewCx.generateWallet')"
hide-footer
centered
:title="$t('mewCx.generateWallet')"
>
<div class="modal-contents">
<form>
<div class="input-container">
<label for="walletName"> {{ $t('mewCx.wallet-name')}} </label>
<label for="walletName"> {{ $t('mewCx.wallet-name') }} </label>
<input
v-model="locNickname"
:placeholder="$t('mewCx.add-wallet-nickname')"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<div>
<b-modal
ref="importKeystore"
:title="$t('mewCx.keystore-file')"
hide-footer
centered
class="bootstrap-modal"
:title="$t('mewCx.keystore-file')"
>
<form>
<div class="modal-contents">
<div class="input-container">
<label for="filePath"> {{$t('mewCx.your-wallet')}} </label>
<label for="filePath"> {{ $t('mewCx.your-wallet-file') }} </label>
<div class="keystore-filepath-input">
<input
v-model="filepath"
Expand All @@ -25,12 +25,12 @@
@change="uploadFile"
/>
<div class="mid-round-button-green-border" @click="clickUpload">
{{$t('mewCx.upload-file')}}...
{{ $t('mewCx.upload-file') }}...
</div>
</div>
</div>
<div class="input-container">
<label for="keystorePassword"> {{$t('mewCx.password')}} </label>
<label for="keystorePassword"> {{ $t('mewCx.password') }} </label>
<div class="keystore-password-input">
<input
v-model="locPassword"
Expand All @@ -53,7 +53,7 @@
type="submit"
@click.prevent="unlockJson"
>
<span v-show="!loading"> {{$t('mewCx.add-wallet')}} </span>
<span v-show="!loading"> {{ $t('mewCx.add-wallet') }} </span>
<i v-show="loading" class="fa fa-spinner fa-spin" />
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@
<div class="modal-contents">
<form>
<div class="input-container">
<label for="privateKeyInput">{{$t('mewCx.your-private-key')}}</label>
<label for="privateKeyInput">{{
$t('mewCx.your-private-key')
}}</label>
<textarea
v-model="locPrivKey"
name="privateKeyInput"
:placeholder="$t('mewCx.enter-private-key')"
name="privateKeyInput"
/>
</div>
<div class="input-container">
<label for="privateKeyInput">{{$t('mewCx.password')}}</label>
<label for="privateKeyInput">{{ $t('mewCx.password') }}</label>
<div class="password-input">
<input
:type="show ? 'text' : 'password'"
v-model="locPassword"
name="privateKeyInput"
:placeholder="$t('mewCx.enter-pw-hash')"
name="privateKeyInput"
/>
<img
:src="show ? showIcon : hide"
Expand All @@ -46,7 +48,7 @@
}
"
>
<span v-show="!loading"> {{$t('mewCx.add-wallet')}} </span>
<span v-show="!loading"> {{ $t('mewCx.add-wallet') }} </span>
<i v-show="loading" class="fa fa-spinner fa-spin" />
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
:src="Networks[key][0].type.icon"
/>
<div v-else class="no-icon">
<p>No</p>
<p>Icon</p>
<p>{{ $t('common.no') }}</p>
<p>{{ $t('common.uppercase-icon') }}</p>
</div>
</div>
<p>{{ key }}</p>
Expand Down Expand Up @@ -73,7 +73,7 @@
class="collapse-open-button"
variant="primary"
>
<p>Address</p>
<p>{{ $t('common.addr') }}</p>
</b-btn>
<b-collapse
id="collapse2"
Expand Down Expand Up @@ -141,13 +141,13 @@
</p>
<div v-show="customPathInput" class="custom-path-container">
<!-- TODO: how to structure the path input? -->
<label for="customPathLabel">Alias</label>
<label for="customPathLabel">{{ $t('mewCx.alias') }}</label>
<input
id="customPathLabel"
v-model="customPath.label"
placeholder="my custom path"
:placeholder="$t('mewCx.custom-path')"
/>
<label for="customPathInput">Path</label>
<label for="customPathInput">{{ $t('mewCx.path') }}</label>
<input
id="customPathInput"
v-model="customPath.path"
Expand Down Expand Up @@ -236,7 +236,7 @@
<input
v-model="locPassword"
:type="show ? 'text' : 'password'"
placeholder="Enter your password"
:placeholder="$t('mewCx.enter-pw')"
/>
<img
:src="show ? showIcon : hide"
Expand All @@ -254,7 +254,9 @@
type="submit"
@click.prevent="generateFromMnemonicPriv"
>
<span v-show="!loading"> Add Wallet </span>
<span v-show="!loading">
{{ $t('mewCx.add-wallet') }}
</span>
<i v-show="loading" class="fa fa-spinner fa-spin" />
</b-btn>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<template functional>
<div class="dropdown-container">
<span class="network-text">NETWORK</span>
<span class="network-text">{{ $t('mewCx.network') }}</span>
<span class="current-network" @click="props.openNetworkModal">
{{
props.network.hasOwnProperty('type') ? props.network.type.name : 'ETH'
props.network.hasOwnProperty('type')
? props.network.type.name
: $t('common.currency.eth')
}}
-
{{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
title="Wallet Password"
>
<div class="modal-contents">
<p>Your wallet is encrypted. Please enter the password</p>
<p>{{ $t('mewCx.wallet-encrypted') }}</p>
<form>
<div class="input-container">
<label for="walletPassword"> Password </label>
<label for="walletPassword"> {{ $t('mewCx.password') }} </label>
<div class="password-input">
<input
v-model="locPassword"
:type="show ? 'text' : 'password'"
placeholder="Create your password here"
:placeholder="$t('mewCx.create-pw')"
name="walletPassword"
/>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,28 @@
<div>
<b-modal
ref="removeWalletModal"
:title="$t('mewCx.remove-wallet')"
hide-footer
hide-header
centered
class="bootstrap-modal"
title="Remove Wallet Wallet"
>
<div class="modal-contents">
<div class="warning-text-container">
<h2>Remove Wallet</h2>
<h2>{{ $t('mewCx.remove-wallet') }}</h2>
<div v-show="walletType === 'wallet'" class="text-container">
Be sure you have saved the private key and/or Keystore File and the
password before you remove it. If you want to use this wallet with
your MyEtherWallet CX in the future, you will need to manually
re-add it using the private key/JSON and password..
{{ $t('mewCx.remove-wallet-desc') }}
</div>
<h3 v-show="walletType === 'watchOnly'">
Are you sure you want to delete wallet {{ `${nickname}` }}?
{{ $t('mewCX.are-you-sure-delete') }} {{ `${nickname}` }}?
</h3>
</div>
<div class="remove-modal-buttons">
<div class="cancel" @click="cancelRemove">
Cancel
{{ $t('common.cancel') }}
</div>
<div class="remove" @click="removeWallet">
Remove
{{ $t('mewCx.remove') }}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<form>
<div class="modal-contents">
<div class="input-container">
<label> Your Wallet </label>
<label> {{ $t('mewCx.your-wallet') }} </label>
<wallet-view-component
:should-concat="false"
:address="address"
Expand All @@ -19,12 +19,12 @@
/>
</div>
<div class="input-container">
<label> Nickname </label>
<label> {{ $t('mewCx.nickname') }} </label>
<input v-model="locNickname" />
</div>
<div class="submit-button-container">
<div class="back-button" @click.prevent="back">
Back
{{ $t('common.back') }}
</div>
<button
class="submit-button large-round-button-green-filled"
Expand All @@ -35,7 +35,7 @@
}
"
>
<span v-show="!loading"> Add Wallet </span>
<span v-show="!loading"> {{ $t('mewCx.add-wallet') }} </span>
<i v-show="loading" class="fa fa-spinner fa-spin" />
</button>
</div>
Expand Down
Loading

1 comment on commit 980aab9

@mew-bot
Copy link
Collaborator

@mew-bot mew-bot commented on 980aab9 Nov 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.