49 Commits

Author SHA1 Message Date
softsimon
170f43c4e7 Updating i18n messages. 2021-07-26 22:02:24 +03:00
softsimon
a7fd5d8f98 Update i18n messages. 2021-07-25 01:35:12 +03:00
softsimon
3594a5f006 Removing shortened date i18n strings. 2021-07-18 01:02:02 +03:00
softsimon
544f43aebd Updated "mins per block" i18n string. 2021-07-17 18:23:50 +03:00
softsimon
1c51e4952b Reusing hard coded In~1 min with base date minute i18n string. 2021-07-17 16:36:21 +03:00
softsimon
d6298da890 Updating i18n strings. 2021-07-17 14:59:10 +03:00
softsimon
5d752be244 Adding Hindi 2021-07-13 11:49:04 +03:00
softsimon
03b05855aa Update i18n. 2021-07-10 18:20:15 +03:00
softsimon
6822eab5a7 Updating i18n messages. 2021-06-29 13:11:39 -04:00
softsimon
66e169a16f Updating i18n. 2021-06-17 11:59:11 -05:00
softsimon
faeebc92e9 Updating i18n. 2021-06-17 11:09:07 -05:00
softsimon
1d5c340e4d Added new i18n strings 2021-06-11 14:54:57 -05:00
softsimon
ce496778c3 i18n fixes. 2021-06-10 15:38:15 -05:00
softsimon
6dd55e0b06 Adding missing i18n strings on Bisq. 2021-06-09 14:09:25 -05:00
softsimon
13561f9255 Update i18n. 2021-06-08 22:44:52 -05:00
softsimon
c000be393c I18n space fix. 2021-06-08 22:37:23 -05:00
softsimon
57b6f2f612 Remove duplicate i18n string sponsor 2021-06-06 17:16:39 -04:00
softsimon
d681f94cbe Updated i18n 2021-06-06 16:56:08 -04:00
softsimon
57e5a7394f Updated i18n. 2021-05-11 15:29:03 +04:00
softsimon
fac0428a9f Update i18n messages. 2021-05-08 01:11:05 +04:00
softsimon
0d76a2d111 Localize electrum limit error.
fixes #442
2021-04-27 14:21:33 +04:00
softsimon
c85932def2 i18n update 2021-04-26 04:03:33 +04:00
softsimon
7df7a3fcec Updated transifex. 2021-04-26 03:45:14 +04:00
wiz
d844563b14 Fix a few Bisq strings, update transifex source strings 2021-04-26 07:59:15 +09:00
wiz
4fe9d6e591 Capitalize some strings in Bisq components, update i18n 2021-04-26 07:30:34 +09:00
softsimon
c0088e93ff Updated i18n 2021-04-26 01:49:58 +04:00
wiz
3a14bd4521 Add missing i18n tags for various strings, fixes #473 2021-04-26 06:35:56 +09:00
softsimon
c8ed757e72 Reuse same i18n string for fee warning tooltip. 2021-03-23 05:18:08 +07:00
softsimon
8799b9ca0a Visualize the CPFP transactions.
fixes #401
2021-03-22 18:04:50 +07:00
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