20 Commits

Author SHA1 Message Date
softsimon
58402c008f CPFP support (#395)
* CPFP support.

fixes #5
fixes #353
fixes #360

* Use effectiveFeePerVsize for mempool statistics.

* Renaming endpoint cpfp-info to just cpfp.

* Renaming decended to BestDescendant.

* Updating language file with new strings.
2021-03-18 23:47:40 +07:00
softsimon
ff7482db91 Adding enterprise sponsors i18n string. 2021-03-07 21:48:33 +07:00
softsimon
8dd11dc62d Updating transifex. 2021-03-07 20:05:20 +07:00
softsimon
9651fa7859 Removing sponsors code.
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
softsimon
02c4ad2688 Adding Italian language. Updating nginx conf with some missing languages. 2021-01-27 20:24:32 +07:00
softsimon
ab16215634 Updated i18n 2021-01-16 14:56:19 +07:00
softsimon
6c81ba521c Adding CoreRPC "Minimum fee" to the dashboard
fixes #171
2021-01-12 16:42:07 +07:00
softsimon
044a03d11d i18n: reuse vB/s string 2020-12-08 18:40:00 +07:00
softsimon
5d84eefe3b i18n: Fixed translations for the footer component. Merged some duplicates. 2020-12-08 18:24:02 +07:00
softsimon
da7f2b4be4 i18n: Added missing Bisq translations. Minor missing space and character fixes. 2020-12-07 17:35:05 +07:00
softsimon
bc2868641b i18n: Removed CR from "In X minutes" translation 2020-12-07 00:23:13 +07:00
softsimon
3fb4d987a9 i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers. 2020-12-06 23:44:08 +07:00
softsimon
02d3a56061 i18n: Asset search box 2020-12-05 02:01:31 +07:00
softsimon
b500e14e77 i18n: Added X of X transaction. Flipped collapse/expand 2020-12-05 00:16:23 +07:00
softsimon
d5952fdb45 i18n: Added "miner identification" and updated "navigate to sponsor" 2020-12-04 23:07:53 +07:00
softsimon
1b52dc2aa3 Adding missing Asset page strings. Fixed block title translations. 2020-12-04 22:30:09 +07:00
softsimon
3c661435ca Fixing about-link title translation. 2020-12-04 21:49:03 +07:00
softsimon
e5725c944b Updated messages.xlf 2020-12-04 21:38:14 +07:00
wiz
c79cf31cca Update extracted i18n strings from source 2020-12-04 04:11:35 +09:00
wiz
46ad261d84 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