Skip to content

Conversation

@irbian
Copy link
Contributor

@irbian irbian commented Jun 5, 2025

i18n a fixed value

Test me

Go to dataset preview page and ensure "Export data" changes with each language

Checklist

  • Unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/. (No relevant documentation)
  • I've updated CHANGES.md with what I changed. (No relevant changes)
  • I've provided instructions in the PR description on how to test this PR.

i18n a fixed value
@CLAassistant
Copy link

CLAassistant commented Jun 5, 2025

CLA assistant check
All committers have signed the CLA.

<div className={Styles.metadata}>
<button onClick={this.exportDataClicked.bind(this, catalogItem)}>
Export data
{this.props.t("workbench.exportData")}
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be better to create a new translation key e.g. description.exportData or preview.exportData to better reason on where it is used. Also, the value of this translation key is Export, and the expected string in the UI is Export data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants