- add translators

This commit is contained in:
ashubawork
2023-07-13 11:36:29 +03:00
parent 82ae1dc614
commit 5b647ae5e9
23 changed files with 168 additions and 60 deletions
+3 -2
View File
@@ -273,14 +273,15 @@ $postid = ! empty( $post->ID ) ? $post->ID : '';
if ( empty( $view_types ) ) { ?>
<span class="um-member-directory-view-type<?php if ( $not_searched ) {?> um-disabled<?php } ?>">
<?php }
// translators: %s: title.
$data_title = sprintf( __( 'Change to %s', 'ultimate-member' ), $value['title'] );
$view_types++; ?>
<a href="javascript:void(0)"
class="um-member-directory-view-type-a<?php if ( ! $not_searched ) {?> um-tip-n<?php } ?>"
data-type="<?php echo $key; ?>"
data-default="<?php echo ( $default_view == $key ) ? 1 : 0; ?>"
title="<?php printf( esc_attr__( 'Change to %s', 'ultimate-member' ), $value['title'] ) ?>"
title="<?php esc_attr_e( $data_title ); ?>"
default-title="<?php echo esc_attr( $value['title'] ); ?>"
next-item="" ><i class="<?php echo $value['icon']; ?>"></i></a>
<?php }