Skip to content

chore: add sk_SK locale for Slovak custom-function sort generation - #53

Merged
pfeerick merged 1 commit into
EdgeTX:mainfrom
pfeerick:add-sk-locale
Aug 28, 2026
Merged

chore: add sk_SK locale for Slovak custom-function sort generation#53
pfeerick merged 1 commit into
EdgeTX:mainfrom
pfeerick:add-sk-locale

Conversation

@pfeerick

Copy link
Copy Markdown
Member

Summary

  • Adds sk_SK.UTF-8 to the locale-gen list in dev/Dockerfile, alongside the other radio-language locales.

Why

tools/cfn_sorter.sh in EdgeTX/edgetx compiles cfn_sorter.cpp against every locale in RADIO_LANGUAGES (radio/src/CMakeLists.txt) to regenerate radio/src/cfn_sort.cpp, including sk_SK now that Slovak (SK) support has been added (EdgeTX/edgetx#6830). This dev image never generated that locale, so the "Custom function sort order" CI check fails for any Slovak-related PR with:

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

sk_SK.UTF-8 was already documented (but not generated) in the locale list at the top of tools/cfn_sorter.sh — this brings the dev image in sync with that.

Test plan

  • CI build of the dev image succeeds
  • locale -a in the built image includes sk_SK.UTF-8
  • tools/cfn_sorter.sh (which invokes LNG_SK/sk_SK.UTF-8) completes without the locale error

🤖 Generated with Claude Code

tools/cfn_sorter.sh in EdgeTX/edgetx compiles cfn_sorter.cpp against
every RADIO_LANGUAGES locale, including sk_SK, to regenerate
cfn_sort.cpp. This image never generated it, so any Slovak-related
"Custom function sort order" CI check fails with a locale::facet
runtime error.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pfeerick pfeerick changed the title fix: add sk_SK locale for Slovak custom-function sort generation chore: add sk_SK locale for Slovak custom-function sort generation Aug 28, 2026
@pfeerick
pfeerick merged commit c085de0 into EdgeTX:main Aug 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant