diff --git a/index.php b/index.php index d1eeeba..8826793 100755 --- a/index.php +++ b/index.php @@ -171,7 +171,7 @@ $(document).ready(function() if ( isset($_REQUEST['url']) ) { if ( isset($_POST['antispam']) && $_POST['antispam'] != user ) { - exit('
Antispam check failed!
'); + exit('' . yourls__( 'Antispam check failed!', 'isq_translation') . '
'); } $url = yourls_sanitize_url( $_REQUEST['url'] ); @@ -233,6 +233,10 @@ RESULT; $site_title = yourls__( 'Optional title:', 'isq_translation'); $site_title_hover = yourls__( 'Optional title used when sharing a link from YOURLS', 'isq_translation'); $site_submit = yourls__( 'Shorten', 'isq_translation'); + $antispam_title = yourls__( 'Antispam check', 'isq_translation'); + $antispam_value = yourls__( 'Are you a bot or a human?', 'isq_translation'); + $antispam_bot = yourls__( 'Bot', 'isq_translation'); + $antispam_human = yourls__( 'Human', 'isq_translation'); echo <<$site_enter @@ -241,7 +245,7 @@ RESULT;
-
Bot Human
+$antispam_bot $antispam_human
HTML;