From e7b65c89512122501370e4f790bfa71127f36f50 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Fri, 30 Aug 2024 11:21:58 +0000 Subject: [PATCH] chore: add locale cfg and missing include for cfn_sorter --- tools/cfn_sorter.cpp | 1 + tools/cfn_sorter.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/tools/cfn_sorter.cpp b/tools/cfn_sorter.cpp index a13f39329..644a55fd4 100644 --- a/tools/cfn_sorter.cpp +++ b/tools/cfn_sorter.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #define CFN_ONLY #define SKIP diff --git a/tools/cfn_sorter.sh b/tools/cfn_sorter.sh index 1769469c9..9f6933e7d 100755 --- a/tools/cfn_sorter.sh +++ b/tools/cfn_sorter.sh @@ -5,6 +5,10 @@ set -e # Required locales (check your system and install if needed): +# Linux: +# apt update && apt install locales +# locale-gen zh_CN.UTF-8 cs_CZ.UTF-8 da_DK.UTF-8 de_DE.UTF-8 es_ES.UTF-8 en_US.UTF-8 fi_FI.UTF-8 fr_FR.UTF-8 he_IL.UTF-8 it_IT.UTF-8 ja_JP.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 sv_SE.UTF-8 zh_TW.UTF-8 uk_UA.UTF-8 + # zh_CN.UTF-8 / zh_CN.utf8 # cs_CZ.UTF-8 / cs_CZ.utf8 # da_DK.UTF-8 / da_DK.utf8