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

Hindi translation #2

Open
wants to merge 455 commits into
base: master
Choose a base branch
from

Conversation

RushaliPadhiary
Copy link

It has the hindi translation of the wallet app.

JSKitty and others added 30 commits January 1, 2023 15:42
* Corrected a typo

* solved the bug

Co-authored-by: Valerio Laera <[email protected]>
Co-authored-by: JSKitty <[email protected]>
* Revert `network.js` to before 52d27fe

* Switched to the /utxo api

Refactored getUTXOs and acceptUTXOs to fetch API

* Improved equalities in mempool.js

* JSDoc cleanup + tiny optimisation

* Avoid request to tx-specific if it's already in mempool

* Remove leftover code

* Fix cold staking output

* Refactored cold stake into UTXO

* Fix typo and some JSDocs

* Further UTXO sync fixes

* Fixed staking and unstaking

* Fixed rewards

* Add balance GUI update to refreshChainData

Co-authored-by: JSKitty <[email protected]>
Co-authored-by: Liquid <[email protected]>
* Initial webpack implementation

* Added more exports

* More import/exports

* Fixed bootstrap

* Added imports/exports

* Added imports/exports

* Added npm run build, cleaned webpack config

* Made transaction work

* Made stake and unstake work

* Removed some libraries from repo code

* Masternodes

* Switched to bootstrap 4 because 5 broke things

* Added vanity gen, fixed some missing functions

* Add ledger

* Remove last lib

* Added two imports

* Modified Dockerfile

* Renamed index.html to make it clear that it's a template

* Cleaned up webpack config

* Moved dev dependencies to normal dependencies and vice versa

* Fixed some lint warnings

* Fixed all warnings

* Added eslint, prettier

* Fixed some elint warnings

* Fixed imports

* Fixed i18n

* Fixed eslint function warning

* Prettified scripts

* Moved declaration

* Added jquery to eslint

* Add ignore pattern to unused variables

* Added options to linter

* Fixed eslint warnings/errors

* Removed comment since it's been implemented

* Removed use strict, fixed some missing imports

* Fix unshift

* Fix broken for loopg

* Fixed rewards

* Removed clean plugin in favor of output.clean

* Nuke mempool log spam

Co-authored-by: JSKitty <[email protected]>
* [NPM] Fix gh-pages deployment

* Don't write JSON while sleepy
* Fixed ledger not working

* Fixed errors

* Removed leftover function

* Removed console.log
* Implement PWA manifest, UI & service

* Add PWA manifest & icons
* Implement native service worker

* Remove test UI
* Removed env setup

* Added steps to install & build the app

* Improved image size as env preparation is done in CI

* Yes I can be stupid. Here it is fixed

---------

Co-authored-by: Zofia <[email protected]>
* [Development] Add development server

* Add bounce animation to notification

* package-lock.json Update

* Formatting the page

* [Dashboard] New warning message

* [Dashboard] Encrypt wallet modal

* [Dashboard] New dashboard balance and menu

* [Dashboard] New Activity and Staking Rewards

* [Dashboard] New export private key

* [Dashboard] Remove dashboard header. Add rows cols

* [Dashboard] Replace classname with new styles

* [Intro] Add cols and rows and make it responsive

* [JS] Load 2 new images

* [JS] Show anim when clicking on `Access my wallet`

* [JS] Add class for 'crisp-edges'

* [JS] Show wallet with new style

* [Img] Added 2 new images

* [Dashboard] Forgot to add id to warning message

* [JS] Adjustments for new private key view

* [JS] Small anim on textbox for vanity wallet gen.

* [CSS] A lot of new classes for the new design

* [NPM] Added back gh-pages

* [Dashboard] Different warning message & modal btn

* [Dashboard] Remove Staking Rewards

* [CSS] Hover animation on pivx button

* [CSS] Remove old warning style

* [CSS] Make top 'space' smaller for mobile

* [CSS] Add transition to button

