Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Update Privacy Policy and Terms and Conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
janaakhterov authored and qtbeee committed Sep 18, 2019
1 parent 13c6671 commit aa2ca06
Show file tree
Hide file tree
Showing 12 changed files with 343 additions and 486 deletions.
1 change: 1 addition & 0 deletions src/components/ModalCreateByPhrase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ import {
reactive,
SetupContext
} from "@vue/composition-api";
import { formatRich } from "../formatter";
interface Props {
isOpen: boolean;
Expand Down
5 changes: 1 addition & 4 deletions src/components/ModalEnterAccountId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
>
<template v-slot:banner>
<Notice class="notice" :symbol="mdiHelpCircleOutline">
Hedera™ Account IDs are three numbers separated by decimals
(ex. 0.0.10000). Accounts are controlled by keys. To get an
account, another existing account must create and fund a new
account on your behalf using your public key.
{{ $t("modalEnterAccountId.hederaAccountIdsAre") }}
</Notice>
</template>
<form @submit.stop.prevent="handleSubmit">
Expand Down
3 changes: 1 addition & 2 deletions src/components/ModalRequestToCreateAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
>
<div class="instructions">
<div>
Provide your public key (this QR code or the copied text) to
an existing account owner on the Hedera™ network.
{{ $t("modalRequestToCreateAccount.provideYourPublicKey") }}
</div>
<div>
{{
Expand Down
125 changes: 106 additions & 19 deletions src/lang/en.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/views/CreateAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ export default createComponent({
} catch (error) {
await store.dispatch(ALERT, {
level: "error",
message: "Unable to Download"
message: context.root
.$t("createAccount.unableToDownload")
.toString()
});
}
}
Expand Down
17 changes: 6 additions & 11 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</div>
<div class="title"></div>
<div class="subtitle">
MyHbarWallet is a free, client-side interface
helping you interact with Hedera™ Hashgraph. Our
easy-to-use, open-source platform allows you to
generate keys, create accounts, transfer hbars, and
so much more.
{{
$t(
"home.myHbarWalletIsAFreeClientSideInterface"
)
}}
</div>
</div>
<div class="banner-image">
Expand All @@ -32,12 +32,7 @@
{{ $t("home.aboutMyHbarWallet") }}
</div>
<div class="about-subtitle">
MyHbarWallet is a clone of one of the most popular
wallets on Ethereum. We took that approach because
it was open source and people already are familiar
with the interface and processes. We want
MyHbarWallet to be the simplest and most intuitive
interface to Hedera™ Hashgraph.
{{ $t("home.myHbarWalletIsAClone") }}
</div>
</div>
<img class="about-image" :src="hbarOrb" alt="about" />
Expand Down
16 changes: 10 additions & 6 deletions src/views/InterfaceSendTransfer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
:error="state.idErrorMessage"
:valid="isIdValid"
can-copy
label="To Account"
:label="$t('common.toAccount')"
:placeholder="$t('common.accountSyntax')"
show-validation
/>

<TextInput
v-model.trim="state.memo"
label="Memo"
placeholder="Optional Memo"
:placeholder="$t('common.optionalMemo')"
:label="$t('common.memo')"
/>

<template v-slot:footer>
Expand Down Expand Up @@ -140,13 +140,15 @@ export default createComponent({
const summaryItems = computed(() => {
return [
{
description: "Transfer Amount",
description: context.root.$t(
"interfaceSendTransfer.transferAmount"
),
value: isAmountValid
? new BigNumber(state.amount)
: new BigNumber(0)
},
{
description: "Estimated Fee",
description: context.root.$t("common.estimatedFee"),
value: estimatedFeeHbar
}
] as Item[];
Expand Down Expand Up @@ -258,7 +260,9 @@ export default createComponent({
} else if (
error.toString().includes("INSUFFICIENT_ACCOUNT_BALANCE")
) {
state.amountErrorMessage = "Insufficient balance";
state.amountErrorMessage = context.root
.$t("common.error.insufficientBalance")
.toString();
}
throw error;
Expand Down
2 changes: 1 addition & 1 deletion src/views/InterfaceSignMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<template v-slot:footer>
<Button
:disabled="!state.signable"
:label="$t('Sign')"
:label="$t('interfaceSignMessage.sign')"
@click="onSignClicked"
/>
</template>
Expand Down
Loading

0 comments on commit aa2ca06

Please sign in to comment.