config: add Ukrainian (ID 30) to the console languages #2565
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!2565
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2565"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@NevesHenry on GitHub · 2026-11-26 18:54 UTC · original
NevesHenry:ukrainian-console-language→main· +9 −6 · 6 files · 2 commits · merged 2026-11-26 19:32 UTCFixes #2554
Console language ID 30 is Ukrainian (shadps4-qtlauncher maps "Ukrainian" to index 30). KytyPS5 stopped at 29:
MAX_CONSOLE_LANGUAGErejected--console-language 30and the saved launcher value, the launcher combo box had no entry for it, andLocalization::Locales(src/common/localization.cpp) had 30 entries, so ID 30 fell back to en-US.Changes:
MAX_CONSOLE_LANGUAGE29 -> 30 in src/common/emulatorConfig.h and src/launcher/include/configuration.hCONSOLE_LANGUAGE_NAMES(src/launcher/src/configurationEditDialog.cpp)Locales(array size 31)Testing:
trophy_system(tests/TrophySystemTests.cpp) now expectsLocaleName(30) == "uk-UA"and uses 31 as the first invalid ID. On base it fails with "console language selects its locale", with the change it prints "all cases passed". The launcher change was not compiled here (built with KYTY_BUILD_LAUNCHER=OFF).AI disclosure: written with Claude Code (AI); I reviewed and tested the change.
🤖 Generated with Claude Code
@coderabbitai[bot] on GitHub · 2026-11-26 18:57 UTC · original
No actionable comments were generated in the recent review.
Walkthrough
The console language limit increases from 29 to 30. The locale list adds
uk-UA, and the launcher language list adds Ukrainian. The localization test adds a Ukrainian entry with the English “Trophy earned!” text and changes an invalid-language test index from 30 to 31.Suggested reviewers:
pipe530Change: Feature
Merge Risk:
Minimal · up to
d54e1This change adds Ukrainian as console language 30 across the configuration limits, locale table, launcher list and tests. The inspected paths show no concrete defect, and missing translations fall back to English. Merge risk is minimal.
Pre-merge checks:
4
#2554, and lists the changes that match the summary: the MAX_CONSOLE_LANGUAGE bump, the CONSOLE_LANGUAGE_NAMES ent…#2554asks to add Ukrainian (ID 30) to the console languages. At the reviewed head, src/common/localization.cpp declaresLocaleswithstd::array<std::string_view, 31>and places "uk-UA" at i…#2554: raising the console language limit in the two configuration headers, adding the Locales entry, adding the launcher combo entry, and updating the test to cover ID …Full details: Title check
Explanation
The title states the main change: adding Ukrainian as console language ID 30. The raw summary confirms the constant bump from 29 to 30, the new uk-UA locale entry, and the launcher language name. The title is specific, concise, and matches the changeset.
Full details: Description check
Explanation
The description states the purpose (console language ID 30 as Ukrainian), links issue
#2554, and lists the changes that match the summary: the MAX_CONSOLE_LANGUAGE bump, the CONSOLE_LANGUAGE_NAMES entry, the uk-UA Locales entry, and the trophy_system test update. It also gives testing notes. It is related to the changeset.Full details: Linked Issues check
Explanation
Issue
#2554asks to add Ukrainian (ID 30) to the console languages. At the reviewed head, src/common/localization.cpp declaresLocaleswithstd::array<std::string_view, 31>and places "uk-UA" at index 30. src/common/emulatorConfig.h setsMAX_CONSOLE_LANGUAGE = 30, so ID 30 passes validation. src/launcher/src/configurationEditDialog.cpp appends "Ukrainian" as the 31st entry ofCONSOLE_LANGUAGE_NAMES, which gives the launcher combo box an entry at index 30. The PR also updatesConfiguration::MAX_CONSOLE_LANGUAGEin src/launcher/include/configuration.h and thetrophy_systemtest expectations (tests/TrophySystemTests.cpp). Those two files were not read directly; the claims rest on the PR summary. The launcher change was not compiled. No Ukrainian catalog is added, which the issue does not require. Missing keys fall back throughCommon::Localization::Getto the en-US catalog.Full details: Out of Scope Changes check
Explanation
All listed changes serve issue
#2554: raising the console language limit in the two configuration headers, adding the Locales entry, adding the launcher combo entry, and updating the test to cover ID 30 and the new first invalid ID 31. No unrelated changes appear in the summary. The repository diff for the launcher file was unavailable through the diff operation, so the launcher hunk was checked only against the head file content.Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
f6aad947-9c40-4dfb-a7dd-40b155a952f8Reviewing files that changed from the base of the PR and between
93cce66564andd54e1c600f.src/common/emulatorConfig.hsrc/common/localization.cppsrc/launcher/include/configuration.hsrc/launcher/src/configurationEditDialog.cpptests/TrophySystemTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.