Repository navigation
Conversation
Add uk_ua.ini translation (all keys used by the UI, plus the legacy keys other language files carry) and register LANG_UKRAINIAN with the UKR.TXT selector file on the SD card. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The signal status string is built into a 32-byte buffer together with the recolor markup. Two-byte UTF-8 letters overflowed it, so Ukrainian showed "Немає сигнал" instead of "Немає сигналу". Use a 64-byte buffer. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
"Panel" and "Panel Auto Off" were hard-coded English strings in the image settings page and in the video-mode image panel, so they stayed untranslated while the rest of the page followed the selected language. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
generate_current_version() returned early without touching the output when /mnt/app/version could not be opened, so the Firmware page printed whatever was on the stack after "Current Version" (seen in the emulator). Clear the string first so it stays empty. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
dartwlad
approved these changes
Oct 21, 2026
|
Awesome, thank you! I've been waiting for the Ukrainian translation for a long time. Will test it today! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ukrainian language
Adds a Ukrainian translation (
uk_ua) alongside the existing languages.What it adds
mkapp/app/language/uk_ua.ini: every string the UI looks up with_()/_lang(), plus the legacy keys the other language files carry.LANG_UKRAINIANinsrc/lang/language.h, and theuk_uaentry plusUKR.TXTselector file insrc/lang/language.c, the same way German was added.--range 1024-1279), so Ukrainian-specific letters (і ї є ґ) render without font changes.Small fixes found while checking the result in the emulator
Each one is a separate commit so it can be reviewed on its own, and none changes behaviour for English:
state2string()built the signal status into a 32-byte buffer together with the recolor markup. Two-byte UTF-8 letters overflowed it, so "No signal" showed as "Немає сигнал". Buffer is now 64 bytes._lang()./mnt/app/versionis missing (as in the emulator):generate_current_version()returned early and the page printed uninitialised stack memory after "Current Version". The string is now cleared first.Testing
-DEMULATOR_BUILD=ON -DHDZ_GOGGLE=ON) and opened every menu page withUKR.TXTpresent; checked the sidebar, OSD, Source, Image, Power, Fans, Record, Autoscan, ELRS, WiFi, Head Tracker, Storage, Firmware, Focus, Clock, Input and Sleep screens, and the OSD element editor, for clipped or overlapping text, and shortened the labels that did not fit.-DCMAKE_C_FLAGS=-std=gnu17because the bundledlib/logusesATOMIC_VAR_INIT, which C23 removes. This is unrelated to this PR and I did not change it.🤖 Generated with Claude Code