-
Notifications
You must be signed in to change notification settings - Fork 554
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
ENH: Make Tables module translatable (SlicerLanguagePacks#12) #7283
ENH: Make Tables module translatable (SlicerLanguagePacks#12) #7283
Conversation
Hi @lassoan I'm waiting for the merge to finalise my thesis. |
36e6f6a
to
aba750f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the changes look good.
Before integrating, I suggest to have two commits:
ENH: Improve TableNode API for column title
ENH: Make Table module translatable
Questions
- Will the update changing
SCHEMA_COLUMN_LONG_NAME
toSCHEMA_COLUMN_TITLE
impact loading of table saved using the older column name ?
Notes
When referencing issues outside of the Slicer project make sure to use the format Organization/Repository#IssueNumber
, failure to do so is referencing issue in the "wrong" project.
See more details at https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls
Hi @jcfr thanks for your suggestion should I rewrite my commit message for commit message you suggest with git rebase? |
for your question I share with you the issue for this commit #7217 I think that it wouln't impact the old saved table because i replace all column name by title but i will check it |
2aa584f
to
c0e10c4
Compare
@jcfr please run the workflow |
Thank you @Papa96108 for working on this issue. We can have a Meet tonight to discuss about the difficulties you are facing. Regards. |
Thanks you @mhdiop see you tonight |
846e26f
to
4f32f3e
Compare
3d35ada
to
d3cd916
Compare
Table column name (non-translatable) and title (displayed, translatable) can now be set separately. This allows displaying tables in any language while allowing modules to retrieve columns of tables using language-independent string identifiers. Updated Segment Statistics module to make all plugins and measurements translatable. To reduce complexity of the Tables module API, column "title" has replaced "long name". Long name was barely used (if at all) and its role would have been unclear (since we have name, title, description columns already). Improved appearance of table column tooltips (reordered, improved formatting, added display of all custom properties)., use acronym of plugin instead of (1), (2), ... for distinguishing columns that would have had the same name. see Slicer#7217
d3cd916
to
dc87804
Compare
I've reviewed and fixed up the code, it all looks good now. Modules that provide translatable column name can enable
I've added |
@jcfr You have requested changes earlier, please have a look and approve if it looks good to you. |
@lassoan Would it be sensible to integrate this one into |
Yes, I think so. |
No description provided.