jenkins-bot has submitted this change and it was merged. Change subject: Add appropriate lang and dir to all translation suggestions ......................................................................
Add appropriate lang and dir to all translation suggestions Change-Id: I5e8ed02c00514daf390f79617c689070d7475af8 --- M resources/js/ext.translate.editor.helpers.js 1 file changed, 8 insertions(+), 0 deletions(-) Approvals: Nikerabbit: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/js/ext.translate.editor.helpers.js b/resources/js/ext.translate.editor.helpers.js index f3184de..ebb94b2 100644 --- a/resources/js/ext.translate.editor.helpers.js +++ b/resources/js/ext.translate.editor.helpers.js @@ -300,6 +300,10 @@ .append( $( '<div>' ) .addClass( 'nine columns suggestiontext' ) + .attr( { + lang: translation.language, + dir: $.uls.data.getDir( translation.language ) + } ) .text( translation.target ), $( '<div>' ) .addClass( 'three columns quality text-right' ) @@ -355,6 +359,10 @@ .append( $( '<div>' ) .addClass( 'nine columns suggestiontext' ) + .attr( { + lang: translation.language, + dir: $.uls.data.getDir( translation.language ) + } ) .text( translation.target ), $( '<div>' ) .addClass( 'three columns text-right service' ) -- To view, visit https://gerrit.wikimedia.org/r/230746 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5e8ed02c00514daf390f79617c689070d7475af8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits