Skip to content

Docs: Add Ukrainian to supported languages & Improved consistency with MacOS guidelines#7

Merged
domzilla merged 2 commits into
domzilla:masterfrom
CooL16:master
Mar 15, 2026
Merged

Docs: Add Ukrainian to supported languages & Improved consistency with MacOS guidelines#7
domzilla merged 2 commits into
domzilla:masterfrom
CooL16:master

Conversation

@CooL16
Copy link
Copy Markdown

@CooL16 CooL16 commented Feb 3, 2026

Summary

  • Updated Ukrainian translation to align with official Apple macOS localization guidelines
  • Added Ukrainian to the list of supported languages in documentation (CLAUDE.md, AGENTS.md)

Changes

  • Improved Ukrainian localization strings for consistency with macOS terminology
  • Updated supported languages count from 12 to 13 in project documentation

Copy link
Copy Markdown
Owner

@domzilla domzilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translation Quality

The Ukrainian translation improvements look solid and align well with Apple's macOS localization guidelines:

Key Old New Verdict
"Quit" Вихід Завершити ✅ Matches Apple's macOS standard
"Activate for" Активувати на Увімкнути на ✅ More natural macOS terminology
"Welcome to Caffeine" Ласкаво просимо в Вітаємо в ✅ More concise
Instruction text verbose simplified ✅ Clearer and shorter
Sleep deactivation Вимикати при ручному переході... Вимикати, коли пристрій переходить у сон вручну ✅ More natural sentence structure

CHANGELOG entry is correctly placed under [Unreleased] > Changed. Nice work overall!


Merge Conflicts

The PR currently has merge conflicts because master has moved forward since your fork:

  1. The resources directory was renamed from Ressources/ to Resources/ on master — your uk.lproj/Localizable.strings changes target the old path.
  2. AGENTS.md has been restructured — the version in your fork no longer matches master.

Please rebase onto current master to resolve these.

Terminology Inconsistency

Your updated instruction string now uses "смузі меню" for "menu bar", but the unchanged "Right-click" string still uses "рядку меню" for the same concept. Could you update that line as well so the terminology is consistent throughout?

oyurov added 2 commits March 14, 2026 09:51
- Use "смузі меню" consistently for "menu bar" (was "рядку меню" in one place)
- Use "Увімкнути" consistently for "Activate" (was "Активувати" in one place)
Copy link
Copy Markdown
Owner

@domzilla domzilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All feedback addressed — translations are consistent and conflicts resolved. Looks great, thanks for the contribution!

@domzilla domzilla merged commit e234061 into domzilla:master Mar 15, 2026
bubbleee030 added a commit to bubbleee030/Caffeine that referenced this pull request May 19, 2026
domzilla#5 PreferencesView no longer writes CAAllowLidClose to UserDefaults twice.
   CaffeineViewModel.setAllowLidClose now only forwards the new flag to
   SleepPreventionManager; persistence is owned by PreferencesView's
   @AppStorage binding.

domzilla#6 SleepPreventionManager now releases its assertion IDs immediately when
   the user session resigns active, and re-engages immediately on become-
   active rather than waiting up to 10 s for the next timer tick. The old
   early-return in refreshAssertions left the manager's stored IDs in a
   stale state after the kernel timed them out at 30 s. Three new tests
   cover resign-releases, become-reengages, and become-while-inactive
   does nothing.

domzilla#7 CA_TEST_AUTOACTIVATE no longer writes to standard UserDefaults. The
   activate(...) function takes a new allowLidCloseOverride parameter so
   the test hook can drive a known state without mutating persistent
   preferences. The intentional early-return is documented in comments.

domzilla#8 LocalizationTests no longer relies on a single representative key
   ("Quit") to prove zh-Hant differs from zh-Hans. Asserts that at least
   half of all 31 user-facing values are non-identical across the two
   locales.

domzilla#9 About-dialog credits now point at github.com/bubbleee030/Caffeine
   instead of github.caffeine-app.net, in line with the README rewrite.
   Added a 2026 @bubbleee030 line to the copyright credits. Updated the
   source string in MenuBarController and the localized value in all 14
   .lproj/Localizable.strings files; LocalizationTests reflects the new
   key. No remaining caffeine-app.net references in the repo.
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.

3 participants