More copywriting fixes

This commit is contained in:
Jen Huang 2019-04-25 18:56:39 -07:00
parent 9666023d85
commit 1ad93a8f0d
9 changed files with 31 additions and 30 deletions

View file

@ -264,7 +264,7 @@ export const RepositoryFormStepOne: React.FunctionComponent<Props> = ({
<Fragment>
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.fields.sourceOnlyDescription"
defaultMessage="Snapshots contain stored fields and index metadata and take up to 50% less space. {docLink}"
defaultMessage="Creates source-only snapshots that take up to 50% less space. {docLink}"
values={{
docLink: (
<EuiLink

View file

@ -74,7 +74,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.clientDescription"
defaultMessage="Name of the Azure client."
defaultMessage="The name of the Azure client."
/>
}
idAria="azureRepositoryClientDescription"
@ -119,7 +119,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.containerDescription"
defaultMessage="Name of the Azure container to use for snapshots."
defaultMessage="The name of the Azure container to use for snapshots."
/>
}
idAria="azureRepositoryContainerDescription"
@ -209,7 +209,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.compressDescription"
defaultMessage="Compress the index mapping and settings files for snapshots. Data files are not compressed."
defaultMessage="Compresses the index mapping and setting files for snapshots. Data files are not compressed."
/>
}
idAria="azureRepositoryCompressDescription"
@ -254,7 +254,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.chunkSizeDescription"
defaultMessage="Break down files into smaller units when taking snapshots."
defaultMessage="Breaks files into smaller units when taking snapshots."
/>
}
idAria="azureRepositoryChunkSizeDescription"
@ -392,7 +392,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.locationModeDescription"
defaultMessage="Use either the primary or secondary location. If secondary, read-only is true."
defaultMessage="The primary or secondary location. If secondary, read-only is true."
/>
}
idAria="azureRepositoryLocationModeDescription"
@ -439,7 +439,7 @@ export const AzureSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeAzure.readonlyDescription"
defaultMessage="Only one cluster should have write access to this repository. Enable read-only mode for all other clusters."
defaultMessage="Only one cluster should have write access to this repository. All other clusters should be read-only."
/>
}
idAria="azureRepositoryReadonlyDescription"

View file

@ -115,7 +115,7 @@ export const FSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeFS.compressDescription"
defaultMessage="Compress the index mapping and settings files for snapshots. Data files are not compressed."
defaultMessage="Compresses the index mapping and setting files for snapshots. Data files are not compressed."
/>
}
idAria="fsRepositoryCompressDescription"
@ -160,7 +160,7 @@ export const FSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeFS.chunkSizeDescription"
defaultMessage="Break down files into smaller units when taking snapshots."
defaultMessage="Breaks files into smaller units when taking snapshots."
/>
}
idAria="fsRepositoryChunkSizeDescription"
@ -298,7 +298,7 @@ export const FSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeFS.readonlyDescription"
defaultMessage="Only one cluster should have write access to this repository. Enable read-only mode for all other clusters."
defaultMessage="Only one cluster should have write access to this repository. All other clusters should be read-only."
/>
}
idAria="fsRepositoryReadonlyDescription"

View file

@ -61,7 +61,7 @@ export const GCSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeGCS.clientDescription"
defaultMessage="Name of the Google Cloud Storage client."
defaultMessage="The name of the Google Cloud Storage client."
/>
}
idAria="gcsRepositoryClientDescription"
@ -106,7 +106,7 @@ export const GCSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeGCS.bucketDescription"
defaultMessage="Name of the Google Cloud Storage bucket to use for snapshots."
defaultMessage="The name of the Google Cloud Storage bucket to use for snapshots."
/>
}
idAria="gcsRepositoryBucketDescription"
@ -196,7 +196,7 @@ export const GCSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeGCS.compressDescription"
defaultMessage="Compress the index mapping and settings files for snapshots. Data files are not compressed."
defaultMessage="Compresses the index mapping and setting files for snapshots. Data files are not compressed."
/>
}
idAria="gcsRepositoryCompressDescription"
@ -241,7 +241,7 @@ export const GCSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeGCS.chunkSizeDescription"
defaultMessage="Break down files into smaller units when taking snapshots."
defaultMessage="Breaks files into smaller units when taking snapshots."
/>
}
idAria="gcsRepositoryChunkSizeDescription"
@ -379,7 +379,7 @@ export const GCSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeGCS.readonlyDescription"
defaultMessage="Only one cluster should have write access to this repository. Enable read-only mode for all other clusters."
defaultMessage="Only one cluster should have write access to this repository. All other clusters should be read-only."
/>
}
idAria="gcsRepositoryReadonlyDescription"

View file

