From 2f2a5abda04fdce615d650da39a05d310593d20f Mon Sep 17 00:00:00 2001 From: Ronoaldo Pereira Date: Thu, 19 Dec 2024 18:03:20 -0300 Subject: [PATCH] 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 --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bb2f2db2e6..9e193d5a0e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 ()