PluginProbe
Translate and boost SEO – Automatic AI translation – wpLingua / 2.16.7
Translate and boost SEO – Automatic AI translation – wpLingua v2.16.7
2.16.8 2.16.7 2.16.6 2.16.5 2.16.4 2.16.3 2.16.2 2.16.1 2.16.0 2.15.2 2.15.1 2.15.0 2.14.3 2.14.2 2.14.1 2.14.0 2.13.1 2.13.0 2.12.3 2.12.2 2.12.1 trunk 1.0.3 1.0.4 1.0.5 All 113 releases
wplingua / assets / js / admin / option-page-register.js

option-page-register.js in Translate and boost SEO – Automatic AI translation – wpLingua 2.16.7, at assets/js/admin/option-page-register.js

18 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*!*
2 ** _ _
3 ** __ ___ __ | | (_)_ __ __ _ _ _ __ _
4 ** \ \ /\ / / '_ \| | | | '_ \ / _` | | | |/ _` |
5 ** \ V V /| |_) | |___| | | | | (_| | |_| | (_| |
6 ** \_/\_/ | .__/|_____|_|_| |_|\__, |\__,_|\__,_|
7 ** |_| |___/
8 **
9 ** -- wpLingua | WordPress plugin --
10 ** Translate and make your website multilingual
11 **
12 ** https://github.com/julien-jacob/wplingua
13 ** https://wordpress.org/plugins/wplingua/
14 ** https://wplingua.com/
15 **
16 **/
17 jQuery(document).ready(function(t){var e;if((e=new Date).setTime(e.getTime()+2592e6),document.cookie="wplingua=1;expires="+e.toUTCString()+";path=/",t("#wplng-language-website").length){let a="<option disabled selected value></option>";function l(){var e=t("#wplng-language-website").val();t("#wplng-language-target option").attr("disabled",!1),t("#wplng-language-target option[value="+e+"]").attr("disabled",!0),t("#wplng-language-website").val()==e&&(t("#wplng-language-target option").attr("selected",!1),t("#wplng-language-target option[value!="+e+"]").first().attr("selected",!0))}wplngAllLanguages.forEach(e=>{a+='<option value="'+e.id+'">'+e.name+"</option>"}),t("#wplng-language-website").html(a),t("#wplng-language-target").html(a),t("#wplng-language-website option[value="+t("#wplng-website-locale").text()+"]").attr("selected",!0),l(),t("#wplng-language-website").on("input",function(e){l()}),t("#wplng-get-free-api-submit").on("click",function(e){var a;t("#wplng-website-url, #wplng-email, #wplng-language-website, #wplng-language-target, #wplng-accept-eula").attr("required",!0),a={request:"register",mail_address:t("#wplng-email").val(),website:t("#wplng-website-url").val(),language_original:t("#wplng-language-website").val(),languages_target:t("#wplng-language-target").val(),accept_eula:t("#wplng-accept-eula").is(":checked")},t("#wplng_request_free_key").val(JSON.stringify(a))}),t("a[href*='#wplng-']:not([href='#'])").click(function(){var e;location.hostname==this.hostname&&this.pathname.replace(/^\//,"")==location.pathname.replace(/^\//,"")&&(e=(e=t(this.hash)).length?e:t("[name="+this.hash.slice(1)+"]")).length&&t("html, body").animate({scrollTop:e.offset().top-50},1e3)})}});//# sourceMappingURL=option-page-register.js.map
18