Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global: Fixes strings marked for translation #530

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/components/Creatibutors/CreatibutorsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ export class CreatibutorsModal extends Component {
required={this.isCreator()}
/>
<TextField
label={i18next.t('Given name(s)')}
placeholder={i18next.t('Given name')}
label={i18next.t('Given names')}
placeholder={i18next.t('Given names')}
fieldPath={givenNameFieldPath}
/>
</Form.Group>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/FileUploader/FileUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const FileUploaderComponent = ({
<Message
warning
icon="warning circle"
header="Could not upload file(s)."
header="Could not upload files."
content={
<>
{i18next.t('Uploading the selected files would result in')}{' '}
Expand Down Expand Up @@ -283,7 +283,7 @@ FileUploaderComponent.propTypes = {
};

FileUploaderComponent.defaultProps = {
dragText: i18next.t('Drag and drop file(s)'),
dragText: i18next.t('Drag and drop files'),
isDraftRecord: true,
hasParentRecord: false,
quota: {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/FileUploader/FileUploaderArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export class FileUploaderArea extends Component {
<Grid.Row verticalAlign="middle">
<Grid.Column>
<Header size="medium">
{i18next.t('This is a Metadata only record')}
{i18next.t('This is a Metadata-only record.')}
</Header>
</Grid.Column>
</Grid.Row>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Identifiers/IdentifiersField.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ IdentifiersField.propTypes = {

IdentifiersField.defaultProps = {
fieldPath: 'metadata.identifiers',
label: i18next.t('Identifier(s)'),
label: i18next.t('Identifiers'),
labelIcon: 'barcode',
};
2 changes: 1 addition & 1 deletion src/lib/components/PublisherField.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ PublisherField.defaultProps = {
fieldPath: 'metadata.publisher',
label: i18next.t('Publisher'),
labelIcon: 'building outline',
placeholder: i18next.t('Enter publisher name'),
placeholder: i18next.t('Publisher'),
};