- 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
+6 -3
View File
@@ -5,8 +5,8 @@
global $wpdb;
$count = $wpdb->get_var(
"SELECT COUNT( option_id )
FROM {$wpdb->options}
"SELECT COUNT( option_id )
FROM {$wpdb->options}
WHERE option_name LIKE 'um_cache_userdata_%'"
);
?>
@@ -15,7 +15,10 @@ $count = $wpdb->get_var(
<p>
<a href="<?php echo esc_url( add_query_arg( 'um_adm_action', 'user_cache' ) ); ?>" class="button">
<?php echo esc_html( sprintf( __( 'Clear cache of %s users', 'ultimate-member' ), $count ) ); ?>
<?php
// translators: %s: users number.
echo esc_html( sprintf( __( 'Clear cache of %s users', 'ultimate-member' ), $count ) );
?>
</a>
<a href="<?php echo esc_url( add_query_arg( 'um_adm_action', 'user_status_cache' ) ); ?>" class="button">
<?php esc_html_e( 'Clear user statuses cache', 'ultimate-member' ); ?>