@@ -551,7 +551,7 @@ export default defineComponent({
{ key: "anomaly-alerting", label: alertForm.t("alerts.alerting") || "Alerting", required: alertForm.anomalyConfig.value.alert_enabled },
]
: [
- { key: "condition", label: "Alert Rules", required: true },
+ { key: "condition", label: alertForm.t("alerts.alertRules"), required: true },
{ key: "advanced", label: alertForm.t("alerts.steps.advanced") },
];
return tabs.filter((tab: any) => (tab as any).show !== false);
diff --git a/web/src/components/alerts/AlertList.vue b/web/src/components/alerts/AlertList.vue
index b9d9506aa1..c5593c86ad 100644
--- a/web/src/components/alerts/AlertList.vue
+++ b/web/src/components/alerts/AlertList.vue
@@ -29,7 +29,7 @@ along with this program. If not, see .
-
+ .
icon-left="folder-outline"
data-test="alert-list-search-scope-current"
title="Search only this folder"
- >This folder
+ >{{ t('alerts.searchThisFolder') }}
All folders
+ >{{ t('alerts.searchAllFolders') }}
@@ -421,9 +421,7 @@ along with this program. If not, see .
class="tw:text-sm"
data-test="alert-list-create-template-text"
>
- It looks like you haven't created any Templates yet.
- To create an Alert, you'll need to have at least one
- Destination and one Template in place
+ {{ t('alerts.noTemplatesMsg') }}
- It looks like you haven't created any Destinations
- yet. To create an Alert, you'll need to have at least
- one Destination and one Template in place
+ {{ t('alerts.noDestinationsMsg') }}
- is
+ {{ t('alerts.conditionIs') }}
@@ -270,7 +270,7 @@ along with this program. If not, see .
:error-message="triggerThresholdError"
@update:model-value="triggerThresholdError = ''; onTriggerThresholdChange($event)"
/>
- matching metrics found
+ {{ t('alerts.matchingMetricsFound') }}
@@ -369,7 +369,7 @@ along with this program. If not, see .
Check every *
-
+
@@ -568,7 +568,7 @@ along with this program. If not, see .
@@ -758,7 +758,7 @@ along with this program. If not, see .
- Alert if No. of events *
+ {{ t('alerts.alertIfNoOfEvents') }} *
.
- Alert if the value is *
+ {{ t('alerts.alertIfValueIs') }} *
@@ -815,7 +815,7 @@ along with this program. If not, see .
- Having series *
+ {{ t('alerts.havingSeries') }} *
@@ -871,7 +871,7 @@ along with this program. If not, see .
- + Add
+ + {{ t('common.add') }}
({
useI18n: () => ({
t: vi.fn((key: string) => {
const translations: Record = {
+ "dashboard.newVariable": "Add Variable",
+ "dashboard.editVariable": "Edit Variable",
"dashboard.typeOfVariable": "Type of Variable",
"dashboard.nameOfVariable": "Name of Variable",
"dashboard.labelOfVariable": "Label of Variable",
diff --git a/web/src/components/dashboards/settings/AddSettingVariable.vue b/web/src/components/dashboards/settings/AddSettingVariable.vue
index 3462c9b511..57e312b34b 100644
--- a/web/src/components/dashboards/settings/AddSettingVariable.vue
+++ b/web/src/components/dashboards/settings/AddSettingVariable.vue
@@ -30,10 +30,10 @@ along with this program. If not, see .
@@ -160,8 +160,7 @@ along with this program. If not, see .
- Select a stream or use a variable like $streamVariable
- to dynamically choose the stream based on another value.
+ {{ t('dashboard.streamSelectTooltip') }}
@@ -184,9 +183,7 @@ along with this program. If not, see .
- Select a field or use a variable like $fieldVariable. If
- stream uses a variable, field list will be empty - type
- field name manually.
+ {{ t('dashboard.fieldSelectTooltip') }}
@@ -220,9 +217,7 @@ along with this program. If not, see .
class="tw:cursor-help"
/>
- In filters, you can use the value of another variable to
- filter the current variable's value. This can be done by
- using the other variable's name. For example:
+ {{ t('dashboard.filterInfoTooltip') }}
$variableName.
@@ -252,7 +247,7 @@ along with this program. If not, see .
>
No Data Found{{ t('dashboard.noDataFound') }}
@@ -318,7 +313,7 @@ along with this program. If not, see .
data-test="dashboard-add-filter-btn"
icon-left="add"
>
- Add Filter
+ {{ t('dashboard.addFilter') }}
@@ -350,10 +345,10 @@ along with this program. If not, see .
- Label
+ {{ t('common.label') }}
- Value
+ {{ t('common.value') }}
Default
@@ -364,7 +359,7 @@ along with this program. If not, see .
@click="onCustomSelectAllClick"
>
@@ -419,7 +414,7 @@ along with this program. If not, see .
data-test="dashboard-add-option-btn"
icon-left="add"
>
- Add Option
+ {{ t('dashboard.addOption') }}
@@ -439,7 +434,7 @@ along with this program. If not, see .
@@ -537,9 +532,7 @@ along with this program. If not, see .
- If enabled, single quotes will be escaped in the query. For
- example, a value like `O'Reilly` will be replaced as
- `O''Reilly`.
+ {{ t('dashboard.escapeSingleQuotesTooltip') }}
@@ -561,7 +554,7 @@ along with this program. If not, see .
:loading="saveVariableApiCall.isLoading.value"
@click="addVariableForm?.submit()"
data-test="dashboard-variable-save-btn"
- >Save{{ t("dashboard.save") }}
@@ -63,7 +63,7 @@
class="tw:py-3 tw:px-2 tw:text-[12px] tw:opacity-50"
data-test="associated-regex-patterns-applied-patterns-table"
>
- No data available
+ {{ t('regex_patterns.no_data_available') }}
@@ -123,13 +123,12 @@
No Patterns Applied Yet{{ t('regex_patterns.no_patterns_applied_title') }}
Browse the pattern library to begin applying regular expressions
- to your fields.{{ t('regex_patterns.no_patterns_applied_subtitle') }}