From 3df34e4db1ba389017779b84cbaa165936cd2319 Mon Sep 17 00:00:00 2001 From: zhanghang Date: Tue, 16 Jan 2018 10:16:54 +0800 Subject: [PATCH 1/4] Update index.html google fonts in China --- website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index 88a51535..cbcb42c7 100644 --- a/website/index.html +++ b/website/index.html @@ -6,7 +6,7 @@ - + From e5e9d47464bf68233adbf35533814edcc3d4b52e Mon Sep 17 00:00:00 2001 From: zhanghang Date: Tue, 23 Jan 2018 16:11:38 +0800 Subject: [PATCH 2/4] i18n by jquery.i18n.properties --- website/index.html | 31 ++++++++++++++++---- website/static/i18n/strings.properties | 5 ++++ website/static/i18n/strings_zh.properties | 5 ++++ website/static/jquery.i18n.properties.min.js | 9 ++++++ 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 website/static/i18n/strings.properties create mode 100644 website/static/i18n/strings_zh.properties create mode 100644 website/static/jquery.i18n.properties.min.js diff --git a/website/index.html b/website/index.html index cbcb42c7..a43cabd0 100644 --- a/website/index.html +++ b/website/index.html @@ -14,6 +14,8 @@ + + @@ -36,31 +38,31 @@
  •   - Getting Started +
  •   - Graph Stats +
  •   - Tab Stats +
  •   - Workers Stats +
  •   - API +
  • @@ -91,5 +93,24 @@ + + diff --git a/website/static/i18n/strings.properties b/website/static/i18n/strings.properties new file mode 100644 index 00000000..da3d47c2 --- /dev/null +++ b/website/static/i18n/strings.properties @@ -0,0 +1,5 @@ +start=Getting Started +stats_graph=Graph Stats +stats_tab=Tab Stats +stats_workers=Workers Stats +api=API \ No newline at end of file diff --git a/website/static/i18n/strings_zh.properties b/website/static/i18n/strings_zh.properties new file mode 100644 index 00000000..58f1f444 --- /dev/null +++ b/website/static/i18n/strings_zh.properties @@ -0,0 +1,5 @@ +start=配置 +stats_graph=数据图表 +stats_tab=数据表格 +stats_workers=矿工数据 +api=API \ No newline at end of file diff --git a/website/static/jquery.i18n.properties.min.js b/website/static/jquery.i18n.properties.min.js new file mode 100644 index 00000000..69ed8bfc --- /dev/null +++ b/website/static/jquery.i18n.properties.min.js @@ -0,0 +1,9 @@ +(function(k){function t(a){a.debug&&(g("callbackIfComplete()"),g("totalFiles: "+a.totalFiles),g("filesLoaded: "+a.filesLoaded));a.async&&a.filesLoaded===a.totalFiles&&a.callback&&a.callback()}function n(a,d){d.debug&&g("loadAndParseFiles");null!==a&&0a.length)a=navigator.languages&&0 Date: Tue, 23 Jan 2018 16:14:05 +0800 Subject: [PATCH 3/4] Update index.html --- website/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index a43cabd0..e5e12e6c 100644 --- a/website/index.html +++ b/website/index.html @@ -6,7 +6,7 @@ - + From d26e4fa1324c4d437474b96ff0c6dbd3b3e07923 Mon Sep 17 00:00:00 2001 From: zhanghang Date: Fri, 22 Jun 2018 14:28:06 +0800 Subject: [PATCH 4/4] Update README.md dependence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 131bfac4..6981d19b 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ a good pool operator. For starters be sure to read: Clone the repository and run `npm update` for all the dependencies to be installed: ```bash -sudo apt-get install build-essential libsodium-dev npm +sudo apt-get install build-essential libsodium-dev npm libboost-system-dev sudo npm install n -g sudo n stable git clone https://github.com/joshuayabut/node-open-mining-portal.git z-nomp