mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UI text edits (#32524)
* Update TeamSettings.tsx * Update navModel.ts * Update ChangePasswordForm.tsx * Update UserProfileEditForm.tsx * Update DashboardImportPage.tsx * Update uploadDashboardDirective.ts * Update ImportDashboardForm.tsx * Update ImportDashboardOverview.tsx * Update validation.ts * Update PlaylistEditPage.tsx * ui text edits * text edits * Update buildCategories.ts * text edits * text edits * Fix formatting * Update test snapshots Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ const BasicSettings: FC<Props> = ({ dataSourceName, isDefault, onDefaultChange,
|
||||
<div className="gf-form max-width-30" style={{ marginRight: '3px' }}>
|
||||
<InlineFormLabel
|
||||
tooltip={
|
||||
'The name is used when you select the data source in panels. The Default data source is ' +
|
||||
'The name is used when you select the data source in panels. The default data source is ' +
|
||||
'preselected in new panels.'
|
||||
}
|
||||
>
|
||||
|
||||
@@ -21,7 +21,7 @@ const ButtonRow: FC<Props> = ({ isReadOnly, onDelete, onSubmit, onTest }) => {
|
||||
onClick={(event) => onSubmit(event)}
|
||||
aria-label={selectors.pages.DataSource.saveAndTest}
|
||||
>
|
||||
Save & Test
|
||||
Save & test
|
||||
</button>
|
||||
)}
|
||||
{isReadOnly && (
|
||||
|
||||
@@ -56,7 +56,7 @@ export const CloudInfoBox: FC<Props> = ({ dataSource }) => {
|
||||
}}
|
||||
>
|
||||
<div className={styles.text}>
|
||||
Or skip the effort and get {mainDS} (and {extraDS}) as fully managed, scalable and hosted data sources
|
||||
Or skip the effort and get {mainDS} (and {extraDS}) as fully-managed, scalable, and hosted data sources
|
||||
from Grafana Labs with the{' '}
|
||||
<a
|
||||
className="external-link"
|
||||
|
||||
@@ -128,8 +128,8 @@ export class DataSourceSettingsPage extends PureComponent<Props> {
|
||||
renderIsReadOnlyMessage() {
|
||||
return (
|
||||
<InfoBox severity="info">
|
||||
This datasource was added by config and cannot be modified using the UI. Please contact your server admin to
|
||||
update this datasource.
|
||||
This data source was added by config and cannot be modified using the UI. Please contact your server admin to
|
||||
update this data source.
|
||||
</InfoBox>
|
||||
);
|
||||
}
|
||||
@@ -197,7 +197,7 @@ export class DataSourceSettingsPage extends PureComponent<Props> {
|
||||
}
|
||||
}
|
||||
|
||||
return <div>Page Not Found: {page}</div>;
|
||||
return <div>Page not found: {page}</div>;
|
||||
}
|
||||
|
||||
renderSettings() {
|
||||
|
||||
@@ -46,7 +46,7 @@ export class PluginSettings extends PureComponent<Props> {
|
||||
|
||||
if (!plugin.components.ConfigEditor) {
|
||||
// React editor is not specified, let's render angular editor
|
||||
// How to apprach this better? Introduce ReactDataSourcePlugin interface and typeguard it here?
|
||||
// How to approach this better? Introduce ReactDataSourcePlugin interface and typeguard it here?
|
||||
const loader = getAngularLoader();
|
||||
const template = '<plugin-component type="datasource-config-ctrl" />';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ exports[`Render should render component 1`] = `
|
||||
}
|
||||
>
|
||||
<FormLabel
|
||||
tooltip="The name is used when you select the data source in panels. The Default data source is preselected in new panels."
|
||||
tooltip="The name is used when you select the data source in panels. The default data source is preselected in new panels."
|
||||
>
|
||||
Name
|
||||
</FormLabel>
|
||||
|
||||
@@ -40,7 +40,7 @@ exports[`Render should render with buttons enabled 1`] = `
|
||||
onClick={[Function]}
|
||||
type="submit"
|
||||
>
|
||||
Save & Test
|
||||
Save & test
|
||||
</button>
|
||||
<button
|
||||
aria-label="Data source settings page Delete button"
|
||||
|
||||
@@ -302,7 +302,7 @@ exports[`Render should render is ready only message 1`] = `
|
||||
<InfoBox
|
||||
severity="info"
|
||||
>
|
||||
This datasource was added by config and cannot be modified using the UI. Please contact your server admin to update this datasource.
|
||||
This data source was added by config and cannot be modified using the UI. Please contact your server admin to update this data source.
|
||||
</InfoBox>
|
||||
<CloudInfoBox
|
||||
dataSource={
|
||||
|
||||
Reference in New Issue
Block a user