• Resolved aclase

    (@aclase)


    Could you add
    events-manager/em-data-privacy.php: $EM_Booking->add_error( sprintf(__(‘You must allow us to collect and store your data in order for us to process your booking.’, ‘events-manager’)) );
    pharase to lang pack?

    Also will be nice, if you can add translation in Finnish:
    Tietojen kerääminen ja tallentaminen tulee hyväksyä varauksen käsittelyä varten.

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    here’s another snippet which may help you with this –

    function change_privacy_error( $translated_text, $text, $domain ) {
            switch ( $translated_text ) {
                case 'You must allow us to collect and store your data in order for us to process your booking.' :
                    $translated_text = 'Testing.. You must allow us to collect and store your data in order for us to process your booking.';
                    break;
            }
        return $translated_text;
    }
    add_filter( 'gettext', 'change_privacy_error', 20, 3 );

    As for where to paste this : http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/

Viewing 1 replies (of 1 total)

The topic ‘Warning translation possibility’ is closed to new replies.