Skip to content

Commit

Permalink
global: Fixes strings marked for translation.
Browse files Browse the repository at this point in the history
- Adds dot at the end of the sentence.
- Introduces consistency
  - it is: metadata-only
  - use plural instead of '(s)'
  - ...

Refs: inveniosoftware/invenio-app-rdm#1707
  • Loading branch information
Zeller, Christina committed Jun 20, 2022
1 parent 81d0760 commit eac9a90
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
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'),
};

0 comments on commit eac9a90

Please sign in to comment.