"ooui-dialog-action-close": "Zavřít",
"ooui-outline-control-move-down": "Přesunout položku dolů",
"ooui-outline-control-move-up": "Přesunout položku nahoru",
+ "ooui-outline-control-remove": "Odstranit položku",
"ooui-toolbar-more": "Další"
}
\ No newline at end of file
/*!
- * OOjs UI v0.1.0-pre (46ccd5b3a7)
+ * OOjs UI v0.1.0-pre (ac0cc69508)
* 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: Wed Mar 12 2014 17:44:18 GMT-0700 (PDT)
+ * Date: Thu Mar 13 2014 17:11:12 GMT-0700 (PDT)
*/
( function () {
* @param {jQuery} $label Label node, assigned to #$label
* @param {Object} [config] Configuration options
* @cfg {jQuery|string|Function} [label] Label nodes, text or a function that returns nodes or text
+ * @cfg {boolean} [autoFitLabel=true] Whether to fit the label or not.
*/
OO.ui.LabeledElement = function OoUiLabeledElement( $label, config ) {
// Config intialization
// Initialization
this.$label.addClass( 'oo-ui-labeledElement-label' );
this.setLabel( config.label || this.constructor.static.label );
+ this.autoFitLabel = config.autoFitLabel === undefined || !!config.autoFitLabel;
};
/* Static Properties */
* @chainable
*/
OO.ui.LabeledElement.prototype.fitLabel = function () {
- if ( this.$label.autoEllipsis ) {
+ if ( this.$label.autoEllipsis && this.autoFitLabel ) {
this.$label.autoEllipsis( { 'hasSpan': false, 'tooltip': true } );
}
return this;
/*!
- * OOjs UI v0.1.0-pre (46ccd5b3a7)
+ * OOjs UI v0.1.0-pre (ac0cc69508)
* 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: Wed Mar 12 2014 17:44:18 GMT-0700 (PDT)
+ * Date: Thu Mar 13 2014 17:11:12 GMT-0700 (PDT)
*/
/* Textures */