i18n: added special case for pt_BR folder naming on Unix

Similar to what is done to support zh_CN, but for pt_BR.

Fixes #5580
This commit is contained in:
Ronoaldo Pereira 2024-12-19 18:03:20 -03:00 committed by Lane.Wei
parent 296e140afb
commit c1b3cc0bf1
1 changed files with 4 additions and 0 deletions

View File

@ -262,6 +262,10 @@ else ()
COMMAND ln -sfn "zh_cn" "${BIN_RESOURCES_DIR}/i18n/zh_CN"
COMMENT "Symlinking zh_CN language setting to zh_cn"
VERBATIM)
add_custom_command(TARGET BambuStudio POST_BUILD
COMMAND ln -sfn "pt-BR" "${BIN_RESOURCES_DIR}/i18n/pt_BR"
COMMENT "Symlinking pt_BR language setting to pt_BR"
VERBATIM)
endif()
endif ()