Hi scketer,
Not sure if I understood what you did?
You only have to change the text inside <?php _e(‘ ‘);?>
For example:
<h1><?php _e( ‘Achievement Unlocked’, ‘dpa’ ); ?></h1>
to
<h1><?php _e( ‘TEXT YOU WANT’, ‘dpa’ ); ?></h1>
and for the second line of popup:
<?php
// translators: “{{ data.title }}” will be replaced with the name of the achievement; leave this bit exactly as is.
_e( “Hey, you’ve unlocked the “{{ data.title }}” achievement. Congratulations!”, ‘dpa’ );
?>
to
<?php
// translators: “{{ data.title }}” will be replaced with the name of the achievement; leave this bit exactly as is.
_e( “TEXT YOU WANT “{{ data.title }}” TEXT YOU WANT!”, ‘dpa’ );
?>
Not modify nothing else of the original file.
Sorry if I have confused you.
regards