added the translation to the component view, also adding lang tags of ready translated languages

This commit is contained in:
dev
2017-04-05 17:26:17 +01:00
parent 1b3cb2bfdd
commit 2caaa1a1e3
69 changed files with 857 additions and 560 deletions

View File

@ -23,7 +23,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvyrvyu_required = false;
jform_vvvvvyrvyv_required = false;
// Initial Script
jQuery(document).ready(function()
@ -39,26 +39,26 @@ function vvvvvyr(add_php_view_vvvvvyr)
if (add_php_view_vvvvvyr == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyrvyu_required)
if (jform_vvvvvyrvyv_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_vvvvvyrvyu_required = false;
jform_vvvvvyrvyv_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyrvyu_required)
if (!jform_vvvvvyrvyv_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_vvvvvyrvyu_required = true;
jform_vvvvvyrvyv_required = true;
}
}
}