Skip to content

Commit

Permalink
i18n: mark strings for ComingSoonField.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Samk13 committed Dec 4, 2024
1 parent 35e37ef commit f19eec1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This file is part of Invenio-RDM-Records
// Copyright (C) 2020-2023 CERN.
// Copyright (C) 2020-2022 Northwestern University.
// Copyright (C) 2024 KTH Royal Institute of Technology.
//
// Invenio-RDM-Records is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -9,6 +10,7 @@ import React, { Component } from "react";
import PropTypes from "prop-types";
import { FieldLabel } from "react-invenio-forms";
import { Form, Segment } from "semantic-ui-react";
import { i18next } from "@translations/invenio_rdm_records/i18next";

export class ComingSoonField extends Component {
render() {
Expand All @@ -17,7 +19,7 @@ export class ComingSoonField extends Component {
<Form.Field id={fieldPath} name={fieldPath}>
<FieldLabel htmlFor={fieldPath} icon={labelIcon} label={label} />
<Segment size="massive" tertiary textAlign="center">
Coming soon
{i18next.t("Coming soon")}
</Segment>
</Form.Field>
);
Expand Down

0 comments on commit f19eec1

Please sign in to comment.