Roo/bootstrap/MessageBox.js
authorleon <leon@roojs.com>
Wed, 19 Jul 2023 07:42:09 +0000 (15:42 +0800)
committerleon <leon@roojs.com>
Wed, 19 Jul 2023 07:42:09 +0000 (15:42 +0800)
Roo/bootstrap/MessageBox.js

index 4192005..e70bef7 100644 (file)
@@ -542,22 +542,16 @@ Roo.Msg.show({
          * for setting a different minimum width than text-only dialogs may need (defaults to 250)
          * @type Number
          */
-        minProgressWidth : 250,
-        /**
-         * An object containing the default button text strings that can be overriden for localized language support.
-         * Supported properties are: ok, cancel, yes and no.
-         * Customize the default text like so: Roo.MessageBox.buttonText.yes = "S?";
-         * @type Object
-         */
-        buttonText : {
-            ok : "OK",
-            cancel : "Cancel",
-            yes : "Yes",
-            no : "No"
-        }
+        minProgressWidth : 250
     };
 }();
 
+/**
+ * An object containing the default button text strings that can be overriden for localized language support.
+ * Supported properties are: ok, cancel, yes and no.
+ * Customize the default text like so: Roo.MessageBox.buttonText.yes = "S?";
+ * @type Object
+ */
 Roo.bootstrap.MessageBox.buttonText = {
     ok : "OK",
     cancel : "Cancel",