get_strings_settings(); icl_st_reset_current_translator_notifications(); if((!isset($sitepress_settings['existing_content_language_verified']) || !$sitepress_settings['existing_content_language_verified']) /*|| 2 > count($sitepress->get_active_languages())*/){ return; } if ( filter_input( INPUT_GET, 'trop', FILTER_SANITIZE_NUMBER_INT ) > 0 ) { include dirname(__FILE__) . '/string-translation-translate-options.php'; return; } elseif ( filter_input( INPUT_GET, 'download_mo', FILTER_SANITIZE_FULL_SPECIAL_CHARS ) ) { include dirname(__FILE__) . '/auto-download-mo.php'; return; } $status_filter = filter_input( INPUT_GET, 'status', FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_NULL_ON_FAILURE ); $status_filter_text = $status_filter; $status_filter_lang = false; if ( preg_match( "#" . ICL_STRING_TRANSLATION_WAITING_FOR_TRANSLATOR . "-(.+)#", $status_filter_text, $matches ) ) { $status_filter = ICL_STRING_TRANSLATION_WAITING_FOR_TRANSLATOR; $status_filter_lang = $matches[1]; }else{ $status_filter = filter_input( INPUT_GET, 'status', FILTER_SANITIZE_NUMBER_INT, FILTER_NULL_ON_FAILURE ); } //$status_filter = $status_filter !== false ? (int) $status_filter : null; $context_filter = filter_input( INPUT_GET, 'context', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); $search_filter = filter_input( INPUT_GET, 'search', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); $exact_match = filter_input( INPUT_GET, 'em', FILTER_VALIDATE_BOOLEAN ); $active_languages = $sitepress->get_active_languages(); $icl_contexts = icl_st_get_contexts( $status_filter ); $unfiltered_context_counts = $status_filter !== false ? icl_st_get_contexts( false ) : $icl_contexts; function context_array( $contexts ) { $count_array = array(); $contexts = $contexts ? array_filter( $contexts ) : array(); foreach ( $contexts as $c ) { $count_array[ $c->context ] = $c->c; } return $count_array; } $available_contexts = array_keys( context_array( $icl_contexts ) ); $unfiltered_contexts = context_array( $unfiltered_context_counts ); function _icl_string_translation_rtl_div($language) { if (in_array($language, array('ar','he','fa'))) { echo ' dir="rtl" style="text-align:right;direction:rtl;"'; } else { echo ' dir="ltr" style="text-align:left;direction:ltr;"'; } } function _icl_string_translation_rtl_textarea($language) { if (in_array($language, array('ar','he','fa'))) { echo ' dir="rtl" style="text-align:right;direction:rtl;width:100%"'; } else { echo ' dir="ltr" style="text-align:left;direction:ltr;width:100%"'; } } $po_importer = apply_filters( 'wpml_st_get_po_importer', null ); ?>

has_strings() ): ?>

', ''); ?>

"> get_strings( ) as $str ): $k++; ?>
checked="checked" value="" />

 

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

render( ); $change_string_language_dialog = new WPML_Change_String_Language_Dialog( $wpdb, $sitepress ); $change_string_language_dialog->render( ); if( ! empty( $icl_contexts ) ) { $string_factory = new WPML_ST_String_Factory( $wpdb ); $change_string_domain_language_dialog = new WPML_Change_String_Domain_Language_Dialog( $wpdb, $sitepress, $string_factory ); $change_string_domain_language_dialog->render( $icl_contexts ); } $get_show_results = filter_input( INPUT_GET, 'show_results', FILTER_SANITIZE_FULL_SPECIAL_CHARS ); $get_page = filter_input( INPUT_GET, 'page', FILTER_SANITIZE_URL ); ?> found_posts > 10): ?>
add_query_arg('paged', '%#%' ), 'format' => '', 'prev_text' => '«', 'next_text' => '»', 'total' => $wp_query->max_num_pages, 'current' => $paged, 'add_args' => isset($icl_translation_filter)?$icl_translation_filter:array() ) ); $query_url_params = '?page=' . $get_page; $query_url_params .= '&paged='; $query_url_params .= $paged; $query_url_params .= ( $context_filter !== null ? ( '&context=' . $context_filter ) : '' ); $query_url_params .= ( $status_filter !== null ? ( '&status=' . $status_filter ) : '' ); ?>
' . __( 'Displaying %s–%s of %s', 'wpml-string-translation' ) . '%s', number_format_i18n( ( $paged - 1 ) * $wp_query->query_vars['posts_per_page'] + 1 ), number_format_i18n( min( $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; ?> $context_filter, '&status=' => $status_filter, '&search=' => $search_filter, '&em=' => $exact_match ) ); foreach ( $params as $key => $p ) { $spp_qsa .= $key . $p; } $strings_per_page = $wp_query->query_vars['posts_per_page']; ?>  
" disabled="disabled"/>



  • ' . $anchor_text . ''; $message = sprintf( implode( ' ', $message_sentences ), $anchor ); ?> />

    >

     »

  • 'icl_st', 'input_name_id' => 'hl_color', 'default' => $hl_color_default, 'value' => $hl_color, 'label' => $hl_color_label, ); $wpml_color_picker = new WPML_Color_Picker($color_picker_args); echo $wpml_color_picker->get_current_language_color_selector_control(); ?>



   style="display:none">


$details){ if(in_array($role, $string_settings['translated-users'])){ $tnames[] = translate_user_role($details['name'] ); } } $tustr = ''; if(!empty($tnames)){ $tustr .= join(', ' , array_map('translate_user_role', $tnames)); }else{ $tustr = __('none', 'wpml-string-translation'); } $tustr .= ''; $tustr .= '  ' . __('edit', 'wpml-string-translation') . ''; ?>