diff --git a/i18n/messages-en.xtb b/i18n/messages-en.xtb index a837df3d7919bc6eef3b88baa64fb0ecbfbf4663..0d82d105b6cd7ab6560799c813dc9527af932c54 100644 --- a/i18n/messages-en.xtb +++ b/i18n/messages-en.xtb @@ -67,6 +67,8 @@ Processes in privileged containers are equivalent to processes running as root on the host. Environment variables available for use in the container. Values can reference other variables using $(VAR_NAME) syntax. Number of pods must be a positive integer + This pod has errors. + This pod is in a pending state. Deploy a Containerized App Specify app details below Upload a YAML or JSON file diff --git a/i18n/messages-ja.xtb b/i18n/messages-ja.xtb index a3d8ba12ecd4475a66c56be344b8ba13e4b3c735..7bec982c27ce5be6a095c6c770eeeca2dcd55370 100644 --- a/i18n/messages-ja.xtb +++ b/i18n/messages-ja.xtb @@ -67,6 +67,8 @@ Processes in privileged containers are equivalent to processes running as root on the host. Environment variables available for use in the container. Values can reference other variables using $(VAR_NAME) syntax. Number of pods must be a positive integer + This pod has errors. + This pod is in a pending state. Deploy a Containerized App Specify app details below Upload a YAML or JSON file diff --git a/src/app/frontend/podlist/podcardlist.html b/src/app/frontend/podlist/podcardlist.html index 554d5a5703a7374f72d1021e9b2fe09fe233c801..5883db1c71ef481a2a0fcd20e3fb11080fe5c308 100644 --- a/src/app/frontend/podlist/podcardlist.html +++ b/src/app/frontend/podlist/podcardlist.html @@ -31,6 +31,19 @@ limitations under the License. + + + error + {{::$ctrl.i18n.MSG_POD_IS_FAILED_TOOLTIP}} + + + timelapse + {{::$ctrl.i18n.MSG_POD_IS_PENDING_TOOLTIP}} + + + beenhere + +
diff --git a/src/app/frontend/podlist/podcardlist_component.js b/src/app/frontend/podlist/podcardlist_component.js index 590c94e63c7b5e15f2994fdefba20ed9fb5d552c..85ef990a56b4e69d711d7f5d63bf7eaacb9d74dc 100644 --- a/src/app/frontend/podlist/podcardlist_component.js +++ b/src/app/frontend/podlist/podcardlist_component.js @@ -38,6 +38,11 @@ export class PodCardListController { /** @private {!ui.router.$state} */ this.state_ = $state; + + /** + * @export + */ + this.i18n = i18n; } /** @@ -77,3 +82,11 @@ export const podCardListComponent = { 'withStatuses': '<', }, }; + +const i18n = { + /** @export {string} @desc tooltip for failed pod card icon */ + MSG_POD_IS_FAILED_TOOLTIP: goog.getMsg('This pod has errors.'), + + /** @export {string} @desc tooltip for pending pod card icon */ + MSG_POD_IS_PENDING_TOOLTIP: goog.getMsg('This pod is in a pending state.'), +}; diff --git a/src/app/frontend/podlist/podlist.html b/src/app/frontend/podlist/podlist.html index 7f8529c85fac66463fd599c44f4c69d31df7ecd0..8350f2120d913089e735af82deeab666e4b73778 100644 --- a/src/app/frontend/podlist/podlist.html +++ b/src/app/frontend/podlist/podlist.html @@ -15,7 +15,7 @@ limitations under the License. --> - + diff --git a/src/app/frontend/replicasetdetail/replicasetdetail.html b/src/app/frontend/replicasetdetail/replicasetdetail.html index 7ab6e38b5bdb6d2cc6d2c6957078de019fba327e..7a73a5abb2500c3996f0f8e0614b76b5c20ee6ae 100644 --- a/src/app/frontend/replicasetdetail/replicasetdetail.html +++ b/src/app/frontend/replicasetdetail/replicasetdetail.html @@ -24,7 +24,7 @@ limitations under the License. Pods + logs-href-fn="::ctrl.getPodLogsHref(pod)" with-statuses="true"> diff --git a/src/app/frontend/replicationcontrollerdetail/replicationcontrollerdetail.html b/src/app/frontend/replicationcontrollerdetail/replicationcontrollerdetail.html index 51d9017c4e4ef76b4325a2cdbb15856d8076dce0..65f508f3a0d36d4430f926c5fed735a7093a962c 100644 --- a/src/app/frontend/replicationcontrollerdetail/replicationcontrollerdetail.html +++ b/src/app/frontend/replicationcontrollerdetail/replicationcontrollerdetail.html @@ -34,7 +34,7 @@ limitations under the License. Pods + logs-href-fn="::ctrl.getPodLogsHref(pod)" with-statuses="true"> diff --git a/src/app/frontend/servicedetail/servicedetail.html b/src/app/frontend/servicedetail/servicedetail.html index d21ceea5ebf715b8ce01a4e18f0191e6e4f0d948..2889bd6638093c9af8ecdc8c78ba0f5375210201 100644 --- a/src/app/frontend/servicedetail/servicedetail.html +++ b/src/app/frontend/servicedetail/servicedetail.html @@ -19,6 +19,6 @@ limitations under the License. Pods - + diff --git a/src/app/frontend/workloads/workloads.html b/src/app/frontend/workloads/workloads.html index 308b7ca81a382a9ef29bfee600eeb084e89e4084..c0c14819f853bc9ba19d229af3256ec859bc37f5 100644 --- a/src/app/frontend/workloads/workloads.html +++ b/src/app/frontend/workloads/workloads.html @@ -70,7 +70,7 @@ limitations under the License. - +