diff --git a/i18n/messages-en.xtb b/i18n/messages-en.xtb index b414149634c116a3ed1e60dbc9006b57fd79920e..4ccc52a33fcfa2b3c67be262267dea32b1ad7f05 100644 --- a/i18n/messages-en.xtb +++ b/i18n/messages-en.xtb @@ -514,4 +514,6 @@ - Status Ready + Ready + Number of replicas must be equal to or greater than zero \ No newline at end of file diff --git a/i18n/messages-ja.xtb b/i18n/messages-ja.xtb index 9d9162b26521946833aaa0a1927ded8945db9e93..0fcfc9e6512a5a91f84da1594f3591f5c86e9343 100644 --- a/i18n/messages-ja.xtb +++ b/i18n/messages-ja.xtb @@ -703,4 +703,6 @@ - Status Ready + Ready + Number of replicas must be equal to or greater than zero \ No newline at end of file diff --git a/src/app/frontend/replicationcontrollerdetail/updatereplicas.html b/src/app/frontend/replicationcontrollerdetail/updatereplicas.html index a260fbf843af9192cc0e59e07d0142522abb4bb7..83dd634e2a6a89800fadeb41144eefa70435159e 100644 --- a/src/app/frontend/replicationcontrollerdetail/updatereplicas.html +++ b/src/app/frontend/replicationcontrollerdetail/updatereplicas.html @@ -26,7 +26,7 @@ limitations under the License.
- {{::ctrl.i18n.MSG_RC_DETAIL_NUMBER_OF_PODS_REQUIRED_WARNING}} diff --git a/src/app/frontend/replicationcontrollerdetail/updatereplicas_controller.js b/src/app/frontend/replicationcontrollerdetail/updatereplicas_controller.js index 2d38b84be78c45549aa27769732f5f9db7c16657..9cd1d9179fa9f821800e61e978d68d6c3897706c 100644 --- a/src/app/frontend/replicationcontrollerdetail/updatereplicas_controller.js +++ b/src/app/frontend/replicationcontrollerdetail/updatereplicas_controller.js @@ -146,7 +146,8 @@ function i18n(replicationController, currentPods, desiredPods) { MSG_RC_DETAIL_NUMBER_OF_PODS_REQUIRED_WARNING: goog.getMsg('Number of pods is required'), /** @export {string} @desc This warning appears when the specified pods count on the "update number of pods" dialog is not positive or non-integer.*/ - MSG_RC_DETAIL_NUMBER_OF_PODS_INTEGER_WARNING: goog.getMsg('Must be a positive integer'), + MSG_RC_DETAIL_NUMBER_OF_PODS_INTEGER_WARNING: + goog.getMsg('Number of replicas must be equal to or greater than zero'), /** @export {string} @desc This warning appears when the specified pods count (on the "update number of pods" dialog) is very high. */ MSG_RC_DETAIL_NUMBER_OF_PODS_HIGH_WARNING: goog.getMsg(