Skip to content

Commit

Permalink
i18n: added special case for pt_BR folder naming on Unix
Browse files Browse the repository at this point in the history
Similar to what is done to support zh_CN, but for pt_BR.

Fixes #5580
  • Loading branch information
ronoaldo authored Dec 19, 2024
1 parent 296e140 commit 2f2a5ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()

Expand Down

0 comments on commit 2f2a5ab

Please sign in to comment.