jenkins-bot has submitted this change and it was merged. Change subject: Set the direction of a group selector to auto ......................................................................
Set the direction of a group selector to auto This helps "MediaWiki (latest)" not to be shown as "(MediaWiki (latest" to people with RTL UI. The title in the breadcrumbs above the selector also needs a similar fix, but that will be done separately. Change-Id: Ie03281c8aa9f34abcbb55edf3e544d32f5ec32ad --- M resources/js/ext.translate.groupselector.js 1 file changed, 6 insertions(+), 2 deletions(-) Approvals: Siebrand: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/js/ext.translate.groupselector.js b/resources/js/ext.translate.groupselector.js index 4cb4710..8f945e2 100644 --- a/resources/js/ext.translate.groupselector.js +++ b/resources/js/ext.translate.groupselector.js @@ -485,8 +485,12 @@ } ); $label = $( '<div>' ).addClass( 'seven columns label' ) - .text( messagegroup.label ) - .append( $statsbar ); + .append( + $( '<span>' ) + .prop( { dir: 'auto' } ) + .text( messagegroup.label ), + $statsbar + ); if ( messagegroup.icon && messagegroup.icon.raster ) { style += 'background-image: url(--);'; -- To view, visit https://gerrit.wikimedia.org/r/121956 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie03281c8aa9f34abcbb55edf3e544d32f5ec32ad Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il> Gerrit-Reviewer: Siebrand <siebr...@kitano.nl> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits