Commit Graph

16 Commits

Author SHA1 Message Date
Tyler Shipe fc1665444f upgrade to next12, remove babel, remove emotionjs, convert emotion styles to inline 2021-10-27 16:46:31 -04:00
rjpeterson bf679598bb
Add next-i18next translation framework & Traditional and Simplified Chinese UI Translations (#54)
* start english localization

* fix typo

* add to english localization

* add some zh translations, fix discrepencies in en

* add more chinese translations

* finish trad chinese translations

* add simplified folder, add locales.json with meta info, add latest ui updates in english

* add latest ui changes for chinese-trad and sort

* fix typo

* convert trad to simp

* Update common.json

* add review changes by @HZ2078

* fix typos

* add latest ui changes

* new ui change & trad-simp convert

* delete monospace from locales.json

* add next-i18next translation framework. Add translations up to #103

* replace more html with traslate tags

* lint & add more phrases

* add missing translations

* add language select dropdown

* add new update transltations

* add latest gui update translations

* add useTranslation to lang switch

* sort common.json, add lang descriptions

* update netlify config to support i18n

* make translations more consistent

Co-authored-by: Hz2078 <92381714+HZ2078@users.noreply.github.com>
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-10-20 13:42:40 +01:00
Tyler Shipe 6630e29707 upgrade nextjs 2021-08-30 00:56:27 -04:00
Tyler Shipe 44e0d8ad21 make it more obvious when opening new position with slider 2021-08-25 17:07:25 -04:00
Tyler Shipe b61e0b2f13 use latest client 2021-08-24 17:17:01 -04:00
Tyler Shipe d9019b961a reduce margin in trade form; remove leverage text from slider 2021-08-24 16:40:43 -04:00
Tyler Shipe d39e52de76 fix NaN under slider on perp side 2021-08-24 10:30:15 -04:00
Maximilian Schneider 62c578d28d correctly set max lev 2021-08-20 15:41:43 +02:00
Maximilian Schneider e7557e3101 fix issue on account load 2021-08-20 15:37:49 +02:00
Maximilian Schneider 739d805310 add max button to leverage slider 2021-08-20 15:34:04 +02:00
Tyler Shipe 2036b77de3 pass in decimal count to leverage slider 2021-08-18 20:37:50 -04:00
Tyler Shipe 1c64a8a252 show position closing in leverage slider 2021-08-18 20:33:45 -04:00
Tyler Shipe 9bfa880be0 add padding to slider 2021-08-18 16:31:22 -04:00
Tyler Shipe 27760cd7c3 tweak slider styling 2021-08-18 16:29:39 -04:00
Tyler Shipe 0af7a8b8ee more trade form improvements 2021-08-18 16:15:17 -04:00
Tyler Shipe 86ea7afcff add leverage slider 2021-08-18 14:23:12 -04:00