mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Sharing Redesign: Add missing i18n translation (#90775)
add i18n translations
This commit is contained in:
@@ -82,7 +82,12 @@ export default function ShareConfiguration() {
|
||||
control={control}
|
||||
name="isTimeSelectionEnabled"
|
||||
/>
|
||||
<Label description="Allow people to change time range">
|
||||
<Label
|
||||
description={t(
|
||||
'public-dashboard.configuration.enable-time-range-description',
|
||||
'Allow people to change time range'
|
||||
)}
|
||||
>
|
||||
<Trans i18nKey="public-dashboard.configuration.enable-time-range-label">Enable time range</Trans>
|
||||
</Label>
|
||||
</Stack>
|
||||
@@ -104,7 +109,13 @@ export default function ShareConfiguration() {
|
||||
control={control}
|
||||
name="isAnnotationsEnabled"
|
||||
/>
|
||||
<Label style={{ flex: 1 }} description="Present annotations on this Dashboard">
|
||||
<Label
|
||||
style={{ flex: 1 }}
|
||||
description={t(
|
||||
'public-dashboard.configuration.display-annotations-description',
|
||||
'Present annotations on this Dashboard'
|
||||
)}
|
||||
>
|
||||
<Trans i18nKey="public-dashboard.configuration.display-annotations-label">Display annotations</Trans>
|
||||
</Label>
|
||||
</Stack>
|
||||
|
||||
@@ -42,7 +42,7 @@ export function ShareDrawerConfirmAction({
|
||||
description={description}
|
||||
confirmButtonLabel={confirmButtonLabel}
|
||||
confirmButtonVariant="destructive"
|
||||
dismissButtonLabel="Cancel"
|
||||
dismissButtonLabel={t('share-drawer.confirm-action.cancel-button', 'Cancel')}
|
||||
dismissButtonVariant="secondary"
|
||||
justifyButtons="flex-start"
|
||||
onConfirm={onConfirm}
|
||||
|
||||
@@ -1627,7 +1627,9 @@
|
||||
"settings-title": "Settings"
|
||||
},
|
||||
"configuration": {
|
||||
"display-annotations-description": "Present annotations on this Dashboard",
|
||||
"display-annotations-label": "Display annotations",
|
||||
"enable-time-range-description": "Allow people to change time range",
|
||||
"enable-time-range-label": "Enable time range",
|
||||
"settings-label": "Settings",
|
||||
"success-pause": "Your dashboard access has been paused",
|
||||
@@ -1943,7 +1945,8 @@
|
||||
},
|
||||
"share-drawer": {
|
||||
"confirm-action": {
|
||||
"back-arrow-button": "Back button"
|
||||
"back-arrow-button": "Back button",
|
||||
"cancel-button": "Cancel"
|
||||
}
|
||||
},
|
||||
"share-modal": {
|
||||
|
||||
@@ -1627,7 +1627,9 @@
|
||||
"settings-title": "Ŝęŧŧįʼnģş"
|
||||
},
|
||||
"configuration": {
|
||||
"display-annotations-description": "Přęşęʼnŧ äʼnʼnőŧäŧįőʼnş őʼn ŧĥįş Đäşĥþőäřđ",
|
||||
"display-annotations-label": "Đįşpľäy äʼnʼnőŧäŧįőʼnş",
|
||||
"enable-time-range-description": "Åľľőŵ pęőpľę ŧő čĥäʼnģę ŧįmę řäʼnģę",
|
||||
"enable-time-range-label": "Ēʼnäþľę ŧįmę řäʼnģę",
|
||||
"settings-label": "Ŝęŧŧįʼnģş",
|
||||
"success-pause": "Ÿőūř đäşĥþőäřđ äččęşş ĥäş þęęʼn päūşęđ",
|
||||
@@ -1943,7 +1945,8 @@
|
||||
},
|
||||
"share-drawer": {
|
||||
"confirm-action": {
|
||||
"back-arrow-button": "ßäčĸ þūŧŧőʼn"
|
||||
"back-arrow-button": "ßäčĸ þūŧŧőʼn",
|
||||
"cancel-button": "Cäʼnčęľ"
|
||||
}
|
||||
},
|
||||
"share-modal": {
|
||||
|
||||
Reference in New Issue
Block a user