<commit_before>import PropTypes         from 'prop-types';
import React             from 'react';
import { localize }      from '_common/localize';

// Templates are from Binary 1.0, it should be checked if they need change or not and add all of trade types

const TradeCategories = ({ category }) => {
    let TradeTypeTemplate;
    if (category) {
        switch (category) {
            case 'rise_fall':
                TradeTypeTemplate = (
                    <React.Fragment>
                        <p>
                            { localize('If you select "Higher", you win the payout if the exit spot is strictly higher than the entry spot.') }
                        </p>
                        <p>
                            { localize('If you select "Lower", you win the payout if the exit spot is strictly lower than the entry spot.') }
                        </p>
                    </React.Fragment>
                );
                break;
            case 'rise_fall_equal':
                TradeTypeTemplate = (
                    <React.Fragment>
                        <p>{ localize('If you select "Higher", you win the payout if the exit spot is strictly higher than the entry spot.') }</p>
                        <p>{ localize('If you select "Lower", you win the payout if the exit spot is strictly lower than the entry spot.') }</p><commit_msg>add equal explanation to rise fall<commit_after>import PropTypes         from 'prop-types';
import React             from 'react';
import { localize }      from '_common/localize';

// Templates are from Binary 1.0, it should be checked if they need change or not and add all of trade types

const TradeCategories = ({ category }) => {
    let TradeTypeTemplate;
    if (category) {
        switch (category) {
            case 'rise_fall':
                TradeTypeTemplate = (
                    <React.Fragment>
                        <p>
                            { localize('If you select "Higher", you win the payout if the exit spot is strictly higher than the entry spot.') }
                        </p>
                        <p>
                            { localize('If you select "Lower", you win the payout if the exit spot is strictly lower than the entry spot.') }
                        </p>
                        <p>
                            { localize('If you select "Allow equals", you win the payout if exit spot is higher than or equal to entry spot for "Higher". Similarly, you win the payout if exit spot is lower than or equal to entry spot for "Lower".') }
                        </p>
                    </React.Fragment>
                );
                break;
            case 'rise_fall_equal':
                TradeTypeTemplate = (
                    <React.Fragment>
                        <p>{ localize('If you select "Higher", you win the payout if the exit spot is strictly higher than the entry spot.') }</p>
                        <p>{ localize('If you select "Lower", you win the payout if the exit spot is strictly lower than the entry spot.') }</p>
{'fraction_non_alphanumeric': 0.08336036328251703, 'fraction_numerical': 0.0012974375608173856, 'mean_word_length': 1.461292897047087, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7590410', 'n_tokens_mistral': 747, 'n_tokens_neox': 720, 'n_words': 318}