* Add color to previous retarget.
Add absolute number pipe.
Change plus and minus signs to fa icons.
Change Fee Estimate title to Transactions Fees.
Set min and max difficulty adjustments.
* Add projectID to cypress conf.
* Change icon to fa-caret.
* Remove unecessary icons.
* Add next difficulty blocks.
Add next difficulty target date.
Add next difficulty total progress.
Add ajustment difficulty avg min per block.
* Fix typo.
* Trigger difficulty calculation every 5 seconds.
* Add rxjs timer to difficultyEpoch.
* Fix pipe.
* Fix small bar position.
* Change i18n strings.
* Fix typo.
* Add time-until component.
* Speed up difficultyEpoch timer to 1000 ms.
* Fix values to 2 decimal places.
* Add title to fee and difficulty adjustment cards.
* Add title outside the card.
* Fix title to center position.
* Add other titles.
* Add new transalations strings.
Refactor time span component.
* Fix difficulty adjustment i18n string.
Fix duplicated i18n strings.
* New concept for dashboard layout components.
* Align dashboard componentes.
* Add divider to fee box component.
* Remove TV icon from mobile and tablet queries.
* Fix form input overflow.
* Add responsive css to statistic component.
* Add responsive css to about page.
* Add global padding bottom.
* Fix graph page styles.
* Add responsive chart and scrollable table.
* Fix mobile css query for navbar menus.
* Fix pagination responsive css.
* Add CSS animated logo.
* Revert "Add CSS animated logo."
This reverts commit 92af38294c0d4fe815a801b37635cde7f8ee1ced.
* Add extra skeleton to fee-box-component.
* Fix latest-blocks and latest-transactions table css.
* Adapt Bisq pages to responsive layout.
* Remove parenthesis from fiat amout.
Fiat prive break not break on desktop.
Transaction ID align left.
Fee box skeleton width resize.
* Fix mobile table text-size.
* Fix dashboard mempool info mobile alignment.
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes#81