Commit Graph

327 Commits

Author SHA1 Message Date
wiz
1f5af33f14
Add missing websocket subscription for 'blocks' in status-view component 2020-12-15 03:48:07 +09:00
TechMiX
95c9b21149 add left-to-right mark character to blockchain and mempool block components size 2020-12-09 21:47:27 +01:00
TechMiX
306197c6e9 fix blockchain scrolling on mobile mode when RTL layout 2020-12-09 21:46:13 +01:00
TechMiX
e6be450aaa add left-to-right mark character to amount component 2020-12-09 02:33:20 +01:00
TechMiX
c4734357c4 add text-align for Details title + swap text-left class with style so that it always remains aligned to left 2020-12-09 02:22:16 +01:00
TechMiX
e0adc505db add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
softsimon
260735665b
Status view live data now works again... 2020-12-09 01:37:14 +07:00
softsimon
5b8bcd5b7d
i18n: Fixed stacked mempool block issue and enabled vietnamese. 2020-12-09 01:31:49 +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
TechMiX
91cb2adb95 add missing 'sat/vb' string for i18n 2020-12-07 00:07:16 +01: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
TechMiX
159d9c71a1 add 'sat' string for i18n 2020-12-05 14:59:08 +01:00
softsimon
1af1f7211e
Remove extra garbage characters from OP_RETURN tooltip.
fixes #254
2020-12-05 02:32:16 +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
035f9a4d67
Merge commit '768fbdfbfa8e0064b86e168c59762909f4c1763b' into simon/i18n-everything
* commit '768fbdfbfa8e0064b86e168c59762909f4c1763b':
  Update translated strings from Transifex
  More fixes for RTL
  Always render app-mempool-graph using LTR
  Implement auto RTL support for i18n locales like Arabic, Persian, etc.
  Update extracted i18n strings from source
  Enable 'ar' locale for Arabic
  Update translated strings from Transifex
  Fix incorrectly used 'nn' locale, rename it to 'nb' instead
  Update transifex-client configuration to use master branch

# Conflicts:
#	frontend/src/locale/messages.xlf
2020-12-04 21:30:51 +07:00
softsimon
232fc65af2
i18n correcctions based on feedback. Added even more missing i18n strings. 2020-12-04 21:29:31 +07:00
wiz
92d163f495
More fixes for RTL 2020-12-04 22:54:09 +09:00
wiz
62363802be
Always render app-mempool-graph using LTR 2020-12-04 22:41:58 +09:00
wiz
e49ecd9368
Implement auto RTL support for i18n locales like Arabic, Persian, etc.
Fixes #255
2020-12-04 05:56:40 +09:00
softsimon
fb11d73751
i18n all the remaining strings. 2020-12-03 18:34:19 +07:00
softsimon
e35eb5aad2
Adding virtual size to transaction details.
fixes #248
2020-12-02 22:22:14 +07:00
softsimon
3f990ff706
Corrected some missing spaces on transactions page and a blank render bug when confirmation time is below 1 minute. 2020-12-02 17:03:04 +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
6bc6966019
Display confidential instead of nothing for confidential assets.
fixes #110
2020-11-22 16:30:36 +07: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
wiz
9e83fdc9f2
Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon
9f9c0b1114
Correcting title text on graph invert button. 2020-11-16 21:58:16 +07:00
softsimon
ca540d902a
Adding a button to invert the graph globally. 2020-11-16 19:27:06 +07:00
softsimon
76238f5943
Display P2PK instead of OP_RETURN
fixes #161
2020-11-16 16:21:37 +07:00
softsimon
d9803e3f3d
Improved utxo script design.
fixes #46
2020-11-16 02:25:10 +07:00
softsimon
c9e63a723a
Adding prevout script. Fixed padding.
refs #46
2020-11-16 02:02:16 +07:00
softsimon
4136e8d332
Correcting details button padding on mobile. 2020-11-16 01:10:07 +07:00
softsimon
ddea10b160
Toggle display UTXO details and scripts for transactions
fixes #46
2020-11-15 17:58:38 +07:00
TechMiX
640a77e846 fix legend bug on resize 2020-11-13 01:23:19 +01:00
softsimon
ff8f2fafe8
Flip mempool chart by using patched chartist package by @techmix 2020-11-10 21:05:54 +07:00
wiz
6f6d7bc4d2
❤️ 2020-11-03 17:03:41 +09:00
TechMiX
411b75471c Merge branch 'master' of https://github.com/mempool/mempool 2020-10-28 22:25:33 +01:00
TechMiX
5d7a39a8f2 save the legends active status on a cache 2020-10-28 22:22:07 +01:00
softsimon
fcb51fef20
Calculate tx fees based on segwit tx sizes. 2020-10-28 20:26:48 +07:00
softsimon
29ff029b07
Updating lightning node name.
Fixing dashboard button alignment.
2020-10-27 19:27:48 +07:00
softsimon
e61574c630
Add L-BTC sponsor support. 2020-10-27 15:26:37 +07:00
softsimon
645772c01a
Fix: Segwit-tag is inconsistent when transaction contains segwit and non segwit
fixes #130
2020-10-27 02:07:39 +07:00
softsimon
6a8deff706
Adding form validators for donation form. 2020-10-26 23:23:08 +07:00