Update OOjs UI to v0.1.0-pre (6379e76bf5)
authorJames D. Forrester <jforrester@wikimedia.org>
Tue, 3 Jun 2014 00:52:08 +0000 (17:52 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Tue, 3 Jun 2014 00:52:08 +0000 (17:52 -0700)
New changes:
f55ab55 Localisation updates from https://translatewiki.net.
6379e76 Followup 205fa98a8dd3460a: move away from isResolved()/isRejected()

Change-Id: I54fcf6fed97d95358c606a82a6e444f03f9247ad

resources/lib/oojs-ui/i18n/ia.json
resources/lib/oojs-ui/oojs-ui.js
resources/lib/oojs-ui/oojs-ui.svg.css

index de54b47..bdd8fdf 100644 (file)
@@ -4,5 +4,12 @@
                        "McDutchie"
                ]
        },
-       "ooui-dialog-action-close": "Clauder"
+       "ooui-dialog-action-close": "Clauder",
+       "ooui-outline-control-move-down": "Displaciar elemento in basso",
+       "ooui-outline-control-move-up": "Displaciar elemento in alto",
+       "ooui-outline-control-remove": "Remover elemento",
+       "ooui-toolbar-more": "Plus",
+       "ooui-dialog-confirm-title": "Confirmation",
+       "ooui-dialog-confirm-default-prompt": "Es tu secur?",
+       "ooui-dialog-confirm-default-cancel": "Cancellar"
 }
index 6fc0376..cf680f5 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (527ad0ee5a)
+ * OOjs UI v0.1.0-pre (6379e76bf5)
  * 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: Mon Jun 02 2014 12:15:09 GMT-0700 (PDT)
+ * Date: Mon Jun 02 2014 17:52:03 GMT-0700 (PDT)
  */
 ( function ( OO ) {
 
@@ -1081,7 +1081,7 @@ OO.ui.Window.prototype.isVisible = function () {
  * @return {boolean} Window is opening
  */
 OO.ui.Window.prototype.isOpening = function () {
-       return !!this.opening && !this.opening.isResolved();
+       return !!this.opening && this.opening.state() !== 'resolved';
 };
 
 /**
@@ -1090,7 +1090,7 @@ OO.ui.Window.prototype.isOpening = function () {
  * @return {boolean} Window is closing
  */
 OO.ui.Window.prototype.isClosing = function () {
-       return !!this.closing && !this.closing.isResolved();
+       return !!this.closing && this.closing.state() !== 'resolved';
 };
 
 /**
@@ -1099,7 +1099,7 @@ OO.ui.Window.prototype.isClosing = function () {
  * @return {boolean} Window is opened
  */
 OO.ui.Window.prototype.isOpened = function () {
-       return !!this.opened && !this.opened.isResolved();
+       return !!this.opened && this.opened.state() !== 'resolved';
 };
 
 /**
@@ -1383,7 +1383,7 @@ OO.ui.Window.prototype.close = function ( data ) {
        this.emit( 'closing', data );
        this.getTeardownProcess( data ).execute().done( OO.ui.bind( function () {
                // To do something different with #opened, resolve/reject #opened in the teardown process
-               if ( !this.opened.isResolved() && !this.opened.isRejected() ) {
+               if ( this.opened.state() === 'pending' ) {
                        this.opened.resolve();
                }
                this.emit( 'close', data );
index ef410a3..f50be30 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (527ad0ee5a)
+ * OOjs UI v0.1.0-pre (6379e76bf5)
  * 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: Mon Jun 02 2014 12:15:09 GMT-0700 (PDT)
+ * Date: Mon Jun 02 2014 17:52:03 GMT-0700 (PDT)
  */
 
 /* Textures */