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:
Diana Payton
2021-03-31 16:07:37 -07:00
committed by GitHub
parent dc791c4121
commit 1399b49c16
31 changed files with 56 additions and 56 deletions

View File

@@ -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.'
}
>

View File

@@ -21,7 +21,7 @@ const ButtonRow: FC<Props> = ({ isReadOnly, onDelete, onSubmit, onTest }) => {
onClick={(event) => onSubmit(event)}
aria-label={selectors.pages.DataSource.saveAndTest}
>
Save &amp; Test
Save &amp; test
</button>
)}
{isReadOnly && (

View File

@@ -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"

View File

@@ -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() {

View File

@@ -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" />';

View File

@@ -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>

View File

@@ -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"

View File

@@ -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={