From 06f8cc2003df85638c40f454c62be7276d9f20ae Mon Sep 17 00:00:00 2001 From: Amin Marashi Date: Fri, 29 Jul 2016 10:35:09 +0800 Subject: [PATCH 1/3] updated local translation files --- src/common/translations/ar.js | 4 ++-- src/common/translations/de.js | 4 ++-- src/common/translations/en.js | 4 ++-- src/common/translations/es.js | 4 ++-- src/common/translations/fr.js | 4 ++-- src/common/translations/id.js | 4 ++-- src/common/translations/it.js | 4 ++-- src/common/translations/pl.js | 4 ++-- src/common/translations/pt.js | 4 ++-- src/common/translations/ru.js | 4 ++-- src/common/translations/vi.js | 4 ++-- src/common/translations/zh_cn.js | 4 ++-- src/common/translations/zh_tw.js | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/common/translations/ar.js b/src/common/translations/ar.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/ar.js +++ b/src/common/translations/ar.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/de.js b/src/common/translations/de.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/de.js +++ b/src/common/translations/de.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/en.js b/src/common/translations/en.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/en.js +++ b/src/common/translations/en.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/es.js b/src/common/translations/es.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/es.js +++ b/src/common/translations/es.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/fr.js b/src/common/translations/fr.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/fr.js +++ b/src/common/translations/fr.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/id.js b/src/common/translations/id.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/id.js +++ b/src/common/translations/id.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/it.js b/src/common/translations/it.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/it.js +++ b/src/common/translations/it.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/pl.js b/src/common/translations/pl.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/pl.js +++ b/src/common/translations/pl.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/pt.js b/src/common/translations/pt.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/pt.js +++ b/src/common/translations/pt.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/ru.js b/src/common/translations/ru.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/ru.js +++ b/src/common/translations/ru.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/vi.js b/src/common/translations/vi.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/vi.js +++ b/src/common/translations/vi.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/zh_cn.js b/src/common/translations/zh_cn.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/zh_cn.js +++ b/src/common/translations/zh_cn.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", diff --git a/src/common/translations/zh_tw.js b/src/common/translations/zh_tw.js index 52e1158990..9e08456233 100644 --- a/src/common/translations/zh_tw.js +++ b/src/common/translations/zh_tw.js @@ -156,6 +156,8 @@ module.exports = { "d645c153b95989901238e9e8b7f9bac49abd053d": "Returns the result of the finished contract", "b3b543c80063a116ced4965d8537b7b62d14c0b7": "Trade Again", "a1eeb7c1e92e9a5d9323ed8ebd7ca7ffed8b0232": "Runs the trade block again", + "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", + "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "e4bed3e67e58b2334ee4b9c6ce59ac7a95d80aaf": "Direction is", "ad47561efb1dcbd7246d9b64487f615647fda036": "True if the direction matches the selection", "05bef508aadd62bf3967dcf67d769da296f19989": "Tick Direction", @@ -166,8 +168,6 @@ module.exports = { "8ee54ad5dcb2ec7a856487ea5bb324381394987b": "This block decides what to do each time a new tick is received", "88c520a73a83c8dce589b07d01da0e032241e40b": "Tick Value", "ac53c550baa891c764bb707f3648d86ed115d009": "Returns the tick value received by a strategy block", - "30de51af8df6b6a7f6b6d26a113fa5e2eea54415": "Accepts", - "cc7695342b437bfe37baba92b657b8ad21b350d8": "Chooses the symbol:", "802dc02469ae51067ca620ff57dfb5bdb3e524ac": "Balance:", "ecb252044b5ea0f679ee78ec1a12904739e2904d": "string", "53b0a1b2fadf4e040cdc2155a7340de24aca93cb": "number", From a1fdbdac25b34c1d844ae4a51b3bf6fdef173bac Mon Sep 17 00:00:00 2001 From: Amin Marashi Date: Fri, 29 Jul 2016 11:01:49 +0800 Subject: [PATCH 2/3] Added coveralls to the project --- .gitignore | 1 + .istanbul.yml | 7 +++++++ .travis.yml | 2 +- package.json | 9 +++++++-- src/common/translations/ar.js | 4 ++-- src/common/translations/de.js | 4 ++-- src/common/translations/en.js | 4 ++-- src/common/translations/es.js | 4 ++-- src/common/translations/fr.js | 4 ++-- src/common/translations/id.js | 4 ++-- src/common/translations/it.js | 4 ++-- src/common/translations/pl.js | 4 ++-- src/common/translations/pt.js | 4 ++-- src/common/translations/ru.js | 4 ++-- src/common/translations/vi.js | 4 ++-- src/common/translations/zh_cn.js | 4 ++-- src/common/translations/zh_tw.js | 4 ++-- 17 files changed, 42 insertions(+), 29 deletions(-) create mode 100644 .istanbul.yml diff --git a/.gitignore b/.gitignore index 9237f634f1..810b2c3c6f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ node_modules/ npm-debug.log rev-manifest.json +coverage www diff --git a/.istanbul.yml b/.istanbul.yml new file mode 100644 index 0000000000..ed67e46441 --- /dev/null +++ b/.istanbul.yml @@ -0,0 +1,7 @@ +instrumentation: + root: src + include-all-sources: true + verbose: true + excludes: ['**/view/**', '**/botPage/utils/**', '**/translations/**', '**/indexPage/**', 'botPage/index.js'] +reporting: + dir: "coverage" diff --git a/.travis.yml b/.travis.yml index 94600843e4..dab8b229a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: notifications: email: false before_install: npm install -install: npm test +install: npm run test:full diff --git a/package.json b/package.json index 198865b2c2..8686f9b7bf 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "description": "Visual automation for binary.com", "main": "src/bot.js", "scripts": { - "start": "gulp serve", - "test": "gulp test", + "test": "./node_modules/.bin/mocha -r ./src/common/mochaHelper.js src/**/__tests__/*.js src/**/**/__tests__/*.js src/**/**/**/__tests__/*.js", + "coverage": "./node_modules/.bin/babel-node ./node_modules/.bin/babel-istanbul cover ./node_modules/.bin/_mocha -- -r ./src/common/mochaHelper.js src/**/__tests__/*.js src/**/**/__tests__/*.js src/**/**/**/__tests__/*.js", + "coveralls": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", + "test:full": "npm test && npm run coveralls", "dev": "gulp watch", "deploy": "git checkout beta; gulp build-min; mkdir beta ; cp -r www/ beta/beta; git checkout -- src; git checkout master; gulp deploy; rm -rf beta", "hunspell": "gulp i18n; cd www/i18n ; json2po en.json >en.po ; po2txt en.po > en.txt; hunspell -p ../../known_words.txt en.txt; rm *.po *.txt" @@ -33,13 +35,16 @@ }, "devDependencies": { "app-module-path": "^1.1.0", + "babel-cli": "^6.11.4", "babel-core": "^6.11.4", + "babel-istanbul": "^0.11.0", "babel-loader": "^6.2.4", "babel-polyfill": "^6.9.1", "babel-preset-es2015": "^6.9.0", "babel-register": "^6.9.0", "binary-mock-websocket": "^1.0.12", "chai": "^3.5.0", + "coveralls": "^2.11.12", "deep-diff": "^0.3.4", "del": "^2.2.1", "gulp-clean-css": "^2.0.10", diff --git a/src/common/translations/ar.js b/src/common/translations/ar.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/ar.js +++ b/src/common/translations/ar.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/de.js b/src/common/translations/de.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/de.js +++ b/src/common/translations/de.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/en.js b/src/common/translations/en.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/en.js +++ b/src/common/translations/en.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/es.js b/src/common/translations/es.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/es.js +++ b/src/common/translations/es.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/fr.js b/src/common/translations/fr.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/fr.js +++ b/src/common/translations/fr.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/id.js b/src/common/translations/id.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/id.js +++ b/src/common/translations/id.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/it.js b/src/common/translations/it.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/it.js +++ b/src/common/translations/it.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/pl.js b/src/common/translations/pl.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/pl.js +++ b/src/common/translations/pl.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/pt.js b/src/common/translations/pt.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/pt.js +++ b/src/common/translations/pt.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/ru.js b/src/common/translations/ru.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/ru.js +++ b/src/common/translations/ru.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/vi.js b/src/common/translations/vi.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/vi.js +++ b/src/common/translations/vi.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/zh_cn.js b/src/common/translations/zh_cn.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/zh_cn.js +++ b/src/common/translations/zh_cn.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", diff --git a/src/common/translations/zh_tw.js b/src/common/translations/zh_tw.js index 9e08456233..300d497b6f 100644 --- a/src/common/translations/zh_tw.js +++ b/src/common/translations/zh_tw.js @@ -77,10 +77,9 @@ module.exports = { "dc28f5f3c65ec611f0f30022650d24382d27448e": "Odd", "18a63f5512afb5573e5b44deba78d629f0635317": "Over", "2a268b89b83f8cb38ea48e46e93dd8840db512f9": "Under", - "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "af145748c9cf765a3b059eec20cb1dbb899297d8": "Blocks are loaded successfully", "e99811bd3b1ad17e74614060ecb180602be35ad6": "Logged you out!", - "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", + "4f381a323fe782c731f91a730a921ef612663d8f": "Connection lost, recovering...", "c3c49d3e838c8fe813d360aea7dc6b792948afde": "Markets", "312677f238bced75f4a7998263a4cd831c007be9": "The trade block can only accept submarket blocks", "7386b7aecaf7dee307dffabf3024e6fea8b3e964": "The trade block cannot be inside binary blocks", @@ -137,6 +136,7 @@ module.exports = { "3f71217a42b6920b422b3d9a6b37c5d39cdbbf19": "Open the summary panel.", "d202d8ee13996bc1811c4ad42a4902070213f88f": "Use the run/stop buttons in this menu to run or stop your blocks.", "e8077186267c1038681326ccb5ee9e7f97f8d8e5": "Good Luck!", + "8b70c504aa09cadfdc4baac6909b492d9d63db71": "Purchased", "eb1b2e79531173699a9af8e770d43db39ae8dd0d": "You have to add a submarket first", "c70e6d2dae1e18a270c5932bbc604048773463de": "Ticks:", "15edb47b74a0ecf67e8799087491cb5d6720ff00": "Payout:", From 12d66f8d7a66e9e804e753209731f72cba8a01fa Mon Sep 17 00:00:00 2001 From: Amin Marashi Date: Fri, 29 Jul 2016 11:07:29 +0800 Subject: [PATCH 3/3] Excluded botPage and calls --- .istanbul.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.istanbul.yml b/.istanbul.yml index ed67e46441..da61f25c4c 100644 --- a/.istanbul.yml +++ b/.istanbul.yml @@ -2,6 +2,6 @@ instrumentation: root: src include-all-sources: true verbose: true - excludes: ['**/view/**', '**/botPage/utils/**', '**/translations/**', '**/indexPage/**', 'botPage/index.js'] + excludes: ['**/view/**', '**/botPage/utils/**', '**/translations/**', '**/indexPage/**', 'botPage/index.js', 'common/calls.js', 'botPage/bot/index.js'] reporting: dir: "coverage"