From 2f0f5ca09e7f79b5136ada9070b93a4d20b8114d Mon Sep 17 00:00:00 2001 From: Polina Boneva <13227501+polibb@users.noreply.github.com> Date: Thu, 20 Apr 2023 17:35:29 +0300 Subject: [PATCH] [Chore] Dashboard: Add i18n for creating a panel, row, library panel, and pasted panel (#66234) * add translation keys for empty dashboard redesign * run yarn i18n:extract; rephrase one trans key because of [warning] Found translation key already mapped to a map or parent of new key already mapped to a string: dashboard.toolbar.add.visualization * reduce to 3-step locale phrase IDs * extract phrase IDs --- .../AddLibraryPanelWidget.tsx | 5 ++- .../AddPanelButton/AddPanelButton.tsx | 3 +- .../AddPanelButton/AddPanelMenu.tsx | 9 +++-- .../dashboard/dashgrid/DashboardEmpty.tsx | 31 ++++++++++----- public/locales/de-DE/grafana.json | 38 ++++++++++++------- public/locales/en-US/grafana.json | 38 ++++++++++++------- public/locales/es-ES/grafana.json | 38 ++++++++++++------- public/locales/fr-FR/grafana.json | 38 ++++++++++++------- public/locales/pseudo-LOCALE/grafana.json | 38 ++++++++++++------- public/locales/zh-Hans/grafana.json | 38 ++++++++++++------- 10 files changed, 182 insertions(+), 94 deletions(-) diff --git a/public/app/features/dashboard/components/AddLibraryPanelWidget/AddLibraryPanelWidget.tsx b/public/app/features/dashboard/components/AddLibraryPanelWidget/AddLibraryPanelWidget.tsx index befdbbc235d..1f93101f57b 100644 --- a/public/app/features/dashboard/components/AddLibraryPanelWidget/AddLibraryPanelWidget.tsx +++ b/public/app/features/dashboard/components/AddLibraryPanelWidget/AddLibraryPanelWidget.tsx @@ -5,6 +5,7 @@ import tinycolor from 'tinycolor2'; import { GrafanaTheme2 } from '@grafana/data'; import { LibraryPanel } from '@grafana/schema'; import { IconButton, useStyles2 } from '@grafana/ui'; +import { Trans } from 'app/core/internationalization'; import { LibraryPanelsSearch, @@ -42,7 +43,9 @@ export const AddLibraryPanelWidget = ({ panel, dashboard }: Props) => {
- Add panel from panel library + + Add panel from panel library +
diff --git a/public/app/features/dashboard/components/AddPanelButton/AddPanelButton.tsx b/public/app/features/dashboard/components/AddPanelButton/AddPanelButton.tsx index a5f77e79c30..0352cfdd282 100644 --- a/public/app/features/dashboard/components/AddPanelButton/AddPanelButton.tsx +++ b/public/app/features/dashboard/components/AddPanelButton/AddPanelButton.tsx @@ -4,6 +4,7 @@ import React, { useState } from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { selectors } from '@grafana/e2e-selectors'; import { Dropdown, Button, useTheme2, Icon } from '@grafana/ui'; +import { Trans } from 'app/core/internationalization'; import { DashboardModel } from 'app/features/dashboard/state'; import { AddPanelMenu } from './AddPanelMenu'; @@ -30,7 +31,7 @@ export const AddPanelButton = ({ dashboard }: Props) => { className={cx(styles.button, styles.buttonIcon, styles.buttonText)} data-testid={selectors.components.PageToolbar.itemButton('Add panel button')} > - Add + Add diff --git a/public/app/features/dashboard/components/AddPanelButton/AddPanelMenu.tsx b/public/app/features/dashboard/components/AddPanelButton/AddPanelMenu.tsx index 60a7205d589..e4c636bf0b2 100644 --- a/public/app/features/dashboard/components/AddPanelButton/AddPanelMenu.tsx +++ b/public/app/features/dashboard/components/AddPanelButton/AddPanelMenu.tsx @@ -3,6 +3,7 @@ import React, { useMemo } from 'react'; import { selectors } from '@grafana/e2e-selectors'; import { locationService, reportInteraction } from '@grafana/runtime'; import { Menu } from '@grafana/ui'; +import { t } from 'app/core/internationalization'; import { DashboardModel } from 'app/features/dashboard/state'; import { getCopiedPanelPlugin, @@ -23,7 +24,7 @@ export const AddPanelMenu = ({ dashboard }: Props) => { { reportInteraction('Create new panel'); @@ -33,7 +34,7 @@ export const AddPanelMenu = ({ dashboard }: Props) => { /> { reportInteraction('Create new row'); @@ -42,7 +43,7 @@ export const AddPanelMenu = ({ dashboard }: Props) => { /> { reportInteraction('Add a panel from the panel library'); @@ -51,7 +52,7 @@ export const AddPanelMenu = ({ dashboard }: Props) => { /> { reportInteraction('Paste panel from clipboard'); diff --git a/public/app/features/dashboard/dashgrid/DashboardEmpty.tsx b/public/app/features/dashboard/dashgrid/DashboardEmpty.tsx index e9a7f988c9b..62223b15cf1 100644 --- a/public/app/features/dashboard/dashgrid/DashboardEmpty.tsx +++ b/public/app/features/dashboard/dashgrid/DashboardEmpty.tsx @@ -4,6 +4,7 @@ import React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { locationService, reportInteraction } from '@grafana/runtime'; import { Button, useStyles2 } from '@grafana/ui'; +import { Trans } from 'app/core/internationalization'; import { DashboardModel } from 'app/features/dashboard/state'; import { onAddLibraryPanel, onCreateNewPanel, onCreateNewRow } from 'app/features/dashboard/utils/dashboard'; @@ -20,11 +21,15 @@ export const DashboardEmpty = ({ dashboard, canCreate }: Props) => {

- Start your new dashboard by adding a visualization + + Start your new dashboard by adding a visualization +

- Select a data source and then query and visualize your data with charts, stats and tables or create lists, - markdowns and other widgets. + + Select a data source and then query and visualize your data with charts, stats and tables or create lists, + markdowns and other widgets. +
-

Add a row

+

+ Add a row +

- Group your visualizations into expandable sections. + Group your visualizations into expandable sections.
-

Import panel

+

+ Import panel +

- Import visualizations that are shared with other dashboards. + + Import visualizations that are shared with other dashboards. +
diff --git a/public/locales/de-DE/grafana.json b/public/locales/de-DE/grafana.json index 1363c933979..a42b6ef2842 100644 --- a/public/locales/de-DE/grafana.json +++ b/public/locales/de-DE/grafana.json @@ -30,6 +30,23 @@ "save": "Speichern" }, "dashboard": { + "add-menu": { + "import": "", + "paste-panel": "", + "row": "", + "visualization": "" + }, + "empty": { + "add-import-body": "", + "add-import-button": "", + "add-import-header": "", + "add-row-body": "", + "add-row-button": "", + "add-row-header": "", + "add-visualization-body": "", + "add-visualization-button": "", + "add-visualization-header": "" + }, "inspect": { "data-tab": "Daten", "error-tab": "Fehler", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "Statistiken zu Datenquellen", + "data-traceids": "", "processing-time": "Datenverarbeitungszeit", "queries": "Anzahl der Abfragen", "request-time": "Gesamte Anfragezeit", @@ -82,6 +100,7 @@ "table-title": "Statistiken" }, "toolbar": { + "add": "", "add-panel": "Panel hinzufügen", "mark-favorite": "Als Favorit markieren", "open-original": "Original-Dashboard öffnen", @@ -92,7 +111,6 @@ "save": "Dashboard speichern", "settings": "Dashboard-Einstellungen", "share": "Dashboard oder Panel teilen", - "tv-button": "Zyklus-Ansichtsmodus", "unmark-favorite": "Markierung als Favorit entfernen" } }, @@ -123,6 +141,9 @@ "folder": "In Ordner speichern", "folder-description": "Berechtigungen des Bibliotheks-Panels werden von den Ordnerberechtigungen übernommen", "name": "Name des Bibliotheks-Panels" + }, + "add-widget": { + "title": "" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "Apps" }, "config": { - "title": "Verwaltung", - "titleBeforeTopnav": "Konfiguration" + "title": "Verwaltung" }, "correlations": { "subtitle": "Füge Korrelationen hinzu und konfiguriere sie", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "Benutzer in Grafana verwalten", - "title": "Benutzer", - "titleBeforeTopnav": "Benutzer" + "title": "Benutzer" }, "help": { "title": "Hilfe" @@ -241,9 +260,6 @@ "subtitle": "Wiederverwendbare Panels, die zu mehreren Dashboards hinzugefügt werden können", "title": "Bibliotheks-Panels" }, - "manage-dashboards": { - "title": "Durchsuchen" - }, "manage-folder": { "subtitle": "" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "Verwalte Einstellungen in der gesamten Organisation", - "title": "Standardeinstellungen", - "titleBeforeTopnav": "Einstellungen" + "title": "Standardeinstellungen" }, "playlists": { "subtitle": "Gruppen von Dashboards, die in einer bestimmten Reihenfolge angezeigt werden", @@ -282,7 +297,6 @@ "profile/settings": { "title": "Profil" }, - "profile/switch-org": "Organisation wechseln", "public": { "title": "" }, @@ -303,7 +317,6 @@ "subtitle": "Verwende Servicekonten, um automatisierte Arbeitsabläufe in Grafana auszuführen", "title": "Servicekonten" }, - "sign-in": "Anmelden", "sign-out": { "title": "Abmelden" }, @@ -399,7 +412,6 @@ "sort-placeholder": "", "starred": "Hervorgehoben", "view-as-folders": "", - "view-as-grid": "", "view-as-list": "" }, "dashboard-actions": { diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json index a545f7f697a..b5c1856b3ec 100644 --- a/public/locales/en-US/grafana.json +++ b/public/locales/en-US/grafana.json @@ -30,6 +30,23 @@ "save": "Save" }, "dashboard": { + "add-menu": { + "import": "Import from library", + "paste-panel": "Paste panel", + "row": "Row", + "visualization": "Visualization" + }, + "empty": { + "add-import-body": "Import visualizations that are shared with other dashboards.", + "add-import-button": "Import library panel", + "add-import-header": "Import panel", + "add-row-body": "Group your visualizations into expandable sections.", + "add-row-button": "Add row", + "add-row-header": "Add a row", + "add-visualization-body": "Select a data source and then query and visualize your data with charts, stats and tables or create lists, markdowns and other widgets.", + "add-visualization-button": "Add visualization", + "add-visualization-header": "Start your new dashboard by adding a visualization" + }, "inspect": { "data-tab": "Data", "error-tab": "Error", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "Data source stats", + "data-traceids": "Trace IDs", "processing-time": "Data processing time", "queries": "Number of queries", "request-time": "Total request time", @@ -82,6 +100,7 @@ "table-title": "Stats" }, "toolbar": { + "add": "Add", "add-panel": "Add panel", "mark-favorite": "Mark as favorite", "open-original": "Open original dashboard", @@ -92,7 +111,6 @@ "save": "Save dashboard", "settings": "Dashboard settings", "share": "Share dashboard or panel", - "tv-button": "Cycle view mode", "unmark-favorite": "Unmark as favorite" } }, @@ -123,6 +141,9 @@ "folder": "Save in folder", "folder-description": "Library panel permissions are derived from the folder permissions", "name": "Library panel name" + }, + "add-widget": { + "title": "Add panel from panel library" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "Apps" }, "config": { - "title": "Administration", - "titleBeforeTopnav": "Configuration" + "title": "Administration" }, "correlations": { "subtitle": "Add and configure correlations", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "Manage users in Grafana", - "title": "Users", - "titleBeforeTopnav": "Users" + "title": "Users" }, "help": { "title": "Help" @@ -241,9 +260,6 @@ "subtitle": "Reusable panels that can be added to multiple dashboards", "title": "Library panels" }, - "manage-dashboards": { - "title": "Browse" - }, "manage-folder": { "subtitle": "Manage folder dashboards and permissions" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "Manage preferences across an organization", - "title": "Default preferences", - "titleBeforeTopnav": "Preferences" + "title": "Default preferences" }, "playlists": { "subtitle": "Groups of dashboards that are displayed in a sequence", @@ -282,7 +297,6 @@ "profile/settings": { "title": "Profile" }, - "profile/switch-org": "Switch organization", "public": { "title": "Public dashboards" }, @@ -303,7 +317,6 @@ "subtitle": "Use service accounts to run automated workloads in Grafana", "title": "Service accounts" }, - "sign-in": "Sign in", "sign-out": { "title": "Sign out" }, @@ -399,7 +412,6 @@ "sort-placeholder": "Sort", "starred": "Starred", "view-as-folders": "View by folders", - "view-as-grid": "Grid view", "view-as-list": "View as list" }, "dashboard-actions": { diff --git a/public/locales/es-ES/grafana.json b/public/locales/es-ES/grafana.json index b6b46e9b5c3..6f68b2c9163 100644 --- a/public/locales/es-ES/grafana.json +++ b/public/locales/es-ES/grafana.json @@ -30,6 +30,23 @@ "save": "Guardar" }, "dashboard": { + "add-menu": { + "import": "", + "paste-panel": "", + "row": "", + "visualization": "" + }, + "empty": { + "add-import-body": "", + "add-import-button": "", + "add-import-header": "", + "add-row-body": "", + "add-row-button": "", + "add-row-header": "", + "add-visualization-body": "", + "add-visualization-button": "", + "add-visualization-header": "" + }, "inspect": { "data-tab": "Datos", "error-tab": "Error", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "Estadísticas de origen de datos", + "data-traceids": "", "processing-time": "Tiempo de procesamiento de datos", "queries": "Número de consultas", "request-time": "Tiempo total de solicitud", @@ -82,6 +100,7 @@ "table-title": "Estadísticas" }, "toolbar": { + "add": "", "add-panel": "Añadir panel", "mark-favorite": "Marcar como favorito", "open-original": "Abrir el panel de control original", @@ -92,7 +111,6 @@ "save": "Guardar panel de control", "settings": "Ajustes del panel de control", "share": "Compartir panel o panel de control", - "tv-button": "Alternar entre los modos de vista", "unmark-favorite": "Deshacer marca como favorito" } }, @@ -123,6 +141,9 @@ "folder": "Guardar en carpeta", "folder-description": "Los permisos del panel de librería se derivan de los permisos de la carpeta", "name": "Nombre del panel de librería" + }, + "add-widget": { + "title": "" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "Aplicaciones" }, "config": { - "title": "Administración", - "titleBeforeTopnav": "Configuración" + "title": "Administración" }, "correlations": { "subtitle": "Añadir y configurar correlaciones", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "Gestionar usuarios de Grafana", - "title": "Usuarios", - "titleBeforeTopnav": "Usuarios" + "title": "Usuarios" }, "help": { "title": "Ayuda" @@ -241,9 +260,6 @@ "subtitle": "Paneles reutilizables que se pueden añadir a varios paneles de control", "title": "Paneles de librería" }, - "manage-dashboards": { - "title": "Navegar" - }, "manage-folder": { "subtitle": "" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "Gestionar las preferencias en una organización", - "title": "Preferencias por defecto", - "titleBeforeTopnav": "Preferencias" + "title": "Preferencias por defecto" }, "playlists": { "subtitle": "Grupos de paneles de control que se muestran en una secuencia", @@ -282,7 +297,6 @@ "profile/settings": { "title": "Perfil" }, - "profile/switch-org": "Cambiar de organización", "public": { "title": "" }, @@ -303,7 +317,6 @@ "subtitle": "Use cuentas de servicio para ejecutar cargas de trabajo automatizadas en Grafana", "title": "Cuentas de servicios" }, - "sign-in": "Iniciar sesión", "sign-out": { "title": "Cerrar sesión" }, @@ -399,7 +412,6 @@ "sort-placeholder": "", "starred": "Destacado", "view-as-folders": "", - "view-as-grid": "", "view-as-list": "" }, "dashboard-actions": { diff --git a/public/locales/fr-FR/grafana.json b/public/locales/fr-FR/grafana.json index 810359fe7de..a25d4e8a0f8 100644 --- a/public/locales/fr-FR/grafana.json +++ b/public/locales/fr-FR/grafana.json @@ -30,6 +30,23 @@ "save": "Enregistrer" }, "dashboard": { + "add-menu": { + "import": "", + "paste-panel": "", + "row": "", + "visualization": "" + }, + "empty": { + "add-import-body": "", + "add-import-button": "", + "add-import-header": "", + "add-row-body": "", + "add-row-button": "", + "add-row-header": "", + "add-visualization-body": "", + "add-visualization-button": "", + "add-visualization-header": "" + }, "inspect": { "data-tab": "Données", "error-tab": "Erreur", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "Statistiques de source de données", + "data-traceids": "", "processing-time": "Durée de traitement des données", "queries": "Nombre de requêtes", "request-time": "Durée totale de la requête", @@ -82,6 +100,7 @@ "table-title": "Statistiques" }, "toolbar": { + "add": "", "add-panel": "Ajouter un panneau", "mark-favorite": "Marquer comme favori", "open-original": "Ouvrir le tableau de bord d'origine", @@ -92,7 +111,6 @@ "save": "Enregistrer le tableau de bord", "settings": "Paramètres du tableau de bord", "share": "Partager le tableau de bord ou le panneau", - "tv-button": "Mode de vue par cycle", "unmark-favorite": "Supprimer des favoris" } }, @@ -123,6 +141,9 @@ "folder": "Enregistrer dans le dossier", "folder-description": "Les autorisations du panneau de bibliothèque sont dérivées des autorisations du dossier", "name": "Nom du panneau de bibliothèque" + }, + "add-widget": { + "title": "" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "Applications" }, "config": { - "title": "Administration", - "titleBeforeTopnav": "Configuration" + "title": "Administration" }, "correlations": { "subtitle": "Ajouter et configurer des corrélations", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "Gérer les utilisateurs dans Grafana", - "title": "Utilisateurs", - "titleBeforeTopnav": "Utilisateurs" + "title": "Utilisateurs" }, "help": { "title": "Aide" @@ -241,9 +260,6 @@ "subtitle": "Panneaux réutilisables pouvant être ajoutés à plusieurs tableaux de bord", "title": "Panneaux de bibliothèque" }, - "manage-dashboards": { - "title": "Parcourir" - }, "manage-folder": { "subtitle": "" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "Gérer les préférences au sein d'une organisation", - "title": "Préférences par défaut", - "titleBeforeTopnav": "Préférences" + "title": "Préférences par défaut" }, "playlists": { "subtitle": "Groupes de tableaux de bord affichés dans une séquence", @@ -282,7 +297,6 @@ "profile/settings": { "title": "Profil" }, - "profile/switch-org": "Passer à une autre organisation", "public": { "title": "" }, @@ -303,7 +317,6 @@ "subtitle": "Utiliser des comptes de service pour exécuter des charges de travail automatisées dans Grafana", "title": "Comptes de service" }, - "sign-in": "Se connecter", "sign-out": { "title": "Se déconnecter" }, @@ -399,7 +412,6 @@ "sort-placeholder": "", "starred": "Favoris", "view-as-folders": "", - "view-as-grid": "", "view-as-list": "" }, "dashboard-actions": { diff --git a/public/locales/pseudo-LOCALE/grafana.json b/public/locales/pseudo-LOCALE/grafana.json index 76e3fd328fd..1338df2928a 100644 --- a/public/locales/pseudo-LOCALE/grafana.json +++ b/public/locales/pseudo-LOCALE/grafana.json @@ -30,6 +30,23 @@ "save": "Ŝävę" }, "dashboard": { + "add-menu": { + "import": "Ĩmpőřŧ ƒřőm ľįþřäřy", + "paste-panel": "Päşŧę päʼnęľ", + "row": "Ŗőŵ", + "visualization": "Vįşūäľįžäŧįőʼn" + }, + "empty": { + "add-import-body": "Ĩmpőřŧ vįşūäľįžäŧįőʼnş ŧĥäŧ äřę şĥäřęđ ŵįŧĥ őŧĥęř đäşĥþőäřđş.", + "add-import-button": "Ĩmpőřŧ ľįþřäřy päʼnęľ", + "add-import-header": "Ĩmpőřŧ päʼnęľ", + "add-row-body": "Ğřőūp yőūř vįşūäľįžäŧįőʼnş įʼnŧő ęχpäʼnđäþľę şęčŧįőʼnş.", + "add-row-button": "Åđđ řőŵ", + "add-row-header": "Åđđ ä řőŵ", + "add-visualization-body": "Ŝęľęčŧ ä đäŧä şőūřčę äʼnđ ŧĥęʼn qūęřy äʼnđ vįşūäľįžę yőūř đäŧä ŵįŧĥ čĥäřŧş, şŧäŧş äʼnđ ŧäþľęş őř čřęäŧę ľįşŧş, mäřĸđőŵʼnş äʼnđ őŧĥęř ŵįđģęŧş.", + "add-visualization-button": "Åđđ vįşūäľįžäŧįőʼn", + "add-visualization-header": "Ŝŧäřŧ yőūř ʼnęŵ đäşĥþőäřđ þy äđđįʼnģ ä vįşūäľįžäŧįőʼn" + }, "inspect": { "data-tab": "Đäŧä", "error-tab": "Ēřřőř", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "Đäŧä şőūřčę şŧäŧş", + "data-traceids": "Ŧřäčę ĨĐş", "processing-time": "Đäŧä přőčęşşįʼnģ ŧįmę", "queries": "Ńūmþęř őƒ qūęřįęş", "request-time": "Ŧőŧäľ řęqūęşŧ ŧįmę", @@ -82,6 +100,7 @@ "table-title": "Ŝŧäŧş" }, "toolbar": { + "add": "Åđđ", "add-panel": "Åđđ päʼnęľ", "mark-favorite": "Mäřĸ äş ƒävőřįŧę", "open-original": "Øpęʼn őřįģįʼnäľ đäşĥþőäřđ", @@ -92,7 +111,6 @@ "save": "Ŝävę đäşĥþőäřđ", "settings": "Đäşĥþőäřđ şęŧŧįʼnģş", "share": "Ŝĥäřę đäşĥþőäřđ őř päʼnęľ", - "tv-button": "Cyčľę vįęŵ mőđę", "unmark-favorite": "Ůʼnmäřĸ äş ƒävőřįŧę" } }, @@ -123,6 +141,9 @@ "folder": "Ŝävę įʼn ƒőľđęř", "folder-description": "Ŀįþřäřy päʼnęľ pęřmįşşįőʼnş äřę đęřįvęđ ƒřőm ŧĥę ƒőľđęř pęřmįşşįőʼnş", "name": "Ŀįþřäřy päʼnęľ ʼnämę" + }, + "add-widget": { + "title": "Åđđ päʼnęľ ƒřőm päʼnęľ ľįþřäřy" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "Åppş" }, "config": { - "title": "Åđmįʼnįşŧřäŧįőʼn", - "titleBeforeTopnav": "Cőʼnƒįģūřäŧįőʼn" + "title": "Åđmįʼnįşŧřäŧįőʼn" }, "correlations": { "subtitle": "Åđđ äʼnđ čőʼnƒįģūřę čőřřęľäŧįőʼnş", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "Mäʼnäģę ūşęřş įʼn Ğřäƒäʼnä", - "title": "Ůşęřş", - "titleBeforeTopnav": "Ůşęřş" + "title": "Ůşęřş" }, "help": { "title": "Ħęľp" @@ -241,9 +260,6 @@ "subtitle": "Ŗęūşäþľę päʼnęľş ŧĥäŧ čäʼn þę äđđęđ ŧő mūľŧįpľę đäşĥþőäřđş", "title": "Ŀįþřäřy päʼnęľş" }, - "manage-dashboards": { - "title": "ßřőŵşę" - }, "manage-folder": { "subtitle": "Mäʼnäģę ƒőľđęř đäşĥþőäřđş äʼnđ pęřmįşşįőʼnş" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "Mäʼnäģę přęƒęřęʼnčęş äčřőşş äʼn őřģäʼnįžäŧįőʼn", - "title": "Đęƒäūľŧ přęƒęřęʼnčęş", - "titleBeforeTopnav": "Přęƒęřęʼnčęş" + "title": "Đęƒäūľŧ přęƒęřęʼnčęş" }, "playlists": { "subtitle": "Ğřőūpş őƒ đäşĥþőäřđş ŧĥäŧ äřę đįşpľäyęđ įʼn ä şęqūęʼnčę", @@ -282,7 +297,6 @@ "profile/settings": { "title": "Přőƒįľę" }, - "profile/switch-org": "Ŝŵįŧčĥ őřģäʼnįžäŧįőʼn", "public": { "title": "Pūþľįč đäşĥþőäřđş" }, @@ -303,7 +317,6 @@ "subtitle": "Ůşę şęřvįčę äččőūʼnŧş ŧő řūʼn äūŧőmäŧęđ ŵőřĸľőäđş įʼn Ğřäƒäʼnä", "title": "Ŝęřvįčę äččőūʼnŧş" }, - "sign-in": "Ŝįģʼn įʼn", "sign-out": { "title": "Ŝįģʼn őūŧ" }, @@ -399,7 +412,6 @@ "sort-placeholder": "Ŝőřŧ", "starred": "Ŝŧäřřęđ", "view-as-folders": "Vįęŵ þy ƒőľđęřş", - "view-as-grid": "Ğřįđ vįęŵ", "view-as-list": "Vįęŵ äş ľįşŧ" }, "dashboard-actions": { diff --git a/public/locales/zh-Hans/grafana.json b/public/locales/zh-Hans/grafana.json index 0eb84e7750c..af27b8ef6d2 100644 --- a/public/locales/zh-Hans/grafana.json +++ b/public/locales/zh-Hans/grafana.json @@ -30,6 +30,23 @@ "save": "保存" }, "dashboard": { + "add-menu": { + "import": "", + "paste-panel": "", + "row": "", + "visualization": "" + }, + "empty": { + "add-import-body": "", + "add-import-button": "", + "add-import-header": "", + "add-row-body": "", + "add-row-button": "", + "add-row-header": "", + "add-visualization-body": "", + "add-visualization-button": "", + "add-visualization-header": "" + }, "inspect": { "data-tab": "数据", "error-tab": "错误", @@ -75,6 +92,7 @@ }, "inspect-stats": { "data-title": "数据源统计信息", + "data-traceids": "", "processing-time": "数据处理时间", "queries": "查询数", "request-time": "总请求时间", @@ -82,6 +100,7 @@ "table-title": "统计信息" }, "toolbar": { + "add": "", "add-panel": "添加面板", "mark-favorite": "标记为收藏", "open-original": "打开原始仪表板", @@ -92,7 +111,6 @@ "save": "保存仪表板", "settings": "仪表板设置", "share": "分享仪表板或面板", - "tv-button": "循环视图模式", "unmark-favorite": "取消标记为收藏" } }, @@ -123,6 +141,9 @@ "folder": "保存在文件夹中", "folder-description": "库面板权限沿用自文件夹权限", "name": "库面板名称" + }, + "add-widget": { + "title": "" } }, "library-panels": { @@ -185,8 +206,7 @@ "title": "应用" }, "config": { - "title": "管理", - "titleBeforeTopnav": "配置" + "title": "管理" }, "correlations": { "subtitle": "添加并配置相关性", @@ -224,8 +244,7 @@ }, "global-users": { "subtitle": "在 Grafana 中管理用户", - "title": "用户", - "titleBeforeTopnav": "用户" + "title": "用户" }, "help": { "title": "帮助" @@ -241,9 +260,6 @@ "subtitle": "可重复使用的面板,可以添加到多个仪表板", "title": "库面板" }, - "manage-dashboards": { - "title": "浏览" - }, "manage-folder": { "subtitle": "" }, @@ -262,8 +278,7 @@ }, "org-settings": { "subtitle": "管理整个组织的首选项", - "title": "默认首选项", - "titleBeforeTopnav": "首选项" + "title": "默认首选项" }, "playlists": { "subtitle": "以序列显示的仪表板组", @@ -282,7 +297,6 @@ "profile/settings": { "title": "个人资料" }, - "profile/switch-org": "切换组织", "public": { "title": "" }, @@ -303,7 +317,6 @@ "subtitle": "使用服务帐户在 Grafana 中运行自动化工作负载", "title": "服务帐户" }, - "sign-in": "登录", "sign-out": { "title": "退出登录" }, @@ -399,7 +412,6 @@ "sort-placeholder": "", "starred": "已加星标", "view-as-folders": "", - "view-as-grid": "", "view-as-list": "" }, "dashboard-actions": {