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

Various wording fixes #1080

Merged
merged 4 commits into from
Jan 29, 2025
Merged

Various wording fixes #1080

merged 4 commits into from
Jan 29, 2025

Conversation

LHBruneton-C2C
Copy link
Collaborator

Description

This PR is meant to improve default translation for the editor.

Copy link
Contributor

github-actions bot commented Jan 20, 2025

Affected libs: feature-editor,
Affected apps: metadata-editor,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

Copy link
Contributor

github-actions bot commented Jan 20, 2025

📷 Screenshots are here!

@coveralls
Copy link

coveralls commented Jan 20, 2025

Coverage Status

coverage: 83.852% (-1.7%) from 85.592%
when pulling e4a2f4e on various-wording-fixes
into 8d1c028 on main.

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thank you! I had a question about the rich-text eye icon, but I haven't tested the change.

I think all these changes make sense, although very soon we're going to start showing more than just datasets in the Datahub. I guess we'll need to have separate translation keys for these then..

@@ -12,10 +12,10 @@
<span
class="material-symbols-outlined gn-ui-icon-small"
[ngClass]="{ 'text-primary': !preview }"
>{{ preview ? 'visibility' : 'visibility_off' }}</span
>{{ preview ? 'visibility_off' : 'visibility' }}</span
Copy link
Collaborator

Choose a reason for hiding this comment

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

is that intentional? I haven't noticed that this was inverted

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is intentional. We kind of got used to it this way, but I felt it was wrong the first time I coded it. And now with François fresh view on it, it felt odd too.

>
&nbsp;
{{ preview ? 'WYSIWYG' : 'Markdown' }}
{{ preview ? 'Edit' : 'Preview' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

that looks inverted as well? I thought preview meant the text was rendered properly without being editable

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Same here, it was intentional. The button shows what you can do (action), not the current state.

"editor.record.form.section.classification.description": "The classification has an impact on the access to the data.",
"editor.record.form.section.classification.label": "Classification",
"editor.record.form.section.classification.description": "Appropriate keywords help users find the dataset.",
"editor.record.form.section.classification.label": "Keywords",
Copy link
Collaborator

Choose a reason for hiding this comment

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

This might be a little too narrow; classification can also be general themes for instance (even though we don't show it yet)

"editor.record.undo.confirmation.cancelText": "Keep the changes",
"editor.record.undo.confirmation.confirmText": "Discard the changes",
"editor.record.undo.confirmation.message": "Are you sure you want to cancel the pending changes on this record?",
"editor.record.undo.confirmation.message": "Are you sure you want to cancel the pending changes on this dataset ?",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"editor.record.undo.confirmation.message": "Are you sure you want to cancel the pending changes on this dataset ?",
"editor.record.undo.confirmation.message": "Are you sure you want to cancel the pending changes on this dataset?",

@LHBruneton-C2C LHBruneton-C2C merged commit 97cdb3a into main Jan 29, 2025
12 of 14 checks passed
@LHBruneton-C2C LHBruneton-C2C deleted the various-wording-fixes branch January 29, 2025 09:06
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.

4 participants