@ -173,7 +173,7 @@ export const HDFSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeHDFS.loadDefaultsDescription"
defaultMessage="Load the default Hadoop configuration."
defaultMessage="Loads the default Hadoop configuration."
/>
}
idAria="hdfsRepositoryLoadDefaultsDescription"
@ -218,7 +218,7 @@ export const HDFSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeHDFS.compressDescription"
defaultMessage="Compress the index mapping and settings files for snapshots. Data files are not compressed."
defaultMessage="Compresses the index mapping and setting files for snapshots. Data files are not compressed."
/>
}
idAria="hdfsRepositoryCompressDescription"
@ -263,7 +263,7 @@ export const HDFSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeHDFS.chunkSizeDescription"
defaultMessage="Break down files into smaller units when taking snapshots."
defaultMessage="Breaks files into smaller units when taking snapshots."
/>
}
idAria="hdfsRepositoryChunkSizeDescription"
@ -309,7 +309,7 @@ export const HDFSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeHDFS.securityPrincipalDescription"
defaultMessage="Kerberos principal to use when connecting to a secured HDFS cluster."
defaultMessage="The Kerberos principal to use when connecting to a secured HDFS cluster."
/>
}
idAria="hdfsRepositorySecurityPrincipalDescription"
@ -545,7 +545,7 @@ export const HDFSSettings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeHDFS.readonlyDescription"
defaultMessage="Only one cluster should have write access to this repository. Enable read-only mode for all other clusters."
defaultMessage="Only one cluster should have write access to this repository. All other clusters should be read-only."
/>
}
idAria="hdfsRepositoryReadonlyDescription"

View file

@ -62,7 +62,7 @@ export const ReadonlySettings: React.FunctionComponent<Props> = ({
return (
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeReadonly.urlFilePathDescription"
defaultMessage="This file location must be registered in the {settingKey} setting"
defaultMessage="This file location must be registered in the {settingKey} setting."
values={{
settingKey: <EuiCode>path.repo</EuiCode>,
}}

View file

@ -90,7 +90,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.clientDescription"
defaultMessage="Name of the AWS S3 client."
defaultMessage="The name of the AWS S3 client."
/>
}
idAria="s3RepositoryClientDescription"
@ -135,7 +135,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.bucketDescription"
defaultMessage="Name of the AWS S3 bucket to use for snapshots."
defaultMessage="The name of the AWS S3 bucket to use for snapshots."
/>
}
idAria="s3RepositoryBucketDescription"
@ -225,7 +225,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.compressDescription"
defaultMessage="Compress the index mapping and settings files for snapshots. Data files are not compressed."
defaultMessage="Compresses the index mapping and setting files for snapshots. Data files are not compressed."
/>
}
idAria="s3RepositoryCompressDescription"
@ -270,7 +270,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.chunkSizeDescription"
defaultMessage="Break down files into smaller units when taking snapshots."
defaultMessage="Breaks files into smaller units when taking snapshots."
/>
}
idAria="s3RepositoryChunkSizeDescription"
@ -316,7 +316,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.serverSideEncryptionDescription"
defaultMessage="Encrypt files on the server using AES256 algorithm."
defaultMessage="Encrypts files on the server using AES256 algorithm."
/>
}
idAria="s3RepositoryServerSideEncryptionDescription"
@ -379,6 +379,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
describedByIds={['s3RepositoryBufferSizeDescription']}
isInvalid={Boolean(hasErrors && settingErrors.bufferSize)}
error={settingErrors.bufferSize}
helpText={textService.getSizeNotationHelpText()}
>
<EuiFieldText
defaultValue={bufferSize || ''}
@ -407,7 +408,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.cannedAclDescription"
defaultMessage="The canned ACL is added to new S3 buckets and objects."
defaultMessage="The canned ACL to add to new S3 buckets and objects."
/>
}
idAria="s3RepositoryCannedAclDescription"
@ -591,7 +592,7 @@ export const S3Settings: React.FunctionComponent<Props> = ({
description={
<FormattedMessage
id="xpack.snapshotRestore.repositoryForm.typeS3.readonlyDescription"
defaultMessage="Only one cluster should have write access to this repository. Enable read-only mode for all other clusters."
defaultMessage="Only one cluster should have write access to this repository. All other clusters should be read-only."
/>
}
idAria="s3RepositoryReadonlyDescription"

View file

@ -97,7 +97,7 @@ export const RepositoryList: React.FunctionComponent<RouteComponentProps<MatchPa
<p>
<FormattedMessage
id="xpack.snapshotRestore.repositoryList.emptyPromptDescription"
defaultMessage="Use repositories to store snapshots."
defaultMessage="You need a repository to store your snapshots."
/>
</p>
</Fragment>

View file

@ -148,7 +148,7 @@ export const SnapshotList: React.FunctionComponent<RouteComponentProps<MatchPara
<p>
<FormattedMessage
id="xpack.snapshotRestore.snapshotList.emptyPrompt.noSnapshotsDescription"
defaultMessage="You can create a snapshot using the Elasticsearch API."
defaultMessage="Create a snapshot using the Elasticsearch API."
/>
</p>
<p>