From 74b5f80e6092b1b5d529ec0d1cbf2ccfbd27c8c0 Mon Sep 17 00:00:00 2001 From: negar Date: Fri, 10 May 2019 17:38:37 +0800 Subject: [PATCH] change to dtrader --- README.md | 2 +- package.json | 4 ++-- scripts/render.js | 4 ++-- src/javascript/_common/lib/push_notification.js | 2 +- src/javascript/app_2/App/Constants/app-config.js | 2 +- src/root_files/_common/404.html | 2 +- src/root_files/app_2/index.html | 2 +- src/templates/README.md | 2 +- src/templates/app_2/manifest.json | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 12e698ec9a10..f6b9830c28d4 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This repository contains the static HTML, Javascript, CSS, and images content of ## Installation -In order to work on your own version of the Deriv.app Javascript and CSS, please **fork this project**. +In order to work on your own version of the DTrader Javascript and CSS, please **fork this project**. You will also need to install the following on your development machine: diff --git a/package.json b/package.json index bfffa74c67b3..fe289a9f418e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "deriv-com", "version": "3.8.0", - "description": "Deriv.app content", + "description": "DTrader content", "scripts": { "test": "grunt test", "livereload": "sudo -p 'enter password for sudo:' grunt livereload", @@ -15,7 +15,7 @@ "keywords": [ "deriv" ], - "author": "Deriv.app", + "author": "DTrader", "license": "Apache License 2.0", "bugs": { "url": "https://github.com/binary-com/deriv-com/issues" diff --git a/scripts/render.js b/scripts/render.js index bfb6d440e956..8cef27ad9c8a 100755 --- a/scripts/render.js +++ b/scripts/render.js @@ -207,7 +207,7 @@ const createContextBuilder = async (sections) => { ], css_files : css_files_list[section], languages : config.languages, - broker_name: 'Deriv.app', + broker_name: 'DTrader', static_hash: static_hash[section], }); @@ -243,7 +243,7 @@ async function compile(page) { const tasks = languages.map(async lang => { const model = { - website_name : 'Deriv.app', + website_name : 'DTrader', title : page.title, layout : page.layout, language : lang.toUpperCase(), diff --git a/src/javascript/_common/lib/push_notification.js b/src/javascript/_common/lib/push_notification.js index 48c5a4bde5d8..e06ed976a6f4 100644 --- a/src/javascript/_common/lib/push_notification.js +++ b/src/javascript/_common/lib/push_notification.js @@ -17,7 +17,7 @@ const BinaryPushwoosh = (() => { logLevel : 'error', // or info or debug applicationCode : 'D04E6-FA474', safariWebsitePushID : 'web.com.binary', - defaultNotificationTitle: 'Deriv.app', + defaultNotificationTitle: 'DTrader', defaultNotificationImage: urlForCurrentDomain('https://style.binary.com/images/logo/logomark.png'), }]); initialised = true; diff --git a/src/javascript/app_2/App/Constants/app-config.js b/src/javascript/app_2/App/Constants/app-config.js index cf6e02189926..19c489850247 100644 --- a/src/javascript/app_2/App/Constants/app-config.js +++ b/src/javascript/app_2/App/Constants/app-config.js @@ -1,2 +1,2 @@ -export const website_name = 'Deriv.app'; +export const website_name = 'DTrader'; export const default_title = website_name; diff --git a/src/root_files/_common/404.html b/src/root_files/_common/404.html index e606c3b442c0..a4b72f431968 100644 --- a/src/root_files/_common/404.html +++ b/src/root_files/_common/404.html @@ -1,7 +1,7 @@ - Deriv.app + DTrader - Deriv.app + DTrader