Skip to content

Commit

Permalink
remove tilda sign (#1045)
Browse files Browse the repository at this point in the history
* Update AppDisclaimer.vue

* add translations

* add missing
  • Loading branch information
RustemYuzlibaev authored May 23, 2023
1 parent 18d8861 commit 79927e1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/App/Header/AppDisclaimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
})
"
/>
<p class="disclaimer__text-fiat">{{ t('fiatDisclaimer') }}</p>
</div>
<s-button
v-if="!userDisclaimerApprove"
Expand Down Expand Up @@ -66,7 +67,7 @@ export default class AppDisclaimer extends Mixins(TranslationMixin) {
}
get disclaimerPrefix(): string {
return `<span class="disclaimer__prefix">${this.t('disclaimerTitle')}</span>`;
return `<span class="disclaimer__prefix">${this.t('disclaimerTitle')}:</span>`;
}
get memorandumLink(): string {
Expand Down Expand Up @@ -143,6 +144,10 @@ export default class AppDisclaimer extends Mixins(TranslationMixin) {
line-height: var(--s-line-height-extra-small);
letter-spacing: var(--s-letter-spacing-small);
color: var(--s-color-base-content-secondary);
&-fiat {
margin-top: $basic-spacing;
}
}
&__accept-btn {
Expand Down
6 changes: 4 additions & 2 deletions src/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,9 @@
"typeTooltip": "Choose either 'drops below' or 'raises above' option to specify alert condition for tracking important price movements. These options allow you receive timely notifications when the value of your asset either falls below or rises above your designated threshold",
"alertFrequencyTitle": "Alert frequency",
"frequencyTooltip": "Select between 'once' and 'always' to determine how often you receive notifications for the chosen alert type. 'Once' will send a single notification when the condition is met, while 'always' will continue to notify you each time the price threshold is crossed",
"noSupportMsg": "Notifications aren't supported by your browser"
"noSupportMsg": "Notifications aren't supported by your browser",
"finishBtn": "Finish alert setup"
},
"accountAddressText": "Account address"
"accountAddressText": "Account address",
"fiatDisclaimer": "Please note that the fiat values associated with cryptocurrencies on our website are provided by external services (Subquery, Subsquid, Ceres API) are approximate. Given the inherent complexity of these calculations, absolute precision at all times cannot be guaranteed."
}
6 changes: 4 additions & 2 deletions src/lang/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,9 @@
"typeTooltip": "Pilih opsi 'turun di bawah' atau 'naik di atas' untuk menentukan kondisi waspada untuk melacak pergerakan harga penting. Opsi ini memungkinkan Anda menerima pemberitahuan tepat waktu saat nilai aset Anda turun di bawah atau naik di atas ambang batas yang Anda tetapkan",
"alertFrequencyTitle": "Frekuensi peringatan",
"frequencyTooltip": "Pilih antara 'sekali' dan 'selalu' untuk menentukan seberapa sering Anda menerima pemberitahuan untuk jenis lansiran yang dipilih. 'Sekali' akan mengirimkan satu notifikasi saat kondisi terpenuhi, sementara 'selalu' akan terus memberi tahu Anda setiap kali ambang harga dilewati",
"noSupportMsg": "Notifikasi tidak didukung oleh browser Anda"
"noSupportMsg": "Notifikasi tidak didukung oleh browser Anda",
"finishBtn": "Untuk menyelesaikan"
},
"accountAddressText": "Alamat akun"
"accountAddressText": "Alamat akun",
"fiatDisclaimer": "Harap perhatikan bahwa nilai fiat yang terkait dengan cryptocurrency di situs web kami disediakan oleh layanan eksternal (Subquery, Subsquid, Ceres API) adalah perkiraan. Mengingat kerumitan perhitungan ini, presisi mutlak setiap saat tidak dapat dijamin."
}
2 changes: 2 additions & 0 deletions src/lang/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export default {
disclaimerTitle: 'Disclaimer:',
disclaimer:
'{disclaimerPrefix} This website is maintained by the {Sora} community. Before continuing to use this website, please review the {polkaswapFaqLink} and documentation, which includes a detailed explanation on how {AppName} works, as well as the {memorandumLink}, and {privacyLink}. These documents are crucial to a secure and positive user experience. By using {AppName}, you acknowledge that you have read and understand these documents. You also acknowledge the following: 1) your sole responsibility for compliance with all laws that may apply to your particular use of {AppName} in your legal jurisdiction; 2) your understanding that the current version of {AppName} is an alpha version: it has not been fully tested, and some functions may not perform as designed; and 3) your understanding and voluntary acceptance of the risks involved in using {AppName}, including, but not limited to, the risk of losing tokens. Please do not continue without reading the {polkaswapFaqLink}, {memorandumLink}, {privacyLink}!',
fiatDisclaimer:
'Please note that the fiat values associated with cryptocurrencies on our website are provided by external services (Subquery, Subsquid, Ceres API) are approximate. Given the inherent complexity of these calculations, absolute precision at all times cannot be guaranteed.',
poweredBy: 'Powered by',
confirmText: 'Confirm',
confirmTransactionText: 'Confirm transaction in {direction}',
Expand Down

0 comments on commit 79927e1

Please sign in to comment.