<?php 
    if ($taxonomy == 'product_type' || WCML_Terms::get_untranslated_terms_number($taxonomy) == 0) {
        continue;
    } else {
        $no_tax_to_update = false;
    }
    ?>
                <li class="js-tax-translation-<?php 
    echo $taxonomy;
    ?>
">
                    <?php 
    if ($untranslated = WCML_Terms::get_untranslated_terms_number($taxonomy)) {
        ?>
                        <?php 
        if (WCML_Terms::is_fully_translated($taxonomy)) {
            // covers the 'ignore' case'
            ?>
                            <i class="icon-ok"></i> <?php 
            printf(__('%s do not require translation.', 'woocommerce-multilingual'), get_taxonomy($taxonomy)->labels->name);
            ?>
                            <div class="actions">
                                <a href="#unignore-<?php 
            echo $taxonomy;
            ?>
" title="<?php 
            esc_attr_e('This taxonomy requires translation.', 'woocommerce-multilingual');
            ?>
"><?php 
            _e('Change', 'woocommerce-multilingual');
            ?>
        ?>
" <?php 
        if (!WCML_Terms::is_fully_translated($tax_key)) {
            ?>
title="<?php 
            esc_attr_e('You have untranslated terms!', 'wpml-wcml');
            ?>
"<?php 
        }
        ?>
>
        <?php 
        echo $tax->labels->name;
        ?>
        <?php 
        if (!WCML_Terms::is_fully_translated($tax_key)) {
            ?>
        &nbsp;<i class="icon-warning-sign"></i>
        <?php 
        }
        ?>
    </a>

    <input type="hidden" id="wcml_update_term_translated_warnings_nonce" value="<?php 
        echo wp_create_nonce('wcml_update_term_translated_warnings_nonce');
        ?>
" />

    <?php 
    }
    ?>