* [CSS Update seed phrase font

* [CSS] FIx tabcontent for dasboard

* [CSS] Add transition for input boxes

* [CSS] Dasboard items padding fix

* [CSS] Notification alerts always on top

* [CSS] Notification opacity and transition fix

* [CSS] Make balance box a bit bigger

* [CSS] Replace warning message with better one

* [CSS] Replace shield icon fill color

* Move `gh-pages` back to `devDependencies`

* [JS] Remove public key comment (Not needed)

* [Dashboard] Private key text centered

* [CSS] Smaller key icon on export private key

* [JS] Change margin of qr image

* [JS] Copy code change and copy style change

* [CSS] Wallet addres darker background on QR modal

* [Dashboard] Purple-ify qr modal

* [JS] Revert copy code with improvements

* [JS] Remove 'pivx:' on copy

* [Dashboard] Move 'genKeyWarning' to div

* [Dashboard] Remove arrows from buttons

* [CSS] Make privatekey selectable

* [JS] Encrypt wallet change and hide modal

* [JS] Hide modal after encryption

* [Dashboard] Lock and Unlock button

* [JS] unblur private key

* [JS] Show lock button when encrypted

* [Dashboard] New and improved send receive buttons

* Add PWA manifest & icons

* Re-organise manifest

* Implement native service worker

* Adjust native UI + simplify CopyPlugin

* Lint

* Remove unnecessary UI

* [Dashboard] Fix issues on Safari

* [Dashboard] A small adjustment for more responsiveness

---------

Co-authored-by: JSKitty <[email protected]>
To improve UX and onboarding, MPW needs to simplify it's text, reduce it, and just generally make it a little dumber.

This commit massively reduces the Dashboard text, fixes some i18n tags/text, removes an outdated Staking message and replaces it with a more useful explanation of the Staking feature.
With PIVX Labs having moved to a new budget model, the obsolete donation address and donation requests are no longer necessary: we'll clear up a little bit of UI space and code by removing this, also, the copyright year was bumped, as the commit touches the footer anyway - might as well include it.
* Prices + CoinGecko integration

A prices system has been added to MPW, made to support multiple price providers in the future, as well as with existing multi-currency support and persistent user preference, defaulting to USD otherwise.

Some trivial cleanup was also done, along with linting and prettier being ran, catching a few out-of-scope files, better sooner than later.

* Add missing JSDocs
* Add Contested Proposals category

To help "dust away" and disincentivise spam or malicious proposals, this commit ensures proposals with less than 25% net consensus (i.e; 75% downvotes) are considered Contested Proposals, and put in to a lower display state on MPW, with slightly lowered opacity and stuffed at the bottom of the Governance menu, along with an explainer sub-text to educate the user on these proposals.

* Add minimum req + refactor 'finished' proposals

A minimum requirement for votes has been added before a proposal will be considered for the Contested category (100 votes) to prevent young proposals being abused in the DAO, and the filtering for 'finished' proposals was lightly refactored to include filtering directly, instead of post-call manually.

* Add default param value to getProposals()

As suggested by Duddino

Co-authored-by: Duddino <[email protected]>

* Run Prettier

---------

Co-authored-by: Duddino <[email protected]>
Enables better versioning and the ability for hoster to easily rollback a version
* Rewritten delegate, undelegate, sendTx

* Now they work

* Ran prettier

* Added error checking

* Restored wallet.js since it will be fixed in #87

* Added jsdoc comments

* Apply suggestions from code review

Co-authored-by: JSKitty <[email protected]>

---------

Co-authored-by: JSKitty <[email protected]>
* Fix ledger

* Add comment again

* Ran prettier
* Added ipv6 support to masternodes

* Ran prettier

* Added jsdoc

* Refactored ip check in a new function

* Ran prettier
* Intro and footer improvements

* Remove "Intro" from i18n

* Use font-awesome branded footer URLs
* Nuke unused FA files

* Switch to minimised FA
This reduces the CSS size by around ~40kb, nice!
* [JS] Remove unused lines

* [CSS] Change Dashboard height

* [CSS] Input style changes

* [CSS] Add medium button

* [CSS] Change padding in buttoni-text

* [CSS] Change input outline color

* [CSS] New transfer menu

* [Transfer] New transfer menu

* [Dashboard] Replace withdraw button functionality

* [Navbar] Remove `sent` menu

* [Send] Remove old send page

* [JS + HTML] Forgot to add `toggleBottomMenu`

* Add conversion currency, payment processor, fixes

* i18n cleanup

* Remove residue TX 'Continue' logic

* Fix export oversight bug from #87

* Add Duddino's suggestions

* Payment Requests cleanup

* [General] Bottom menu background

---------

Co-authored-by: JSKitty <[email protected]>
* Status Icons Revamp

* Hide some icons by default

* Add clarified comment

* Move ptr cursor to icons instead of container

* Match Testnet icons

* Run Prettier
* Redesign wallet unlock flow

* Run Prettier

* Add prompt auto-focus

* Run Prettier
* Switch webpack to Production + Add minimizers

* Import only used lodash functions
This removes the large amount of unused lodash bloat compiled in to MPW.

* Switch nav links to span
This prevents search engines trying to index them as "href" URLs, and thus will help with solidifying indexing better.

* Switch to lodash-es

* Include bn.js only once

* Add Dev/Prod build configurations
* Add View On Explorer + Fix Refresh

* Import getDerivationPath
panleone and others added 30 commits April 17, 2024 18:11
* remove call to getBlockCount() and use the global variable instead

* add mock to blockCount

* remove unused import

* Make sure the correct number of blocks is known before using blockCount
* Do not include coinstake and coinbase txs in shield sync

* remove unused variable

* apply review
* Fix errors for non-Shield wallets on sync (like Legacy)

* Run prettier (I don't think this change is pretty lol)
* Remove the Refresh button

* Remove unused animations

* Remove unused `updating` variable
* Fix Governance Dashboard display of Over-Allocated proposals

* Optimise budget + proposal state logic

* Remove unnecessary checks

* Add "Over Budget" text, de-capitalise proposal translations
* Secret parsing tests

* Remove old argument

* Prettier

* Add space tests to seed phrases
* Don't hot-reload on .git metadata changes

* Prettier

* Ignore Node Modules and Coverage directories

Co-authored-by: Duddino <[email protected]>

* Prettier

---------

Co-authored-by: Duddino <[email protected]>
* Implement LockableFunction class

* Use LockableFunction in wallet.js

* Implement the lockablefunction with a function in place of a class

* Remove isCreatingTx

* Forgot to call the function

* fix bad merge

* Update JSdoc to take in account generic parameters

* fix bad merge

* add lockable function unit tests

* review fix
* useWallet tests

* Add currency test
* Implement Oracle in replacement of CoinGecko

* Seperate cache calls and handle non-OK responses

* Remove unnecessary block count refresh after Price Fetch

* Remove the comment too lol

* And the import

* Update ambiguous comment

* Change currencies cache to a map

* Prettier

* Array --> Map comment
* refactor: create the event currency-update

* refactor: move cOracle global variable to prices.js

* load Oracle in constructor

* Make fLoadedCurrencies a private member of the class

* load the oracle on start

* apply review

* remove unused import
* test: do not mock the mempool

* test: remove mempool mocks

* test: remove unused mock
* Remove sapling prover loader and add target to shield UTXOs

* Avoid recreating a double wrapped error

* Fix restore wallet shield bug

* Update jsdoc

* Prettier

* Fix typo

* Add `target` jsdoc

* Add isCreatingTransaction

* Add loading SHIELD parameters on tx creation

* Fix use wallet test

* fix percentage
* fix: getLatestBlock bugs for non-shield wallets

* fix: make sure we have the correct blockheight when toggling network

* fix: fix transaction is not added to the wallet bug

* partially revert #340
* Add debug utils functions

* Use debug util functions

* feat: improve debug logs

* removed unused import

* fix bad merge

* fix another bad merge

* remove unused import

* apply review
* Polyfill nodejs crypto with noble

* Fix double declaration

* Fix lint

* Fix polyfill

* Add polyfill tests

* Add buffer import

* Update scripts/polyfills/crypto.js

Co-authored-by: JSKitty <[email protected]>

---------

Co-authored-by: JSKitty <[email protected]>
Co-authored-by: JSKitty <[email protected]>
* test: add network simulator

* refactor: change name from setUpMainnetWallet to setUpLegacyMainnetWallet

* test: add HD mainnet wallet

* emit new-block even if there is no wallet loaded

* use this. in place of global wallet in getLatestBlocks

* test: sync spec tests

* fix bad merge and remove useless mock

* create tests/integration folder and tests/utils folder

* change import path
* Use country map json instead of the provided functions

* Fix error when langCode is not a valid alpha2
* move wallet balance from mempool to wallet

* remove immature outpoint state

* cache the balance

* move getUTXOs to wallet

* Remove .Immature OutpointState from tests

* test: just warn in case of missing txs in network mock

* fix: a couple of fix in getBalance and getUTXOs

* test: add immature balace integration test

* test: remove old getbalance test and update getUTXOs test

* move balance calculation back to mempool

* jsdoc
* [JS] Added postinstall.cjs for win and lin

* Add other OSes support to postinstall.cjs

* Remove cross-env dependency

---------

Co-authored-by: BreadJS <[email protected]>
* Cache shield files

* Prefetch this too

* Prettier

* Change regexp

* Prefetch using service worker

* Remove console.logs

* Check if registration is active before sending message

* Handle waiting?
Disables a very annoying iOS feature
* [JS] Added postinstall.cjs for win and lin

* [TOML] Update translation

* [HTML] Update navigation bar

* [CSS] Updates for navbar, background and homepage

* [VUE] CreateWallet update

* [VUE] AccessWallet update

* [VUE] VanityGen update

* [VUE] Login update

* [VUE] Dashboard update

* [VUE] WalletBalance update

* [VUE] Added WalletButtons

* [CSS] New top right status icon style

* [CSS+VUE] New 'warning' message

* [VUE] Change WalletButtons text

* [CSS+VUE] Dropdown style update

* [SVG] Added new icons

* [CSS] Update styles for Activity and WalletBalance

* [JS] Add parameter in beautifyNumber for showFirstNumber

* [VUE] Update Activity

* [VUE] Update WalletBalance

* [CSS] Immature Balance

* [HTML] Change navbar z-index for new modals

* [HTML] Switch 'Confirm' and 'Cancel' buttons

* [HTML+CSS] Partial Governance page

* [CSS] New inputs

* [CSS] Update buttons background-color

* [CSS] Add button with outline

* [CSS] Dashboard item update

* [CSS] Update Dasboard send and receive button color

* [CSS+VUE] Modal updates

* [CSS] Formatting

* [HTML+CSS+JS] Partial governance update

* [HTML+CSS] Update treasurey texts

* [HTML+CSS+JS] New changelog page

* [CSS] Update dashboard icons

* [CSS+VUE] Update staking page

* [VUE] Stake border fix

* [CSS+HTML+SVG] Masternode page partial update

* [VUE] Modal color fix

* [HTML] Governance table margin bottom fix

* [VUE] Format one line

* [SVG+JS] Add icons

* [HTML+CSS+JS] Partial settings UI update

* [HTML+CSS] Tabbed Settings

* [SVG] Add new icons

* [JS] Add another plus icon

* [HTML+CSS] New Masternode list

* [SVG+VUE] Added new icons and changed height

* [HTML+CSS+JS+VUE] Public private mode switcher part 1

* [VUE+JS] Fix for updating value

* [SVG+VUE+CSS] New icons, new buttons

* [VUE] Change balance values

* [VUE+SVG] New icons

* [SVG] Added new images

* [VUE] Added stake currency

* [VUE] Added S- as ticker

* [VUE] New Staking modal

* [VUE] New Transfer modal

* [VUE] Modal change (remove X)

* [JS+HTML] Update Contacts modals

* [JS] Update copy clipboard check icon

* [JS] Proposal popup

* [JS] Modal popup wide mode

* [HTML] Recieve modal update

* [HTML] Comfirm modal switch buttons

* [CSS] Some CSS changes

* [VUE+JS] Prettier

* [JS] misc.js Prettier and lint fix

* [VUE] Fix test errors

* [VUE] Fix prettier after test error fix

* [CSS+JS] Fix version modal center and close

* [HTML] Remove development section

* [JS] misc.js prettier

* [VUE+CSS] export modal scroll fix and close btn

* [CSS] Input placeholder color brighter (fix)

* [HTML] Fix rounding on receive modal

* [JS+VUE+CSS] New promos modal

* [VUE+CSS] New dashboard buttons

* [CSS+VUE] Add tab gap on the left

* [HTML] Removed some testing data

* [CSS] Modal sticks to left on mobile fix

* [CSS] Modal inner card shadow

* [VUE] Activity space between amount ticker

* [VUE] Contacts close button fix

* [JS] AccessWallet test fix

* [JS] Localize within beautifyNumber

* Prettify misc.js

* Clean up VanityGen and fix tests

* [JS+HTML+SVG] New Balance Breakdown

* [JS] If contact list is empty, hide it

* [HTML+CSS] Some confirm modal fixes

* [HTML+CSS] Add padding on mobile container

* [CSS] Do not hide some icons on mobile

* [VUE] New design cancel button

* [JS] Change font color of wallet loaded without encryption net switch text

* [HTML+CSS] Right top quick menyu

* [VUE] Disable Shield Message

Co-authored-by: Duddino <[email protected]>

* [VUE] onclick to @click

* [JS] Prettier

* [CSS+VUE] Icon update on import wallet

* [VUE+JS] Moved from global to vue

* [VUE+JS] Moved from global to vue

* [VUE] Changed request by duddino

* [VUE] Forgot to define the event

* [CSS] Tooltip always on top

* [VUE] Stake buttons col fix

* [VUE] Nuke refresh button

* [VUE] alignment issue fix

* [VUE] Stake modal fix

* [HTML] Text color change for modals

* [VUE] Prettier

* [CSS] Make the top right mini menu round

* [VUE] Also update the language of stake/unstake btn

* [VUE+JS] Make publicMode global

* [JS] Only show address for public/private mode

* [JS] Charting refresh fix

* [HTML+JS+CSS] Contacts in center

* [JS] Proposal Address text added

* [VUE] Changed icon padding

* [VUE] Show public/private mode if is HD wallet

* [CSS] Modal title color fix, modal width fix and modal buttons fix

* [VUE+JS] Move to store part 1

* [VUE+JS] Move to store final part

* [HTML] Center contacts in receive

* [CSS] Notifications on top layer

* [VUE] Add margin on shield syncer and tx creator

* [CSS] Modal width 100% IMPORTANT

* [VUE+JS] Show "change password" when wallet is encrytped

* [HTML+CSS+JS] Smooth background transition public/private mode

* [HTML] Show "change password" when wallet is encrytped

* [CSS] White border flash fix

* [PNG+JS] New logo added

* [CSS] Fix all modals to center

* [HTML] Small background issue fix

* [HTML] Remove old display text

* [CSS] Add hover on hamburger menu

* [CSS] Send/stake/unstake title color fix

* [CSS+JS] Gov yes no button same width on mobile

* [CSS] When too much content on modal, overflow with scroll

* [CSS] Different hamburger menu hover

* [JS] Prettier

* [HTML] Fix colors to white on wallet settings

* [HTML] Add 'Auto lock' back in settings

* [JS] Make contact wallet address a little shorter

* [JS] Small bug fix

* [VUE] Forgot the reffrence to charting

* [JS] MacOS Please... Make address shorter again

* [VUE+JS] Shield blocks syncing with progressbar

* [VUE] Fix Firefox width

* [CSS+VUE] Spinning and wrong width fix

* [HTML+JS] Set copyright year from current year

* [CSS] Footer on very bottom in mobile

* [VUE+JS] Syncing History Chunks fix

* [VUE] Send tx fix for private mode, and immature/pending balance fix

* [JS] Prettier

* Fix tests

---------

Co-authored-by: Duddino <[email protected]>
Co-authored-by: JSKitty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.