Slicer / SlicerLanguagePacks

3D Slicer extension for creating, editing, and storing translations for Slicer core and extensions
MIT License
7 stars 11 forks source link

Color table names are not translatable #59

Open lassoan opened 4 months ago

lassoan commented 4 months ago

Color table names (GenericColors, AbdomenColors, ColdToHotRainbow, etc.) are used for identifying color tables programmatically and also appear on the user interface.

It should be possible to specify a separate "title" for each color table that can be translated, while keeping the same "name" for programmatic use.

Color table files should be standard .csv files that cannot store additional metadata, so the title could be stored in a separate .json file, similarly to the VolumeDisplayPresets.json file. Translation could use the logic translation interface developed in https://github.com/Slicer/Slicer/issues/6647.