Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

3.6 KB
Raw Blame
# The interface language (#44), Preferences > Interface > Language: Español translates the palette bar, the
# palettes, the shelves and the Ctrl-help; brush and tool names (Part, QRemesh, Clay Block) stay as they are.
# The "##" ids don't change, so every button works the same in either language, and English comes back unchanged.
run ui_look look=classic layout=classic        # written for the Classic look and the classic palette bar and shelves
run new_sphere subdivisions=2
click "Preferences##palette.preferences"
click "Interface##preferences.interface"
expect_text "Language"
expect "English##language.en"
click "Español##language.es"
expect_text "Idioma"
expect "Preferencias##palette.preferences"
expect "Interfaz##preferences.interface"
expect "Entrada##preferences.input"
expect_text "Escala de la interfaz"
expect_no_text "Help box opacity"
shot preferencias
key escape

# The palette bar, the top shelf and the right shelf in Spanish (the brushes on the bottom shelf keep their names).
expect "Archivo##palette.file"
expect "Herramienta##palette.tool"
expect "Dibujar##tool.draw"
expect "Mover##tool.move"
expect_text "Tamaño de dibujo"
expect_text "Intensidad"
expect "Clay Block##brush.clayblock"
expect "Move##brush.move"
expect "Piezas##tool.part"

# Tool > Geometry: the translated Add Level adds a level.
click "Geometría##tool.geometry"
expect_value sdiv_levels == 0
expect_text "Sin niveles de subdivisión"
click "Añadir nivel##geometry.divide"
expect_value sdiv_levels == 2
expect "Nivel inferior##geometry.lower_res"
shot geometria
click "Geometría##tool.geometry"

# Tool > Masking: translated buttons run their commands.
click "Enmascarado##tool.masking"
click "Todo##mask"
expect_value masked > 0
click "Borrar##mask"
expect_value masked == 0
click "Enmascarado##tool.masking"

# Ctrl-help in Spanish: the action's name and where it lives.
hold ctrl
hover "Dibujar##tool.draw"
expect_help "Dibujar"
hold none

# The command palette finds commands by their Spanish names too.
key f3
type "##Command palette" Añadir
expect "Añadir nivel##pal.geometry.divide"
key escape

# Back to English: the same items with their English labels.
click "Preferencias##palette.preferences"
click "English##language.en"
expect "Preferences##palette.preferences"
expect_text "Language"
expect_no_text "Idioma"
key escape
expect "Geometry##tool.geometry"
expect "Draw##tool.draw"
expect_text "Size"

# Traditional Chinese (#114): the UI fonts are built again with the Chinese glyphs (the shots show no "?" boxes);
# the "##" ids stay, so the same clicks work, and brush names stay in English.
click "Preferences##palette.preferences"
click "繁體中文##language.zh-TW"
expect_text "語言"
expect "偏好設定##palette.preferences"
expect "界面##preferences.interface"
shot zh_preferences
key escape
expect "檔案##palette.file"
expect "工具##palette.tool"
expect "繪製##tool.draw"
expect "Clay Block##brush.clayblock"
click "幾何##tool.geometry"
click "新增層級##geometry.divide"
expect_value sdiv_levels == 3
shot zh_geometry
click "幾何##tool.geometry"

# Simplified Chinese: from Traditional straight to Simplified (the fonts switch to the SC subset), mainland terms.
click "偏好設定##palette.preferences"
click "简体中文##language.zh-CN"
expect_text "语言"
expect "偏好设置##palette.preferences"
shot zh_hans_preferences
key escape
expect "文件##palette.file"
expect "绘制##tool.draw"
expect "Clay Block##brush.clayblock"
click "几何##tool.geometry"
expect_text "细分"
shot zh_hans_geometry
click "几何##tool.geometry"
click "偏好设置##palette.preferences"
click "English##language.en"
expect "Preferences##palette.preferences"
key escape