KosyanMedia/travelpayouts-wordpress-plugin

STOPS

Closed this issue · 1 comments

screenshot_3
here is issue with stops

screenshot_4
Im fixed it by changing file

Travelpayouts>app>includes>common>TPFieldsLabelTable.php

Chnage

0 => array(
TPLang::getLangEN() => _x('tp_plugin_local_en_number_changes_label_direct', '(Direct)', TPOPlUGIN_TEXTDOMAIN),
TPLang::getLangRU() => _x('tp_plugin_local_ru_number_changes_label_direct', '(Прямой)', TPOPlUGIN_TEXTDOMAIN),
),
1 => array(
TPLang::getLangEN() => _x('tp_plugin_local_en_number_changes_label_stop', '(stop)', TPOPlUGIN_TEXTDOMAIN),
TPLang::getLangRU() => _x('tp_plugin_local_ru_number_changes_label_stop', '(пересадка)', TPOPlUGIN_TEXTDOMAIN),
),
2 => array(
TPLang::getLangEN() => _x('tp_plugin_local_en_number_changes_label_stops', '(stops)', TPOPlUGIN_TEXTDOMAIN),
TPLang::getLangRU() => _x('tp_plugin_local_ru_number_changes_label_stops', '(пересадки)', TPOPlUGIN_TEXTDOMAIN),

to

        0 => array(
            TPLang::getLangEN() => _x('direct', '(Direct)', TPOPlUGIN_TEXTDOMAIN),
            TPLang::getLangRU() => _x('direct', '(Прямой)', TPOPlUGIN_TEXTDOMAIN),
        ),
        1 => array(
            TPLang::getLangEN() => _x('stop', '(stop)', TPOPlUGIN_TEXTDOMAIN),
            TPLang::getLangRU() => _x('stop', '(пересадка)', TPOPlUGIN_TEXTDOMAIN),
        ),
        2 => array(
            TPLang::getLangEN() => _x('stops', '(stops)', TPOPlUGIN_TEXTDOMAIN),
            TPLang::getLangRU() => _x('stops', '(пересадки)', TPOPlUGIN_TEXTDOMAIN),