fix #31406: change 'raster' to 'grid'
fix #31411: swap vertical and horizontal grid
fix #31321: translation of 'Palettes'