/*
Theme Name: Sprint Child Theme
Theme URI: https://sprint.ancorathemes.com/
Description: Sprint is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 1.9.0
Tested up to: 6.7
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: sprint
Template: sprint
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

add_filter( 'gettext', 'evox_traduz_wishlist', 20, 3 );
function evox_traduz_wishlist( $translated, $text, $domain ) {
    $mapa = array(
        'Add to cart'          => 'Adicionar ao carrinho',
        'Add to Cart'          => 'Adicionar ao carrinho',
        'Add selected to cart' => 'Adicionar selecionados',
        'Add all to cart'      => 'Adicionar todos',
        'Apply action'         => 'Aplicar ação',
        'Actions'              => 'Ações',
    );
    return isset( $mapa[ $text ] ) ? $mapa[ $text ] : $translated;
}