count($sitepress->get_active_languages())*/){ return; } if(isset($_GET['trop']) && $_GET['trop'] > 0){ include dirname(__FILE__) . '/string-translation-translate-options.php'; return; } $status_filter = isset($_GET['status']) ? intval($_GET['status']) : false; $context_filter = isset($_GET['context']) ? $_GET['context'] : false; $search_filter = isset($_GET['search']) ? $_GET['search'] : false; $exact_match = isset($_GET['em']) ? $_GET['em'] == 1 : false; $icl_string_translations = icl_get_string_translations(); if(!empty($icl_string_translations)){ $icl_strings_in_page = icl_get_strigs_tracked_in_pages($icl_string_translations); } $active_languages = $sitepress->get_active_languages(); $icl_contexts = icl_st_get_contexts($status_filter); /* if($status_filter != ICL_STRING_TRANSLATION_COMPLETE){ $icl_contexts_translated = icl_st_get_contexts(ICL_STRING_TRANSLATION_COMPLETE); }else{ $icl_contexts_translated = $icl_contexts; } */ $icl_st_translation_enabled = $sitepress->icl_account_configured() && $sitepress->get_icl_translation_enabled(); $available_contexts = array(); if(!empty($icl_contexts)){ foreach($icl_contexts as $c){ if($c) $available_contexts[] = $c->context; } } if(is_array($sitepress_settings['st']['theme_localization_domains'])){ foreach($sitepress_settings['st']['theme_localization_domains'] as $c){ if($c) $available_contexts[] = 'theme ' . $c; } } $available_contexts = array_unique($available_contexts); if(!$sitepress_settings['st']['strings_language']){ $iclsettings['st']['strings_language'] = $sitepress_settings['st']['strings_language'] = $sitepress->get_default_language(); $sitepress->save_settings($iclsettings); } ?>

bottom of this screen. You can exclude individual strings by clearing the check boxes next to them.', 'sitepress'), '#add_po_strings_confirm'); ?>

checked="checked" value="" />

 

$v){ if(in_array($k, $languages_to)){ $total_rate += $v; } } ?> value)); $total_wc += $wc; $cost = $wc * $total_rate; $total_cost += $cost; ?>
value) ?>

   

      ' . htmlspecialchars($search_filter). '') ; ?>

$icl_string): ?>
<?php _e('view in page', 'sitepress') ?> <?php _e('view in page', 'sitepress') ?>


]*)>#im',$icl_string['value'])):?> HTML preview  
' . __('ICanLocalize ', 'sitepress').$icl_status . ''; } echo $icl_st_string_translation_statuses[$icl_string['status']].$icl_status; ?>
found_posts > 10): ?>
add_query_arg('paged', '%#%' ), 'format' => '', 'prev_text' => '«', 'next_text' => '»', 'total' => $wp_query->max_num_pages, 'current' => $_GET['paged'], 'add_args' => isset($icl_translation_filter)?$icl_translation_filter:array() )); ?>
' . __( 'Displaying %s–%s of %s', 'sitepress' ) . '%s', number_format_i18n( ( $_GET['paged'] - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), number_format_i18n( min( $_GET['paged'] * $wp_query->query_vars['posts_per_page'], $wp_query->found_posts ) ), number_format_i18n( $wp_query->found_posts ), $page_links ); echo $page_links_text; ?>  

disabled="disabled" />

create_icl_popup_link(ICL_API_ENDPOINT.ICL_FINANCE_LINK, array('title'=>'ICanLocalize')), '', 'sitepress')?>





 


   style="display:none">