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

chore: use local translations #1248

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

carlinmack
Copy link
Contributor

@carlinmack carlinmack commented Nov 18, 2024

❤️ Thank you for your contribution!

Description

Please describe briefly your pull request.

When people copy and paste imports from other modules they might fail to update the location of the translations to the new module

See all imports of i18next in invenio-communities

This PR fixes the mistakes

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@@ -13,7 +13,7 @@ import PropTypes from "prop-types";
import { Button, Modal, Icon } from "semantic-ui-react";
import { ActionModal, ActionForm } from "@js/invenio_administration";
import _isEmpty from "lodash/isEmpty";
import { i18next } from "@translations/invenio_app_rdm/i18next";
import { i18next } from "@translations/invenio_communities/i18next";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@ntarocco ntarocco merged commit 140ad4e into inveniosoftware:master Nov 18, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants