Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 05dbbfe

Browse files
author
Mohammad Reza Hamedanchi
authored
Merge branch 'master' into mohammad/webpack
2 parents 8a315b0 + 6132c37 commit 05dbbfe

File tree

13 files changed

+2
-824
lines changed

13 files changed

+2
-824
lines changed

scripts/bin/GenerateStaticData.pm

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,7 @@ sub _texts {
754754
push @texts, localize('Revoke access');
755755
push @texts, localize('Keep track of your authorised applications.');
756756
push @texts, localize('Are you sure that you want to permanently revoke access to application');
757-
push @texts, localize('Transaction performed by');
758-
push @texts, localize('App ID');
757+
push @texts, localize('Transaction performed by [_1] (App ID: [_2])');
759758

760759
# Strings for lostpasswordws
761760
push @texts, localize('Please check your email to retrieve the token needed to reset your password.');
@@ -786,18 +785,6 @@ sub _texts {
786785
push @texts, localize('details');
787786
push @texts, localize('Deposit [_1] [_2] virtual money into your account [_3]');
788787

789-
# strings for user/metatrader page
790-
push @texts, localize('Login');
791-
push @texts, localize('To create a real account for MetaTrader, switch to your [_1] real money account.');
792-
push @texts, localize('To create a real account for MetaTrader, <a href="[_1]">upgrade to [_2] real money account</a>.');
793-
push @texts, localize('Your new account has been created.');
794-
push @texts, localize('Deposit is done. Transaction ID:');
795-
push @texts, localize('Withdrawal is done. Transaction ID:');
796-
push @texts, localize('Start trading with your Demo Account');
797-
push @texts, localize('Start trading with your Real Account');
798-
push @texts, localize('Download MetaTrader');
799-
push @texts, localize('Congratulations! Your account has been created.');
800-
801788
my %as_hash = @texts;
802789
$js .= "texts_json['" . $language . "'] = " . JSON::to_json(\%as_hash) . ";\n";
803790
}

scripts/config/pages.pl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ sub all_pages {
7474
['resources/market_timesws', 'resources/market_timesws', 'default', 'Trading Times'],
7575

7676
['user/security/api_tokenws', 'user/security/api_tokenws', 'default', 'API Token', 'ja'],
77-
['user/metatrader', 'user/metatrader', 'default', 'MetaTrader'],
7877
['user/security/change_passwordws', 'user/security/change_passwordws', 'default', 'Change Password'],
7978
['user/portfoliows', 'user/portfoliows', 'default', 'Portfolio'],
8079
['user/profit_tablews', 'user/profit_tablews', 'default', 'Profit Table'],
@@ -93,9 +92,6 @@ sub all_pages {
9392
['user/reality_check_frequencyws', 'user/reality_check_frequencyws', 'default', 'Reality Check'],
9493
['user/reality_check_summaryws', 'user/reality_check_summaryws', 'default', 'Reality Check'],
9594

96-
['metatrader', 'metatrader/index', 'default', 'Trading with MetaTrader 5'],
97-
['metatrader/download', 'metatrader/download', 'default', 'Start Trading with MetaTrader 5'],
98-
9995
['logged_inws', 'global/logged_inws', undef],
10096
['trade/bet_explanation', 'bet/explanation', undef],
10197
);

scripts/sitemap.pl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
['get-started/otc-indices-stocks' , 'monthly', '0.80'],
4949
['get-started/beginners-faq' , 'monthly', '0.80'],
5050
['get-started/glossary' , 'monthly', '0.80'],
51-
52-
['metatrader', 'monthly', '0.80'],
53-
['metatrader/download', 'monthly', '0.80'],
5451
);
5552

5653

src/images/pages/metatrader/mt5-imac.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/images/pages/metatrader/mt5-pc.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/javascript/binary/common_functions/get_app_details.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var addTooltip = function(oauth_apps) {
1717
var add_app_id_name = function(app_id, app_name) {
1818
var ref_string;
1919
if (app_id) {
20-
ref_string = text.localize('Transaction performed by') + ' ' + (app_name ? app_name : '') + ' (' + text.localize('App ID') + ': ' + app_id + ')';
20+
ref_string = template(text.localize('Transaction performed by [_1] (App ID: [_2])'), [(app_name ? app_name : ''), app_id]);
2121
}
2222
return ref_string;
2323
};

src/javascript/binary/websocket_pages/user/account/settings/metatrader.js

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/javascript/binary/websocket_pages/user/account/settings/metatrader/metatrader.data.js

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)