Add translation for classic colour palette

This commit is contained in:
Ben Grant 2022-08-20 23:48:51 +10:00
parent cc998f1bc9
commit e6051ee98b
2 changed files with 3 additions and 2 deletions

View file

@ -55,7 +55,8 @@
"label": "Language"
},
"colormap": {
"label": "Heatmap colors"
"label": "Heatmap colors",
"classic": "Crab Fit (classic)"
}
},
"video": {

View file

@ -131,7 +131,7 @@ const Settings = () => {
name="colormap"
id="colormap"
options={{
'crabfit': 'Crab Fit (classic)',
'crabfit': t('options.colormap.classic'),
...Object.fromEntries(Object.keys(maps).map(palette => [
palette,
palette.split('-')