New changes:
491d279 Change document order of tools and actions to fix floating
25840d5 Add lang and dir attributes to the accelerator element
8a87ddf build: Update various devDependencies to latest
b0de093 Fixed RuboCop Style/AndOr offense
577ed71 Fixed RuboCop Style/AsciiComments offense
565251b Fixed RuboCop Style/EmptyLineBetweenDefs offence
328710e Fixed RuboCop Style/EmptyLines offense
f2a1811 Fixed RuboCop Style/NegatedIf offense
51e041a Fixed RuboCop Style/SignalException offense
6b3bc5c Fixed RuboCop Style/SpaceAroundEqualsInParameterDefault offense
9224811 Fixed RuboCop Style/NilComparison offense
6ff2b19 Fixed RuboCop Style/SpaceAfterComma offense
22c86e2 Fixed RuboCop Style/TrailingBlankLines offense
33fc646 Consistently use @return annotation
709546c Localisation updates from https://translatewiki.net.
6e6dfae build: Clean up fileExists config
Change-Id: I528111c92b89e0302d679ed817a98671035cd8aa
},
"ooui-outline-control-move-down": "Pindahkan butir ke bawah",
"ooui-outline-control-move-up": "Pindahkan butir ke atas",
- "ooui-toolbar-more": "Lainnya"
+ "ooui-outline-control-remove": "Hapus butir",
+ "ooui-toolbar-more": "Lainnya",
+ "ooui-toolgroup-expand": "Selengkapnya",
+ "ooui-toolgroup-collapse": "Secukupnya",
+ "ooui-dialog-message-accept": "Oke",
+ "ooui-dialog-message-reject": "Batal",
+ "ooui-dialog-process-error": "Ada yang tidak beres",
+ "ooui-dialog-process-dismiss": "Tutup",
+ "ooui-dialog-process-retry": "Coba lagi",
+ "ooui-dialog-process-continue": "Lanjutkan"
}
"ooui-outline-control-move-up": "Flytt opp",
"ooui-outline-control-remove": "Fjern element",
"ooui-toolbar-more": "Mer",
+ "ooui-toolgroup-expand": "Mer",
+ "ooui-toolgroup-collapse": "Mindre",
"ooui-dialog-message-accept": "OK",
"ooui-dialog-message-reject": "Avbryt",
"ooui-dialog-process-error": "Noe gikk galt",
"ooui-dialog-process-dismiss": "Lukk",
- "ooui-dialog-process-retry": "Prøv igjen"
+ "ooui-dialog-process-retry": "Prøv igjen",
+ "ooui-dialog-process-continue": "Fortsett"
}
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:34Z
+ * Date: 2014-11-19T23:18:57Z
*/
.oo-ui-progressBarWidget-slide-frames from {
margin-left: -40%;
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:27Z
+ * Date: 2014-11-19T23:18:49Z
*/
/* Instantiation */
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:34Z
+ * Date: 2014-11-19T23:18:57Z
*/
.oo-ui-progressBarWidget-slide-frames from {
margin-left: -40%;
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:34Z
+ * Date: 2014-11-19T23:18:57Z
*/
.oo-ui-progressBarWidget-slide-frames from {
margin-left: -40%;
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:27Z
+ * Date: 2014-11-19T23:18:49Z
*/
/**
* @class
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:34Z
+ * Date: 2014-11-19T23:18:57Z
*/
.oo-ui-progressBarWidget-slide-frames from {
margin-left: -40%;
/*!
- * OOjs UI v0.1.0-pre (f1abca8e82)
+ * OOjs UI v0.1.0-pre (7922a50558)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: 2014-11-17T23:49:27Z
+ * Date: 2014-11-19T23:18:49Z
*/
( function ( OO ) {
* @param {HTMLElement|HTMLElement[]} containers Container node(s) to search in
* @param {HTMLElement} contained Node to find
* @param {boolean} [matchContainers] Include the container(s) in the list of nodes to match, otherwise only match descendents
- * @returns {boolean} The node is in the list of target nodes
+ * @return {boolean} The node is in the list of target nodes
*/
OO.ui.contains = function ( containers, contained, matchContainers ) {
var i;
// Initialization
this.$titleText.addClass( 'oo-ui-tool-title-text' );
- this.$accel.addClass( 'oo-ui-tool-accel' );
+ this.$accel
+ .addClass( 'oo-ui-tool-accel' )
+ .prop( {
+ // This may need to be changed if the key names are ever localized,
+ // but for now they are essentially written in English
+ dir: 'ltr',
+ lang: 'en'
+ } );
this.$title
.addClass( 'oo-ui-tool-title' )
.append( this.$titleText, this.$accel );
// Initialization
this.$group.addClass( 'oo-ui-toolbar-tools' );
- this.$bar.addClass( 'oo-ui-toolbar-bar' ).append( this.$group );
if ( config.actions ) {
- this.$actions.addClass( 'oo-ui-toolbar-actions' );
- this.$bar.append( this.$actions );
+ this.$bar.append( this.$actions.addClass( 'oo-ui-toolbar-actions' ) );
}
- this.$bar.append( '<div style="clear:both"></div>' );
+ this.$bar.append( this.$group, '<div style="clear:both"></div>' );
if ( config.shadow ) {
this.$bar.append( '<div class="oo-ui-toolbar-shadow"></div>' );
}