Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/locales/en/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
"Component(s)": "Component(s)",
"Alert": "Alert",
"Incidents": "Incidents",
"Clear all filters": "Clear all filters",
"Filter type selection": "Filter type selection",
"Incident ID": "Incident ID",
"Severity filters": "Severity filters",
Expand Down
1 change: 1 addition & 0 deletions web/locales/es/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"Component(s)": "Componente(s)",
"Alert": "Alerta",
"Incidents": "Incidentes",
"Clear all filters": "Borrar todos los filtros",
"Filter type selection": "Selección de tipo de filtro",
"Incident ID": "ID del incidente",
"Severity filters": "Filtros de gravedad",
Expand Down
1 change: 1 addition & 0 deletions web/locales/fr/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"Component(s)": "Composant(s)",
"Alert": "Alerte",
"Incidents": "Incidents",
"Clear all filters": "Effacer tous les filtres",
"Filter type selection": "Sélection de type de filtre",
"Incident ID": "ID Incident",
"Severity filters": "Flitres de sévérité",
Expand Down
1 change: 1 addition & 0 deletions web/locales/ja/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"Component(s)": "コンポーネント",
"Alert": "アラート",
"Incidents": "インシデント",
"Clear all filters": "すべてのフィルターをクリア",
"Filter type selection": "フィルタータイプの選択",
"Incident ID": "インシデント ID",
"Severity filters": "重大度フィルター",
Expand Down
1 change: 1 addition & 0 deletions web/locales/ko/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"Component(s)": "구성 요소",
"Alert": "알림",
"Incidents": "인시던트",
"Clear all filters": "필터 모두 지우기",
"Filter type selection": "필터 유형 선택",
"Incident ID": "인시던트 ID",
"Severity filters": "심각도 필터",
Expand Down
1 change: 1 addition & 0 deletions web/locales/zh/plugin__monitoring-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@
"Component(s)": "组件",
"Alert": "警报",
"Incidents": "事件",
"Clear all filters": "清除所有过滤器",
"Filter type selection": "过滤类型选择",
"Incident ID": "事件 ID",
"Severity filters": "严重性过滤",
Expand Down
1 change: 1 addition & 0 deletions web/src/components/Incidents/IncidentsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ const IncidentsPage = () => {
id="toolbar-with-filter"
data-test={DataTestIDs.IncidentsPage.Toolbar}
collapseListedFiltersBreakpoint="xl"
clearFiltersButtonText={t('Clear all filters')}
clearAllFilters={() => {
closeDropDownFilters();
dispatch(
Expand Down
8 changes: 2 additions & 6 deletions web/src/components/console/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,29 +65,25 @@ export const NodeModel = {
export const NamespaceModel: K8sModel = {
apiVersion: 'v1',
label: 'Namespace',
// t('Namespace')
labelKey: 'public~Namespace',
labelKey: `${process.env.I18N_NAMESPACE}~Namespace`,
plural: 'namespaces',
abbr: 'NS',
kind: 'Namespace',
id: 'namespace',
labelPlural: 'Namespaces',
// t('Namespaces')
labelPluralKey: 'public~Namespaces',
};

export const ProjectModel: K8sModel = {
apiVersion: 'v1',
apiGroup: 'project.openshift.io',
label: 'Project',
// t('Project')
labelKey: 'public~Project',
labelKey: `${process.env.I18N_NAMESPACE}~Project`,
plural: 'projects',
abbr: 'PR',
kind: 'Project',
id: 'project',
labelPlural: 'Projects',
// t('Projects')
labelPluralKey: 'public~Projects',
};

Expand Down