Chore: fix translations missing keys (#104314)

fix translations missing keys
This commit is contained in:
Ashley Harrison
2025-04-22 17:51:32 +01:00
committed by GitHub
parent b8b7d7c205
commit e42cca9527
5 changed files with 17 additions and 17 deletions
@@ -269,7 +269,10 @@ export const ExpressionResult: FC<ExpressionResultProps> = ({ series, isAlertCon
/>
<Spacer />
<span className={styles.mutedText}>
<Trans i18nKey="" values={{ pageStart, pageEnd, numPages: series.length }}>
<Trans
i18nKey="alerting.expression-result.page-counter"
values={{ pageStart, pageEnd, numPages: series.length }}
>
{'{{pageStart}}'} - {'{{pageEnd}}'} of {'{{numPages}}'}
</Trans>
</span>
@@ -116,7 +116,7 @@ export const TracePageHeader = memo((props: TracePageHeaderProps) => {
<>
<div>
<Trans
i18nKey=""
i18nKey="explore.trace-page-header.tooltip-url"
values={{
url: 'http.url',
target: 'http.target',
@@ -43,7 +43,7 @@ export const Math = ({ labelWidth, onChange, query, onRunQuery }: Props) => {
<div className={styles.documentationContainer}>
<div>
<Trans
i18nKey=""
i18nKey="expressions.math.run-math-operations"
values={{
refExample: '${refId}',
ref1: '$A',
@@ -33,7 +33,10 @@ export const TokenRevokedModal = (props: Props) => {
>
<div className={styles.text}>
<p>
<Trans i18nKey="" values={{ numSessions: showMaxConcurrentSessions ? props.maxConcurrentSessions : '' }}>
<Trans
i18nKey="users.token-revoked-modal.auto-revoked"
values={{ numSessions: showMaxConcurrentSessions ? props.maxConcurrentSessions : '' }}
>
Your session token was automatically revoked because you have reached{' '}
<strong>the maximum number of {'{{numSessions}}'} concurrent sessions</strong> for your account.
</Trans>
+7 -13
View File
@@ -1,7 +1,5 @@
{
"_comment": "The code is the source of truth for English phrases. They should be updated in the components directly, and additional plurals specified in this file.",
"{{pageStart}} - {{pageEnd}} of {{numPages}}": "{{pageStart}} - {{pageEnd}} of {{numPages}}",
"{{url}} or {{target}} or {{path}}": "{{url}} or {{target}} or {{path}}",
"access-control": {
"add-permission": {
"built-in-aria-label": "Built-in role picker",
@@ -970,7 +968,8 @@
"expression-result": {
"aria-label-nextpage": "next-page",
"aria-label-previouspage": "previous-page",
"no-data": "No data"
"no-data": "No data",
"page-counter": "{{pageStart}} - {{pageEnd}} of {{numPages}}"
},
"federated-rule-warning": {
"experimental": "Federated rule groups are currently an experimental feature.",
@@ -5001,7 +5000,8 @@
"title-share-thoughts-about-tracing-grafana": "Share your thoughts about tracing in Grafana."
},
"trace-page-header": {
"text-partial-trace": "Partial trace"
"text-partial-trace": "Partial trace",
"tooltip-url": "{{url}} or {{target}} or {{path}}"
},
"trace-page-search-bar": {
"aria-label-clear-filters": "Clear filters button",
@@ -5079,6 +5079,7 @@
},
"math": {
"available-math-functions": "Available math functions",
"run-math-operations": "Run math operations on one or more queries. You reference the query by {{refExample}} ie. {{ref1}}, {{ref2}}, {{ref3}}etc.<10></10>Example: <12>{{example}}</12>",
"tooltip-footer": "See our additional documentation on <2>Math expressions</2>.",
"tooltip-title": "Math operator",
"tooltip-trigger": "Expression"
@@ -7895,13 +7896,6 @@
"reload-button": "Reload",
"title": "Unable to find application file"
},
"Run math operations on one or more queries": {
" You reference the query by {{refExample}} ie": {
" {{ref1}}, {{ref2}}, {{ref3}}etc": {
"<10></10>Example: <12>{{example}}</12>": "Run math operations on one or more queries. You reference the query by {{refExample}} ie. {{ref1}}, {{ref2}}, {{ref3}}etc.<10></10>Example: <12>{{example}}</12>"
}
}
},
"sandbox": {
"test-stuff-page": {
"application-notifications-toasts-testing": "Application notifications (toasts) testing",
@@ -8889,6 +8883,7 @@
"message": "No users found"
},
"token-revoked-modal": {
"auto-revoked": "Your session token was automatically revoked because you have reached <2>the maximum number of {{numSessions}} concurrent sessions</2> for your account.",
"resume-message": "<0>To resume your session, sign in again.</0>Contact your administrator or visit the license page to review your quota if you are repeatedly signed out automatically.",
"sign-in": "Sign in",
"title-you-have-been-automatically-signed-out": "You have been automatically signed out"
@@ -9019,6 +9014,5 @@
"data-hover-view": {
"link": "Link"
}
},
"Your session token was automatically revoked because you have reached <2>the maximum number of {{numSessions}} concurrent sessions</2> for your account": "Your session token was automatically revoked because you have reached <2>the maximum number of {{numSessions}} concurrent sessions</2> for your account."
}
}