Commit Graph

39 Commits

Author SHA1 Message Date
softsimon
fca66f1b9f
Updating i18n. 2021-06-17 11:09:07 -05:00
softsimon
49810b6a47
Added new i18n strings 2021-06-11 14:54:57 -05:00
softsimon
8f74ef58f8
i18n fixes. 2021-06-10 15:38:15 -05:00
softsimon
0087700aa5
Adding missing i18n strings on Bisq. 2021-06-09 14:09:25 -05:00
softsimon
9e343b346a
Update i18n. 2021-06-08 22:44:52 -05:00
softsimon
a10cd09ba8
I18n space fix. 2021-06-08 22:37:23 -05:00
softsimon
2ee96cae44
Remove duplicate i18n string sponsor 2021-06-06 17:16:39 -04:00
softsimon
28c8d7dba0
Updated i18n 2021-06-06 16:56:08 -04:00
softsimon
870bd54b38
Updated i18n. 2021-05-11 15:29:03 +04:00
softsimon
17b6916f31
Update i18n messages. 2021-05-08 01:11:05 +04:00
softsimon
dcedc8a5ff
Localize electrum limit error.
fixes #442
2021-04-27 14:21:33 +04:00
softsimon
aea35d4c86
i18n update 2021-04-26 04:03:33 +04:00
softsimon
52b7efdd53
Updated transifex. 2021-04-26 03:45:14 +04:00
wiz
492abad7a6
Fix a few Bisq strings, update transifex source strings 2021-04-26 07:59:15 +09:00
wiz
2f2be5c64b
Capitalize some strings in Bisq components, update i18n 2021-04-26 07:30:34 +09:00
softsimon
5cd5280b21
Updated i18n 2021-04-26 01:49:58 +04:00
wiz
3ead05fa51
Add missing i18n tags for various strings, fixes #473 2021-04-26 06:35:56 +09:00
softsimon
f12eb333d2
Reuse same i18n string for fee warning tooltip. 2021-03-23 05:18:08 +07:00
softsimon
ed55e86a9d
Visualize the CPFP transactions.
fixes #401
2021-03-22 18:04:50 +07:00
softsimon
d3c53c7406
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
3b8d3221cf
Adding enterprise sponsors i18n string. 2021-03-07 21:48:33 +07:00
softsimon
e5972aa181
Updating transifex. 2021-03-07 20:05:20 +07:00
softsimon
eb0c20dd92
Removing sponsors code.
Support new sponsor confirmation polling.
fixes #319
2021-02-07 02:20:07 +07:00
softsimon
47dd1f2d0b
Adding Italian language. Updating nginx conf with some missing languages. 2021-01-27 20:24:32 +07:00
softsimon
23323be24a
Updated i18n 2021-01-16 14:56:19 +07:00
softsimon
2b55ee1e07 Adding CoreRPC "Minimum fee" to the dashboard
fixes #171
2021-01-12 16:42:07 +07:00
softsimon
8e5efc47cd
i18n: reuse vB/s string 2020-12-08 18:40:00 +07:00
softsimon
eb9aaac0aa
i18n: Fixed translations for the footer component. Merged some duplicates. 2020-12-08 18:24:02 +07:00
softsimon
ae886e14b8
i18n: Added missing Bisq translations. Minor missing space and character fixes. 2020-12-07 17:35:05 +07:00
softsimon
f70f94fede
i18n: Removed CR from "In X minutes" translation 2020-12-07 00:23:13 +07:00
softsimon
e2d19a174e
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
1fc1b4b86e
i18n: Asset search box 2020-12-05 02:01:31 +07:00
softsimon
f4c27e4c26
i18n: Added X of X transaction. Flipped collapse/expand 2020-12-05 00:16:23 +07:00
softsimon
336e45a7b1
i18n: Added "miner identification" and updated "navigate to sponsor" 2020-12-04 23:07:53 +07:00
softsimon
10b9778b3c
Adding missing Asset page strings. Fixed block title translations. 2020-12-04 22:30:09 +07:00
softsimon
67df21fe50
Fixing about-link title translation. 2020-12-04 21:49:03 +07:00
softsimon
ea496915c4
Updated messages.xlf 2020-12-04 21:38:14 +07:00
wiz
ea521651fd
Update extracted i18n strings from source 2020-12-04 04:11:35 +09: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