WordPress escaping functions

Hi,
Anyone know about Themeorest standard escaping WordPress functions?
Here is review comment about escaping functions.

Check all escaping functions, for example: https://envato.d.pr/FCGAUO esc_html() does not support any additional parameter. Ref: https://codex.wordpress.org/Function_Reference/esc_html

The same goes for: https://envato.d.pr/VZ52vo Please check them all.

Which escaping functions should I use for that, also I used esc_html__() and esc_attr__() functions but Envato Theme Checker has showing warning massage.
Here I use escap function:

<?php echo esc_html__($button, 'mytextdomain'); ?> <?php echo esc_attr__($sidebar_class, 'mytextdomain'); ?>

Warning massage:
WARNING: Found a translation function that is missing a text-domain. Function esc_html__, with the arguments ‘mytextdomain’
WARNING: Found a translation function that is missing a text-domain. Function esc_attr__, with the arguments ‘mytextdomain’

How can I fix this.
Thanks.

Just use esc_html( $button );

esc_html__() is used to escape translatable strings like esc_html__( 'my string', 'my-text-domain' ); which is obviously not your case.

https://developer.wordpress.org/reference/functions/esc_html/

@LSVRthemes Thanks.