Skip to content

RTL layout Support + Arabic Translation #895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 10, 2015

Conversation

iaesaudi
Copy link
Contributor

RTL layout Support + Arabic Translation

Adjusted css conditions to support RTL layouts for RTL languages like Arabic, Hebrew and Persian ... etc
Arabic language file for jquery.validationEngine.js (ver2.6.x)
@posabsolute
Copy link
Owner

Hi,

Thank you for your contribution! Before I accept the changes however I would appreciate if you could reformat your changes like this:

var isRTL = $('body').hasClass('rtl');
prompt.css({
'position': positionType === 'inline' ? 'relative' : 'absolute',
"top": pos.callerTopPosition,
"left": isRTL ? "initial" : pos.callerleftPosition,
"right": isRTL ? pos.callerleftPosition :  "initial",
"marginTop": pos.marginTopSize,
"opacity": 0
}).data("callerField", field);

Thank you!

@iaesaudi
Copy link
Contributor Author

iaesaudi commented Oct 2, 2015

I have reformatted and made new pull request.

posabsolute added a commit that referenced this pull request Oct 10, 2015
RTL layout Support + Arabic Translation
@posabsolute posabsolute merged commit 86d2e31 into posabsolute:master Oct 10, 2015
@dennybrandes dennybrandes added this to the 3.0.0 milestone Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants