Repository navigation
Add a Snap Areas setting for restoring windows resized with Larger or Smaller - #1940
Merged
rxhanson merged 1 commit intoOct 25, 2026
Merged
Conversation
Owner
|
Thanks! |
rxhanson
pushed a commit
that referenced
this pull request
Nov 3, 2026
* Add the zh-Hans translation for the Larger/Smaller restore setting The Snap Areas toggle added in #1940 was still shown in English for Simplified Chinese users. Co-Authored-By: Claude Fable 5.1 <[email protected]> * Complete the Traditional Chinese (zh-Hant) localization Traditional Chinese covered 191 of the 373 strings. This adds the missing 182, settles the 13 that were marked as needing review, adds the ⓘ symbol entry the Simplified catalog already had, and normalizes 19 existing strings for consistency (full-width fraction digits, 半螢幕, 設定, 打開, missing sentence-final 。). Terminology follows Apple's zh-Hant conventions and the strings already in the app (視窗, 顯示器, 快速鍵, 選單, 貼齊, 復原, 放到最大), fractions keep the existing full-width digits, and the action names mirror the structure of the Simplified set. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
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.
Fixes #1784.
Problem
Dragging a window that was resized with Larger or Smaller restores the size it had before, because unsnap restore treats size changes like any other Rectangle action. v0.98 added
unsnapRestoreFromSizeChangeto turn that off, but only as a Terminal command; the issue notes that a UI toggle would come with the new Settings layout.Fix
unsnapRestoreFromSizeChangedefault, so nothing changes for anyone who already set it from Terminal.Tests
Added
testSizeChangeUnsnapRestoreToggleMatchesDefault: an unset default shows the toggle on, switching it writes the default, andsyncDefaults()picks up an imported value. Full suite: 624 passed, 0 failed.