From b507bb48cb0e9e15e318019c0780ee9f482a2695 Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Tue, 3 Sep 2013 23:36:32 +0100 Subject: [PATCH] Antispam i18n strings --- index.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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;