Commit Graph
37 Commits
Author SHA1 Message Date
Mononaut 73f2d54a26 support inner links in truncated string component 2023-01-16 16:47:05 -06:00
Mononaut 42a39c1f7c migrate old text truncation implementations to new component 2023-01-05 11:01:46 -06:00
softsimon da10b36524 Change imports to relative paths 2022-11-24 12:19:19 +09:00
softsimon fa11cb0619 Use relative import paths 2022-09-21 17:23:45 +02:00
nymkappa c51216f97c Remove hardcoded liquid.network in asset icons url 2022-04-23 08:56:55 +09:00
softsimon 0863405671 Correcting tests. i18n strings and asset links. 2022-02-07 03:34:15 +04:00
softsimon 91082f27e7 SEO and various render fixes. 2022-02-07 03:34:15 +04:00
softsimon 36b4812e93 Asset name overflow fix 2022-01-21 00:16:18 +04:00
softsimon 88a9e22abe Liquid asset loading fixes 2022-01-20 23:00:43 +04:00
softsimon a2b167fc07 Display Liquid asset icons 2022-01-20 19:51:02 +04:00
softsimon c8639ec71d Fixing missing assets data for Liquid Testnet native asset
fixes #1068
2022-01-04 05:26:46 +04:00
softsimon 504f46cad9 Support for Test Liquid Native Asset 2021-12-29 00:40:55 +04:00
Miguel Medeiros 9264f3cf4f Fix title styles. 2021-10-26 21:47:28 -03:00
Miguel Medeiros 9d9ff6ed91 Fix titles height inconsistencies. 2021-10-26 21:47:26 -03:00
softsimon ffa18bbe71 Sort block transactions first by height and then time
fixes #770
2021-09-25 16:28:11 +04:00
softsimon 1a996e1640 Adding missing space. 2021-06-13 17:56:24 -05:00
softsimon 52b7efdd53 Updated transifex. 2021-04-26 03:45:14 +04:00
wiz 3ead05fa51 Add missing i18n tags for various strings, fixes #473 2021-04-26 06:35:56 +09:00
softsimon 232fc65af2 i18n correcctions based on feedback. Added even more missing i18n strings. 2020-12-04 21:29:31 +07:00
softsimon fb11d73751 i18n all the remaining strings. 2020-12-03 18:34:19 +07:00
wiz 4658b47007 Implement i18n support in frontend using Angular + Transifex + NGINX
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
2020-12-02 04:19:33 +09:00
softsimon 01689c8433 Detect confidential assets and display properly.
fixes #109
2020-11-22 16:19:57 +07:00
softsimon 11d67cf756 Allow searching for and viewing assets not in the asset registry.
fixes #111
2020-11-22 16:03:23 +07:00
softsimon dfaa73803e Bugfix: Liquid asset issuance / circulating / burned amounts are missing decimal point
fixes #112
2020-09-29 03:54:56 +07:00
softsimon da5556e3dc Liquid assets display fix. 2020-09-28 16:44:35 +07:00
softsimon b95efca29d Various bugfixes. 2020-09-28 16:32:48 +07:00
softsimon 6c1d28a9ac Replacing footer and latest blocks with a stats dashboard. 2020-09-21 19:41:12 +07:00
softsimon b1c8166936 Update title to - "<network> Explorer" 2020-08-12 14:04:04 +07:00
softsimon 490223b40a Correced Liquid asset amouts. 2020-07-23 17:55:59 +07:00
softsimon 84e15b133a Mobile responsive fixes. 2020-05-28 15:50:19 +07:00
softsimon 7e07e2cd8a Fix address tracking issues. 2020-05-20 17:00:50 +07:00
softsimon 1feb985bec Liquid and Testnet now accessable from the main site
fixes #35
2020-05-09 20:37:50 +07:00
softsimon 20c7ee98e7 Asset tracking.
Asset caching.
refs #37
2020-05-05 15:26:23 +07:00
softsimon d662292afb Fixed asset infinite scroll. 2020-05-03 00:56:48 +07:00
softsimon 44d19550e8 Assets list. Native asset updates.
refs #37
2020-05-02 16:29:34 +07:00
softsimon 11b1d9bbd3 Assets support WIP
refs #37
2020-05-02 12:36:35 +07:00
softsimon b2d2fd225c Basic Liquid Asset support. 2020-04-28 17:10:31 +07:00