From 42e92665f3e755063dd219af6f05eb2655143980 Mon Sep 17 00:00:00 2001 From: eledobleefe Date: Fri, 22 Jul 2022 13:01:57 +0200 Subject: [PATCH] Internationalisation: Translate the Share modal (#52457) --- .../components/ShareModal/ShareExport.tsx | 25 ++- .../components/ShareModal/ShareLink.tsx | 115 +++++++++---- .../components/ShareModal/ShareSnapshot.tsx | 106 ++++++++---- public/locales/en/messages.po | 152 +++++++++++++++++- public/locales/es/messages.po | 148 +++++++++++++++++ public/locales/fr/messages.po | 148 +++++++++++++++++ public/locales/pseudo-LOCALE/messages.po | 152 +++++++++++++++++- 7 files changed, 779 insertions(+), 67 deletions(-) diff --git a/public/app/features/dashboard/components/ShareModal/ShareExport.tsx b/public/app/features/dashboard/components/ShareModal/ShareExport.tsx index 08cd2cac449..c8699cd1e4a 100644 --- a/public/app/features/dashboard/components/ShareModal/ShareExport.tsx +++ b/public/app/features/dashboard/components/ShareModal/ShareExport.tsx @@ -1,3 +1,4 @@ +import { Trans, t } from '@lingui/macro'; import { saveAs } from 'file-saver'; import React, { PureComponent } from 'react'; @@ -134,26 +135,38 @@ export class ShareExport extends PureComponent { const { shareExternally } = this.state; const { trimDefaults } = this.state; + const exportExternallyTranslation = t({ + id: 'share-modal.export.share-externally-label', + message: `Export for sharing externally`, + }); + + const exportDefaultTranslation = t({ + id: 'share-modal.export.share-default-label', + message: `Export with default values removed`, + }); + return ( <> -

Export this dashboard.

- +

+ Export this dashboard. +

+ {config.featureToggles.trimDefaults && ( - + )} diff --git a/public/app/features/dashboard/components/ShareModal/ShareLink.tsx b/public/app/features/dashboard/components/ShareModal/ShareLink.tsx index 2ff44201988..3d42eb4065f 100644 --- a/public/app/features/dashboard/components/ShareModal/ShareLink.tsx +++ b/public/app/features/dashboard/components/ShareModal/ShareLink.tsx @@ -1,3 +1,4 @@ +import { Trans, t } from '@lingui/macro'; import React, { PureComponent } from 'react'; import { SelectableValue } from '@grafana/data'; @@ -9,12 +10,6 @@ import config from 'app/core/config'; import { ShareModalTabProps } from './types'; import { buildImageUrl, buildShareUrl } from './utils'; -const themeOptions: Array> = [ - { label: 'Current', value: 'current' }, - { label: 'Dark', value: 'dark' }, - { label: 'Light', value: 'light' }, -]; - export interface Props extends ShareModalTabProps {} export interface State { @@ -86,37 +81,85 @@ export class ShareLink extends PureComponent { const selectors = e2eSelectors.pages.SharePanelModal; const isDashboardSaved = Boolean(dashboard.id); + const timeRangeLabelTranslation = t({ + id: 'share-modal.link.time-range-label', + message: `Lock time range`, + }); + + const timeRangeDescriptionTranslation = t({ + id: 'share-modal.link.time-range-description', + message: `Transforms the current relative time range to an absolute time range`, + }); + + const shortenURLTranslation = t({ + id: 'share-modal.link.shorten-url', + message: `Shorten URL`, + }); + + const linkURLTranslation = t({ + id: 'share-modal.link.link-url', + message: `Link URL`, + }); + + const themeOptions: Array> = [ + { + label: t({ + id: 'share-modal.link.theme-current', + message: `Current`, + }), + value: 'current', + }, + { + label: t({ + id: 'share-modal.link.theme-dark', + message: `Dark`, + }), + value: 'dark', + }, + { + label: t({ + id: 'share-modal.link.theme-light', + message: `Light`, + }), + value: 'light', + }, + ]; + return ( <>

- Create a direct link to this dashboard or panel, customized with the options below. + + Create a direct link to this dashboard or panel, customized with the options below. +

- + - + - + - + - Copy + Copy } /> @@ -128,31 +171,45 @@ export class ShareLink extends PureComponent { {isDashboardSaved && ( )} {!isDashboardSaved && ( - - To render a panel image, you must save the dashboard first. + + + To render a panel image, you must save the dashboard first. + )} )} {panel && !config.rendererAvailable && ( - - <>To render a panel image, you must install the - - Grafana image renderer plugin - - . Please contact your Grafana administrator to install the plugin. + + + To render a panel image, you must install the  + + Grafana image renderer plugin + + . Please contact your Grafana administrator to install the plugin. + )} diff --git a/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx b/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx index e8416c5b565..70d43cccdaa 100644 --- a/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +++ b/public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx @@ -1,3 +1,4 @@ +import { Trans, t } from '@lingui/macro'; import React, { PureComponent } from 'react'; import { SelectableValue } from '@grafana/data'; @@ -12,13 +13,6 @@ import { ShareModalTabProps } from './types'; const snapshotApiUrl = '/api/snapshots'; -const expireOptions: Array> = [ - { label: 'Never', value: 0 }, - { label: '1 Hour', value: 60 * 60 }, - { label: '1 Day', value: 60 * 60 * 24 }, - { label: '7 Days', value: 60 * 60 * 24 * 7 }, -]; - interface Props extends ShareModalTabProps {} interface State { @@ -36,15 +30,46 @@ interface State { export class ShareSnapshot extends PureComponent { private dashboard: DashboardModel; + private expireOptions: Array>; constructor(props: Props) { super(props); this.dashboard = props.dashboard; + this.expireOptions = [ + { + label: t({ + id: 'share-modal.snapshot.expire-never', + message: `Never`, + }), + value: 0, + }, + { + label: t({ + id: 'share-modal.snapshot.expire-hour', + message: `1 Hour`, + }), + value: 60 * 60, + }, + { + label: t({ + id: 'share-modal.snapshot.expire-day', + message: `1 Day`, + }), + value: 60 * 60 * 24, + }, + { + label: t({ + id: 'share-modal.snapshot.expire-week', + message: `7 Days`, + }), + value: 60 * 60 * 24 * 7, + }, + ]; this.state = { isLoading: false, step: 1, - selectedExpireOption: expireOptions[0], - snapshotExpires: expireOptions[0].value, + selectedExpireOption: this.expireOptions[0], + snapshotExpires: this.expireOptions[0].value, snapshotName: props.dashboard.title, timeoutSeconds: 4, snapshotUrl: '', @@ -202,42 +227,63 @@ export class ShareSnapshot extends PureComponent { const { snapshotName, selectedExpireOption, timeoutSeconds, isLoading, sharingButtonText, externalEnabled } = this.state; + const snapshotNameTranslation = t({ + id: 'share-modal.snapshot.name', + message: `Snapshot name`, + }); + + const expireTranslation = t({ + id: 'share-modal.snapshot.expire', + message: `Expire`, + }); + + const timeoutTranslation = t({ + id: 'share-modal.snapshot.timeout', + message: `Timeout (seconds)`, + }); + + const timeoutDescriptionTranslation = t({ + id: 'share-modal.snapshot.timeout-description', + message: `You might need to configure the timeout value if it takes a long time to collect your dashboard + metrics.`, + }); + return ( <>

- A snapshot is an instant way to share an interactive dashboard publicly. When created, we strip sensitive - data like queries (metric, template, and annotation) and panel links, leaving only the visible metric data - and series names embedded in your dashboard. + + A snapshot is an instant way to share an interactive dashboard publicly. When created, we strip sensitive + data like queries (metric, template, and annotation) and panel links, leaving only the visible metric data + and series names embedded in your dashboard. +

- Keep in mind, your snapshot can be viewed by anyone that has the link and can access the URL. Share - wisely. + + Keep in mind, your snapshot can be viewed by anyone that has the link and can access the URL. + Share wisely. +

- + - + {externalEnabled && ( )} @@ -264,16 +310,16 @@ export class ShareSnapshot extends PureComponent { readOnly addonAfter={ - Copy + Copy } />
- Did you make a mistake?{' '} + Did you make a mistake?   - Delete snapshot. + Delete snapshot.
@@ -284,8 +330,10 @@ export class ShareSnapshot extends PureComponent { return (

- The snapshot has been deleted. If you have already accessed it once, then it might take up to an hour before - before it is removed from browser caches or CDN caches. + + The snapshot has been deleted. If you have already accessed it once, then it might take up to an hour before + before it is removed from browser caches or CDN caches. +

); diff --git a/public/locales/en/messages.po b/public/locales/en/messages.po index 412f1f56dc7..602471a0d4b 100644 --- a/public/locales/en/messages.po +++ b/public/locales/en/messages.po @@ -466,6 +466,156 @@ msgstr "Share" msgid "panel.header-menu.view" msgstr "View" +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.cancel-button" +msgstr "Cancel" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.info-text" +msgstr "Export this dashboard." + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.save-button" +msgstr "Save to file" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-default-label" +msgstr "Export with default values removed" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-externally-label" +msgstr "Export for sharing externally" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.view-button" +msgstr "View JSON" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.copy-link-button" +msgstr "Copy" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.info-text" +msgstr "Create a direct link to this dashboard or panel, customized with the options below." + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.link-url" +msgstr "Link URL" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-alert" +msgstr "Image renderer plugin not installed" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-instructions" +msgstr "To render a panel image, you must install theĀ <0>Grafana image renderer plugin. Please contact your Grafana administrator to install the plugin." + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.rendered-image" +msgstr "Direct link rendered image" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-alert" +msgstr "Dashboard is not saved" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-dashboard" +msgstr "To render a panel image, you must save the dashboard first." + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.shorten-url" +msgstr "Shorten URL" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme" +msgstr "Theme" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-current" +msgstr "Current" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-dark" +msgstr "Dark" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-light" +msgstr "Light" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-description" +msgstr "Transforms the current relative time range to an absolute time range" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-label" +msgstr "Lock time range" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.cancel-button" +msgstr "Cancel" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.copy-link-button" +msgstr "Copy" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.delete-button" +msgstr "Delete snapshot." + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.deleted-message" +msgstr "The snapshot has been deleted. If you have already accessed it once, then it might take up to an hour before before it is removed from browser caches or CDN caches." + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire" +msgstr "Expire" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-day" +msgstr "1 Day" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-hour" +msgstr "1 Hour" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-never" +msgstr "Never" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-week" +msgstr "7 Days" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-1" +msgstr "A snapshot is an instant way to share an interactive dashboard publicly. When created, we strip sensitive data like queries (metric, template, and annotation) and panel links, leaving only the visible metric data and series names embedded in your dashboard." + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-2" +msgstr "Keep in mind, your snapshot <0>can be viewed by anyone that has the link and can access the URL. Share wisely." + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.local-button" +msgstr "Local Snapshot" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.mistake-message" +msgstr "Did you make a mistake?" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.name" +msgstr "Snapshot name" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout" +msgstr "Timeout (seconds)" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout-description" +msgstr "" +"You might need to configure the timeout value if it takes a long time to collect your dashboard\n" +"metrics." + #: public/app/core/components/SharedPreferences/SharedPreferences.tsx msgid "shared-dashboard.fields.timezone-label" msgstr "Timezone" @@ -528,7 +678,7 @@ msgstr "Role" #: public/app/features/profile/UserOrganizations.tsx msgid "user-orgs.select-org-button" -msgstr "Select" +msgstr "Select organisation" #: public/app/features/profile/UserOrganizations.tsx msgid "user-orgs.title" diff --git a/public/locales/es/messages.po b/public/locales/es/messages.po index 8a5b3aa21c3..e3e6949af8a 100644 --- a/public/locales/es/messages.po +++ b/public/locales/es/messages.po @@ -466,6 +466,154 @@ msgstr "" msgid "panel.header-menu.view" msgstr "" +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.save-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-default-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-externally-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.view-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.link-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-instructions" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.rendered-image" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-dashboard" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.shorten-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-current" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-dark" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-light" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-description" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.delete-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.deleted-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-day" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-hour" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-never" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-week" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-1" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-2" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.local-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.mistake-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.name" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout-description" +msgstr "" + #: public/app/core/components/SharedPreferences/SharedPreferences.tsx msgid "shared-dashboard.fields.timezone-label" msgstr "" diff --git a/public/locales/fr/messages.po b/public/locales/fr/messages.po index c5a9ec003e9..aadb7cd12b4 100644 --- a/public/locales/fr/messages.po +++ b/public/locales/fr/messages.po @@ -466,6 +466,154 @@ msgstr "" msgid "panel.header-menu.view" msgstr "" +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.save-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-default-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-externally-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.view-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.link-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-instructions" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.rendered-image" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-dashboard" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.shorten-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-current" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-dark" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-light" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-description" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.delete-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.deleted-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-day" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-hour" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-never" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-week" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-1" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-2" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.local-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.mistake-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.name" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout-description" +msgstr "" + #: public/app/core/components/SharedPreferences/SharedPreferences.tsx msgid "shared-dashboard.fields.timezone-label" msgstr "" diff --git a/public/locales/pseudo-LOCALE/messages.po b/public/locales/pseudo-LOCALE/messages.po index 8f0b6b214ec..67a97dfb428 100644 --- a/public/locales/pseudo-LOCALE/messages.po +++ b/public/locales/pseudo-LOCALE/messages.po @@ -432,11 +432,11 @@ msgstr "" #: public/app/core/components/NavBar/navBarItem-translations.ts msgid "nav.users" -msgstr "" +msgstr "<<<<<<< HEAD" #: public/app/core/navigation/kiosk.ts msgid "navigation.kiosk.tv-alert" -msgstr "" +msgstr ">>>>>>> main" #: public/app/features/dashboard/utils/getPanelMenu.ts msgid "panel.header-menu.inspect" @@ -466,6 +466,154 @@ msgstr "" msgid "panel.header-menu.view" msgstr "" +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.save-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-default-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.share-externally-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareExport.tsx +msgid "share-modal.export.view-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.info-text" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.link-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.render-instructions" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.rendered-image" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-alert" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.save-dashboard" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.shorten-url" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-current" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-dark" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.theme-light" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-description" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareLink.tsx +msgid "share-modal.link.time-range-label" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.cancel-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.copy-link-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.delete-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.deleted-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-day" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-hour" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-never" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.expire-week" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-1" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.info-text-2" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.local-button" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.mistake-message" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.name" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout" +msgstr "" + +#: public/app/features/dashboard/components/ShareModal/ShareSnapshot.tsx +msgid "share-modal.snapshot.timeout-description" +msgstr "" + #: public/app/core/components/SharedPreferences/SharedPreferences.tsx msgid "shared-dashboard.fields.timezone-label" msgstr ""