text: jQuery(document).ready(function(a){"use strict";function b(a,b,c){return b.test(a.val())?!0:(a.addClass("wpglobus-state-error"),!1)}var c=/^[a-z]{2}$/,d=a("#wpglobus_language_code"),e=a("#wpglobus_language_name"),f=a("#wpglobus_en_language_name"),g=a([]).add(d).add(e).add(f);a("#wpglobus_edit_form").on("submit",function(a){var e=!0;g.removeClass("wpglobus-state-error"),e=e&&b(d,c,""),e||a.preventDefault()})});