Skip to content

Mark name attributes for org.eclipse.linuxtools.tmf.core extension point as translatable#295

Merged
bhufmann merged 1 commit into
eclipse-tracecompass:masterfrom
ruspl-afed:tracetype_translatable
Aug 21, 2025
Merged

Mark name attributes for org.eclipse.linuxtools.tmf.core extension point as translatable#295
bhufmann merged 1 commit into
eclipse-tracecompass:masterfrom
ruspl-afed:tracetype_translatable

Conversation

@ruspl-afed

Copy link
Copy Markdown
Contributor

Names of

  • category
  • type
  • experiment

are user-visible string and should have corresponding metadata to help PDE control its values.

What it does

PDE doesn't trigger on non-externalized name attribute.
This PR adds "translatable" metadata for name attribute to the extension point schema

How to test

After applying this change (and restarting IDE) PDE should recognize mentioned attributes as translatable
(use "Plug-in Tools -> Externalize String" from the project context menu)

image

Follow-ups

I would say that this PR introduces technical debt, it is rather will help to resolve existing one with not translated names.

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Names of
* category
* type
* experiment
are user-visible string and should have corresponding metadata to help
PDE control its values.
@ruspl-afed ruspl-afed changed the title Mark name attributes as translatable Mark name attributes for org.eclipse.linuxtools.tmf.core extension point as translatable Jul 16, 2025

@bhufmann bhufmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the contribution!

@bhufmann bhufmann requested a review from MatthewKhouzam July 22, 2025 14:19
@ruspl-afed

Copy link
Copy Markdown
Contributor Author

Thank you for review @bhufmann !
This is a kind of "probe" PR to understand the project policies and the rules of contribution, I plan to contribute more soon.

@bhufmann

Copy link
Copy Markdown
Contributor

Thank you for review @bhufmann ! This is a kind of "probe" PR to understand the project policies and the rules of contribution, I plan to contribute more soon.

Great to hear. BTW, the project requires 2 approvals for non-committer contributions. That's why I haven't merged.

Looking forward to the contributions. Thanks!

@bhufmann bhufmann requested review from PatrickTasse and removed request for MatthewKhouzam August 20, 2025 14:00
@bhufmann bhufmann merged commit dde2974 into eclipse-tracecompass:master Aug 21, 2025
4 checks passed
@ruspl-afed ruspl-afed deleted the tracetype_translatable branch August 22, 2025 12:28
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